pulp_python_client 3.12.3 → 3.12.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (43) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -4
  3. data/docs/ContentPackagesApi.md +10 -8
  4. data/docs/DistributionsPypiApi.md +4 -2
  5. data/docs/PublicationsPypiApi.md +12 -10
  6. data/docs/PythonPythonDistributionResponse.md +2 -0
  7. data/docs/PythonPythonPackageContentResponse.md +2 -0
  8. data/docs/PythonPythonPublicationResponse.md +2 -0
  9. data/docs/PythonPythonRemoteResponse.md +2 -0
  10. data/docs/PythonPythonRepositoryResponse.md +2 -0
  11. data/docs/RemotesPythonApi.md +4 -2
  12. data/docs/RepositoriesPythonApi.md +8 -6
  13. data/docs/RepositoriesPythonVersionsApi.md +8 -6
  14. data/docs/RepositoryVersionResponse.md +2 -0
  15. data/lib/pulp_python_client/api/content_packages_api.rb +11 -8
  16. data/lib/pulp_python_client/api/distributions_pypi_api.rb +5 -2
  17. data/lib/pulp_python_client/api/publications_pypi_api.rb +14 -11
  18. data/lib/pulp_python_client/api/remotes_python_api.rb +5 -2
  19. data/lib/pulp_python_client/api/repositories_python_api.rb +9 -6
  20. data/lib/pulp_python_client/api/repositories_python_versions_api.rb +10 -7
  21. data/lib/pulp_python_client/models/patchedpython_python_remote.rb +20 -20
  22. data/lib/pulp_python_client/models/python_python_distribution_response.rb +11 -1
  23. data/lib/pulp_python_client/models/python_python_package_content_response.rb +11 -1
  24. data/lib/pulp_python_client/models/python_python_publication_response.rb +11 -1
  25. data/lib/pulp_python_client/models/python_python_remote.rb +20 -20
  26. data/lib/pulp_python_client/models/python_python_remote_response.rb +31 -21
  27. data/lib/pulp_python_client/models/python_python_repository_response.rb +11 -1
  28. data/lib/pulp_python_client/models/repository_add_remove_content.rb +1 -1
  29. data/lib/pulp_python_client/models/repository_version_response.rb +12 -2
  30. data/lib/pulp_python_client/version.rb +1 -1
  31. data/spec/api/content_packages_api_spec.rb +5 -4
  32. data/spec/api/distributions_pypi_api_spec.rb +2 -1
  33. data/spec/api/publications_pypi_api_spec.rb +6 -5
  34. data/spec/api/remotes_python_api_spec.rb +2 -1
  35. data/spec/api/repositories_python_api_spec.rb +4 -3
  36. data/spec/api/repositories_python_versions_api_spec.rb +4 -3
  37. data/spec/models/python_python_distribution_response_spec.rb +6 -0
  38. data/spec/models/python_python_package_content_response_spec.rb +6 -0
  39. data/spec/models/python_python_publication_response_spec.rb +6 -0
  40. data/spec/models/python_python_remote_response_spec.rb +6 -0
  41. data/spec/models/python_python_repository_response_spec.rb +6 -0
  42. data/spec/models/repository_version_response_spec.rb +6 -0
  43. metadata +42 -42
@@ -17,6 +17,9 @@ module PulpPythonClient
17
17
  class PythonPythonRemoteResponse
18
18
  attr_accessor :pulp_href
19
19
 
20
+ # The Pulp Resource Name (PRN).
21
+ attr_accessor :prn
22
+
20
23
  # Timestamp of creation.
21
24
  attr_accessor :pulp_created
22
25
 
@@ -95,6 +98,7 @@ module PulpPythonClient
95
98
  def self.attribute_map
96
99
  {
97
100
  :'pulp_href' => :'pulp_href',
101
+ :'prn' => :'prn',
98
102
  :'pulp_created' => :'pulp_created',
99
103
  :'pulp_last_updated' => :'pulp_last_updated',
100
104
  :'name' => :'name',
@@ -127,6 +131,7 @@ module PulpPythonClient
127
131
  def self.openapi_types
128
132
  {
129
133
  :'pulp_href' => :'String',
134
+ :'prn' => :'String',
130
135
  :'pulp_created' => :'DateTime',
131
136
  :'pulp_last_updated' => :'DateTime',
132
137
  :'name' => :'String',
@@ -190,6 +195,10 @@ module PulpPythonClient
190
195
  self.pulp_href = attributes[:'pulp_href']
191
196
  end
192
197
 
198
+ if attributes.key?(:'prn')
199
+ self.prn = attributes[:'prn']
200
+ end
201
+
193
202
  if attributes.key?(:'pulp_created')
194
203
  self.pulp_created = attributes[:'pulp_created']
195
204
  end
@@ -323,20 +332,20 @@ module PulpPythonClient
323
332
  invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
324
333
  end
325
334
 
326
- if !@total_timeout.nil? && @total_timeout < 0
327
- invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.')
335
+ if !@total_timeout.nil? && @total_timeout < 0.0
336
+ invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
328
337
  end
329
338
 
330
- if !@connect_timeout.nil? && @connect_timeout < 0
331
- invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.')
339
+ if !@connect_timeout.nil? && @connect_timeout < 0.0
340
+ invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.0.')
332
341
  end
333
342
 
334
- if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
335
- invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.')
343
+ if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
344
+ invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.')
336
345
  end
337
346
 
338
- if !@sock_read_timeout.nil? && @sock_read_timeout < 0
339
- invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.')
347
+ if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
348
+ invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.0.')
340
349
  end
341
350
 
342
351
  invalid_properties
@@ -348,10 +357,10 @@ module PulpPythonClient
348
357
  return false if @name.nil?
349
358
  return false if @url.nil?
350
359
  return false if !@download_concurrency.nil? && @download_concurrency < 1
351
- return false if !@total_timeout.nil? && @total_timeout < 0
352
- return false if !@connect_timeout.nil? && @connect_timeout < 0
353
- return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
354
- return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0
360
+ return false if !@total_timeout.nil? && @total_timeout < 0.0
361
+ return false if !@connect_timeout.nil? && @connect_timeout < 0.0
362
+ return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
363
+ return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
355
364
  true
356
365
  end
357
366
 
@@ -368,8 +377,8 @@ module PulpPythonClient
368
377
  # Custom attribute writer method with validation
369
378
  # @param [Object] total_timeout Value to be assigned
370
379
  def total_timeout=(total_timeout)
371
- if !total_timeout.nil? && total_timeout < 0
372
- fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.'
380
+ if !total_timeout.nil? && total_timeout < 0.0
381
+ fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.0.'
373
382
  end
374
383
 
375
384
  @total_timeout = total_timeout
@@ -378,8 +387,8 @@ module PulpPythonClient
378
387
  # Custom attribute writer method with validation
379
388
  # @param [Object] connect_timeout Value to be assigned
380
389
  def connect_timeout=(connect_timeout)
381
- if !connect_timeout.nil? && connect_timeout < 0
382
- fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.'
390
+ if !connect_timeout.nil? && connect_timeout < 0.0
391
+ fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.0.'
383
392
  end
384
393
 
385
394
  @connect_timeout = connect_timeout
@@ -388,8 +397,8 @@ module PulpPythonClient
388
397
  # Custom attribute writer method with validation
389
398
  # @param [Object] sock_connect_timeout Value to be assigned
390
399
  def sock_connect_timeout=(sock_connect_timeout)
391
- if !sock_connect_timeout.nil? && sock_connect_timeout < 0
392
- fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.'
400
+ if !sock_connect_timeout.nil? && sock_connect_timeout < 0.0
401
+ fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.0.'
393
402
  end
394
403
 
395
404
  @sock_connect_timeout = sock_connect_timeout
@@ -398,8 +407,8 @@ module PulpPythonClient
398
407
  # Custom attribute writer method with validation
399
408
  # @param [Object] sock_read_timeout Value to be assigned
400
409
  def sock_read_timeout=(sock_read_timeout)
401
- if !sock_read_timeout.nil? && sock_read_timeout < 0
402
- fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.'
410
+ if !sock_read_timeout.nil? && sock_read_timeout < 0.0
411
+ fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.0.'
403
412
  end
404
413
 
405
414
  @sock_read_timeout = sock_read_timeout
@@ -411,6 +420,7 @@ module PulpPythonClient
411
420
  return true if self.equal?(o)
412
421
  self.class == o.class &&
413
422
  pulp_href == o.pulp_href &&
423
+ prn == o.prn &&
414
424
  pulp_created == o.pulp_created &&
415
425
  pulp_last_updated == o.pulp_last_updated &&
416
426
  name == o.name &&
@@ -447,7 +457,7 @@ module PulpPythonClient
447
457
  # Calculates hash code according to all attributes.
448
458
  # @return [Integer] Hash code
449
459
  def hash
450
- [pulp_href, pulp_created, pulp_last_updated, name, url, ca_cert, client_cert, tls_validation, proxy_url, pulp_labels, download_concurrency, max_retries, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, rate_limit, hidden_fields, includes, excludes, prereleases, package_types, keep_latest_packages, exclude_platforms].hash
460
+ [pulp_href, prn, pulp_created, pulp_last_updated, name, url, ca_cert, client_cert, tls_validation, proxy_url, pulp_labels, download_concurrency, max_retries, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, rate_limit, hidden_fields, includes, excludes, prereleases, package_types, keep_latest_packages, exclude_platforms].hash
451
461
  end
452
462
 
453
463
  # Builds the object from hash
@@ -17,6 +17,9 @@ module PulpPythonClient
17
17
  class PythonPythonRepositoryResponse
18
18
  attr_accessor :pulp_href
19
19
 
20
+ # The Pulp Resource Name (PRN).
21
+ attr_accessor :prn
22
+
20
23
  # Timestamp of creation.
21
24
  attr_accessor :pulp_created
22
25
 
@@ -48,6 +51,7 @@ module PulpPythonClient
48
51
  def self.attribute_map
49
52
  {
50
53
  :'pulp_href' => :'pulp_href',
54
+ :'prn' => :'prn',
51
55
  :'pulp_created' => :'pulp_created',
52
56
  :'pulp_last_updated' => :'pulp_last_updated',
53
57
  :'versions_href' => :'versions_href',
@@ -65,6 +69,7 @@ module PulpPythonClient
65
69
  def self.openapi_types
66
70
  {
67
71
  :'pulp_href' => :'String',
72
+ :'prn' => :'String',
68
73
  :'pulp_created' => :'DateTime',
69
74
  :'pulp_last_updated' => :'DateTime',
70
75
  :'versions_href' => :'String',
@@ -106,6 +111,10 @@ module PulpPythonClient
106
111
  self.pulp_href = attributes[:'pulp_href']
107
112
  end
108
113
 
114
+ if attributes.key?(:'prn')
115
+ self.prn = attributes[:'prn']
116
+ end
117
+
109
118
  if attributes.key?(:'pulp_created')
110
119
  self.pulp_created = attributes[:'pulp_created']
111
120
  end
@@ -190,6 +199,7 @@ module PulpPythonClient
190
199
  return true if self.equal?(o)
191
200
  self.class == o.class &&
192
201
  pulp_href == o.pulp_href &&
202
+ prn == o.prn &&
193
203
  pulp_created == o.pulp_created &&
194
204
  pulp_last_updated == o.pulp_last_updated &&
195
205
  versions_href == o.versions_href &&
@@ -211,7 +221,7 @@ module PulpPythonClient
211
221
  # Calculates hash code according to all attributes.
212
222
  # @return [Integer] Hash code
213
223
  def hash
214
- [pulp_href, pulp_created, pulp_last_updated, versions_href, pulp_labels, latest_version_href, name, description, retain_repo_versions, remote, autopublish].hash
224
+ [pulp_href, prn, pulp_created, pulp_last_updated, versions_href, pulp_labels, latest_version_href, name, description, retain_repo_versions, remote, autopublish].hash
215
225
  end
216
226
 
217
227
  # Builds the object from hash
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.3.1
13
13
  require 'date'
14
14
 
15
15
  module PulpPythonClient
16
- # Base serializer for use with :class:`pulpcore.app.models.Model` This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the ``ref_name`` attribute in the ModelSerializers's ``Meta`` class. This ensures that the OpenAPI definitions of plugins are namespaced properly.
16
+ # Base serializer for use with [pulpcore.app.models.Model][] This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the ``ref_name`` attribute in the ModelSerializers's ``Meta`` class. This ensures that the OpenAPI definitions of plugins are namespaced properly.
17
17
  class RepositoryAddRemoveContent
18
18
  # A list of content units to add to a new repository version. This content is added after remove_content_units are removed.
19
19
  attr_accessor :add_content_units
@@ -13,10 +13,13 @@ OpenAPI Generator version: 4.3.1
13
13
  require 'date'
14
14
 
15
15
  module PulpPythonClient
16
- # Base serializer for use with :class:`pulpcore.app.models.Model` This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the ``ref_name`` attribute in the ModelSerializers's ``Meta`` class. This ensures that the OpenAPI definitions of plugins are namespaced properly.
16
+ # Base serializer for use with [pulpcore.app.models.Model][] This ensures that all Serializers provide values for the 'pulp_href` field. The class provides a default for the ``ref_name`` attribute in the ModelSerializers's ``Meta`` class. This ensures that the OpenAPI definitions of plugins are namespaced properly.
17
17
  class RepositoryVersionResponse
18
18
  attr_accessor :pulp_href
19
19
 
20
+ # The Pulp Resource Name (PRN).
21
+ attr_accessor :prn
22
+
20
23
  # Timestamp of creation.
21
24
  attr_accessor :pulp_created
22
25
 
@@ -37,6 +40,7 @@ module PulpPythonClient
37
40
  def self.attribute_map
38
41
  {
39
42
  :'pulp_href' => :'pulp_href',
43
+ :'prn' => :'prn',
40
44
  :'pulp_created' => :'pulp_created',
41
45
  :'pulp_last_updated' => :'pulp_last_updated',
42
46
  :'number' => :'number',
@@ -50,6 +54,7 @@ module PulpPythonClient
50
54
  def self.openapi_types
51
55
  {
52
56
  :'pulp_href' => :'String',
57
+ :'prn' => :'String',
53
58
  :'pulp_created' => :'DateTime',
54
59
  :'pulp_last_updated' => :'DateTime',
55
60
  :'number' => :'Integer',
@@ -84,6 +89,10 @@ module PulpPythonClient
84
89
  self.pulp_href = attributes[:'pulp_href']
85
90
  end
86
91
 
92
+ if attributes.key?(:'prn')
93
+ self.prn = attributes[:'prn']
94
+ end
95
+
87
96
  if attributes.key?(:'pulp_created')
88
97
  self.pulp_created = attributes[:'pulp_created']
89
98
  end
@@ -128,6 +137,7 @@ module PulpPythonClient
128
137
  return true if self.equal?(o)
129
138
  self.class == o.class &&
130
139
  pulp_href == o.pulp_href &&
140
+ prn == o.prn &&
131
141
  pulp_created == o.pulp_created &&
132
142
  pulp_last_updated == o.pulp_last_updated &&
133
143
  number == o.number &&
@@ -145,7 +155,7 @@ module PulpPythonClient
145
155
  # Calculates hash code according to all attributes.
146
156
  # @return [Integer] Hash code
147
157
  def hash
148
- [pulp_href, pulp_created, pulp_last_updated, number, repository, base_version, content_summary].hash
158
+ [pulp_href, prn, pulp_created, pulp_last_updated, number, repository, base_version, content_summary].hash
149
159
  end
150
160
 
151
161
  # Builds the object from hash
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.3.1
11
11
  =end
12
12
 
13
13
  module PulpPythonClient
14
- VERSION = '3.12.3'
14
+ VERSION = '3.12.4'
15
15
  end
@@ -90,12 +90,13 @@ describe 'ContentPackagesApi' do
90
90
  # @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
91
91
  # @option opts [String] :packagetype Filter results where packagetype matches value * &#x60;bdist_dmg&#x60; - bdist_dmg * &#x60;bdist_dumb&#x60; - bdist_dumb * &#x60;bdist_egg&#x60; - bdist_egg * &#x60;bdist_msi&#x60; - bdist_msi * &#x60;bdist_rpm&#x60; - bdist_rpm * &#x60;bdist_wheel&#x60; - bdist_wheel * &#x60;bdist_wininst&#x60; - bdist_wininst * &#x60;sdist&#x60; - sdist
92
92
  # @option opts [Array<String>] :packagetype__in Filter results where packagetype is in a comma-separated list of values
93
+ # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
93
94
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
94
95
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
95
- # @option opts [String] :q
96
- # @option opts [String] :repository_version Repository Version referenced by HREF
97
- # @option opts [String] :repository_version_added Repository Version referenced by HREF
98
- # @option opts [String] :repository_version_removed Repository Version referenced by HREF
96
+ # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
97
+ # @option opts [String] :repository_version Repository Version referenced by HREF/PRN
98
+ # @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
99
+ # @option opts [String] :repository_version_removed Repository Version referenced by HREF/PRN
99
100
  # @option opts [String] :requires_python Filter results where requires_python matches value
100
101
  # @option opts [String] :requires_python__contains Filter results where requires_python contains value
101
102
  # @option opts [Array<String>] :requires_python__in Filter results where requires_python is in a comma-separated list of values
@@ -89,10 +89,11 @@ describe 'DistributionsPypiApi' do
89
89
  # @option opts [String] :name__startswith Filter results where name starts with value
90
90
  # @option opts [Integer] :offset The initial index from which to return the results.
91
91
  # @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;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;base_path&#x60; - Base path * &#x60;-base_path&#x60; - Base path (descending) * &#x60;hidden&#x60; - Hidden * &#x60;-hidden&#x60; - Hidden (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
92
+ # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
92
93
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
93
94
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
94
95
  # @option opts [String] :pulp_label_select Filter labels by search string
95
- # @option opts [String] :q
96
+ # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
96
97
  # @option opts [String] :repository Filter results where repository matches value
97
98
  # @option opts [Array<String>] :repository__in Filter results where repository is in a comma-separated list of values
98
99
  # @option opts [String] :with_content Filter distributions based on the content served by them
@@ -73,11 +73,12 @@ describe 'PublicationsPypiApi' do
73
73
  # List python publications
74
74
  # Python Publications refer to the Python Package content in a repository version, and include metadata about that content.
75
75
  # @param [Hash] opts the optional parameters
76
- # @option opts [String] :content Content Unit referenced by HREF
77
- # @option opts [String] :content__in Content Unit referenced by HREF
76
+ # @option opts [String] :content Content Unit referenced by HREF/PRN
77
+ # @option opts [Array<String>] :content__in Multiple values may be separated by commas.
78
78
  # @option opts [Integer] :limit Number of results to return per page.
79
79
  # @option opts [Integer] :offset The initial index from which to return the results.
80
80
  # @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;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;complete&#x60; - Complete * &#x60;-complete&#x60; - Complete (descending) * &#x60;pass_through&#x60; - Pass through * &#x60;-pass_through&#x60; - Pass through (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
81
+ # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
81
82
  # @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
82
83
  # @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
83
84
  # @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
@@ -86,9 +87,9 @@ describe 'PublicationsPypiApi' do
86
87
  # @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
87
88
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
88
89
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
89
- # @option opts [String] :q
90
- # @option opts [String] :repository Repository referenced by HREF
91
- # @option opts [String] :repository_version Repository Version referenced by HREF
90
+ # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
91
+ # @option opts [String] :repository Repository referenced by HREF/PRN
92
+ # @option opts [String] :repository_version Repository Version referenced by HREF/PRN
92
93
  # @option opts [Array<String>] :fields A list of fields to include in the response.
93
94
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
94
95
  # @return [PaginatedpythonPythonPublicationResponseList]
@@ -99,6 +99,7 @@ describe 'RemotesPythonApi' do
99
99
  # @option opts [String] :name__startswith Filter results where name starts with value
100
100
  # @option opts [Integer] :offset The initial index from which to return the results.
101
101
  # @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;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;url&#x60; - Url * &#x60;-url&#x60; - Url (descending) * &#x60;ca_cert&#x60; - Ca cert * &#x60;-ca_cert&#x60; - Ca cert (descending) * &#x60;client_cert&#x60; - Client cert * &#x60;-client_cert&#x60; - Client cert (descending) * &#x60;client_key&#x60; - Client key * &#x60;-client_key&#x60; - Client key (descending) * &#x60;tls_validation&#x60; - Tls validation * &#x60;-tls_validation&#x60; - Tls validation (descending) * &#x60;username&#x60; - Username * &#x60;-username&#x60; - Username (descending) * &#x60;password&#x60; - Password * &#x60;-password&#x60; - Password (descending) * &#x60;proxy_url&#x60; - Proxy url * &#x60;-proxy_url&#x60; - Proxy url (descending) * &#x60;proxy_username&#x60; - Proxy username * &#x60;-proxy_username&#x60; - Proxy username (descending) * &#x60;proxy_password&#x60; - Proxy password * &#x60;-proxy_password&#x60; - Proxy password (descending) * &#x60;download_concurrency&#x60; - Download concurrency * &#x60;-download_concurrency&#x60; - Download concurrency (descending) * &#x60;max_retries&#x60; - Max retries * &#x60;-max_retries&#x60; - Max retries (descending) * &#x60;policy&#x60; - Policy * &#x60;-policy&#x60; - Policy (descending) * &#x60;total_timeout&#x60; - Total timeout * &#x60;-total_timeout&#x60; - Total timeout (descending) * &#x60;connect_timeout&#x60; - Connect timeout * &#x60;-connect_timeout&#x60; - Connect timeout (descending) * &#x60;sock_connect_timeout&#x60; - Sock connect timeout * &#x60;-sock_connect_timeout&#x60; - Sock connect timeout (descending) * &#x60;sock_read_timeout&#x60; - Sock read timeout * &#x60;-sock_read_timeout&#x60; - Sock read timeout (descending) * &#x60;headers&#x60; - Headers * &#x60;-headers&#x60; - Headers (descending) * &#x60;rate_limit&#x60; - Rate limit * &#x60;-rate_limit&#x60; - Rate limit (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
102
+ # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
102
103
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
103
104
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
104
105
  # @option opts [String] :pulp_label_select Filter labels by search string
@@ -108,7 +109,7 @@ describe 'RemotesPythonApi' do
108
109
  # @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value
109
110
  # @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value
110
111
  # @option opts [Array<DateTime>] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values
111
- # @option opts [String] :q
112
+ # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
112
113
  # @option opts [Array<String>] :fields A list of fields to include in the response.
113
114
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
114
115
  # @return [PaginatedpythonPythonRemoteResponseList]
@@ -73,7 +73,7 @@ describe 'RepositoriesPythonApi' do
73
73
  # List python repositorys
74
74
  # PythonRepository represents a single Python repository, to which content can be synced, added, or removed.
75
75
  # @param [Hash] opts the optional parameters
76
- # @option opts [String] :latest_with_content Content Unit referenced by HREF
76
+ # @option opts [String] :latest_with_content Content Unit referenced by HREF/PRN
77
77
  # @option opts [Integer] :limit Number of results to return per page.
78
78
  # @option opts [String] :name Filter results where name matches value
79
79
  # @option opts [String] :name__contains Filter results where name contains value
@@ -86,10 +86,11 @@ describe 'RepositoriesPythonApi' do
86
86
  # @option opts [String] :name__startswith Filter results where name starts with value
87
87
  # @option opts [Integer] :offset The initial index from which to return the results.
88
88
  # @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;pulp_type&#x60; - Pulp type * &#x60;-pulp_type&#x60; - Pulp type (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pulp_labels&#x60; - Pulp labels * &#x60;-pulp_labels&#x60; - Pulp labels (descending) * &#x60;description&#x60; - Description * &#x60;-description&#x60; - Description (descending) * &#x60;next_version&#x60; - Next version * &#x60;-next_version&#x60; - Next version (descending) * &#x60;retain_repo_versions&#x60; - Retain repo versions * &#x60;-retain_repo_versions&#x60; - Retain repo versions (descending) * &#x60;user_hidden&#x60; - User hidden * &#x60;-user_hidden&#x60; - User hidden (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
89
+ # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
89
90
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
90
91
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
91
92
  # @option opts [String] :pulp_label_select Filter labels by search string
92
- # @option opts [String] :q
93
+ # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
93
94
  # @option opts [String] :remote Foreign Key referenced by HREF
94
95
  # @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
95
96
  # @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
@@ -99,7 +100,7 @@ describe 'RepositoriesPythonApi' do
99
100
  # @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
100
101
  # @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
101
102
  # @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
102
- # @option opts [String] :with_content Content Unit referenced by HREF
103
+ # @option opts [String] :with_content Content Unit referenced by HREF/PRN
103
104
  # @option opts [Array<String>] :fields A list of fields to include in the response.
104
105
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
105
106
  # @return [PaginatedpythonPythonRepositoryResponseList]
@@ -49,8 +49,8 @@ describe 'RepositoriesPythonVersionsApi' do
49
49
  # PythonRepositoryVersion represents a single Python repository version.
50
50
  # @param python_python_repository_href
51
51
  # @param [Hash] opts the optional parameters
52
- # @option opts [String] :content Content Unit referenced by HREF
53
- # @option opts [String] :content__in Content Unit referenced by HREF
52
+ # @option opts [String] :content Content Unit referenced by HREF/PRN
53
+ # @option opts [Array<String>] :content__in Multiple values may be separated by commas.
54
54
  # @option opts [Integer] :limit Number of results to return per page.
55
55
  # @option opts [Integer] :number Filter results where number matches value
56
56
  # @option opts [Integer] :number__gt Filter results where number is greater than value
@@ -60,6 +60,7 @@ describe 'RepositoriesPythonVersionsApi' do
60
60
  # @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
61
61
  # @option opts [Integer] :offset The initial index from which to return the results.
62
62
  # @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)
63
+ # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
63
64
  # @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
64
65
  # @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
65
66
  # @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
@@ -67,7 +68,7 @@ describe 'RepositoriesPythonVersionsApi' do
67
68
  # @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
68
69
  # @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
69
70
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
70
- # @option opts [String] :q
71
+ # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
71
72
  # @option opts [Array<String>] :fields A list of fields to include in the response.
72
73
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
73
74
  # @return [PaginatedRepositoryVersionResponseList]
@@ -38,6 +38,12 @@ describe 'PythonPythonDistributionResponse' do
38
38
  end
39
39
  end
40
40
 
41
+ describe 'test attribute "prn"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
41
47
  describe 'test attribute "pulp_created"' do
42
48
  it 'should work' do
43
49
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -38,6 +38,12 @@ describe 'PythonPythonPackageContentResponse' do
38
38
  end
39
39
  end
40
40
 
41
+ describe 'test attribute "prn"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
41
47
  describe 'test attribute "pulp_created"' do
42
48
  it 'should work' do
43
49
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -38,6 +38,12 @@ describe 'PythonPythonPublicationResponse' do
38
38
  end
39
39
  end
40
40
 
41
+ describe 'test attribute "prn"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
41
47
  describe 'test attribute "pulp_created"' do
42
48
  it 'should work' do
43
49
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -38,6 +38,12 @@ describe 'PythonPythonRemoteResponse' do
38
38
  end
39
39
  end
40
40
 
41
+ describe 'test attribute "prn"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
41
47
  describe 'test attribute "pulp_created"' do
42
48
  it 'should work' do
43
49
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -38,6 +38,12 @@ describe 'PythonPythonRepositoryResponse' do
38
38
  end
39
39
  end
40
40
 
41
+ describe 'test attribute "prn"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
41
47
  describe 'test attribute "pulp_created"' do
42
48
  it 'should work' do
43
49
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -38,6 +38,12 @@ describe 'RepositoryVersionResponse' do
38
38
  end
39
39
  end
40
40
 
41
+ describe 'test attribute "prn"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
41
47
  describe 'test attribute "pulp_created"' do
42
48
  it 'should work' do
43
49
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pulp_python_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.12.3
4
+ version: 3.12.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-08-26 00:00:00.000000000 Z
11
+ date: 2024-10-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -249,7 +249,7 @@ homepage: https://github.com/pulp/pulp_python
249
249
  licenses:
250
250
  - GPLv2+
251
251
  metadata: {}
252
- post_install_message:
252
+ post_install_message:
253
253
  rdoc_options: []
254
254
  require_paths:
255
255
  - lib
@@ -264,63 +264,63 @@ required_rubygems_version: !ruby/object:Gem::Requirement
264
264
  - !ruby/object:Gem::Version
265
265
  version: '0'
266
266
  requirements: []
267
- rubygems_version: 3.3.5
268
- signing_key:
267
+ rubygems_version: 3.4.20
268
+ signing_key:
269
269
  specification_version: 4
270
270
  summary: Pulp 3 API Ruby Gem
271
271
  test_files:
272
- - spec/api/repositories_python_api_spec.rb
273
272
  - spec/api/distributions_pypi_api_spec.rb
274
- - spec/api/pypi_legacy_api_spec.rb
275
- - spec/api/pypi_simple_api_spec.rb
276
- - spec/api/publications_pypi_api_spec.rb
277
- - spec/api/pypi_api_spec.rb
278
- - spec/api/repositories_python_versions_api_spec.rb
279
273
  - spec/api/content_packages_api_spec.rb
274
+ - spec/api/repositories_python_api_spec.rb
275
+ - spec/api/repositories_python_versions_api_spec.rb
276
+ - spec/api/pypi_legacy_api_spec.rb
280
277
  - spec/api/pypi_metadata_api_spec.rb
278
+ - spec/api/pypi_api_spec.rb
281
279
  - spec/api/remotes_python_api_spec.rb
280
+ - spec/api/publications_pypi_api_spec.rb
281
+ - spec/api/pypi_simple_api_spec.rb
282
282
  - spec/api_client_spec.rb
283
283
  - spec/configuration_spec.rb
284
- - spec/models/python_python_remote_response_hidden_fields_spec.rb
285
- - spec/models/nested_role_spec.rb
286
- - spec/models/repair_spec.rb
287
- - spec/models/python_python_remote_spec.rb
288
- - spec/models/content_summary_response_spec.rb
289
- - spec/models/exclude_platforms_enum_spec.rb
290
284
  - spec/models/python_python_remote_response_spec.rb
291
- - spec/models/paginatedpython_python_publication_response_list_spec.rb
292
- - spec/models/paginated_repository_version_response_list_spec.rb
293
285
  - spec/models/set_label_response_spec.rb
286
+ - spec/models/content_summary_response_spec.rb
287
+ - spec/models/nested_role_spec.rb
288
+ - spec/models/python_python_distribution_response_spec.rb
289
+ - spec/models/python_python_publication_response_spec.rb
290
+ - spec/models/python_python_package_content_response_spec.rb
294
291
  - spec/models/object_roles_response_spec.rb
295
- - spec/models/nested_role_response_spec.rb
296
- - spec/models/policy_enum_spec.rb
297
- - spec/models/repository_version_response_spec.rb
292
+ - spec/models/paginatedpython_python_repository_response_list_spec.rb
293
+ - spec/models/python_python_remote_response_hidden_fields_spec.rb
298
294
  - spec/models/unset_label_spec.rb
295
+ - spec/models/paginatedpython_python_publication_response_list_spec.rb
296
+ - spec/models/policy_enum_spec.rb
297
+ - spec/models/package_upload_task_response_spec.rb
299
298
  - spec/models/my_permissions_response_spec.rb
299
+ - spec/models/exclude_platforms_enum_spec.rb
300
300
  - spec/models/paginatedpython_python_remote_response_list_spec.rb
301
- - spec/models/python_python_distribution_response_spec.rb
302
- - spec/models/repository_sync_url_spec.rb
303
- - spec/models/summary_response_spec.rb
301
+ - spec/models/package_metadata_response_spec.rb
302
+ - spec/models/patchedpython_python_distribution_spec.rb
304
303
  - spec/models/package_types_enum_spec.rb
305
- - spec/models/unset_label_response_spec.rb
306
- - spec/models/python_python_repository_spec.rb
307
- - spec/models/paginatedpython_python_package_content_response_list_spec.rb
308
- - spec/models/python_bander_remote_spec.rb
309
- - spec/models/package_upload_task_response_spec.rb
310
- - spec/models/async_operation_response_spec.rb
311
- - spec/models/python_python_package_content_response_spec.rb
312
- - spec/models/paginatedpython_python_repository_response_list_spec.rb
313
- - spec/models/patchedpython_python_repository_spec.rb
314
304
  - spec/models/patchedpython_python_remote_spec.rb
315
- - spec/models/python_python_package_content_spec.rb
305
+ - spec/models/paginated_repository_version_response_list_spec.rb
316
306
  - spec/models/paginatedpython_python_distribution_response_list_spec.rb
317
- - spec/models/python_python_publication_spec.rb
318
- - spec/models/python_python_publication_response_spec.rb
307
+ - spec/models/nested_role_response_spec.rb
319
308
  - spec/models/package_upload_spec.rb
320
- - spec/models/package_metadata_response_spec.rb
321
- - spec/models/repository_add_remove_content_spec.rb
322
- - spec/models/python_python_distribution_spec.rb
323
- - spec/models/patchedpython_python_distribution_spec.rb
309
+ - spec/models/unset_label_response_spec.rb
310
+ - spec/models/async_operation_response_spec.rb
311
+ - spec/models/repository_sync_url_spec.rb
324
312
  - spec/models/set_label_spec.rb
313
+ - spec/models/repository_version_response_spec.rb
314
+ - spec/models/python_python_remote_spec.rb
315
+ - spec/models/python_python_repository_spec.rb
325
316
  - spec/models/python_python_repository_response_spec.rb
317
+ - spec/models/python_python_distribution_spec.rb
318
+ - spec/models/repair_spec.rb
319
+ - spec/models/python_python_package_content_spec.rb
320
+ - spec/models/python_bander_remote_spec.rb
321
+ - spec/models/summary_response_spec.rb
322
+ - spec/models/python_python_publication_spec.rb
323
+ - spec/models/repository_add_remove_content_spec.rb
324
+ - spec/models/patchedpython_python_repository_spec.rb
325
+ - spec/models/paginatedpython_python_package_content_response_list_spec.rb
326
326
  - spec/spec_helper.rb