pulp_python_client 3.0.0b11 → 3.0.0b12

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 (47) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +10 -10
  3. data/docs/ContentPackagesApi.md +2 -2
  4. data/docs/DistributionsPypiApi.md +8 -56
  5. data/docs/{InlineResponse2005.md → PaginatedRepositoryVersionResponseList.md} +4 -4
  6. data/docs/{InlineResponse2001.md → PaginatedpythonPythonDistributionResponseList.md} +4 -4
  7. data/docs/{InlineResponse200.md → PaginatedpythonPythonPackageContentResponseList.md} +4 -4
  8. data/docs/{InlineResponse2002.md → PaginatedpythonPythonPublicationResponseList.md} +4 -4
  9. data/docs/{InlineResponse2003.md → PaginatedpythonPythonRemoteResponseList.md} +4 -4
  10. data/docs/{InlineResponse2004.md → PaginatedpythonPythonRepositoryResponseList.md} +4 -4
  11. data/docs/PublicationsPypiApi.md +2 -2
  12. data/docs/PythonBanderRemote.md +3 -1
  13. data/docs/RemotesPythonApi.md +14 -70
  14. data/docs/RepositoriesPythonApi.md +8 -32
  15. data/docs/RepositoriesPythonVersionsApi.md +4 -36
  16. data/lib/pulp_python_client/api/content_packages_api.rb +3 -3
  17. data/lib/pulp_python_client/api/distributions_pypi_api.rb +3 -66
  18. data/lib/pulp_python_client/api/publications_pypi_api.rb +3 -3
  19. data/lib/pulp_python_client/api/remotes_python_api.rb +6 -84
  20. data/lib/pulp_python_client/api/repositories_python_api.rb +3 -30
  21. data/lib/pulp_python_client/api/repositories_python_versions_api.rb +3 -48
  22. data/lib/pulp_python_client/models/{inline_response2005.rb → paginated_repository_version_response_list.rb} +3 -3
  23. data/lib/pulp_python_client/models/{inline_response2001.rb → paginatedpython_python_distribution_response_list.rb} +3 -3
  24. data/lib/pulp_python_client/models/{inline_response200.rb → paginatedpython_python_package_content_response_list.rb} +3 -3
  25. data/lib/pulp_python_client/models/{inline_response2002.rb → paginatedpython_python_publication_response_list.rb} +3 -3
  26. data/lib/pulp_python_client/models/{inline_response2003.rb → paginatedpython_python_remote_response_list.rb} +3 -3
  27. data/lib/pulp_python_client/models/{inline_response2004.rb → paginatedpython_python_repository_response_list.rb} +3 -3
  28. data/lib/pulp_python_client/models/python_bander_remote.rb +14 -4
  29. data/lib/pulp_python_client/models/repository_sync_url.rb +1 -0
  30. data/lib/pulp_python_client/version.rb +1 -1
  31. data/lib/pulp_python_client.rb +6 -6
  32. data/spec/api/content_packages_api_spec.rb +1 -1
  33. data/spec/api/distributions_pypi_api_spec.rb +1 -22
  34. data/spec/api/publications_pypi_api_spec.rb +1 -1
  35. data/spec/api/remotes_python_api_spec.rb +2 -28
  36. data/spec/api/repositories_python_api_spec.rb +1 -10
  37. data/spec/api/repositories_python_versions_api_spec.rb +1 -16
  38. data/spec/models/{inline_response2001_spec.rb → paginated_repository_version_response_list_spec.rb} +6 -6
  39. data/spec/models/paginatedpython_python_distribution_response_list_spec.rb +59 -0
  40. data/spec/models/paginatedpython_python_package_content_response_list_spec.rb +59 -0
  41. data/spec/models/{inline_response2004_spec.rb → paginatedpython_python_publication_response_list_spec.rb} +6 -6
  42. data/spec/models/{inline_response2002_spec.rb → paginatedpython_python_remote_response_list_spec.rb} +6 -6
  43. data/spec/models/{inline_response2003_spec.rb → paginatedpython_python_repository_response_list_spec.rb} +6 -6
  44. data/spec/models/python_bander_remote_spec.rb +6 -0
  45. metadata +26 -26
  46. data/spec/models/inline_response2005_spec.rb +0 -59
  47. data/spec/models/inline_response200_spec.rb +0 -59
@@ -87,9 +87,6 @@ module PulpPythonClient
87
87
  # Trigger an asynchronous delete task
88
88
  # @param python_python_repository_href [String]
89
89
  # @param [Hash] opts the optional parameters
90
- # @option opts [String] :name name
91
- # @option opts [String] :name__in name__in
92
- # @option opts [String] :ordering Which field to use when ordering the results.
93
90
  # @return [AsyncOperationResponse]
94
91
  def delete(python_python_repository_href, opts = {})
95
92
  data, _status_code, _headers = delete_with_http_info(python_python_repository_href, opts)
@@ -100,9 +97,6 @@ module PulpPythonClient
100
97
  # Trigger an asynchronous delete task
101
98
  # @param python_python_repository_href [String]
102
99
  # @param [Hash] opts the optional parameters
103
- # @option opts [String] :name name
104
- # @option opts [String] :name__in name__in
105
- # @option opts [String] :ordering Which field to use when ordering the results.
106
100
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
107
101
  def delete_with_http_info(python_python_repository_href, opts = {})
108
102
  if @api_client.config.debugging
@@ -117,9 +111,6 @@ module PulpPythonClient
117
111
 
118
112
  # query parameters
119
113
  query_params = opts[:query_params] || {}
120
- query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
121
- query_params[:'name__in'] = opts[:'name__in'] if !opts[:'name__in'].nil?
122
- query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
123
114
 
124
115
  # header parameters
125
116
  header_params = opts[:header_params] || {}
@@ -164,7 +155,7 @@ module PulpPythonClient
164
155
  # @option opts [String] :ordering Which field to use when ordering the results.
165
156
  # @option opts [String] :fields A list of fields to include in the response.
166
157
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
167
- # @return [InlineResponse2004]
158
+ # @return [PaginatedpythonPythonRepositoryResponseList]
168
159
  def list(opts = {})
169
160
  data, _status_code, _headers = list_with_http_info(opts)
170
161
  data
@@ -180,7 +171,7 @@ module PulpPythonClient
180
171
  # @option opts [String] :ordering Which field to use when ordering the results.
181
172
  # @option opts [String] :fields A list of fields to include in the response.
182
173
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
183
- # @return [Array<(InlineResponse2004, Integer, Hash)>] InlineResponse2004 data, response status code and response headers
174
+ # @return [Array<(PaginatedpythonPythonRepositoryResponseList, Integer, Hash)>] PaginatedpythonPythonRepositoryResponseList data, response status code and response headers
184
175
  def list_with_http_info(opts = {})
185
176
  if @api_client.config.debugging
186
177
  @api_client.config.logger.debug 'Calling API: RepositoriesPythonApi.list ...'
@@ -210,7 +201,7 @@ module PulpPythonClient
210
201
  post_body = opts[:body]
211
202
 
212
203
  # return_type
213
- return_type = opts[:return_type] || 'InlineResponse2004'
204
+ return_type = opts[:return_type] || 'PaginatedpythonPythonRepositoryResponseList'
214
205
 
215
206
  # auth_names
216
207
  auth_names = opts[:auth_names] || ['basicAuth']
@@ -306,9 +297,6 @@ module PulpPythonClient
306
297
  # @param python_python_repository_href [String]
307
298
  # @param patchedpython_python_repository [PatchedpythonPythonRepository]
308
299
  # @param [Hash] opts the optional parameters
309
- # @option opts [String] :name name
310
- # @option opts [String] :name__in name__in
311
- # @option opts [String] :ordering Which field to use when ordering the results.
312
300
  # @return [AsyncOperationResponse]
313
301
  def partial_update(python_python_repository_href, patchedpython_python_repository, opts = {})
314
302
  data, _status_code, _headers = partial_update_with_http_info(python_python_repository_href, patchedpython_python_repository, opts)
@@ -320,9 +308,6 @@ module PulpPythonClient
320
308
  # @param python_python_repository_href [String]
321
309
  # @param patchedpython_python_repository [PatchedpythonPythonRepository]
322
310
  # @param [Hash] opts the optional parameters
323
- # @option opts [String] :name name
324
- # @option opts [String] :name__in name__in
325
- # @option opts [String] :ordering Which field to use when ordering the results.
326
311
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
327
312
  def partial_update_with_http_info(python_python_repository_href, patchedpython_python_repository, opts = {})
328
313
  if @api_client.config.debugging
@@ -341,9 +326,6 @@ module PulpPythonClient
341
326
 
342
327
  # query parameters
343
328
  query_params = opts[:query_params] || {}
344
- query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
345
- query_params[:'name__in'] = opts[:'name__in'] if !opts[:'name__in'].nil?
346
- query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
347
329
 
348
330
  # header parameters
349
331
  header_params = opts[:header_params] || {}
@@ -523,9 +505,6 @@ module PulpPythonClient
523
505
  # @param python_python_repository_href [String]
524
506
  # @param python_python_repository [PythonPythonRepository]
525
507
  # @param [Hash] opts the optional parameters
526
- # @option opts [String] :name name
527
- # @option opts [String] :name__in name__in
528
- # @option opts [String] :ordering Which field to use when ordering the results.
529
508
  # @return [AsyncOperationResponse]
530
509
  def update(python_python_repository_href, python_python_repository, opts = {})
531
510
  data, _status_code, _headers = update_with_http_info(python_python_repository_href, python_python_repository, opts)
@@ -537,9 +516,6 @@ module PulpPythonClient
537
516
  # @param python_python_repository_href [String]
538
517
  # @param python_python_repository [PythonPythonRepository]
539
518
  # @param [Hash] opts the optional parameters
540
- # @option opts [String] :name name
541
- # @option opts [String] :name__in name__in
542
- # @option opts [String] :ordering Which field to use when ordering the results.
543
519
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
544
520
  def update_with_http_info(python_python_repository_href, python_python_repository, opts = {})
545
521
  if @api_client.config.debugging
@@ -558,9 +534,6 @@ module PulpPythonClient
558
534
 
559
535
  # query parameters
560
536
  query_params = opts[:query_params] || {}
561
- query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
562
- query_params[:'name__in'] = opts[:'name__in'] if !opts[:'name__in'].nil?
563
- query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
564
537
 
565
538
  # header parameters
566
539
  header_params = opts[:header_params] || {}
@@ -23,21 +23,6 @@ module PulpPythonClient
23
23
  # Trigger an asynchronous task to delete a repositroy version.
24
24
  # @param python_python_repository_version_href [String]
25
25
  # @param [Hash] opts the optional parameters
26
- # @option opts [String] :content content
27
- # @option opts [String] :content__in content__in
28
- # @option opts [String] :number number
29
- # @option opts [String] :number__gt number__gt
30
- # @option opts [String] :number__gte number__gte
31
- # @option opts [String] :number__lt number__lt
32
- # @option opts [String] :number__lte number__lte
33
- # @option opts [String] :number__range number__range
34
- # @option opts [String] :ordering Which field to use when ordering the results.
35
- # @option opts [String] :pulp_created pulp_created
36
- # @option opts [String] :pulp_created__gt pulp_created__gt
37
- # @option opts [String] :pulp_created__gte pulp_created__gte
38
- # @option opts [String] :pulp_created__lt pulp_created__lt
39
- # @option opts [String] :pulp_created__lte pulp_created__lte
40
- # @option opts [String] :pulp_created__range pulp_created__range
41
26
  # @return [AsyncOperationResponse]
42
27
  def delete(python_python_repository_version_href, opts = {})
43
28
  data, _status_code, _headers = delete_with_http_info(python_python_repository_version_href, opts)
@@ -48,21 +33,6 @@ module PulpPythonClient
48
33
  # Trigger an asynchronous task to delete a repositroy version.
49
34
  # @param python_python_repository_version_href [String]
50
35
  # @param [Hash] opts the optional parameters
51
- # @option opts [String] :content content
52
- # @option opts [String] :content__in content__in
53
- # @option opts [String] :number number
54
- # @option opts [String] :number__gt number__gt
55
- # @option opts [String] :number__gte number__gte
56
- # @option opts [String] :number__lt number__lt
57
- # @option opts [String] :number__lte number__lte
58
- # @option opts [String] :number__range number__range
59
- # @option opts [String] :ordering Which field to use when ordering the results.
60
- # @option opts [String] :pulp_created pulp_created
61
- # @option opts [String] :pulp_created__gt pulp_created__gt
62
- # @option opts [String] :pulp_created__gte pulp_created__gte
63
- # @option opts [String] :pulp_created__lt pulp_created__lt
64
- # @option opts [String] :pulp_created__lte pulp_created__lte
65
- # @option opts [String] :pulp_created__range pulp_created__range
66
36
  # @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
67
37
  def delete_with_http_info(python_python_repository_version_href, opts = {})
68
38
  if @api_client.config.debugging
@@ -77,21 +47,6 @@ module PulpPythonClient
77
47
 
78
48
  # query parameters
79
49
  query_params = opts[:query_params] || {}
80
- query_params[:'content'] = opts[:'content'] if !opts[:'content'].nil?
81
- query_params[:'content__in'] = opts[:'content__in'] if !opts[:'content__in'].nil?
82
- query_params[:'number'] = opts[:'number'] if !opts[:'number'].nil?
83
- query_params[:'number__gt'] = opts[:'number__gt'] if !opts[:'number__gt'].nil?
84
- query_params[:'number__gte'] = opts[:'number__gte'] if !opts[:'number__gte'].nil?
85
- query_params[:'number__lt'] = opts[:'number__lt'] if !opts[:'number__lt'].nil?
86
- query_params[:'number__lte'] = opts[:'number__lte'] if !opts[:'number__lte'].nil?
87
- query_params[:'number__range'] = opts[:'number__range'] if !opts[:'number__range'].nil?
88
- query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
89
- query_params[:'pulp_created'] = opts[:'pulp_created'] if !opts[:'pulp_created'].nil?
90
- query_params[:'pulp_created__gt'] = opts[:'pulp_created__gt'] if !opts[:'pulp_created__gt'].nil?
91
- query_params[:'pulp_created__gte'] = opts[:'pulp_created__gte'] if !opts[:'pulp_created__gte'].nil?
92
- query_params[:'pulp_created__lt'] = opts[:'pulp_created__lt'] if !opts[:'pulp_created__lt'].nil?
93
- query_params[:'pulp_created__lte'] = opts[:'pulp_created__lte'] if !opts[:'pulp_created__lte'].nil?
94
- query_params[:'pulp_created__range'] = opts[:'pulp_created__range'] if !opts[:'pulp_created__range'].nil?
95
50
 
96
51
  # header parameters
97
52
  header_params = opts[:header_params] || {}
@@ -149,7 +104,7 @@ module PulpPythonClient
149
104
  # @option opts [String] :pulp_created__range pulp_created__range
150
105
  # @option opts [String] :fields A list of fields to include in the response.
151
106
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
152
- # @return [InlineResponse2005]
107
+ # @return [PaginatedRepositoryVersionResponseList]
153
108
  def list(python_python_repository_href, opts = {})
154
109
  data, _status_code, _headers = list_with_http_info(python_python_repository_href, opts)
155
110
  data
@@ -178,7 +133,7 @@ module PulpPythonClient
178
133
  # @option opts [String] :pulp_created__range pulp_created__range
179
134
  # @option opts [String] :fields A list of fields to include in the response.
180
135
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
181
- # @return [Array<(InlineResponse2005, Integer, Hash)>] InlineResponse2005 data, response status code and response headers
136
+ # @return [Array<(PaginatedRepositoryVersionResponseList, Integer, Hash)>] PaginatedRepositoryVersionResponseList data, response status code and response headers
182
137
  def list_with_http_info(python_python_repository_href, opts = {})
183
138
  if @api_client.config.debugging
184
139
  @api_client.config.logger.debug 'Calling API: RepositoriesPythonVersionsApi.list ...'
@@ -224,7 +179,7 @@ module PulpPythonClient
224
179
  post_body = opts[:body]
225
180
 
226
181
  # return_type
227
- return_type = opts[:return_type] || 'InlineResponse2005'
182
+ return_type = opts[:return_type] || 'PaginatedRepositoryVersionResponseList'
228
183
 
229
184
  # auth_names
230
185
  auth_names = opts[:auth_names] || ['basicAuth']
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.2.3
13
13
  require 'date'
14
14
 
15
15
  module PulpPythonClient
16
- class InlineResponse2005
16
+ class PaginatedRepositoryVersionResponseList
17
17
  attr_accessor :count
18
18
 
19
19
  attr_accessor :_next
@@ -54,13 +54,13 @@ module PulpPythonClient
54
54
  # @param [Hash] attributes Model attributes in the form of hash
55
55
  def initialize(attributes = {})
56
56
  if (!attributes.is_a?(Hash))
57
- fail ArgumentError, "The input argument (attributes) must be a hash in `PulpPythonClient::InlineResponse2005` initialize method"
57
+ fail ArgumentError, "The input argument (attributes) must be a hash in `PulpPythonClient::PaginatedRepositoryVersionResponseList` initialize method"
58
58
  end
59
59
 
60
60
  # check to see if the attribute exists and convert string to symbol for hash key
61
61
  attributes = attributes.each_with_object({}) { |(k, v), h|
62
62
  if (!self.class.attribute_map.key?(k.to_sym))
63
- fail ArgumentError, "`#{k}` is not a valid attribute in `PulpPythonClient::InlineResponse2005`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
63
+ fail ArgumentError, "`#{k}` is not a valid attribute in `PulpPythonClient::PaginatedRepositoryVersionResponseList`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
64
64
  end
65
65
  h[k.to_sym] = v
66
66
  }
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.2.3
13
13
  require 'date'
14
14
 
15
15
  module PulpPythonClient
16
- class InlineResponse2001
16
+ class PaginatedpythonPythonDistributionResponseList
17
17
  attr_accessor :count
18
18
 
19
19
  attr_accessor :_next
@@ -54,13 +54,13 @@ module PulpPythonClient
54
54
  # @param [Hash] attributes Model attributes in the form of hash
55
55
  def initialize(attributes = {})
56
56
  if (!attributes.is_a?(Hash))
57
- fail ArgumentError, "The input argument (attributes) must be a hash in `PulpPythonClient::InlineResponse2001` initialize method"
57
+ fail ArgumentError, "The input argument (attributes) must be a hash in `PulpPythonClient::PaginatedpythonPythonDistributionResponseList` initialize method"
58
58
  end
59
59
 
60
60
  # check to see if the attribute exists and convert string to symbol for hash key
61
61
  attributes = attributes.each_with_object({}) { |(k, v), h|
62
62
  if (!self.class.attribute_map.key?(k.to_sym))
63
- fail ArgumentError, "`#{k}` is not a valid attribute in `PulpPythonClient::InlineResponse2001`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
63
+ fail ArgumentError, "`#{k}` is not a valid attribute in `PulpPythonClient::PaginatedpythonPythonDistributionResponseList`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
64
64
  end
65
65
  h[k.to_sym] = v
66
66
  }
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.2.3
13
13
  require 'date'
14
14
 
15
15
  module PulpPythonClient
16
- class InlineResponse200
16
+ class PaginatedpythonPythonPackageContentResponseList
17
17
  attr_accessor :count
18
18
 
19
19
  attr_accessor :_next
@@ -54,13 +54,13 @@ module PulpPythonClient
54
54
  # @param [Hash] attributes Model attributes in the form of hash
55
55
  def initialize(attributes = {})
56
56
  if (!attributes.is_a?(Hash))
57
- fail ArgumentError, "The input argument (attributes) must be a hash in `PulpPythonClient::InlineResponse200` initialize method"
57
+ fail ArgumentError, "The input argument (attributes) must be a hash in `PulpPythonClient::PaginatedpythonPythonPackageContentResponseList` initialize method"
58
58
  end
59
59
 
60
60
  # check to see if the attribute exists and convert string to symbol for hash key
61
61
  attributes = attributes.each_with_object({}) { |(k, v), h|
62
62
  if (!self.class.attribute_map.key?(k.to_sym))
63
- fail ArgumentError, "`#{k}` is not a valid attribute in `PulpPythonClient::InlineResponse200`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
63
+ fail ArgumentError, "`#{k}` is not a valid attribute in `PulpPythonClient::PaginatedpythonPythonPackageContentResponseList`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
64
64
  end
65
65
  h[k.to_sym] = v
66
66
  }
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.2.3
13
13
  require 'date'
14
14
 
15
15
  module PulpPythonClient
16
- class InlineResponse2002
16
+ class PaginatedpythonPythonPublicationResponseList
17
17
  attr_accessor :count
18
18
 
19
19
  attr_accessor :_next
@@ -54,13 +54,13 @@ module PulpPythonClient
54
54
  # @param [Hash] attributes Model attributes in the form of hash
55
55
  def initialize(attributes = {})
56
56
  if (!attributes.is_a?(Hash))
57
- fail ArgumentError, "The input argument (attributes) must be a hash in `PulpPythonClient::InlineResponse2002` initialize method"
57
+ fail ArgumentError, "The input argument (attributes) must be a hash in `PulpPythonClient::PaginatedpythonPythonPublicationResponseList` initialize method"
58
58
  end
59
59
 
60
60
  # check to see if the attribute exists and convert string to symbol for hash key
61
61
  attributes = attributes.each_with_object({}) { |(k, v), h|
62
62
  if (!self.class.attribute_map.key?(k.to_sym))
63
- fail ArgumentError, "`#{k}` is not a valid attribute in `PulpPythonClient::InlineResponse2002`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
63
+ fail ArgumentError, "`#{k}` is not a valid attribute in `PulpPythonClient::PaginatedpythonPythonPublicationResponseList`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
64
64
  end
65
65
  h[k.to_sym] = v
66
66
  }
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.2.3
13
13
  require 'date'
14
14
 
15
15
  module PulpPythonClient
16
- class InlineResponse2003
16
+ class PaginatedpythonPythonRemoteResponseList
17
17
  attr_accessor :count
18
18
 
19
19
  attr_accessor :_next
@@ -54,13 +54,13 @@ module PulpPythonClient
54
54
  # @param [Hash] attributes Model attributes in the form of hash
55
55
  def initialize(attributes = {})
56
56
  if (!attributes.is_a?(Hash))
57
- fail ArgumentError, "The input argument (attributes) must be a hash in `PulpPythonClient::InlineResponse2003` initialize method"
57
+ fail ArgumentError, "The input argument (attributes) must be a hash in `PulpPythonClient::PaginatedpythonPythonRemoteResponseList` initialize method"
58
58
  end
59
59
 
60
60
  # check to see if the attribute exists and convert string to symbol for hash key
61
61
  attributes = attributes.each_with_object({}) { |(k, v), h|
62
62
  if (!self.class.attribute_map.key?(k.to_sym))
63
- fail ArgumentError, "`#{k}` is not a valid attribute in `PulpPythonClient::InlineResponse2003`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
63
+ fail ArgumentError, "`#{k}` is not a valid attribute in `PulpPythonClient::PaginatedpythonPythonRemoteResponseList`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
64
64
  end
65
65
  h[k.to_sym] = v
66
66
  }
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.2.3
13
13
  require 'date'
14
14
 
15
15
  module PulpPythonClient
16
- class InlineResponse2004
16
+ class PaginatedpythonPythonRepositoryResponseList
17
17
  attr_accessor :count
18
18
 
19
19
  attr_accessor :_next
@@ -54,13 +54,13 @@ module PulpPythonClient
54
54
  # @param [Hash] attributes Model attributes in the form of hash
55
55
  def initialize(attributes = {})
56
56
  if (!attributes.is_a?(Hash))
57
- fail ArgumentError, "The input argument (attributes) must be a hash in `PulpPythonClient::InlineResponse2004` initialize method"
57
+ fail ArgumentError, "The input argument (attributes) must be a hash in `PulpPythonClient::PaginatedpythonPythonRepositoryResponseList` initialize method"
58
58
  end
59
59
 
60
60
  # check to see if the attribute exists and convert string to symbol for hash key
61
61
  attributes = attributes.each_with_object({}) { |(k, v), h|
62
62
  if (!self.class.attribute_map.key?(k.to_sym))
63
- fail ArgumentError, "`#{k}` is not a valid attribute in `PulpPythonClient::InlineResponse2004`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
63
+ fail ArgumentError, "`#{k}` is not a valid attribute in `PulpPythonClient::PaginatedpythonPythonRepositoryResponseList`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
64
64
  end
65
65
  h[k.to_sym] = v
66
66
  }
@@ -21,11 +21,15 @@ module PulpPythonClient
21
21
  # A unique name for this remote
22
22
  attr_accessor :name
23
23
 
24
+ # The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'cache_only'. 'immediate' is the default.
25
+ attr_accessor :policy
26
+
24
27
  # Attribute mapping from ruby-style variable name to JSON key.
25
28
  def self.attribute_map
26
29
  {
27
30
  :'config' => :'config',
28
- :'name' => :'name'
31
+ :'name' => :'name',
32
+ :'policy' => :'policy'
29
33
  }
30
34
  end
31
35
 
@@ -33,7 +37,8 @@ module PulpPythonClient
33
37
  def self.openapi_types
34
38
  {
35
39
  :'config' => :'File',
36
- :'name' => :'String'
40
+ :'name' => :'String',
41
+ :'policy' => :'PolicyEnum'
37
42
  }
38
43
  end
39
44
 
@@ -65,6 +70,10 @@ module PulpPythonClient
65
70
  if attributes.key?(:'name')
66
71
  self.name = attributes[:'name']
67
72
  end
73
+
74
+ if attributes.key?(:'policy')
75
+ self.policy = attributes[:'policy']
76
+ end
68
77
  end
69
78
 
70
79
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -96,7 +105,8 @@ module PulpPythonClient
96
105
  return true if self.equal?(o)
97
106
  self.class == o.class &&
98
107
  config == o.config &&
99
- name == o.name
108
+ name == o.name &&
109
+ policy == o.policy
100
110
  end
101
111
 
102
112
  # @see the `==` method
@@ -108,7 +118,7 @@ module PulpPythonClient
108
118
  # Calculates hash code according to all attributes.
109
119
  # @return [Integer] Hash code
110
120
  def hash
111
- [config, name].hash
121
+ [config, name, policy].hash
112
122
  end
113
123
 
114
124
  # Builds the object from hash
@@ -13,6 +13,7 @@ OpenAPI Generator version: 4.2.3
13
13
  require 'date'
14
14
 
15
15
  module PulpPythonClient
16
+ # A mixin for validating unknown serializers' fields.
16
17
  class RepositorySyncURL
17
18
  # A remote to sync from. This will override a remote set on repository.
18
19
  attr_accessor :remote
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.2.3
11
11
  =end
12
12
 
13
13
  module PulpPythonClient
14
- VERSION = '3.0.0b11'
14
+ VERSION = '3.0.0b12'
15
15
  end
@@ -20,12 +20,12 @@ require 'pulp_python_client/configuration'
20
20
  require 'pulp_python_client/models/async_operation_response'
21
21
  require 'pulp_python_client/models/content_summary'
22
22
  require 'pulp_python_client/models/content_summary_response'
23
- require 'pulp_python_client/models/inline_response200'
24
- require 'pulp_python_client/models/inline_response2001'
25
- require 'pulp_python_client/models/inline_response2002'
26
- require 'pulp_python_client/models/inline_response2003'
27
- require 'pulp_python_client/models/inline_response2004'
28
- require 'pulp_python_client/models/inline_response2005'
23
+ require 'pulp_python_client/models/paginated_repository_version_response_list'
24
+ require 'pulp_python_client/models/paginatedpython_python_distribution_response_list'
25
+ require 'pulp_python_client/models/paginatedpython_python_package_content_response_list'
26
+ require 'pulp_python_client/models/paginatedpython_python_publication_response_list'
27
+ require 'pulp_python_client/models/paginatedpython_python_remote_response_list'
28
+ require 'pulp_python_client/models/paginatedpython_python_repository_response_list'
29
29
  require 'pulp_python_client/models/patchedpython_python_distribution'
30
30
  require 'pulp_python_client/models/patchedpython_python_remote'
31
31
  require 'pulp_python_client/models/patchedpython_python_repository'
@@ -89,7 +89,7 @@ describe 'ContentPackagesApi' do
89
89
  # @option opts [String] :repository_version_removed repository_version_removed
90
90
  # @option opts [String] :fields A list of fields to include in the response.
91
91
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
92
- # @return [InlineResponse200]
92
+ # @return [PaginatedpythonPythonPackageContentResponseList]
93
93
  describe 'list test' do
94
94
  it 'should work' do
95
95
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -49,13 +49,6 @@ describe 'DistributionsPypiApi' do
49
49
  # Trigger an asynchronous delete task
50
50
  # @param python_python_distribution_href
51
51
  # @param [Hash] opts the optional parameters
52
- # @option opts [String] :base_path base_path
53
- # @option opts [String] :base_path__contains base_path__contains
54
- # @option opts [String] :base_path__icontains base_path__icontains
55
- # @option opts [String] :base_path__in base_path__in
56
- # @option opts [String] :name name
57
- # @option opts [String] :name__in name__in
58
- # @option opts [String] :ordering Which field to use when ordering the results.
59
52
  # @return [AsyncOperationResponse]
60
53
  describe 'delete test' do
61
54
  it 'should work' do
@@ -78,7 +71,7 @@ describe 'DistributionsPypiApi' do
78
71
  # @option opts [String] :ordering Which field to use when ordering the results.
79
72
  # @option opts [String] :fields A list of fields to include in the response.
80
73
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
81
- # @return [InlineResponse2001]
74
+ # @return [PaginatedpythonPythonDistributionResponseList]
82
75
  describe 'list test' do
83
76
  it 'should work' do
84
77
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -91,13 +84,6 @@ describe 'DistributionsPypiApi' do
91
84
  # @param python_python_distribution_href
92
85
  # @param patchedpython_python_distribution
93
86
  # @param [Hash] opts the optional parameters
94
- # @option opts [String] :base_path base_path
95
- # @option opts [String] :base_path__contains base_path__contains
96
- # @option opts [String] :base_path__icontains base_path__icontains
97
- # @option opts [String] :base_path__in base_path__in
98
- # @option opts [String] :name name
99
- # @option opts [String] :name__in name__in
100
- # @option opts [String] :ordering Which field to use when ordering the results.
101
87
  # @return [AsyncOperationResponse]
102
88
  describe 'partial_update test' do
103
89
  it 'should work' do
@@ -125,13 +111,6 @@ describe 'DistributionsPypiApi' do
125
111
  # @param python_python_distribution_href
126
112
  # @param python_python_distribution
127
113
  # @param [Hash] opts the optional parameters
128
- # @option opts [String] :base_path base_path
129
- # @option opts [String] :base_path__contains base_path__contains
130
- # @option opts [String] :base_path__icontains base_path__icontains
131
- # @option opts [String] :base_path__in base_path__in
132
- # @option opts [String] :name name
133
- # @option opts [String] :name__in name__in
134
- # @option opts [String] :ordering Which field to use when ordering the results.
135
114
  # @return [AsyncOperationResponse]
136
115
  describe 'update test' do
137
116
  it 'should work' do
@@ -72,7 +72,7 @@ describe 'PublicationsPypiApi' do
72
72
  # @option opts [String] :repository_version repository_version
73
73
  # @option opts [String] :fields A list of fields to include in the response.
74
74
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
75
- # @return [InlineResponse2002]
75
+ # @return [PaginatedpythonPythonPublicationResponseList]
76
76
  describe 'list test' do
77
77
  it 'should work' do
78
78
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -49,15 +49,6 @@ describe 'RemotesPythonApi' do
49
49
  # Trigger an asynchronous delete task
50
50
  # @param python_python_remote_href
51
51
  # @param [Hash] opts the optional parameters
52
- # @option opts [String] :name name
53
- # @option opts [String] :name__in name__in
54
- # @option opts [String] :ordering Which field to use when ordering the results.
55
- # @option opts [String] :pulp_last_updated pulp_last_updated
56
- # @option opts [String] :pulp_last_updated__gt pulp_last_updated__gt
57
- # @option opts [String] :pulp_last_updated__gte pulp_last_updated__gte
58
- # @option opts [String] :pulp_last_updated__lt pulp_last_updated__lt
59
- # @option opts [String] :pulp_last_updated__lte pulp_last_updated__lte
60
- # @option opts [String] :pulp_last_updated__range pulp_last_updated__range
61
52
  # @return [AsyncOperationResponse]
62
53
  describe 'delete test' do
63
54
  it 'should work' do
@@ -71,6 +62,7 @@ describe 'RemotesPythonApi' do
71
62
  # @param config A Bandersnatch config that may be used to construct a Python Remote.
72
63
  # @param name A unique name for this remote
73
64
  # @param [Hash] opts the optional parameters
65
+ # @option opts [PolicyEnum] :policy The policy to use when downloading content. The possible values include: &#39;immediate&#39;, &#39;on_demand&#39;, and &#39;cache_only&#39;. &#39;immediate&#39; is the default.
74
66
  # @return [PythonPythonRemoteResponse]
75
67
  describe 'from_bandersnatch test' do
76
68
  it 'should work' do
@@ -95,7 +87,7 @@ describe 'RemotesPythonApi' do
95
87
  # @option opts [String] :pulp_last_updated__range pulp_last_updated__range
96
88
  # @option opts [String] :fields A list of fields to include in the response.
97
89
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
98
- # @return [InlineResponse2003]
90
+ # @return [PaginatedpythonPythonRemoteResponseList]
99
91
  describe 'list test' do
100
92
  it 'should work' do
101
93
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -108,15 +100,6 @@ describe 'RemotesPythonApi' do
108
100
  # @param python_python_remote_href
109
101
  # @param patchedpython_python_remote
110
102
  # @param [Hash] opts the optional parameters
111
- # @option opts [String] :name name
112
- # @option opts [String] :name__in name__in
113
- # @option opts [String] :ordering Which field to use when ordering the results.
114
- # @option opts [String] :pulp_last_updated pulp_last_updated
115
- # @option opts [String] :pulp_last_updated__gt pulp_last_updated__gt
116
- # @option opts [String] :pulp_last_updated__gte pulp_last_updated__gte
117
- # @option opts [String] :pulp_last_updated__lt pulp_last_updated__lt
118
- # @option opts [String] :pulp_last_updated__lte pulp_last_updated__lte
119
- # @option opts [String] :pulp_last_updated__range pulp_last_updated__range
120
103
  # @return [AsyncOperationResponse]
121
104
  describe 'partial_update test' do
122
105
  it 'should work' do
@@ -144,15 +127,6 @@ describe 'RemotesPythonApi' do
144
127
  # @param python_python_remote_href
145
128
  # @param python_python_remote
146
129
  # @param [Hash] opts the optional parameters
147
- # @option opts [String] :name name
148
- # @option opts [String] :name__in name__in
149
- # @option opts [String] :ordering Which field to use when ordering the results.
150
- # @option opts [String] :pulp_last_updated pulp_last_updated
151
- # @option opts [String] :pulp_last_updated__gt pulp_last_updated__gt
152
- # @option opts [String] :pulp_last_updated__gte pulp_last_updated__gte
153
- # @option opts [String] :pulp_last_updated__lt pulp_last_updated__lt
154
- # @option opts [String] :pulp_last_updated__lte pulp_last_updated__lte
155
- # @option opts [String] :pulp_last_updated__range pulp_last_updated__range
156
130
  # @return [AsyncOperationResponse]
157
131
  describe 'update test' do
158
132
  it 'should work' do
@@ -49,9 +49,6 @@ describe 'RepositoriesPythonApi' do
49
49
  # Trigger an asynchronous delete task
50
50
  # @param python_python_repository_href
51
51
  # @param [Hash] opts the optional parameters
52
- # @option opts [String] :name name
53
- # @option opts [String] :name__in name__in
54
- # @option opts [String] :ordering Which field to use when ordering the results.
55
52
  # @return [AsyncOperationResponse]
56
53
  describe 'delete test' do
57
54
  it 'should work' do
@@ -70,7 +67,7 @@ describe 'RepositoriesPythonApi' do
70
67
  # @option opts [String] :ordering Which field to use when ordering the results.
71
68
  # @option opts [String] :fields A list of fields to include in the response.
72
69
  # @option opts [String] :exclude_fields A list of fields to exclude from the response.
73
- # @return [InlineResponse2004]
70
+ # @return [PaginatedpythonPythonRepositoryResponseList]
74
71
  describe 'list test' do
75
72
  it 'should work' do
76
73
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -96,9 +93,6 @@ describe 'RepositoriesPythonApi' do
96
93
  # @param python_python_repository_href
97
94
  # @param patchedpython_python_repository
98
95
  # @param [Hash] opts the optional parameters
99
- # @option opts [String] :name name
100
- # @option opts [String] :name__in name__in
101
- # @option opts [String] :ordering Which field to use when ordering the results.
102
96
  # @return [AsyncOperationResponse]
103
97
  describe 'partial_update test' do
104
98
  it 'should work' do
@@ -139,9 +133,6 @@ describe 'RepositoriesPythonApi' do
139
133
  # @param python_python_repository_href
140
134
  # @param python_python_repository
141
135
  # @param [Hash] opts the optional parameters
142
- # @option opts [String] :name name
143
- # @option opts [String] :name__in name__in
144
- # @option opts [String] :ordering Which field to use when ordering the results.
145
136
  # @return [AsyncOperationResponse]
146
137
  describe 'update test' do
147
138
  it 'should work' do