pulp_python_client 3.12.4 → 3.12.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 67052a29e63b4bee4b8994950bff2ed0e452b1a1af7eea42e9612480557c6891
4
- data.tar.gz: 801dc8ef87276c3041d7728b2d0e49da0e82c1b3f27721d6030571e882cb965c
3
+ metadata.gz: 6df877eac2c3c6d723e4bbd0b8b91a30f49ac39b0cc046255af8cb2ea30467fd
4
+ data.tar.gz: e11f81f4ed120ba43167180aac90417c081756e729903ce19a2925dc5d02214e
5
5
  SHA512:
6
- metadata.gz: 7b66509e2e9cc175c1d4700ea7cf268838574ecc74002586ea102f24f63e48e6fe3c29ad4f172d3a13adcfe997e8ee1ecb30415d1d91254d749083870d71c87c
7
- data.tar.gz: 6c15755a1ac2028e79226ba7e1feafc0e2e660479dfef3a61dceb11407cae5ca74b932bb57745bd39dbd04641539640b4d1e996123d8ff394a4d5b3fbf9a8e46
6
+ metadata.gz: 5d6889e9ed1bc4559456a294d7829589f87721ec7c4395f463e3c05f47fa8b21494239abc84af03ea8150f97b4850fc36d48d3b495f44a26d6585def6442c77b
7
+ data.tar.gz: d28612967048a458317d13f504cc453438384cf63e918a14a7f5471a2be09859614f24dbd0a82ff8b5831f4a929dbb2d3356710f200e6cd88e367ac0c5a9451c
data/README.md CHANGED
@@ -7,7 +7,7 @@ Fetch, Upload, Organize, and Distribute Software Packages
7
7
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
8
8
 
9
9
  - API version: v3
10
- - Package version: 3.12.4
10
+ - Package version: 3.12.5
11
11
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
12
12
  For more information, please visit [https://pulpproject.org](https://pulpproject.org)
13
13
 
@@ -24,16 +24,16 @@ gem build pulp_python_client.gemspec
24
24
  Then either install the gem locally:
25
25
 
26
26
  ```shell
27
- gem install ./pulp_python_client-3.12.4.gem
27
+ gem install ./pulp_python_client-3.12.5.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulp_python_client-3.12.4.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulp_python_client-3.12.5.gem` to install the development dependencies)
31
31
 
32
32
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
33
33
 
34
34
  Finally add this to the Gemfile:
35
35
 
36
- gem 'pulp_python_client', '~> 3.12.4'
36
+ gem 'pulp_python_client', '~> 3.12.5'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -86,14 +86,14 @@ opts = {
86
86
  license: 'license_example', # String | Text indicating the license covering the distribution
87
87
  requires_python: 'requires_python_example', # String | The Python version(s) that the distribution is guaranteed to be compatible with.
88
88
  project_url: 'project_url_example', # String | A browsable URL for the project and a label for it, separated by a comma.
89
- project_urls: PulpPythonClient::AnyType.new, # AnyType | A dictionary of labels and URLs for the project.
89
+ project_urls: nil, # Object | A dictionary of labels and URLs for the project.
90
90
  platform: 'platform_example', # String | A comma-separated list of platform specifications, summarizing the operating systems supported by the package.
91
91
  supported_platform: 'supported_platform_example', # String | Field to specify the OS and CPU for which the binary package was compiled.
92
- requires_dist: PulpPythonClient::AnyType.new, # AnyType | A JSON list containing names of some other distutils project required by this distribution.
93
- provides_dist: PulpPythonClient::AnyType.new, # AnyType | A JSON list containing names of a Distutils project which is contained within this distribution.
94
- obsoletes_dist: PulpPythonClient::AnyType.new, # AnyType | A JSON list containing names of a distutils project's distribution which this distribution renders obsolete, meaning that the two projects should not be installed at the same time.
95
- requires_external: PulpPythonClient::AnyType.new, # AnyType | A JSON list containing some dependency in the system that the distribution is to be used.
96
- classifiers: PulpPythonClient::AnyType.new # AnyType | A JSON list containing classification values for a Python package.
92
+ requires_dist: nil, # Object | A JSON list containing names of some other distutils project required by this distribution.
93
+ provides_dist: nil, # Object | A JSON list containing names of a Distutils project which is contained within this distribution.
94
+ obsoletes_dist: nil, # Object | A JSON list containing names of a distutils project's distribution which this distribution renders obsolete, meaning that the two projects should not be installed at the same time.
95
+ requires_external: nil, # Object | A JSON list containing some dependency in the system that the distribution is to be used.
96
+ classifiers: nil # Object | A JSON list containing classification values for a Python package.
97
97
  }
98
98
 
99
99
  begin
@@ -52,14 +52,14 @@ opts = {
52
52
  license: 'license_example', # String | Text indicating the license covering the distribution
53
53
  requires_python: 'requires_python_example', # String | The Python version(s) that the distribution is guaranteed to be compatible with.
54
54
  project_url: 'project_url_example', # String | A browsable URL for the project and a label for it, separated by a comma.
55
- project_urls: PulpPythonClient::AnyType.new, # AnyType | A dictionary of labels and URLs for the project.
55
+ project_urls: nil, # Object | A dictionary of labels and URLs for the project.
56
56
  platform: 'platform_example', # String | A comma-separated list of platform specifications, summarizing the operating systems supported by the package.
57
57
  supported_platform: 'supported_platform_example', # String | Field to specify the OS and CPU for which the binary package was compiled.
58
- requires_dist: PulpPythonClient::AnyType.new, # AnyType | A JSON list containing names of some other distutils project required by this distribution.
59
- provides_dist: PulpPythonClient::AnyType.new, # AnyType | A JSON list containing names of a Distutils project which is contained within this distribution.
60
- obsoletes_dist: PulpPythonClient::AnyType.new, # AnyType | A JSON list containing names of a distutils project's distribution which this distribution renders obsolete, meaning that the two projects should not be installed at the same time.
61
- requires_external: PulpPythonClient::AnyType.new, # AnyType | A JSON list containing some dependency in the system that the distribution is to be used.
62
- classifiers: PulpPythonClient::AnyType.new # AnyType | A JSON list containing classification values for a Python package.
58
+ requires_dist: nil, # Object | A JSON list containing names of some other distutils project required by this distribution.
59
+ provides_dist: nil, # Object | A JSON list containing names of a Distutils project which is contained within this distribution.
60
+ obsoletes_dist: nil, # Object | A JSON list containing names of a distutils project's distribution which this distribution renders obsolete, meaning that the two projects should not be installed at the same time.
61
+ requires_external: nil, # Object | A JSON list containing some dependency in the system that the distribution is to be used.
62
+ classifiers: nil # Object | A JSON list containing classification values for a Python package.
63
63
  }
64
64
 
65
65
  begin
@@ -96,14 +96,14 @@ Name | Type | Description | Notes
96
96
  **license** | **String**| Text indicating the license covering the distribution | [optional]
97
97
  **requires_python** | **String**| The Python version(s) that the distribution is guaranteed to be compatible with. | [optional]
98
98
  **project_url** | **String**| A browsable URL for the project and a label for it, separated by a comma. | [optional]
99
- **project_urls** | [**AnyType**](AnyType.md)| A dictionary of labels and URLs for the project. | [optional]
99
+ **project_urls** | [**Object**](Object.md)| A dictionary of labels and URLs for the project. | [optional]
100
100
  **platform** | **String**| A comma-separated list of platform specifications, summarizing the operating systems supported by the package. | [optional]
101
101
  **supported_platform** | **String**| Field to specify the OS and CPU for which the binary package was compiled. | [optional]
102
- **requires_dist** | [**AnyType**](AnyType.md)| A JSON list containing names of some other distutils project required by this distribution. | [optional]
103
- **provides_dist** | [**AnyType**](AnyType.md)| A JSON list containing names of a Distutils project which is contained within this distribution. | [optional]
104
- **obsoletes_dist** | [**AnyType**](AnyType.md)| A JSON list containing names of a distutils project's distribution which this distribution renders obsolete, meaning that the two projects should not be installed at the same time. | [optional]
105
- **requires_external** | [**AnyType**](AnyType.md)| A JSON list containing some dependency in the system that the distribution is to be used. | [optional]
106
- **classifiers** | [**AnyType**](AnyType.md)| A JSON list containing classification values for a Python package. | [optional]
102
+ **requires_dist** | [**Object**](Object.md)| A JSON list containing names of some other distutils project required by this distribution. | [optional]
103
+ **provides_dist** | [**Object**](Object.md)| A JSON list containing names of a Distutils project which is contained within this distribution. | [optional]
104
+ **obsoletes_dist** | [**Object**](Object.md)| A JSON list containing names of a distutils project's distribution which this distribution renders obsolete, meaning that the two projects should not be installed at the same time. | [optional]
105
+ **requires_external** | [**Object**](Object.md)| A JSON list containing some dependency in the system that the distribution is to be used. | [optional]
106
+ **classifiers** | [**Object**](Object.md)| A JSON list containing classification values for a Python package. | [optional]
107
107
 
108
108
  ### Return type
109
109
 
@@ -5,9 +5,9 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **last_serial** | **Integer** | Cache value from last PyPI sync |
8
- **info** | [**AnyType**](.md) | Core metadata of the package |
9
- **releases** | [**AnyType**](.md) | List of all the releases of the package |
10
- **urls** | [**AnyType**](.md) | |
8
+ **info** | [**Object**](.md) | Core metadata of the package |
9
+ **releases** | [**Object**](.md) | List of all the releases of the package |
10
+ **urls** | [**Object**](.md) | |
11
11
 
12
12
  ## Code Sample
13
13
 
@@ -24,14 +24,14 @@ Name | Type | Description | Notes
24
24
  **license** | **String** | Text indicating the license covering the distribution | [optional]
25
25
  **requires_python** | **String** | The Python version(s) that the distribution is guaranteed to be compatible with. | [optional]
26
26
  **project_url** | **String** | A browsable URL for the project and a label for it, separated by a comma. | [optional]
27
- **project_urls** | [**AnyType**](.md) | A dictionary of labels and URLs for the project. | [optional]
27
+ **project_urls** | [**Object**](.md) | A dictionary of labels and URLs for the project. | [optional]
28
28
  **platform** | **String** | A comma-separated list of platform specifications, summarizing the operating systems supported by the package. | [optional]
29
29
  **supported_platform** | **String** | Field to specify the OS and CPU for which the binary package was compiled. | [optional]
30
- **requires_dist** | [**AnyType**](.md) | A JSON list containing names of some other distutils project required by this distribution. | [optional]
31
- **provides_dist** | [**AnyType**](.md) | A JSON list containing names of a Distutils project which is contained within this distribution. | [optional]
32
- **obsoletes_dist** | [**AnyType**](.md) | A JSON list containing names of a distutils project's distribution which this distribution renders obsolete, meaning that the two projects should not be installed at the same time. | [optional]
33
- **requires_external** | [**AnyType**](.md) | A JSON list containing some dependency in the system that the distribution is to be used. | [optional]
34
- **classifiers** | [**AnyType**](.md) | A JSON list containing classification values for a Python package. | [optional]
30
+ **requires_dist** | [**Object**](.md) | A JSON list containing names of some other distutils project required by this distribution. | [optional]
31
+ **provides_dist** | [**Object**](.md) | A JSON list containing names of a Distutils project which is contained within this distribution. | [optional]
32
+ **obsoletes_dist** | [**Object**](.md) | A JSON list containing names of a distutils project's distribution which this distribution renders obsolete, meaning that the two projects should not be installed at the same time. | [optional]
33
+ **requires_external** | [**Object**](.md) | A JSON list containing some dependency in the system that the distribution is to be used. | [optional]
34
+ **classifiers** | [**Object**](.md) | A JSON list containing classification values for a Python package. | [optional]
35
35
 
36
36
  ## Code Sample
37
37
 
@@ -28,14 +28,14 @@ Name | Type | Description | Notes
28
28
  **license** | **String** | Text indicating the license covering the distribution | [optional]
29
29
  **requires_python** | **String** | The Python version(s) that the distribution is guaranteed to be compatible with. | [optional]
30
30
  **project_url** | **String** | A browsable URL for the project and a label for it, separated by a comma. | [optional]
31
- **project_urls** | [**AnyType**](.md) | A dictionary of labels and URLs for the project. | [optional]
31
+ **project_urls** | [**Object**](.md) | A dictionary of labels and URLs for the project. | [optional]
32
32
  **platform** | **String** | A comma-separated list of platform specifications, summarizing the operating systems supported by the package. | [optional]
33
33
  **supported_platform** | **String** | Field to specify the OS and CPU for which the binary package was compiled. | [optional]
34
- **requires_dist** | [**AnyType**](.md) | A JSON list containing names of some other distutils project required by this distribution. | [optional]
35
- **provides_dist** | [**AnyType**](.md) | A JSON list containing names of a Distutils project which is contained within this distribution. | [optional]
36
- **obsoletes_dist** | [**AnyType**](.md) | A JSON list containing names of a distutils project's distribution which this distribution renders obsolete, meaning that the two projects should not be installed at the same time. | [optional]
37
- **requires_external** | [**AnyType**](.md) | A JSON list containing some dependency in the system that the distribution is to be used. | [optional]
38
- **classifiers** | [**AnyType**](.md) | A JSON list containing classification values for a Python package. | [optional]
34
+ **requires_dist** | [**Object**](.md) | A JSON list containing names of some other distutils project required by this distribution. | [optional]
35
+ **provides_dist** | [**Object**](.md) | A JSON list containing names of a Distutils project which is contained within this distribution. | [optional]
36
+ **obsoletes_dist** | [**Object**](.md) | A JSON list containing names of a distutils project's distribution which this distribution renders obsolete, meaning that the two projects should not be installed at the same time. | [optional]
37
+ **requires_external** | [**Object**](.md) | A JSON list containing some dependency in the system that the distribution is to be used. | [optional]
38
+ **classifiers** | [**Object**](.md) | A JSON list containing classification values for a Python package. | [optional]
39
39
 
40
40
  ## Code Sample
41
41
 
@@ -42,14 +42,14 @@ module PulpPythonClient
42
42
  # @option opts [String] :license Text indicating the license covering the distribution
43
43
  # @option opts [String] :requires_python The Python version(s) that the distribution is guaranteed to be compatible with.
44
44
  # @option opts [String] :project_url A browsable URL for the project and a label for it, separated by a comma.
45
- # @option opts [AnyType] :project_urls A dictionary of labels and URLs for the project.
45
+ # @option opts [Object] :project_urls A dictionary of labels and URLs for the project.
46
46
  # @option opts [String] :platform A comma-separated list of platform specifications, summarizing the operating systems supported by the package.
47
47
  # @option opts [String] :supported_platform Field to specify the OS and CPU for which the binary package was compiled.
48
- # @option opts [AnyType] :requires_dist A JSON list containing names of some other distutils project required by this distribution.
49
- # @option opts [AnyType] :provides_dist A JSON list containing names of a Distutils project which is contained within this distribution.
50
- # @option opts [AnyType] :obsoletes_dist A JSON list containing names of a distutils project's distribution which this distribution renders obsolete, meaning that the two projects should not be installed at the same time.
51
- # @option opts [AnyType] :requires_external A JSON list containing some dependency in the system that the distribution is to be used.
52
- # @option opts [AnyType] :classifiers A JSON list containing classification values for a Python package.
48
+ # @option opts [Object] :requires_dist A JSON list containing names of some other distutils project required by this distribution.
49
+ # @option opts [Object] :provides_dist A JSON list containing names of a Distutils project which is contained within this distribution.
50
+ # @option opts [Object] :obsoletes_dist A JSON list containing names of a distutils project's distribution which this distribution renders obsolete, meaning that the two projects should not be installed at the same time.
51
+ # @option opts [Object] :requires_external A JSON list containing some dependency in the system that the distribution is to be used.
52
+ # @option opts [Object] :classifiers A JSON list containing classification values for a Python package.
53
53
  # @return [AsyncOperationResponse]
54
54
  def create(relative_path, opts = {})
55
55
  data, _status_code, _headers = create_with_http_info(relative_path, opts)
@@ -79,14 +79,14 @@ module PulpPythonClient
79
79
  # @option opts [String] :license Text indicating the license covering the distribution
80
80
  # @option opts [String] :requires_python The Python version(s) that the distribution is guaranteed to be compatible with.
81
81
  # @option opts [String] :project_url A browsable URL for the project and a label for it, separated by a comma.
82
- # @option opts [AnyType] :project_urls A dictionary of labels and URLs for the project.
82
+ # @option opts [Object] :project_urls A dictionary of labels and URLs for the project.
83
83
  # @option opts [String] :platform A comma-separated list of platform specifications, summarizing the operating systems supported by the package.
84
84
  # @option opts [String] :supported_platform Field to specify the OS and CPU for which the binary package was compiled.
85
- # @option opts [AnyType] :requires_dist A JSON list containing names of some other distutils project required by this distribution.
86
- # @option opts [AnyType] :provides_dist A JSON list containing names of a Distutils project which is contained within this distribution.
87
- # @option opts [AnyType] :obsoletes_dist A JSON list containing names of a distutils project's distribution which this distribution renders obsolete, meaning that the two projects should not be installed at the same time.
88
- # @option opts [AnyType] :requires_external A JSON list containing some dependency in the system that the distribution is to be used.
89
- # @option opts [AnyType] :classifiers A JSON list containing classification values for a Python package.
85
+ # @option opts [Object] :requires_dist A JSON list containing names of some other distutils project required by this distribution.
86
+ # @option opts [Object] :provides_dist A JSON list containing names of a Distutils project which is contained within this distribution.
87
+ # @option opts [Object] :obsoletes_dist A JSON list containing names of a distutils project's distribution which this distribution renders obsolete, meaning that the two projects should not be installed at the same time.
88
+ # @option opts [Object] :requires_external A JSON list containing some dependency in the system that the distribution is to be used.
89
+ # @option opts [Object] :classifiers A JSON list containing classification values for a Python package.
90
90
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
91
91
  def create_with_http_info(relative_path, opts = {})
92
92
  if @api_client.config.debugging
@@ -40,9 +40,9 @@ module PulpPythonClient
40
40
  def self.openapi_types
41
41
  {
42
42
  :'last_serial' => :'Integer',
43
- :'info' => :'AnyType',
44
- :'releases' => :'AnyType',
45
- :'urls' => :'AnyType'
43
+ :'info' => :'Object',
44
+ :'releases' => :'Object',
45
+ :'urls' => :'Object'
46
46
  }
47
47
  end
48
48
 
@@ -368,20 +368,20 @@ module PulpPythonClient
368
368
  invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
369
369
  end
370
370
 
371
- if !@total_timeout.nil? && @total_timeout < 0.0
372
- invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
371
+ if !@total_timeout.nil? && @total_timeout < 0
372
+ invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.')
373
373
  end
374
374
 
375
- if !@connect_timeout.nil? && @connect_timeout < 0.0
376
- invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.0.')
375
+ if !@connect_timeout.nil? && @connect_timeout < 0
376
+ invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.')
377
377
  end
378
378
 
379
- if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
380
- invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.')
379
+ if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
380
+ invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.')
381
381
  end
382
382
 
383
- if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
384
- invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
383
+ if !@sock_read_timeout.nil? && @sock_read_timeout < 0
384
+ invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.')
385
385
  end
386
386
 
387
387
  invalid_properties
@@ -401,10 +401,10 @@ module PulpPythonClient
401
401
  return false if !@username.nil? && @username.to_s.length < 1
402
402
  return false if !@password.nil? && @password.to_s.length < 1
403
403
  return false if !@download_concurrency.nil? && @download_concurrency < 1
404
- return false if !@total_timeout.nil? && @total_timeout < 0.0
405
- return false if !@connect_timeout.nil? && @connect_timeout < 0.0
406
- return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
407
- return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
404
+ return false if !@total_timeout.nil? && @total_timeout < 0
405
+ return false if !@connect_timeout.nil? && @connect_timeout < 0
406
+ return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
407
+ return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0
408
408
  true
409
409
  end
410
410
 
@@ -521,8 +521,8 @@ module PulpPythonClient
521
521
  # Custom attribute writer method with validation
522
522
  # @param [Object] total_timeout Value to be assigned
523
523
  def total_timeout=(total_timeout)
524
- if !total_timeout.nil? && total_timeout < 0.0
525
- fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.0.'
524
+ if !total_timeout.nil? && total_timeout < 0
525
+ fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.'
526
526
  end
527
527
 
528
528
  @total_timeout = total_timeout
@@ -531,8 +531,8 @@ module PulpPythonClient
531
531
  # Custom attribute writer method with validation
532
532
  # @param [Object] connect_timeout Value to be assigned
533
533
  def connect_timeout=(connect_timeout)
534
- if !connect_timeout.nil? && connect_timeout < 0.0
535
- fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.0.'
534
+ if !connect_timeout.nil? && connect_timeout < 0
535
+ fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.'
536
536
  end
537
537
 
538
538
  @connect_timeout = connect_timeout
@@ -541,8 +541,8 @@ module PulpPythonClient
541
541
  # Custom attribute writer method with validation
542
542
  # @param [Object] sock_connect_timeout Value to be assigned
543
543
  def sock_connect_timeout=(sock_connect_timeout)
544
- if !sock_connect_timeout.nil? && sock_connect_timeout < 0.0
545
- fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.'
544
+ if !sock_connect_timeout.nil? && sock_connect_timeout < 0
545
+ fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.'
546
546
  end
547
547
 
548
548
  @sock_connect_timeout = sock_connect_timeout
@@ -551,8 +551,8 @@ module PulpPythonClient
551
551
  # Custom attribute writer method with validation
552
552
  # @param [Object] sock_read_timeout Value to be assigned
553
553
  def sock_read_timeout=(sock_read_timeout)
554
- if !sock_read_timeout.nil? && sock_read_timeout < 0.0
555
- fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.0.'
554
+ if !sock_read_timeout.nil? && sock_read_timeout < 0
555
+ fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.'
556
556
  end
557
557
 
558
558
  @sock_read_timeout = sock_read_timeout
@@ -156,14 +156,14 @@ module PulpPythonClient
156
156
  :'license' => :'String',
157
157
  :'requires_python' => :'String',
158
158
  :'project_url' => :'String',
159
- :'project_urls' => :'AnyType',
159
+ :'project_urls' => :'Object',
160
160
  :'platform' => :'String',
161
161
  :'supported_platform' => :'String',
162
- :'requires_dist' => :'AnyType',
163
- :'provides_dist' => :'AnyType',
164
- :'obsoletes_dist' => :'AnyType',
165
- :'requires_external' => :'AnyType',
166
- :'classifiers' => :'AnyType'
162
+ :'requires_dist' => :'Object',
163
+ :'provides_dist' => :'Object',
164
+ :'obsoletes_dist' => :'Object',
165
+ :'requires_external' => :'Object',
166
+ :'classifiers' => :'Object'
167
167
  }
168
168
  end
169
169
 
@@ -175,14 +175,14 @@ module PulpPythonClient
175
175
  :'license' => :'String',
176
176
  :'requires_python' => :'String',
177
177
  :'project_url' => :'String',
178
- :'project_urls' => :'AnyType',
178
+ :'project_urls' => :'Object',
179
179
  :'platform' => :'String',
180
180
  :'supported_platform' => :'String',
181
- :'requires_dist' => :'AnyType',
182
- :'provides_dist' => :'AnyType',
183
- :'obsoletes_dist' => :'AnyType',
184
- :'requires_external' => :'AnyType',
185
- :'classifiers' => :'AnyType'
181
+ :'requires_dist' => :'Object',
182
+ :'provides_dist' => :'Object',
183
+ :'obsoletes_dist' => :'Object',
184
+ :'requires_external' => :'Object',
185
+ :'classifiers' => :'Object'
186
186
  }
187
187
  end
188
188
 
@@ -376,20 +376,20 @@ module PulpPythonClient
376
376
  invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
377
377
  end
378
378
 
379
- if !@total_timeout.nil? && @total_timeout < 0.0
380
- invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
379
+ if !@total_timeout.nil? && @total_timeout < 0
380
+ invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.')
381
381
  end
382
382
 
383
- if !@connect_timeout.nil? && @connect_timeout < 0.0
384
- invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.0.')
383
+ if !@connect_timeout.nil? && @connect_timeout < 0
384
+ invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.')
385
385
  end
386
386
 
387
- if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
388
- invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.')
387
+ if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
388
+ invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.')
389
389
  end
390
390
 
391
- if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
392
- invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
391
+ if !@sock_read_timeout.nil? && @sock_read_timeout < 0
392
+ invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.')
393
393
  end
394
394
 
395
395
  invalid_properties
@@ -411,10 +411,10 @@ module PulpPythonClient
411
411
  return false if !@username.nil? && @username.to_s.length < 1
412
412
  return false if !@password.nil? && @password.to_s.length < 1
413
413
  return false if !@download_concurrency.nil? && @download_concurrency < 1
414
- return false if !@total_timeout.nil? && @total_timeout < 0.0
415
- return false if !@connect_timeout.nil? && @connect_timeout < 0.0
416
- return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
417
- return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
414
+ return false if !@total_timeout.nil? && @total_timeout < 0
415
+ return false if !@connect_timeout.nil? && @connect_timeout < 0
416
+ return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
417
+ return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0
418
418
  true
419
419
  end
420
420
 
@@ -539,8 +539,8 @@ module PulpPythonClient
539
539
  # Custom attribute writer method with validation
540
540
  # @param [Object] total_timeout Value to be assigned
541
541
  def total_timeout=(total_timeout)
542
- if !total_timeout.nil? && total_timeout < 0.0
543
- fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.0.'
542
+ if !total_timeout.nil? && total_timeout < 0
543
+ fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.'
544
544
  end
545
545
 
546
546
  @total_timeout = total_timeout
@@ -549,8 +549,8 @@ module PulpPythonClient
549
549
  # Custom attribute writer method with validation
550
550
  # @param [Object] connect_timeout Value to be assigned
551
551
  def connect_timeout=(connect_timeout)
552
- if !connect_timeout.nil? && connect_timeout < 0.0
553
- fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.0.'
552
+ if !connect_timeout.nil? && connect_timeout < 0
553
+ fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.'
554
554
  end
555
555
 
556
556
  @connect_timeout = connect_timeout
@@ -559,8 +559,8 @@ module PulpPythonClient
559
559
  # Custom attribute writer method with validation
560
560
  # @param [Object] sock_connect_timeout Value to be assigned
561
561
  def sock_connect_timeout=(sock_connect_timeout)
562
- if !sock_connect_timeout.nil? && sock_connect_timeout < 0.0
563
- fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.'
562
+ if !sock_connect_timeout.nil? && sock_connect_timeout < 0
563
+ fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.'
564
564
  end
565
565
 
566
566
  @sock_connect_timeout = sock_connect_timeout
@@ -569,8 +569,8 @@ module PulpPythonClient
569
569
  # Custom attribute writer method with validation
570
570
  # @param [Object] sock_read_timeout Value to be assigned
571
571
  def sock_read_timeout=(sock_read_timeout)
572
- if !sock_read_timeout.nil? && sock_read_timeout < 0.0
573
- fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.0.'
572
+ if !sock_read_timeout.nil? && sock_read_timeout < 0
573
+ fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.'
574
574
  end
575
575
 
576
576
  @sock_read_timeout = sock_read_timeout
@@ -332,20 +332,20 @@ module PulpPythonClient
332
332
  invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
333
333
  end
334
334
 
335
- if !@total_timeout.nil? && @total_timeout < 0.0
336
- invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
335
+ if !@total_timeout.nil? && @total_timeout < 0
336
+ invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.')
337
337
  end
338
338
 
339
- if !@connect_timeout.nil? && @connect_timeout < 0.0
340
- invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.0.')
339
+ if !@connect_timeout.nil? && @connect_timeout < 0
340
+ invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.')
341
341
  end
342
342
 
343
- if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
344
- invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.')
343
+ if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
344
+ invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.')
345
345
  end
346
346
 
347
- if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
348
- invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
347
+ if !@sock_read_timeout.nil? && @sock_read_timeout < 0
348
+ invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.')
349
349
  end
350
350
 
351
351
  invalid_properties
@@ -357,10 +357,10 @@ module PulpPythonClient
357
357
  return false if @name.nil?
358
358
  return false if @url.nil?
359
359
  return false if !@download_concurrency.nil? && @download_concurrency < 1
360
- return false if !@total_timeout.nil? && @total_timeout < 0.0
361
- return false if !@connect_timeout.nil? && @connect_timeout < 0.0
362
- return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
363
- return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
360
+ return false if !@total_timeout.nil? && @total_timeout < 0
361
+ return false if !@connect_timeout.nil? && @connect_timeout < 0
362
+ return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
363
+ return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0
364
364
  true
365
365
  end
366
366
 
@@ -377,8 +377,8 @@ module PulpPythonClient
377
377
  # Custom attribute writer method with validation
378
378
  # @param [Object] total_timeout Value to be assigned
379
379
  def total_timeout=(total_timeout)
380
- if !total_timeout.nil? && total_timeout < 0.0
381
- fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.0.'
380
+ if !total_timeout.nil? && total_timeout < 0
381
+ fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.'
382
382
  end
383
383
 
384
384
  @total_timeout = total_timeout
@@ -387,8 +387,8 @@ module PulpPythonClient
387
387
  # Custom attribute writer method with validation
388
388
  # @param [Object] connect_timeout Value to be assigned
389
389
  def connect_timeout=(connect_timeout)
390
- if !connect_timeout.nil? && connect_timeout < 0.0
391
- fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.0.'
390
+ if !connect_timeout.nil? && connect_timeout < 0
391
+ fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.'
392
392
  end
393
393
 
394
394
  @connect_timeout = connect_timeout
@@ -397,8 +397,8 @@ module PulpPythonClient
397
397
  # Custom attribute writer method with validation
398
398
  # @param [Object] sock_connect_timeout Value to be assigned
399
399
  def sock_connect_timeout=(sock_connect_timeout)
400
- if !sock_connect_timeout.nil? && sock_connect_timeout < 0.0
401
- fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.'
400
+ if !sock_connect_timeout.nil? && sock_connect_timeout < 0
401
+ fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.'
402
402
  end
403
403
 
404
404
  @sock_connect_timeout = sock_connect_timeout
@@ -407,8 +407,8 @@ module PulpPythonClient
407
407
  # Custom attribute writer method with validation
408
408
  # @param [Object] sock_read_timeout Value to be assigned
409
409
  def sock_read_timeout=(sock_read_timeout)
410
- if !sock_read_timeout.nil? && sock_read_timeout < 0.0
411
- fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.0.'
410
+ if !sock_read_timeout.nil? && sock_read_timeout < 0
411
+ fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.'
412
412
  end
413
413
 
414
414
  @sock_read_timeout = sock_read_timeout
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.3.1
11
11
  =end
12
12
 
13
13
  module PulpPythonClient
14
- VERSION = '3.12.4'
14
+ VERSION = '3.12.5'
15
15
  end
@@ -56,14 +56,14 @@ describe 'ContentPackagesApi' do
56
56
  # @option opts [String] :license Text indicating the license covering the distribution
57
57
  # @option opts [String] :requires_python The Python version(s) that the distribution is guaranteed to be compatible with.
58
58
  # @option opts [String] :project_url A browsable URL for the project and a label for it, separated by a comma.
59
- # @option opts [AnyType] :project_urls A dictionary of labels and URLs for the project.
59
+ # @option opts [Object] :project_urls A dictionary of labels and URLs for the project.
60
60
  # @option opts [String] :platform A comma-separated list of platform specifications, summarizing the operating systems supported by the package.
61
61
  # @option opts [String] :supported_platform Field to specify the OS and CPU for which the binary package was compiled.
62
- # @option opts [AnyType] :requires_dist A JSON list containing names of some other distutils project required by this distribution.
63
- # @option opts [AnyType] :provides_dist A JSON list containing names of a Distutils project which is contained within this distribution.
64
- # @option opts [AnyType] :obsoletes_dist A JSON list containing names of a distutils project&#39;s distribution which this distribution renders obsolete, meaning that the two projects should not be installed at the same time.
65
- # @option opts [AnyType] :requires_external A JSON list containing some dependency in the system that the distribution is to be used.
66
- # @option opts [AnyType] :classifiers A JSON list containing classification values for a Python package.
62
+ # @option opts [Object] :requires_dist A JSON list containing names of some other distutils project required by this distribution.
63
+ # @option opts [Object] :provides_dist A JSON list containing names of a Distutils project which is contained within this distribution.
64
+ # @option opts [Object] :obsoletes_dist A JSON list containing names of a distutils project&#39;s distribution which this distribution renders obsolete, meaning that the two projects should not be installed at the same time.
65
+ # @option opts [Object] :requires_external A JSON list containing some dependency in the system that the distribution is to be used.
66
+ # @option opts [Object] :classifiers A JSON list containing classification values for a Python package.
67
67
  # @return [AsyncOperationResponse]
68
68
  describe 'create test' do
69
69
  it 'should work' do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pulp_python_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.12.4
4
+ version: 3.12.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-10-14 00:00:00.000000000 Z
11
+ date: 2024-10-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -249,7 +249,7 @@ homepage: https://github.com/pulp/pulp_python
249
249
  licenses:
250
250
  - GPLv2+
251
251
  metadata: {}
252
- post_install_message:
252
+ post_install_message:
253
253
  rdoc_options: []
254
254
  require_paths:
255
255
  - lib
@@ -264,63 +264,63 @@ required_rubygems_version: !ruby/object:Gem::Requirement
264
264
  - !ruby/object:Gem::Version
265
265
  version: '0'
266
266
  requirements: []
267
- rubygems_version: 3.4.20
268
- signing_key:
267
+ rubygems_version: 3.3.5
268
+ signing_key:
269
269
  specification_version: 4
270
270
  summary: Pulp 3 API Ruby Gem
271
271
  test_files:
272
272
  - spec/api/distributions_pypi_api_spec.rb
273
- - spec/api/content_packages_api_spec.rb
274
- - spec/api/repositories_python_api_spec.rb
275
- - spec/api/repositories_python_versions_api_spec.rb
273
+ - spec/api/remotes_python_api_spec.rb
276
274
  - spec/api/pypi_legacy_api_spec.rb
277
275
  - spec/api/pypi_metadata_api_spec.rb
276
+ - spec/api/pypi_simple_api_spec.rb
278
277
  - spec/api/pypi_api_spec.rb
279
- - spec/api/remotes_python_api_spec.rb
278
+ - spec/api/repositories_python_api_spec.rb
279
+ - spec/api/repositories_python_versions_api_spec.rb
280
280
  - spec/api/publications_pypi_api_spec.rb
281
- - spec/api/pypi_simple_api_spec.rb
281
+ - spec/api/content_packages_api_spec.rb
282
282
  - spec/api_client_spec.rb
283
283
  - spec/configuration_spec.rb
284
- - spec/models/python_python_remote_response_spec.rb
285
- - spec/models/set_label_response_spec.rb
286
- - spec/models/content_summary_response_spec.rb
287
- - spec/models/nested_role_spec.rb
288
- - spec/models/python_python_distribution_response_spec.rb
289
- - spec/models/python_python_publication_response_spec.rb
290
- - spec/models/python_python_package_content_response_spec.rb
291
- - spec/models/object_roles_response_spec.rb
292
- - spec/models/paginatedpython_python_repository_response_list_spec.rb
293
- - spec/models/python_python_remote_response_hidden_fields_spec.rb
294
- - spec/models/unset_label_spec.rb
295
- - spec/models/paginatedpython_python_publication_response_list_spec.rb
296
- - spec/models/policy_enum_spec.rb
297
- - spec/models/package_upload_task_response_spec.rb
298
- - spec/models/my_permissions_response_spec.rb
299
- - spec/models/exclude_platforms_enum_spec.rb
300
284
  - spec/models/paginatedpython_python_remote_response_list_spec.rb
301
- - spec/models/package_metadata_response_spec.rb
285
+ - spec/models/repository_version_response_spec.rb
286
+ - spec/models/repository_add_remove_content_spec.rb
287
+ - spec/models/python_bander_remote_spec.rb
288
+ - spec/models/python_python_repository_spec.rb
289
+ - spec/models/set_label_response_spec.rb
302
290
  - spec/models/patchedpython_python_distribution_spec.rb
303
- - spec/models/package_types_enum_spec.rb
304
- - spec/models/patchedpython_python_remote_spec.rb
291
+ - spec/models/python_python_remote_response_hidden_fields_spec.rb
305
292
  - spec/models/paginated_repository_version_response_list_spec.rb
293
+ - spec/models/python_python_publication_spec.rb
294
+ - spec/models/object_roles_response_spec.rb
306
295
  - spec/models/paginatedpython_python_distribution_response_list_spec.rb
307
- - spec/models/nested_role_response_spec.rb
308
- - spec/models/package_upload_spec.rb
296
+ - spec/models/policy_enum_spec.rb
297
+ - spec/models/package_types_enum_spec.rb
309
298
  - spec/models/unset_label_response_spec.rb
310
- - spec/models/async_operation_response_spec.rb
311
299
  - spec/models/repository_sync_url_spec.rb
312
- - spec/models/set_label_spec.rb
313
- - spec/models/repository_version_response_spec.rb
314
- - spec/models/python_python_remote_spec.rb
315
- - spec/models/python_python_repository_spec.rb
300
+ - spec/models/package_metadata_response_spec.rb
301
+ - spec/models/nested_role_response_spec.rb
302
+ - spec/models/async_operation_response_spec.rb
303
+ - spec/models/python_python_package_content_response_spec.rb
316
304
  - spec/models/python_python_repository_response_spec.rb
305
+ - spec/models/patchedpython_python_repository_spec.rb
317
306
  - spec/models/python_python_distribution_spec.rb
307
+ - spec/models/python_python_publication_response_spec.rb
308
+ - spec/models/content_summary_response_spec.rb
309
+ - spec/models/package_upload_spec.rb
310
+ - spec/models/summary_response_spec.rb
311
+ - spec/models/paginatedpython_python_repository_response_list_spec.rb
312
+ - spec/models/exclude_platforms_enum_spec.rb
313
+ - spec/models/patchedpython_python_remote_spec.rb
314
+ - spec/models/unset_label_spec.rb
315
+ - spec/models/my_permissions_response_spec.rb
316
+ - spec/models/python_python_remote_response_spec.rb
317
+ - spec/models/paginatedpython_python_publication_response_list_spec.rb
318
+ - spec/models/package_upload_task_response_spec.rb
318
319
  - spec/models/repair_spec.rb
319
320
  - spec/models/python_python_package_content_spec.rb
320
- - spec/models/python_bander_remote_spec.rb
321
- - spec/models/summary_response_spec.rb
322
- - spec/models/python_python_publication_spec.rb
323
- - spec/models/repository_add_remove_content_spec.rb
324
- - spec/models/patchedpython_python_repository_spec.rb
321
+ - spec/models/python_python_distribution_response_spec.rb
322
+ - spec/models/set_label_spec.rb
325
323
  - spec/models/paginatedpython_python_package_content_response_list_spec.rb
324
+ - spec/models/nested_role_spec.rb
325
+ - spec/models/python_python_remote_spec.rb
326
326
  - spec/spec_helper.rb