pulp_python_client 3.10.1 → 3.11.0

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.
Files changed (34) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +7 -7
  3. data/docs/ContentPackagesApi.md +5 -5
  4. data/docs/DistributionsPypiApi.md +1 -1
  5. data/docs/PaginatedRepositoryVersionResponseList.md +2 -2
  6. data/docs/PaginatedpythonPythonDistributionResponseList.md +2 -2
  7. data/docs/PaginatedpythonPythonPackageContentResponseList.md +2 -2
  8. data/docs/PaginatedpythonPythonPublicationResponseList.md +2 -2
  9. data/docs/PaginatedpythonPythonRemoteResponseList.md +2 -2
  10. data/docs/PaginatedpythonPythonRepositoryResponseList.md +2 -2
  11. data/docs/PublicationsPypiApi.md +1 -1
  12. data/docs/PypiApi.md +1 -1
  13. data/docs/PypiLegacyApi.md +1 -1
  14. data/docs/PypiMetadataApi.md +1 -1
  15. data/docs/PypiSimpleApi.md +1 -1
  16. data/docs/PythonPythonPackageContent.md +2 -2
  17. data/docs/PythonPythonRemoteResponseHiddenFields.md +2 -2
  18. data/docs/RemotesPythonApi.md +1 -1
  19. data/docs/RepositoriesPythonApi.md +1 -1
  20. data/docs/RepositoriesPythonVersionsApi.md +1 -1
  21. data/lib/pulp_python_client/api/content_packages_api.rb +4 -4
  22. data/lib/pulp_python_client/configuration.rb +2 -2
  23. data/lib/pulp_python_client/models/paginated_repository_version_response_list.rb +0 -10
  24. data/lib/pulp_python_client/models/paginatedpython_python_distribution_response_list.rb +0 -10
  25. data/lib/pulp_python_client/models/paginatedpython_python_package_content_response_list.rb +0 -10
  26. data/lib/pulp_python_client/models/paginatedpython_python_publication_response_list.rb +0 -10
  27. data/lib/pulp_python_client/models/paginatedpython_python_remote_response_list.rb +0 -10
  28. data/lib/pulp_python_client/models/paginatedpython_python_repository_response_list.rb +0 -10
  29. data/lib/pulp_python_client/models/python_python_package_content.rb +2 -2
  30. data/lib/pulp_python_client/models/python_python_remote_response_hidden_fields.rb +0 -10
  31. data/lib/pulp_python_client/version.rb +1 -1
  32. data/spec/api/content_packages_api_spec.rb +2 -2
  33. data/spec/configuration_spec.rb +3 -3
  34. metadata +52 -52
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9941ebeb636f538f4a2207503f19b4ed5ee7c9dbf516a06d885d189ec2bd40ba
4
- data.tar.gz: 8f43a668c505c85f4a8745e164b14ddc5efbaa40e90f5698bb2277c29e2c24b4
3
+ metadata.gz: ac15138007e3c1e6a71126eefe3dcc59aba28172aa189ead2d046eb202fbdf3e
4
+ data.tar.gz: f246263cae4a945069c87fd0f0ff101d8971fb0d8f0b7400b593c52b36e03084
5
5
  SHA512:
6
- metadata.gz: 9c9c293d76a24f85b79770e4d2e47a4e5d8645b94605301cd7ee2473619b9484d652afdbf1c379cee1520d643e45a19430eec4f4bfea2d0dd40895637d1e8a87
7
- data.tar.gz: c0d0cb1094f79217cff2d00b8e3e76e9932f210f7be6124e5d98979f1ade5784caba976ab531816cb0450ea211e613274d737bc1c2cc6ce1e771e03d9185bc75
6
+ metadata.gz: 485432cb562c800b1a2c47df7f1507f321d8b9dd4e2e74f2f0a519d0d7e6404da2ea9a969b036e6226e3bb3a5b782cd77a017653839dee34b4a8812cb3a43d10
7
+ data.tar.gz: 716318072790d742e2752b3e3515a2c11c2d5b702e7f6680c9850050b55e1e84be9e1464c98a2e2084400ab381ca70d6a3b26ea77faf9da3448c41bcc0f4f35e
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.10.1
10
+ - Package version: 3.11.0
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.10.1.gem
27
+ gem install ./pulp_python_client-3.11.0.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./pulp_python_client-3.10.1.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./pulp_python_client-3.11.0.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.10.1'
36
+ gem 'pulp_python_client', '~> 3.11.0'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -69,8 +69,8 @@ relative_path = 'relative_path_example' # String | Path where the artifact is lo
69
69
  opts = {
70
70
  repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
71
71
  artifact: 'artifact_example', # String | Artifact file representing the physical content
72
- file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the artifact of the content unit.
73
- upload: 'upload_example', # String | An uncommitted upload that may be turned into the artifact of the content unit.
72
+ file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the content unit.
73
+ upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
74
74
  sha256: '', # String | The SHA256 digest of this package.
75
75
  summary: 'summary_example', # String | A one-line summary of what the package does.
76
76
  description: 'description_example', # String | A longer description of the package that can run to several paragraphs.
@@ -107,7 +107,7 @@ end
107
107
 
108
108
  ## Documentation for API Endpoints
109
109
 
110
- All URIs are relative to *http://localhost:24817*
110
+ All URIs are relative to *http://pulp*
111
111
 
112
112
  Class | Method | HTTP request | Description
113
113
  ------------ | ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpPythonClient::ContentPackagesApi
2
2
 
3
- All URIs are relative to *http://localhost:24817*
3
+ All URIs are relative to *http://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -35,8 +35,8 @@ relative_path = 'relative_path_example' # String | Path where the artifact is lo
35
35
  opts = {
36
36
  repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
37
37
  artifact: 'artifact_example', # String | Artifact file representing the physical content
38
- file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the artifact of the content unit.
39
- upload: 'upload_example', # String | An uncommitted upload that may be turned into the artifact of the content unit.
38
+ file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the content unit.
39
+ upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
40
40
  sha256: '', # String | The SHA256 digest of this package.
41
41
  summary: 'summary_example', # String | A one-line summary of what the package does.
42
42
  description: 'description_example', # String | A longer description of the package that can run to several paragraphs.
@@ -78,8 +78,8 @@ Name | Type | Description | Notes
78
78
  **relative_path** | **String**| Path where the artifact is located relative to distributions base_path |
79
79
  **repository** | **String**| A URI of a repository the new content unit should be associated with. | [optional]
80
80
  **artifact** | **String**| Artifact file representing the physical content | [optional]
81
- **file** | **File**| An uploaded file that may be turned into the artifact of the content unit. | [optional]
82
- **upload** | **String**| An uncommitted upload that may be turned into the artifact of the content unit. | [optional]
81
+ **file** | **File**| An uploaded file that may be turned into the content unit. | [optional]
82
+ **upload** | **String**| An uncommitted upload that may be turned into the content unit. | [optional]
83
83
  **sha256** | **String**| The SHA256 digest of this package. | [optional] [default to '']
84
84
  **summary** | **String**| A one-line summary of what the package does. | [optional]
85
85
  **description** | **String**| A longer description of the package that can run to several paragraphs. | [optional]
@@ -1,6 +1,6 @@
1
1
  # PulpPythonClient::DistributionsPypiApi
2
2
 
3
- All URIs are relative to *http://localhost:24817*
3
+ All URIs are relative to *http://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -4,10 +4,10 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **count** | **Integer** | |
7
+ **count** | **Integer** | | [optional]
8
8
  **_next** | **String** | | [optional]
9
9
  **previous** | **String** | | [optional]
10
- **results** | [**Array<RepositoryVersionResponse>**](RepositoryVersionResponse.md) | |
10
+ **results** | [**Array<RepositoryVersionResponse>**](RepositoryVersionResponse.md) | | [optional]
11
11
 
12
12
  ## Code Sample
13
13
 
@@ -4,10 +4,10 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **count** | **Integer** | |
7
+ **count** | **Integer** | | [optional]
8
8
  **_next** | **String** | | [optional]
9
9
  **previous** | **String** | | [optional]
10
- **results** | [**Array<PythonPythonDistributionResponse>**](PythonPythonDistributionResponse.md) | |
10
+ **results** | [**Array<PythonPythonDistributionResponse>**](PythonPythonDistributionResponse.md) | | [optional]
11
11
 
12
12
  ## Code Sample
13
13
 
@@ -4,10 +4,10 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **count** | **Integer** | |
7
+ **count** | **Integer** | | [optional]
8
8
  **_next** | **String** | | [optional]
9
9
  **previous** | **String** | | [optional]
10
- **results** | [**Array<PythonPythonPackageContentResponse>**](PythonPythonPackageContentResponse.md) | |
10
+ **results** | [**Array<PythonPythonPackageContentResponse>**](PythonPythonPackageContentResponse.md) | | [optional]
11
11
 
12
12
  ## Code Sample
13
13
 
@@ -4,10 +4,10 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **count** | **Integer** | |
7
+ **count** | **Integer** | | [optional]
8
8
  **_next** | **String** | | [optional]
9
9
  **previous** | **String** | | [optional]
10
- **results** | [**Array<PythonPythonPublicationResponse>**](PythonPythonPublicationResponse.md) | |
10
+ **results** | [**Array<PythonPythonPublicationResponse>**](PythonPythonPublicationResponse.md) | | [optional]
11
11
 
12
12
  ## Code Sample
13
13
 
@@ -4,10 +4,10 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **count** | **Integer** | |
7
+ **count** | **Integer** | | [optional]
8
8
  **_next** | **String** | | [optional]
9
9
  **previous** | **String** | | [optional]
10
- **results** | [**Array<PythonPythonRemoteResponse>**](PythonPythonRemoteResponse.md) | |
10
+ **results** | [**Array<PythonPythonRemoteResponse>**](PythonPythonRemoteResponse.md) | | [optional]
11
11
 
12
12
  ## Code Sample
13
13
 
@@ -4,10 +4,10 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **count** | **Integer** | |
7
+ **count** | **Integer** | | [optional]
8
8
  **_next** | **String** | | [optional]
9
9
  **previous** | **String** | | [optional]
10
- **results** | [**Array<PythonPythonRepositoryResponse>**](PythonPythonRepositoryResponse.md) | |
10
+ **results** | [**Array<PythonPythonRepositoryResponse>**](PythonPythonRepositoryResponse.md) | | [optional]
11
11
 
12
12
  ## Code Sample
13
13
 
@@ -1,6 +1,6 @@
1
1
  # PulpPythonClient::PublicationsPypiApi
2
2
 
3
- All URIs are relative to *http://localhost:24817*
3
+ All URIs are relative to *http://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
data/docs/PypiApi.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # PulpPythonClient::PypiApi
2
2
 
3
- All URIs are relative to *http://localhost:24817*
3
+ All URIs are relative to *http://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpPythonClient::PypiLegacyApi
2
2
 
3
- All URIs are relative to *http://localhost:24817*
3
+ All URIs are relative to *http://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpPythonClient::PypiMetadataApi
2
2
 
3
- All URIs are relative to *http://localhost:24817*
3
+ All URIs are relative to *http://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpPythonClient::PypiSimpleApi
2
2
 
3
- All URIs are relative to *http://localhost:24817*
3
+ All URIs are relative to *http://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -7,8 +7,8 @@ Name | Type | Description | Notes
7
7
  **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional]
8
8
  **artifact** | **String** | Artifact file representing the physical content | [optional]
9
9
  **relative_path** | **String** | Path where the artifact is located relative to distributions base_path |
10
- **file** | **File** | An uploaded file that may be turned into the artifact of the content unit. | [optional]
11
- **upload** | **String** | An uncommitted upload that may be turned into the artifact of the content unit. | [optional]
10
+ **file** | **File** | An uploaded file that may be turned into the content unit. | [optional]
11
+ **upload** | **String** | An uncommitted upload that may be turned into the content unit. | [optional]
12
12
  **sha256** | **String** | The SHA256 digest of this package. | [optional] [default to '']
13
13
  **summary** | **String** | A one-line summary of what the package does. | [optional]
14
14
  **description** | **String** | A longer description of the package that can run to several paragraphs. | [optional]
@@ -4,8 +4,8 @@
4
4
 
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
- **name** | **String** | |
8
- **is_set** | **Boolean** | |
7
+ **name** | **String** | | [optional]
8
+ **is_set** | **Boolean** | | [optional]
9
9
 
10
10
  ## Code Sample
11
11
 
@@ -1,6 +1,6 @@
1
1
  # PulpPythonClient::RemotesPythonApi
2
2
 
3
- All URIs are relative to *http://localhost:24817*
3
+ All URIs are relative to *http://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpPythonClient::RepositoriesPythonApi
2
2
 
3
- All URIs are relative to *http://localhost:24817*
3
+ All URIs are relative to *http://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -1,6 +1,6 @@
1
1
  # PulpPythonClient::RepositoriesPythonVersionsApi
2
2
 
3
- All URIs are relative to *http://localhost:24817*
3
+ All URIs are relative to *http://pulp*
4
4
 
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
@@ -25,8 +25,8 @@ module PulpPythonClient
25
25
  # @param [Hash] opts the optional parameters
26
26
  # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
27
27
  # @option opts [String] :artifact Artifact file representing the physical content
28
- # @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
29
- # @option opts [String] :upload An uncommitted upload that may be turned into the artifact of the content unit.
28
+ # @option opts [File] :file An uploaded file that may be turned into the content unit.
29
+ # @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
30
30
  # @option opts [String] :sha256 The SHA256 digest of this package. (default to '')
31
31
  # @option opts [String] :summary A one-line summary of what the package does.
32
32
  # @option opts [String] :description A longer description of the package that can run to several paragraphs.
@@ -61,8 +61,8 @@ module PulpPythonClient
61
61
  # @param [Hash] opts the optional parameters
62
62
  # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
63
63
  # @option opts [String] :artifact Artifact file representing the physical content
64
- # @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
65
- # @option opts [String] :upload An uncommitted upload that may be turned into the artifact of the content unit.
64
+ # @option opts [File] :file An uploaded file that may be turned into the content unit.
65
+ # @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
66
66
  # @option opts [String] :sha256 The SHA256 digest of this package.
67
67
  # @option opts [String] :summary A one-line summary of what the package does.
68
68
  # @option opts [String] :description A longer description of the package that can run to several paragraphs.
@@ -128,7 +128,7 @@ module PulpPythonClient
128
128
 
129
129
  def initialize
130
130
  @scheme = 'http'
131
- @host = 'localhost'
131
+ @host = 'pulp'
132
132
  @base_path = ''
133
133
  @api_key = {}
134
134
  @api_key_prefix = {}
@@ -210,7 +210,7 @@ module PulpPythonClient
210
210
  def server_settings
211
211
  [
212
212
  {
213
- url: "http://localhost:24817/",
213
+ url: "http://pulp/",
214
214
  description: "No description provided",
215
215
  }
216
216
  ]
@@ -88,22 +88,12 @@ module PulpPythonClient
88
88
  # @return Array for valid properties with the reasons
89
89
  def list_invalid_properties
90
90
  invalid_properties = Array.new
91
- if @count.nil?
92
- invalid_properties.push('invalid value for "count", count cannot be nil.')
93
- end
94
-
95
- if @results.nil?
96
- invalid_properties.push('invalid value for "results", results cannot be nil.')
97
- end
98
-
99
91
  invalid_properties
100
92
  end
101
93
 
102
94
  # Check to see if the all the properties in the model are valid
103
95
  # @return true if the model is valid
104
96
  def valid?
105
- return false if @count.nil?
106
- return false if @results.nil?
107
97
  true
108
98
  end
109
99
 
@@ -88,22 +88,12 @@ module PulpPythonClient
88
88
  # @return Array for valid properties with the reasons
89
89
  def list_invalid_properties
90
90
  invalid_properties = Array.new
91
- if @count.nil?
92
- invalid_properties.push('invalid value for "count", count cannot be nil.')
93
- end
94
-
95
- if @results.nil?
96
- invalid_properties.push('invalid value for "results", results cannot be nil.')
97
- end
98
-
99
91
  invalid_properties
100
92
  end
101
93
 
102
94
  # Check to see if the all the properties in the model are valid
103
95
  # @return true if the model is valid
104
96
  def valid?
105
- return false if @count.nil?
106
- return false if @results.nil?
107
97
  true
108
98
  end
109
99
 
@@ -88,22 +88,12 @@ module PulpPythonClient
88
88
  # @return Array for valid properties with the reasons
89
89
  def list_invalid_properties
90
90
  invalid_properties = Array.new
91
- if @count.nil?
92
- invalid_properties.push('invalid value for "count", count cannot be nil.')
93
- end
94
-
95
- if @results.nil?
96
- invalid_properties.push('invalid value for "results", results cannot be nil.')
97
- end
98
-
99
91
  invalid_properties
100
92
  end
101
93
 
102
94
  # Check to see if the all the properties in the model are valid
103
95
  # @return true if the model is valid
104
96
  def valid?
105
- return false if @count.nil?
106
- return false if @results.nil?
107
97
  true
108
98
  end
109
99
 
@@ -88,22 +88,12 @@ module PulpPythonClient
88
88
  # @return Array for valid properties with the reasons
89
89
  def list_invalid_properties
90
90
  invalid_properties = Array.new
91
- if @count.nil?
92
- invalid_properties.push('invalid value for "count", count cannot be nil.')
93
- end
94
-
95
- if @results.nil?
96
- invalid_properties.push('invalid value for "results", results cannot be nil.')
97
- end
98
-
99
91
  invalid_properties
100
92
  end
101
93
 
102
94
  # Check to see if the all the properties in the model are valid
103
95
  # @return true if the model is valid
104
96
  def valid?
105
- return false if @count.nil?
106
- return false if @results.nil?
107
97
  true
108
98
  end
109
99
 
@@ -88,22 +88,12 @@ module PulpPythonClient
88
88
  # @return Array for valid properties with the reasons
89
89
  def list_invalid_properties
90
90
  invalid_properties = Array.new
91
- if @count.nil?
92
- invalid_properties.push('invalid value for "count", count cannot be nil.')
93
- end
94
-
95
- if @results.nil?
96
- invalid_properties.push('invalid value for "results", results cannot be nil.')
97
- end
98
-
99
91
  invalid_properties
100
92
  end
101
93
 
102
94
  # Check to see if the all the properties in the model are valid
103
95
  # @return true if the model is valid
104
96
  def valid?
105
- return false if @count.nil?
106
- return false if @results.nil?
107
97
  true
108
98
  end
109
99
 
@@ -88,22 +88,12 @@ module PulpPythonClient
88
88
  # @return Array for valid properties with the reasons
89
89
  def list_invalid_properties
90
90
  invalid_properties = Array.new
91
- if @count.nil?
92
- invalid_properties.push('invalid value for "count", count cannot be nil.')
93
- end
94
-
95
- if @results.nil?
96
- invalid_properties.push('invalid value for "results", results cannot be nil.')
97
- end
98
-
99
91
  invalid_properties
100
92
  end
101
93
 
102
94
  # Check to see if the all the properties in the model are valid
103
95
  # @return true if the model is valid
104
96
  def valid?
105
- return false if @count.nil?
106
- return false if @results.nil?
107
97
  true
108
98
  end
109
99
 
@@ -24,10 +24,10 @@ module PulpPythonClient
24
24
  # Path where the artifact is located relative to distributions base_path
25
25
  attr_accessor :relative_path
26
26
 
27
- # An uploaded file that may be turned into the artifact of the content unit.
27
+ # An uploaded file that may be turned into the content unit.
28
28
  attr_accessor :file
29
29
 
30
- # An uncommitted upload that may be turned into the artifact of the content unit.
30
+ # An uncommitted upload that may be turned into the content unit.
31
31
  attr_accessor :upload
32
32
 
33
33
  # The SHA256 digest of this package.
@@ -68,22 +68,12 @@ module PulpPythonClient
68
68
  # @return Array for valid properties with the reasons
69
69
  def list_invalid_properties
70
70
  invalid_properties = Array.new
71
- if @name.nil?
72
- invalid_properties.push('invalid value for "name", name cannot be nil.')
73
- end
74
-
75
- if @is_set.nil?
76
- invalid_properties.push('invalid value for "is_set", is_set cannot be nil.')
77
- end
78
-
79
71
  invalid_properties
80
72
  end
81
73
 
82
74
  # Check to see if the all the properties in the model are valid
83
75
  # @return true if the model is valid
84
76
  def valid?
85
- return false if @name.nil?
86
- return false if @is_set.nil?
87
77
  true
88
78
  end
89
79
 
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.3.1
11
11
  =end
12
12
 
13
13
  module PulpPythonClient
14
- VERSION = '3.10.1'
14
+ VERSION = '3.11.0'
15
15
  end
@@ -39,8 +39,8 @@ describe 'ContentPackagesApi' do
39
39
  # @param [Hash] opts the optional parameters
40
40
  # @option opts [String] :repository A URI of a repository the new content unit should be associated with.
41
41
  # @option opts [String] :artifact Artifact file representing the physical content
42
- # @option opts [File] :file An uploaded file that may be turned into the artifact of the content unit.
43
- # @option opts [String] :upload An uncommitted upload that may be turned into the artifact of the content unit.
42
+ # @option opts [File] :file An uploaded file that may be turned into the content unit.
43
+ # @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
44
44
  # @option opts [String] :sha256 The SHA256 digest of this package.
45
45
  # @option opts [String] :summary A one-line summary of what the package does.
46
46
  # @option opts [String] :description A longer description of the package that can run to several paragraphs.
@@ -18,7 +18,7 @@ describe PulpPythonClient::Configuration do
18
18
  before(:each) do
19
19
  # uncomment below to setup host and base_path
20
20
  # require 'URI'
21
- # uri = URI.parse("http://localhost:24817")
21
+ # uri = URI.parse("http://pulp")
22
22
  # PulpPythonClient.configure do |c|
23
23
  # c.host = uri.host
24
24
  # c.base_path = uri.path
@@ -28,14 +28,14 @@ describe PulpPythonClient::Configuration do
28
28
  describe '#base_url' do
29
29
  it 'should have the default value' do
30
30
  # uncomment below to test default value of the base path
31
- # expect(config.base_url).to eq("http://localhost:24817")
31
+ # expect(config.base_url).to eq("http://pulp")
32
32
  end
33
33
 
34
34
  it 'should remove trailing slashes' do
35
35
  [nil, '', '/', '//'].each do |base_path|
36
36
  config.base_path = base_path
37
37
  # uncomment below to test trailing slashes
38
- # expect(config.base_url).to eq("http://localhost:24817")
38
+ # expect(config.base_url).to eq("http://pulp")
39
39
  end
40
40
  end
41
41
  end
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.10.1
4
+ version: 3.11.0
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: 2025-07-23 00:00:00.000000000 Z
11
+ date: 2023-11-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -34,42 +34,42 @@ dependencies:
34
34
  name: json
35
35
  requirement: !ruby/object:Gem::Requirement
36
36
  requirements:
37
- - - "~>"
38
- - !ruby/object:Gem::Version
39
- version: '2.1'
40
37
  - - ">="
41
38
  - !ruby/object:Gem::Version
42
39
  version: 2.1.0
40
+ - - "~>"
41
+ - !ruby/object:Gem::Version
42
+ version: '2.1'
43
43
  type: :runtime
44
44
  prerelease: false
45
45
  version_requirements: !ruby/object:Gem::Requirement
46
46
  requirements:
47
- - - "~>"
48
- - !ruby/object:Gem::Version
49
- version: '2.1'
50
47
  - - ">="
51
48
  - !ruby/object:Gem::Version
52
49
  version: 2.1.0
50
+ - - "~>"
51
+ - !ruby/object:Gem::Version
52
+ version: '2.1'
53
53
  - !ruby/object:Gem::Dependency
54
54
  name: rspec
55
55
  requirement: !ruby/object:Gem::Requirement
56
56
  requirements:
57
- - - "~>"
58
- - !ruby/object:Gem::Version
59
- version: '3.6'
60
57
  - - ">="
61
58
  - !ruby/object:Gem::Version
62
59
  version: 3.6.0
60
+ - - "~>"
61
+ - !ruby/object:Gem::Version
62
+ version: '3.6'
63
63
  type: :development
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
66
66
  requirements:
67
- - - "~>"
68
- - !ruby/object:Gem::Version
69
- version: '3.6'
70
67
  - - ">="
71
68
  - !ruby/object:Gem::Version
72
69
  version: 3.6.0
70
+ - - "~>"
71
+ - !ruby/object:Gem::Version
72
+ version: '3.6'
73
73
  description: Fetch, Upload, Organize, and Distribute Software Packages
74
74
  email:
75
75
  - pulp-list@redhat.com
@@ -237,7 +237,7 @@ homepage: https://github.com/pulp/pulp_python
237
237
  licenses:
238
238
  - GPLv2+
239
239
  metadata: {}
240
- post_install_message:
240
+ post_install_message:
241
241
  rdoc_options: []
242
242
  require_paths:
243
243
  - lib
@@ -252,59 +252,59 @@ required_rubygems_version: !ruby/object:Gem::Requirement
252
252
  - !ruby/object:Gem::Version
253
253
  version: '0'
254
254
  requirements: []
255
- rubygems_version: 3.4.20
256
- signing_key:
255
+ rubygems_version: 3.0.3.1
256
+ signing_key:
257
257
  specification_version: 4
258
258
  summary: Pulp 3 API Ruby Gem
259
259
  test_files:
260
- - spec/api/repositories_python_api_spec.rb
261
- - spec/api/pypi_legacy_api_spec.rb
262
- - spec/api/pypi_simple_api_spec.rb
263
- - spec/api/pypi_metadata_api_spec.rb
264
260
  - spec/api/remotes_python_api_spec.rb
261
+ - spec/api/pypi_simple_api_spec.rb
262
+ - spec/api/content_packages_api_spec.rb
265
263
  - spec/api/publications_pypi_api_spec.rb
266
264
  - spec/api/pypi_api_spec.rb
265
+ - spec/api/pypi_legacy_api_spec.rb
267
266
  - spec/api/distributions_pypi_api_spec.rb
268
- - spec/api/content_packages_api_spec.rb
267
+ - spec/api/repositories_python_api_spec.rb
269
268
  - spec/api/repositories_python_versions_api_spec.rb
269
+ - spec/api/pypi_metadata_api_spec.rb
270
270
  - spec/api_client_spec.rb
271
271
  - spec/configuration_spec.rb
272
- - spec/models/patchedpython_python_repository_spec.rb
272
+ - spec/models/exclude_platforms_enum_spec.rb
273
+ - spec/models/repository_sync_url_spec.rb
274
+ - spec/models/python_python_distribution_response_spec.rb
275
+ - spec/models/package_upload_task_response_spec.rb
276
+ - spec/models/python_python_remote_response_hidden_fields_spec.rb
277
+ - spec/models/package_types_enum_spec.rb
278
+ - spec/models/python_python_repository_response_spec.rb
273
279
  - spec/models/unset_label_spec.rb
280
+ - spec/models/patchedpython_python_remote_spec.rb
281
+ - spec/models/summary_response_spec.rb
282
+ - spec/models/repository_version_response_spec.rb
274
283
  - spec/models/python_python_remote_response_spec.rb
275
- - spec/models/repair_spec.rb
276
- - spec/models/python_python_repository_response_spec.rb
284
+ - spec/models/python_python_repository_spec.rb
285
+ - spec/models/package_metadata_response_spec.rb
286
+ - spec/models/patchedpython_python_repository_spec.rb
287
+ - spec/models/paginated_repository_version_response_list_spec.rb
288
+ - spec/models/paginatedpython_python_repository_response_list_spec.rb
289
+ - spec/models/set_label_spec.rb
290
+ - spec/models/content_summary_response_spec.rb
277
291
  - spec/models/paginatedpython_python_distribution_response_list_spec.rb
278
- - spec/models/repository_version_response_spec.rb
292
+ - spec/models/async_operation_response_spec.rb
293
+ - spec/models/python_python_remote_spec.rb
294
+ - spec/models/python_python_publication_response_spec.rb
295
+ - spec/models/python_bander_remote_spec.rb
296
+ - spec/models/python_python_publication_spec.rb
279
297
  - spec/models/policy_enum_spec.rb
280
- - spec/models/paginatedpython_python_package_content_response_list_spec.rb
281
- - spec/models/paginated_repository_version_response_list_spec.rb
282
- - spec/models/python_python_distribution_spec.rb
298
+ - spec/models/patchedpython_python_distribution_spec.rb
283
299
  - spec/models/paginatedpython_python_publication_response_list_spec.rb
284
300
  - spec/models/unset_label_response_spec.rb
285
- - spec/models/set_label_response_spec.rb
286
- - spec/models/python_bander_remote_spec.rb
287
- - spec/models/python_python_remote_spec.rb
288
- - spec/models/python_python_remote_response_hidden_fields_spec.rb
289
- - spec/models/python_python_package_content_response_spec.rb
290
- - spec/models/exclude_platforms_enum_spec.rb
291
- - spec/models/python_python_publication_spec.rb
292
- - spec/models/content_summary_response_spec.rb
301
+ - spec/models/repair_spec.rb
302
+ - spec/models/paginatedpython_python_package_content_response_list_spec.rb
303
+ - spec/models/python_python_distribution_spec.rb
304
+ - spec/models/repository_add_remove_content_spec.rb
293
305
  - spec/models/python_python_package_content_spec.rb
294
- - spec/models/patchedpython_python_distribution_spec.rb
295
- - spec/models/python_python_publication_response_spec.rb
296
306
  - spec/models/paginatedpython_python_remote_response_list_spec.rb
297
- - spec/models/package_metadata_response_spec.rb
298
- - spec/models/async_operation_response_spec.rb
299
- - spec/models/summary_response_spec.rb
300
- - spec/models/repository_sync_url_spec.rb
301
307
  - spec/models/package_upload_spec.rb
302
- - spec/models/set_label_spec.rb
303
- - spec/models/package_upload_task_response_spec.rb
304
- - spec/models/python_python_repository_spec.rb
305
- - spec/models/repository_add_remove_content_spec.rb
306
- - spec/models/patchedpython_python_remote_spec.rb
307
- - spec/models/package_types_enum_spec.rb
308
- - spec/models/paginatedpython_python_repository_response_list_spec.rb
309
- - spec/models/python_python_distribution_response_spec.rb
308
+ - spec/models/set_label_response_spec.rb
309
+ - spec/models/python_python_package_content_response_spec.rb
310
310
  - spec/spec_helper.rb