pulp_python_client 3.15.1 → 3.17.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 (37) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +22 -17
  3. data/docs/ContentPackagesApi.md +58 -36
  4. data/docs/DistributionsPypiApi.md +72 -32
  5. data/docs/PublicationsPypiApi.md +40 -16
  6. data/docs/PypiApi.md +2 -0
  7. data/docs/PypiLegacyApi.md +2 -0
  8. data/docs/PypiMetadataApi.md +2 -0
  9. data/docs/PypiSimpleApi.md +6 -0
  10. data/docs/PythonPythonPackageContentResponse.md +46 -36
  11. data/docs/RemotesPythonApi.md +74 -32
  12. data/docs/RepositoriesPythonApi.md +96 -44
  13. data/docs/RepositoriesPythonVersionsApi.md +22 -10
  14. data/lib/pulp_python_client/api/content_packages_api.rb +69 -42
  15. data/lib/pulp_python_client/api/distributions_pypi_api.rb +36 -0
  16. data/lib/pulp_python_client/api/publications_pypi_api.rb +24 -0
  17. data/lib/pulp_python_client/api/pypi_api.rb +3 -0
  18. data/lib/pulp_python_client/api/pypi_legacy_api.rb +3 -0
  19. data/lib/pulp_python_client/api/pypi_metadata_api.rb +3 -0
  20. data/lib/pulp_python_client/api/pypi_simple_api.rb +9 -0
  21. data/lib/pulp_python_client/api/remotes_python_api.rb +39 -0
  22. data/lib/pulp_python_client/api/repositories_python_api.rb +45 -0
  23. data/lib/pulp_python_client/api/repositories_python_versions_api.rb +15 -3
  24. data/lib/pulp_python_client/models/python_python_package_content_response.rb +199 -146
  25. data/lib/pulp_python_client/version.rb +1 -1
  26. data/spec/api/content_packages_api_spec.rb +23 -14
  27. data/spec/api/distributions_pypi_api_spec.rb +12 -0
  28. data/spec/api/publications_pypi_api_spec.rb +8 -0
  29. data/spec/api/pypi_api_spec.rb +1 -0
  30. data/spec/api/pypi_legacy_api_spec.rb +1 -0
  31. data/spec/api/pypi_metadata_api_spec.rb +1 -0
  32. data/spec/api/pypi_simple_api_spec.rb +3 -0
  33. data/spec/api/remotes_python_api_spec.rb +13 -0
  34. data/spec/api/repositories_python_api_spec.rb +15 -0
  35. data/spec/api/repositories_python_versions_api_spec.rb +5 -1
  36. data/spec/models/python_python_package_content_response_spec.rb +54 -24
  37. metadata +39 -39
@@ -23,6 +23,7 @@ module PulpPythonClient
23
23
  # Trigger an asynchronous task to delete a repository version.
24
24
  # @param python_python_repository_version_href [String]
25
25
  # @param [Hash] opts the optional parameters
26
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
26
27
  # @return [AsyncOperationResponse]
27
28
  def delete(python_python_repository_version_href, opts = {})
28
29
  data, _status_code, _headers = delete_with_http_info(python_python_repository_version_href, opts)
@@ -33,6 +34,7 @@ module PulpPythonClient
33
34
  # Trigger an asynchronous task to delete a repository version.
34
35
  # @param python_python_repository_version_href [String]
35
36
  # @param [Hash] opts the optional parameters
37
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
36
38
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
37
39
  def delete_with_http_info(python_python_repository_version_href, opts = {})
38
40
  if @api_client.config.debugging
@@ -52,6 +54,7 @@ module PulpPythonClient
52
54
  header_params = opts[:header_params] || {}
53
55
  # HTTP header 'Accept' (if needed)
54
56
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
57
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
55
58
 
56
59
  # form parameters
57
60
  form_params = opts[:form_params] || {}
@@ -86,6 +89,7 @@ module PulpPythonClient
86
89
  # PythonRepositoryVersion represents a single Python repository version.
87
90
  # @param python_python_repository_href [String]
88
91
  # @param [Hash] opts the optional parameters
92
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
89
93
  # @option opts [String] :content Content Unit referenced by HREF/PRN
90
94
  # @option opts [Array<String>] :content__in Multiple values may be separated by commas.
91
95
  # @option opts [Integer] :limit Number of results to return per page.
@@ -96,7 +100,7 @@ module PulpPythonClient
96
100
  # @option opts [Integer] :number__lte Filter results where number is less than or equal to value
97
101
  # @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
98
102
  # @option opts [Integer] :offset The initial index from which to return the results.
99
- # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;number&#x60; - Number * &#x60;-number&#x60; - Number (descending) * &#x60;complete&#x60; - Complete * &#x60;-complete&#x60; - Complete (descending) * &#x60;info&#x60; - Info * &#x60;-info&#x60; - Info (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
103
+ # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;number&#x60; - Number * &#x60;-number&#x60; - Number (descending) * &#x60;complete&#x60; - Complete * &#x60;-complete&#x60; - Complete (descending) * &#x60;info&#x60; - Info * &#x60;-info&#x60; - Info (descending) * &#x60;content_ids&#x60; - Content ids * &#x60;-content_ids&#x60; - Content ids (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
100
104
  # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
101
105
  # @option opts [Time] :pulp_created Filter results where pulp_created matches value
102
106
  # @option opts [Time] :pulp_created__gt Filter results where pulp_created is greater than value
@@ -119,6 +123,7 @@ module PulpPythonClient
119
123
  # PythonRepositoryVersion represents a single Python repository version.
120
124
  # @param python_python_repository_href [String]
121
125
  # @param [Hash] opts the optional parameters
126
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
122
127
  # @option opts [String] :content Content Unit referenced by HREF/PRN
123
128
  # @option opts [Array<String>] :content__in Multiple values may be separated by commas.
124
129
  # @option opts [Integer] :limit Number of results to return per page.
@@ -129,7 +134,7 @@ module PulpPythonClient
129
134
  # @option opts [Integer] :number__lte Filter results where number is less than or equal to value
130
135
  # @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
131
136
  # @option opts [Integer] :offset The initial index from which to return the results.
132
- # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;number&#x60; - Number * &#x60;-number&#x60; - Number (descending) * &#x60;complete&#x60; - Complete * &#x60;-complete&#x60; - Complete (descending) * &#x60;info&#x60; - Info * &#x60;-info&#x60; - Info (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
137
+ # @option opts [Array<String>] :ordering Ordering * &#x60;pulp_id&#x60; - Pulp id * &#x60;-pulp_id&#x60; - Pulp id (descending) * &#x60;pulp_created&#x60; - Pulp created * &#x60;-pulp_created&#x60; - Pulp created (descending) * &#x60;pulp_last_updated&#x60; - Pulp last updated * &#x60;-pulp_last_updated&#x60; - Pulp last updated (descending) * &#x60;number&#x60; - Number * &#x60;-number&#x60; - Number (descending) * &#x60;complete&#x60; - Complete * &#x60;-complete&#x60; - Complete (descending) * &#x60;info&#x60; - Info * &#x60;-info&#x60; - Info (descending) * &#x60;content_ids&#x60; - Content ids * &#x60;-content_ids&#x60; - Content ids (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
133
138
  # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
134
139
  # @option opts [Time] :pulp_created Filter results where pulp_created matches value
135
140
  # @option opts [Time] :pulp_created__gt Filter results where pulp_created is greater than value
@@ -151,7 +156,7 @@ module PulpPythonClient
151
156
  if @api_client.config.client_side_validation && python_python_repository_href.nil?
152
157
  fail ArgumentError, "Missing the required parameter 'python_python_repository_href' when calling RepositoriesPythonVersionsApi.list"
153
158
  end
154
- allowable_values = ["-complete", "-info", "-number", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "complete", "info", "number", "pk", "pulp_created", "pulp_id", "pulp_last_updated"]
159
+ allowable_values = ["-complete", "-content_ids", "-info", "-number", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "complete", "content_ids", "info", "number", "pk", "pulp_created", "pulp_id", "pulp_last_updated"]
155
160
  if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
156
161
  fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
157
162
  end
@@ -188,6 +193,7 @@ module PulpPythonClient
188
193
  header_params = opts[:header_params] || {}
189
194
  # HTTP header 'Accept' (if needed)
190
195
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
196
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
191
197
 
192
198
  # form parameters
193
199
  form_params = opts[:form_params] || {}
@@ -222,6 +228,7 @@ module PulpPythonClient
222
228
  # PythonRepositoryVersion represents a single Python repository version.
223
229
  # @param python_python_repository_version_href [String]
224
230
  # @param [Hash] opts the optional parameters
231
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
225
232
  # @option opts [Array<String>] :fields A list of fields to include in the response.
226
233
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
227
234
  # @return [RepositoryVersionResponse]
@@ -234,6 +241,7 @@ module PulpPythonClient
234
241
  # PythonRepositoryVersion represents a single Python repository version.
235
242
  # @param python_python_repository_version_href [String]
236
243
  # @param [Hash] opts the optional parameters
244
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
237
245
  # @option opts [Array<String>] :fields A list of fields to include in the response.
238
246
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
239
247
  # @return [Array<(RepositoryVersionResponse, Integer, Hash)>] RepositoryVersionResponse data, response status code and response headers
@@ -257,6 +265,7 @@ module PulpPythonClient
257
265
  header_params = opts[:header_params] || {}
258
266
  # HTTP header 'Accept' (if needed)
259
267
  header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
268
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
260
269
 
261
270
  # form parameters
262
271
  form_params = opts[:form_params] || {}
@@ -291,6 +300,7 @@ module PulpPythonClient
291
300
  # @param python_python_repository_version_href [String]
292
301
  # @param repair [Repair]
293
302
  # @param [Hash] opts the optional parameters
303
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
294
304
  # @return [AsyncOperationResponse]
295
305
  def repair(python_python_repository_version_href, repair, opts = {})
296
306
  data, _status_code, _headers = repair_with_http_info(python_python_repository_version_href, repair, opts)
@@ -301,6 +311,7 @@ module PulpPythonClient
301
311
  # @param python_python_repository_version_href [String]
302
312
  # @param repair [Repair]
303
313
  # @param [Hash] opts the optional parameters
314
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
304
315
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
305
316
  def repair_with_http_info(python_python_repository_version_href, repair, opts = {})
306
317
  if @api_client.config.debugging
@@ -329,6 +340,7 @@ module PulpPythonClient
329
340
  if !content_type.nil?
330
341
  header_params['Content-Type'] = content_type
331
342
  end
343
+ header_params[:'X-Task-Diagnostics'] = @api_client.build_collection_param(opts[:'x_task_diagnostics'], :csv) if !opts[:'x_task_diagnostics'].nil?
332
344
 
333
345
  # form parameters
334
346
  form_params = opts[:form_params] || {}
@@ -33,47 +33,47 @@ module PulpPythonClient
33
33
  # Artifact file representing the physical content
34
34
  attr_accessor :artifact
35
35
 
36
- # The name of the distribution package, usually of the format: {distribution}-{version}(-{build tag})?-{python tag}-{abi tag}-{platform tag}.{packagetype}
37
- attr_accessor :filename
36
+ # Text containing the author's name. Contact information can also be added, separated with newlines.
37
+ attr_accessor :author
38
38
 
39
- # The type of the distribution package (e.g. sdist, bdist_wheel, bdist_egg, etc)
40
- attr_accessor :packagetype
39
+ # The author's e-mail address.
40
+ attr_accessor :author_email
41
41
 
42
- # The name of the python project.
43
- attr_accessor :name
42
+ # A longer description of the package that can run to several paragraphs.
43
+ attr_accessor :description
44
44
 
45
- # The packages version number.
46
- attr_accessor :version
45
+ # The URL for the package's home page.
46
+ attr_accessor :home_page
47
47
 
48
- # The SHA256 digest of this package.
49
- attr_accessor :sha256
48
+ # Additional keywords to be used to assist searching for the package in a larger catalog.
49
+ attr_accessor :keywords
50
+
51
+ # Text indicating the license covering the distribution
52
+ attr_accessor :license
50
53
 
51
54
  # Version of the file format
52
55
  attr_accessor :metadata_version
53
56
 
54
- # A one-line summary of what the package does.
55
- attr_accessor :summary
57
+ # The name of the python project.
58
+ attr_accessor :name
56
59
 
57
- # A longer description of the package that can run to several paragraphs.
58
- attr_accessor :description
60
+ # A comma-separated list of platform specifications, summarizing the operating systems supported by the package.
61
+ attr_accessor :platform
59
62
 
60
- # A string stating the markup syntax (if any) used in the distribution’s description, so that tools can intelligently render the description.
61
- attr_accessor :description_content_type
63
+ # A one-line summary of what the package does.
64
+ attr_accessor :summary
62
65
 
63
- # Additional keywords to be used to assist searching for the package in a larger catalog.
64
- attr_accessor :keywords
66
+ # The packages version number.
67
+ attr_accessor :version
65
68
 
66
- # The URL for the package's home page.
67
- attr_accessor :home_page
69
+ # A JSON list containing classification values for a Python package.
70
+ attr_accessor :classifiers
68
71
 
69
72
  # Legacy field denoting the URL from which this package can be downloaded.
70
73
  attr_accessor :download_url
71
74
 
72
- # Text containing the author's name. Contact information can also be added, separated with newlines.
73
- attr_accessor :author
74
-
75
- # The author's e-mail address.
76
- attr_accessor :author_email
75
+ # Field to specify the OS and CPU for which the binary package was compiled.
76
+ attr_accessor :supported_platform
77
77
 
78
78
  # The maintainer's name at a minimum; additional contact information may be provided.
79
79
  attr_accessor :maintainer
@@ -81,11 +81,8 @@ module PulpPythonClient
81
81
  # The maintainer's e-mail address.
82
82
  attr_accessor :maintainer_email
83
83
 
84
- # Text indicating the license covering the distribution
85
- attr_accessor :license
86
-
87
- # The Python version(s) that the distribution is guaranteed to be compatible with.
88
- attr_accessor :requires_python
84
+ # 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.
85
+ attr_accessor :obsoletes_dist
89
86
 
90
87
  # A browsable URL for the project and a label for it, separated by a comma.
91
88
  attr_accessor :project_url
@@ -93,26 +90,44 @@ module PulpPythonClient
93
90
  # A dictionary of labels and URLs for the project.
94
91
  attr_accessor :project_urls
95
92
 
96
- # A comma-separated list of platform specifications, summarizing the operating systems supported by the package.
97
- attr_accessor :platform
93
+ # A JSON list containing names of a Distutils project which is contained within this distribution.
94
+ attr_accessor :provides_dist
98
95
 
99
- # Field to specify the OS and CPU for which the binary package was compiled.
100
- attr_accessor :supported_platform
96
+ # A JSON list containing some dependency in the system that the distribution is to be used.
97
+ attr_accessor :requires_external
101
98
 
102
99
  # A JSON list containing names of some other distutils project required by this distribution.
103
100
  attr_accessor :requires_dist
104
101
 
105
- # A JSON list containing names of a Distutils project which is contained within this distribution.
106
- attr_accessor :provides_dist
102
+ # The Python version(s) that the distribution is guaranteed to be compatible with.
103
+ attr_accessor :requires_python
107
104
 
108
- # 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.
109
- attr_accessor :obsoletes_dist
105
+ # A string stating the markup syntax (if any) used in the distribution’s description, so that tools can intelligently render the description.
106
+ attr_accessor :description_content_type
110
107
 
111
- # A JSON list containing some dependency in the system that the distribution is to be used.
112
- attr_accessor :requires_external
108
+ # A JSON list containing names of optional features provided by the package.
109
+ attr_accessor :provides_extras
113
110
 
114
- # A JSON list containing classification values for a Python package.
115
- attr_accessor :classifiers
111
+ # A JSON list containing names of other core metadata fields which are permitted to vary between sdist and bdist packages. Fields NOT marked dynamic MUST be the same between bdist and sdist.
112
+ attr_accessor :dynamic
113
+
114
+ # Text string that is a valid SPDX license expression.
115
+ attr_accessor :license_expression
116
+
117
+ # A JSON list containing names of the paths to license-related files.
118
+ attr_accessor :license_file
119
+
120
+ # The name of the distribution package, usually of the format: {distribution}-{version}(-{build tag})?-{python tag}-{abi tag}-{platform tag}.{packagetype}
121
+ attr_accessor :filename
122
+
123
+ # The type of the distribution package (e.g. sdist, bdist_wheel, bdist_egg, etc)
124
+ attr_accessor :packagetype
125
+
126
+ # The tag that indicates which Python implementation or version the package requires.
127
+ attr_accessor :python_version
128
+
129
+ # The SHA256 digest of this package.
130
+ attr_accessor :sha256
116
131
 
117
132
  # Attribute mapping from ruby-style variable name to JSON key.
118
133
  def self.attribute_map
@@ -123,33 +138,38 @@ module PulpPythonClient
123
138
  :'pulp_last_updated' => :'pulp_last_updated',
124
139
  :'pulp_labels' => :'pulp_labels',
125
140
  :'artifact' => :'artifact',
126
- :'filename' => :'filename',
127
- :'packagetype' => :'packagetype',
128
- :'name' => :'name',
129
- :'version' => :'version',
130
- :'sha256' => :'sha256',
131
- :'metadata_version' => :'metadata_version',
132
- :'summary' => :'summary',
141
+ :'author' => :'author',
142
+ :'author_email' => :'author_email',
133
143
  :'description' => :'description',
134
- :'description_content_type' => :'description_content_type',
135
- :'keywords' => :'keywords',
136
144
  :'home_page' => :'home_page',
145
+ :'keywords' => :'keywords',
146
+ :'license' => :'license',
147
+ :'metadata_version' => :'metadata_version',
148
+ :'name' => :'name',
149
+ :'platform' => :'platform',
150
+ :'summary' => :'summary',
151
+ :'version' => :'version',
152
+ :'classifiers' => :'classifiers',
137
153
  :'download_url' => :'download_url',
138
- :'author' => :'author',
139
- :'author_email' => :'author_email',
154
+ :'supported_platform' => :'supported_platform',
140
155
  :'maintainer' => :'maintainer',
141
156
  :'maintainer_email' => :'maintainer_email',
142
- :'license' => :'license',
143
- :'requires_python' => :'requires_python',
157
+ :'obsoletes_dist' => :'obsoletes_dist',
144
158
  :'project_url' => :'project_url',
145
159
  :'project_urls' => :'project_urls',
146
- :'platform' => :'platform',
147
- :'supported_platform' => :'supported_platform',
148
- :'requires_dist' => :'requires_dist',
149
160
  :'provides_dist' => :'provides_dist',
150
- :'obsoletes_dist' => :'obsoletes_dist',
151
161
  :'requires_external' => :'requires_external',
152
- :'classifiers' => :'classifiers'
162
+ :'requires_dist' => :'requires_dist',
163
+ :'requires_python' => :'requires_python',
164
+ :'description_content_type' => :'description_content_type',
165
+ :'provides_extras' => :'provides_extras',
166
+ :'dynamic' => :'dynamic',
167
+ :'license_expression' => :'license_expression',
168
+ :'license_file' => :'license_file',
169
+ :'filename' => :'filename',
170
+ :'packagetype' => :'packagetype',
171
+ :'python_version' => :'python_version',
172
+ :'sha256' => :'sha256'
153
173
  }
154
174
  end
155
175
 
@@ -167,45 +187,53 @@ module PulpPythonClient
167
187
  :'pulp_last_updated' => :'Time',
168
188
  :'pulp_labels' => :'Hash<String, String>',
169
189
  :'artifact' => :'String',
170
- :'filename' => :'String',
171
- :'packagetype' => :'String',
172
- :'name' => :'String',
173
- :'version' => :'String',
174
- :'sha256' => :'String',
175
- :'metadata_version' => :'String',
176
- :'summary' => :'String',
190
+ :'author' => :'String',
191
+ :'author_email' => :'String',
177
192
  :'description' => :'String',
178
- :'description_content_type' => :'String',
179
- :'keywords' => :'String',
180
193
  :'home_page' => :'String',
194
+ :'keywords' => :'String',
195
+ :'license' => :'String',
196
+ :'metadata_version' => :'String',
197
+ :'name' => :'String',
198
+ :'platform' => :'String',
199
+ :'summary' => :'String',
200
+ :'version' => :'String',
201
+ :'classifiers' => :'Object',
181
202
  :'download_url' => :'String',
182
- :'author' => :'String',
183
- :'author_email' => :'String',
203
+ :'supported_platform' => :'String',
184
204
  :'maintainer' => :'String',
185
205
  :'maintainer_email' => :'String',
186
- :'license' => :'String',
187
- :'requires_python' => :'String',
206
+ :'obsoletes_dist' => :'Object',
188
207
  :'project_url' => :'String',
189
208
  :'project_urls' => :'Object',
190
- :'platform' => :'String',
191
- :'supported_platform' => :'String',
192
- :'requires_dist' => :'Object',
193
209
  :'provides_dist' => :'Object',
194
- :'obsoletes_dist' => :'Object',
195
210
  :'requires_external' => :'Object',
196
- :'classifiers' => :'Object'
211
+ :'requires_dist' => :'Object',
212
+ :'requires_python' => :'String',
213
+ :'description_content_type' => :'String',
214
+ :'provides_extras' => :'Object',
215
+ :'dynamic' => :'Object',
216
+ :'license_expression' => :'String',
217
+ :'license_file' => :'Object',
218
+ :'filename' => :'String',
219
+ :'packagetype' => :'String',
220
+ :'python_version' => :'String',
221
+ :'sha256' => :'String'
197
222
  }
198
223
  end
199
224
 
200
225
  # List of attributes with nullable: true
201
226
  def self.openapi_nullable
202
227
  Set.new([
228
+ :'classifiers',
229
+ :'obsoletes_dist',
203
230
  :'project_urls',
204
- :'requires_dist',
205
231
  :'provides_dist',
206
- :'obsoletes_dist',
207
232
  :'requires_external',
208
- :'classifiers'
233
+ :'requires_dist',
234
+ :'provides_extras',
235
+ :'dynamic',
236
+ :'license_file',
209
237
  ])
210
238
  end
211
239
 
@@ -250,62 +278,60 @@ module PulpPythonClient
250
278
  self.artifact = attributes[:'artifact']
251
279
  end
252
280
 
253
- if attributes.key?(:'filename')
254
- self.filename = attributes[:'filename']
281
+ if attributes.key?(:'author')
282
+ self.author = attributes[:'author']
255
283
  end
256
284
 
257
- if attributes.key?(:'packagetype')
258
- self.packagetype = attributes[:'packagetype']
285
+ if attributes.key?(:'author_email')
286
+ self.author_email = attributes[:'author_email']
259
287
  end
260
288
 
261
- if attributes.key?(:'name')
262
- self.name = attributes[:'name']
289
+ if attributes.key?(:'description')
290
+ self.description = attributes[:'description']
263
291
  end
264
292
 
265
- if attributes.key?(:'version')
266
- self.version = attributes[:'version']
293
+ if attributes.key?(:'home_page')
294
+ self.home_page = attributes[:'home_page']
267
295
  end
268
296
 
269
- if attributes.key?(:'sha256')
270
- self.sha256 = attributes[:'sha256']
271
- else
272
- self.sha256 = ''
297
+ if attributes.key?(:'keywords')
298
+ self.keywords = attributes[:'keywords']
299
+ end
300
+
301
+ if attributes.key?(:'license')
302
+ self.license = attributes[:'license']
273
303
  end
274
304
 
275
305
  if attributes.key?(:'metadata_version')
276
306
  self.metadata_version = attributes[:'metadata_version']
277
307
  end
278
308
 
279
- if attributes.key?(:'summary')
280
- self.summary = attributes[:'summary']
309
+ if attributes.key?(:'name')
310
+ self.name = attributes[:'name']
281
311
  end
282
312
 
283
- if attributes.key?(:'description')
284
- self.description = attributes[:'description']
313
+ if attributes.key?(:'platform')
314
+ self.platform = attributes[:'platform']
285
315
  end
286
316
 
287
- if attributes.key?(:'description_content_type')
288
- self.description_content_type = attributes[:'description_content_type']
317
+ if attributes.key?(:'summary')
318
+ self.summary = attributes[:'summary']
289
319
  end
290
320
 
291
- if attributes.key?(:'keywords')
292
- self.keywords = attributes[:'keywords']
321
+ if attributes.key?(:'version')
322
+ self.version = attributes[:'version']
293
323
  end
294
324
 
295
- if attributes.key?(:'home_page')
296
- self.home_page = attributes[:'home_page']
325
+ if attributes.key?(:'classifiers')
326
+ self.classifiers = attributes[:'classifiers']
297
327
  end
298
328
 
299
329
  if attributes.key?(:'download_url')
300
330
  self.download_url = attributes[:'download_url']
301
331
  end
302
332
 
303
- if attributes.key?(:'author')
304
- self.author = attributes[:'author']
305
- end
306
-
307
- if attributes.key?(:'author_email')
308
- self.author_email = attributes[:'author_email']
333
+ if attributes.key?(:'supported_platform')
334
+ self.supported_platform = attributes[:'supported_platform']
309
335
  end
310
336
 
311
337
  if attributes.key?(:'maintainer')
@@ -316,12 +342,8 @@ module PulpPythonClient
316
342
  self.maintainer_email = attributes[:'maintainer_email']
317
343
  end
318
344
 
319
- if attributes.key?(:'license')
320
- self.license = attributes[:'license']
321
- end
322
-
323
- if attributes.key?(:'requires_python')
324
- self.requires_python = attributes[:'requires_python']
345
+ if attributes.key?(:'obsoletes_dist')
346
+ self.obsoletes_dist = attributes[:'obsoletes_dist']
325
347
  end
326
348
 
327
349
  if attributes.key?(:'project_url')
@@ -332,32 +354,58 @@ module PulpPythonClient
332
354
  self.project_urls = attributes[:'project_urls']
333
355
  end
334
356
 
335
- if attributes.key?(:'platform')
336
- self.platform = attributes[:'platform']
357
+ if attributes.key?(:'provides_dist')
358
+ self.provides_dist = attributes[:'provides_dist']
337
359
  end
338
360
 
339
- if attributes.key?(:'supported_platform')
340
- self.supported_platform = attributes[:'supported_platform']
361
+ if attributes.key?(:'requires_external')
362
+ self.requires_external = attributes[:'requires_external']
341
363
  end
342
364
 
343
365
  if attributes.key?(:'requires_dist')
344
366
  self.requires_dist = attributes[:'requires_dist']
345
367
  end
346
368
 
347
- if attributes.key?(:'provides_dist')
348
- self.provides_dist = attributes[:'provides_dist']
369
+ if attributes.key?(:'requires_python')
370
+ self.requires_python = attributes[:'requires_python']
349
371
  end
350
372
 
351
- if attributes.key?(:'obsoletes_dist')
352
- self.obsoletes_dist = attributes[:'obsoletes_dist']
373
+ if attributes.key?(:'description_content_type')
374
+ self.description_content_type = attributes[:'description_content_type']
353
375
  end
354
376
 
355
- if attributes.key?(:'requires_external')
356
- self.requires_external = attributes[:'requires_external']
377
+ if attributes.key?(:'provides_extras')
378
+ self.provides_extras = attributes[:'provides_extras']
357
379
  end
358
380
 
359
- if attributes.key?(:'classifiers')
360
- self.classifiers = attributes[:'classifiers']
381
+ if attributes.key?(:'dynamic')
382
+ self.dynamic = attributes[:'dynamic']
383
+ end
384
+
385
+ if attributes.key?(:'license_expression')
386
+ self.license_expression = attributes[:'license_expression']
387
+ end
388
+
389
+ if attributes.key?(:'license_file')
390
+ self.license_file = attributes[:'license_file']
391
+ end
392
+
393
+ if attributes.key?(:'filename')
394
+ self.filename = attributes[:'filename']
395
+ end
396
+
397
+ if attributes.key?(:'packagetype')
398
+ self.packagetype = attributes[:'packagetype']
399
+ end
400
+
401
+ if attributes.key?(:'python_version')
402
+ self.python_version = attributes[:'python_version']
403
+ end
404
+
405
+ if attributes.key?(:'sha256')
406
+ self.sha256 = attributes[:'sha256']
407
+ else
408
+ self.sha256 = ''
361
409
  end
362
410
  end
363
411
 
@@ -387,33 +435,38 @@ module PulpPythonClient
387
435
  pulp_last_updated == o.pulp_last_updated &&
388
436
  pulp_labels == o.pulp_labels &&
389
437
  artifact == o.artifact &&
390
- filename == o.filename &&
391
- packagetype == o.packagetype &&
392
- name == o.name &&
393
- version == o.version &&
394
- sha256 == o.sha256 &&
395
- metadata_version == o.metadata_version &&
396
- summary == o.summary &&
438
+ author == o.author &&
439
+ author_email == o.author_email &&
397
440
  description == o.description &&
398
- description_content_type == o.description_content_type &&
399
- keywords == o.keywords &&
400
441
  home_page == o.home_page &&
442
+ keywords == o.keywords &&
443
+ license == o.license &&
444
+ metadata_version == o.metadata_version &&
445
+ name == o.name &&
446
+ platform == o.platform &&
447
+ summary == o.summary &&
448
+ version == o.version &&
449
+ classifiers == o.classifiers &&
401
450
  download_url == o.download_url &&
402
- author == o.author &&
403
- author_email == o.author_email &&
451
+ supported_platform == o.supported_platform &&
404
452
  maintainer == o.maintainer &&
405
453
  maintainer_email == o.maintainer_email &&
406
- license == o.license &&
407
- requires_python == o.requires_python &&
454
+ obsoletes_dist == o.obsoletes_dist &&
408
455
  project_url == o.project_url &&
409
456
  project_urls == o.project_urls &&
410
- platform == o.platform &&
411
- supported_platform == o.supported_platform &&
412
- requires_dist == o.requires_dist &&
413
457
  provides_dist == o.provides_dist &&
414
- obsoletes_dist == o.obsoletes_dist &&
415
458
  requires_external == o.requires_external &&
416
- classifiers == o.classifiers
459
+ requires_dist == o.requires_dist &&
460
+ requires_python == o.requires_python &&
461
+ description_content_type == o.description_content_type &&
462
+ provides_extras == o.provides_extras &&
463
+ dynamic == o.dynamic &&
464
+ license_expression == o.license_expression &&
465
+ license_file == o.license_file &&
466
+ filename == o.filename &&
467
+ packagetype == o.packagetype &&
468
+ python_version == o.python_version &&
469
+ sha256 == o.sha256
417
470
  end
418
471
 
419
472
  # @see the `==` method
@@ -425,7 +478,7 @@ module PulpPythonClient
425
478
  # Calculates hash code according to all attributes.
426
479
  # @return [Integer] Hash code
427
480
  def hash
428
- [pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, artifact, filename, packagetype, name, version, sha256, metadata_version, summary, description, description_content_type, keywords, home_page, download_url, author, author_email, maintainer, maintainer_email, license, requires_python, project_url, project_urls, platform, supported_platform, requires_dist, provides_dist, obsoletes_dist, requires_external, classifiers].hash
481
+ [pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, artifact, author, author_email, description, home_page, keywords, license, metadata_version, name, platform, summary, version, classifiers, download_url, supported_platform, maintainer, maintainer_email, obsoletes_dist, project_url, project_urls, provides_dist, requires_external, requires_dist, requires_python, description_content_type, provides_extras, dynamic, license_expression, license_file, filename, packagetype, python_version, sha256].hash
429
482
  end
430
483
 
431
484
  # Builds the object from hash
@@ -11,5 +11,5 @@ Generator version: 7.10.0
11
11
  =end
12
12
 
13
13
  module PulpPythonClient
14
- VERSION = '3.15.1'
14
+ VERSION = '3.17.0'
15
15
  end