pulp_container_client 2.25.1 → 2.26.1

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 (111) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -4
  3. data/docs/ContainerBlobResponse.md +2 -0
  4. data/docs/ContainerContainerDistribution.md +6 -6
  5. data/docs/ContainerContainerDistributionResponse.md +12 -12
  6. data/docs/ContainerContainerPullThroughDistribution.md +6 -6
  7. data/docs/ContainerContainerPullThroughDistributionResponse.md +12 -12
  8. data/docs/ContainerContainerPullThroughRemoteResponse.md +1 -1
  9. data/docs/ContainerContainerPushRepository.md +4 -4
  10. data/docs/ContainerContainerPushRepositoryResponse.md +14 -14
  11. data/docs/ContainerContainerRemoteResponse.md +1 -1
  12. data/docs/ContainerManifestResponse.md +2 -0
  13. data/docs/ContainerManifestSignatureResponse.md +2 -0
  14. data/docs/ContainerTagResponse.md +2 -0
  15. data/docs/ContentBlobsApi.md +20 -8
  16. data/docs/ContentManifestsApi.md +20 -8
  17. data/docs/ContentSignaturesApi.md +20 -8
  18. data/docs/ContentTagsApi.md +20 -8
  19. data/docs/DistributionsContainerApi.md +74 -34
  20. data/docs/DistributionsPullThroughApi.md +74 -34
  21. data/docs/PatchedcontainerContainerDistribution.md +6 -6
  22. data/docs/PatchedcontainerContainerPullThroughDistribution.md +6 -6
  23. data/docs/PatchedcontainerContainerPushRepository.md +4 -4
  24. data/docs/PulpContainerNamespacesApi.md +40 -16
  25. data/docs/RemotesContainerApi.md +72 -32
  26. data/docs/RemotesPullThroughApi.md +72 -32
  27. data/docs/RepositoriesContainerApi.md +138 -64
  28. data/docs/RepositoriesContainerPushApi.md +80 -36
  29. data/docs/RepositoriesContainerPushVersionsApi.md +22 -10
  30. data/docs/RepositoriesContainerVersionsApi.md +22 -10
  31. data/docs/RepositoryVersionResponse.md +3 -1
  32. data/docs/TokenApi.md +14 -5
  33. data/lib/pulp_container_client/api/content_blobs_api.rb +12 -0
  34. data/lib/pulp_container_client/api/content_manifests_api.rb +12 -0
  35. data/lib/pulp_container_client/api/content_signatures_api.rb +12 -0
  36. data/lib/pulp_container_client/api/content_tags_api.rb +12 -0
  37. data/lib/pulp_container_client/api/distributions_container_api.rb +36 -0
  38. data/lib/pulp_container_client/api/distributions_pull_through_api.rb +36 -0
  39. data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +24 -0
  40. data/lib/pulp_container_client/api/remotes_container_api.rb +36 -0
  41. data/lib/pulp_container_client/api/remotes_pull_through_api.rb +36 -0
  42. data/lib/pulp_container_client/api/repositories_container_api.rb +63 -0
  43. data/lib/pulp_container_client/api/repositories_container_push_api.rb +39 -0
  44. data/lib/pulp_container_client/api/repositories_container_push_versions_api.rb +15 -3
  45. data/lib/pulp_container_client/api/repositories_container_versions_api.rb +15 -3
  46. data/lib/pulp_container_client/api/token_api.rb +9 -0
  47. data/lib/pulp_container_client/models/container_blob_response.rb +10 -1
  48. data/lib/pulp_container_client/models/container_container_distribution.rb +51 -51
  49. data/lib/pulp_container_client/models/container_container_distribution_response.rb +55 -55
  50. data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +51 -51
  51. data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +55 -55
  52. data/lib/pulp_container_client/models/container_container_pull_through_remote.rb +0 -15
  53. data/lib/pulp_container_client/models/container_container_pull_through_remote_response.rb +0 -15
  54. data/lib/pulp_container_client/models/container_container_push_repository.rb +17 -32
  55. data/lib/pulp_container_client/models/container_container_push_repository_response.rb +57 -72
  56. data/lib/pulp_container_client/models/container_container_remote.rb +0 -15
  57. data/lib/pulp_container_client/models/container_container_remote_response.rb +0 -15
  58. data/lib/pulp_container_client/models/container_container_repository.rb +0 -15
  59. data/lib/pulp_container_client/models/container_container_repository_response.rb +0 -15
  60. data/lib/pulp_container_client/models/container_manifest_response.rb +10 -1
  61. data/lib/pulp_container_client/models/container_manifest_signature_response.rb +10 -1
  62. data/lib/pulp_container_client/models/container_tag_response.rb +10 -1
  63. data/lib/pulp_container_client/models/paginated_repository_version_response_list.rb +0 -2
  64. data/lib/pulp_container_client/models/paginatedcontainer_blob_response_list.rb +0 -2
  65. data/lib/pulp_container_client/models/paginatedcontainer_container_distribution_response_list.rb +0 -2
  66. data/lib/pulp_container_client/models/paginatedcontainer_container_namespace_response_list.rb +0 -2
  67. data/lib/pulp_container_client/models/paginatedcontainer_container_pull_through_distribution_response_list.rb +0 -2
  68. data/lib/pulp_container_client/models/paginatedcontainer_container_pull_through_remote_response_list.rb +0 -2
  69. data/lib/pulp_container_client/models/paginatedcontainer_container_push_repository_response_list.rb +0 -2
  70. data/lib/pulp_container_client/models/paginatedcontainer_container_remote_response_list.rb +0 -2
  71. data/lib/pulp_container_client/models/paginatedcontainer_container_repository_response_list.rb +0 -2
  72. data/lib/pulp_container_client/models/paginatedcontainer_manifest_response_list.rb +0 -2
  73. data/lib/pulp_container_client/models/paginatedcontainer_manifest_signature_response_list.rb +0 -2
  74. data/lib/pulp_container_client/models/paginatedcontainer_tag_response_list.rb +0 -2
  75. data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +44 -44
  76. data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +44 -44
  77. data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_remote.rb +0 -15
  78. data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +17 -32
  79. data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +0 -15
  80. data/lib/pulp_container_client/models/patchedcontainer_container_repository.rb +0 -15
  81. data/lib/pulp_container_client/models/repository_version_response.rb +13 -4
  82. data/lib/pulp_container_client/version.rb +1 -1
  83. data/spec/api/content_blobs_api_spec.rb +4 -0
  84. data/spec/api/content_manifests_api_spec.rb +4 -0
  85. data/spec/api/content_signatures_api_spec.rb +4 -0
  86. data/spec/api/content_tags_api_spec.rb +4 -0
  87. data/spec/api/distributions_container_api_spec.rb +12 -0
  88. data/spec/api/distributions_pull_through_api_spec.rb +12 -0
  89. data/spec/api/pulp_container_namespaces_api_spec.rb +8 -0
  90. data/spec/api/remotes_container_api_spec.rb +12 -0
  91. data/spec/api/remotes_pull_through_api_spec.rb +12 -0
  92. data/spec/api/repositories_container_api_spec.rb +21 -0
  93. data/spec/api/repositories_container_push_api_spec.rb +13 -0
  94. data/spec/api/repositories_container_push_versions_api_spec.rb +5 -1
  95. data/spec/api/repositories_container_versions_api_spec.rb +5 -1
  96. data/spec/api/token_api_spec.rb +3 -0
  97. data/spec/models/container_blob_response_spec.rb +6 -0
  98. data/spec/models/container_container_distribution_response_spec.rb +9 -9
  99. data/spec/models/container_container_distribution_spec.rb +5 -5
  100. data/spec/models/container_container_pull_through_distribution_response_spec.rb +9 -9
  101. data/spec/models/container_container_pull_through_distribution_spec.rb +5 -5
  102. data/spec/models/container_container_push_repository_response_spec.rb +10 -10
  103. data/spec/models/container_container_push_repository_spec.rb +2 -2
  104. data/spec/models/container_manifest_response_spec.rb +6 -0
  105. data/spec/models/container_manifest_signature_response_spec.rb +6 -0
  106. data/spec/models/container_tag_response_spec.rb +6 -0
  107. data/spec/models/patchedcontainer_container_distribution_spec.rb +5 -5
  108. data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +5 -5
  109. data/spec/models/patchedcontainer_container_push_repository_spec.rb +2 -2
  110. data/spec/models/repository_version_response_spec.rb +6 -0
  111. metadata +58 -58
@@ -16,19 +16,19 @@ require 'time'
16
16
  module PulpContainerClient
17
17
  # A serializer for a specialized pull-through distribution referencing sub-distributions.
18
18
  class PatchedcontainerContainerPullThroughDistribution
19
- # An optional content-guard. If none is specified, a default one will be used.
20
- attr_accessor :content_guard
19
+ # A unique name. Ex, `rawhide` and `stable`.
20
+ attr_accessor :name
21
+
22
+ # The latest RepositoryVersion for this Repository will be served.
23
+ attr_accessor :repository
21
24
 
22
25
  attr_accessor :pulp_labels
23
26
 
24
27
  # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
25
28
  attr_accessor :base_path
26
29
 
27
- # The latest RepositoryVersion for this Repository will be served.
28
- attr_accessor :repository
29
-
30
- # A unique name. Ex, `rawhide` and `stable`.
31
- attr_accessor :name
30
+ # An optional content-guard. If none is specified, a default one will be used.
31
+ attr_accessor :content_guard
32
32
 
33
33
  # Whether this distribution should be shown in the content app.
34
34
  attr_accessor :hidden
@@ -48,11 +48,11 @@ module PulpContainerClient
48
48
  # Attribute mapping from ruby-style variable name to JSON key.
49
49
  def self.attribute_map
50
50
  {
51
- :'content_guard' => :'content_guard',
51
+ :'name' => :'name',
52
+ :'repository' => :'repository',
52
53
  :'pulp_labels' => :'pulp_labels',
53
54
  :'base_path' => :'base_path',
54
- :'repository' => :'repository',
55
- :'name' => :'name',
55
+ :'content_guard' => :'content_guard',
56
56
  :'hidden' => :'hidden',
57
57
  :'remote' => :'remote',
58
58
  :'distributions' => :'distributions',
@@ -69,11 +69,11 @@ module PulpContainerClient
69
69
  # Attribute type mapping.
70
70
  def self.openapi_types
71
71
  {
72
- :'content_guard' => :'String',
72
+ :'name' => :'String',
73
+ :'repository' => :'String',
73
74
  :'pulp_labels' => :'Hash<String, String>',
74
75
  :'base_path' => :'String',
75
- :'repository' => :'String',
76
- :'name' => :'String',
76
+ :'content_guard' => :'String',
77
77
  :'hidden' => :'Boolean',
78
78
  :'remote' => :'String',
79
79
  :'distributions' => :'Array<String>',
@@ -105,8 +105,12 @@ module PulpContainerClient
105
105
  h[k.to_sym] = v
106
106
  }
107
107
 
108
- if attributes.key?(:'content_guard')
109
- self.content_guard = attributes[:'content_guard']
108
+ if attributes.key?(:'name')
109
+ self.name = attributes[:'name']
110
+ end
111
+
112
+ if attributes.key?(:'repository')
113
+ self.repository = attributes[:'repository']
110
114
  end
111
115
 
112
116
  if attributes.key?(:'pulp_labels')
@@ -119,12 +123,8 @@ module PulpContainerClient
119
123
  self.base_path = attributes[:'base_path']
120
124
  end
121
125
 
122
- if attributes.key?(:'repository')
123
- self.repository = attributes[:'repository']
124
- end
125
-
126
- if attributes.key?(:'name')
127
- self.name = attributes[:'name']
126
+ if attributes.key?(:'content_guard')
127
+ self.content_guard = attributes[:'content_guard']
128
128
  end
129
129
 
130
130
  if attributes.key?(:'hidden')
@@ -157,14 +157,14 @@ module PulpContainerClient
157
157
  def list_invalid_properties
158
158
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
159
159
  invalid_properties = Array.new
160
- if !@base_path.nil? && @base_path.to_s.length < 1
161
- invalid_properties.push('invalid value for "base_path", the character length must be great than or equal to 1.')
162
- end
163
-
164
160
  if !@name.nil? && @name.to_s.length < 1
165
161
  invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
166
162
  end
167
163
 
164
+ if !@base_path.nil? && @base_path.to_s.length < 1
165
+ invalid_properties.push('invalid value for "base_path", the character length must be great than or equal to 1.')
166
+ end
167
+
168
168
  if !@description.nil? && @description.to_s.length < 1
169
169
  invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
170
170
  end
@@ -176,26 +176,12 @@ module PulpContainerClient
176
176
  # @return true if the model is valid
177
177
  def valid?
178
178
  warn '[DEPRECATED] the `valid?` method is obsolete'
179
- return false if !@base_path.nil? && @base_path.to_s.length < 1
180
179
  return false if !@name.nil? && @name.to_s.length < 1
180
+ return false if !@base_path.nil? && @base_path.to_s.length < 1
181
181
  return false if !@description.nil? && @description.to_s.length < 1
182
182
  true
183
183
  end
184
184
 
185
- # Custom attribute writer method with validation
186
- # @param [Object] base_path Value to be assigned
187
- def base_path=(base_path)
188
- if base_path.nil?
189
- fail ArgumentError, 'base_path cannot be nil'
190
- end
191
-
192
- if base_path.to_s.length < 1
193
- fail ArgumentError, 'invalid value for "base_path", the character length must be great than or equal to 1.'
194
- end
195
-
196
- @base_path = base_path
197
- end
198
-
199
185
  # Custom attribute writer method with validation
200
186
  # @param [Object] name Value to be assigned
201
187
  def name=(name)
@@ -210,6 +196,20 @@ module PulpContainerClient
210
196
  @name = name
211
197
  end
212
198
 
199
+ # Custom attribute writer method with validation
200
+ # @param [Object] base_path Value to be assigned
201
+ def base_path=(base_path)
202
+ if base_path.nil?
203
+ fail ArgumentError, 'base_path cannot be nil'
204
+ end
205
+
206
+ if base_path.to_s.length < 1
207
+ fail ArgumentError, 'invalid value for "base_path", the character length must be great than or equal to 1.'
208
+ end
209
+
210
+ @base_path = base_path
211
+ end
212
+
213
213
  # Custom attribute writer method with validation
214
214
  # @param [Object] description Value to be assigned
215
215
  def description=(description)
@@ -225,11 +225,11 @@ module PulpContainerClient
225
225
  def ==(o)
226
226
  return true if self.equal?(o)
227
227
  self.class == o.class &&
228
- content_guard == o.content_guard &&
228
+ name == o.name &&
229
+ repository == o.repository &&
229
230
  pulp_labels == o.pulp_labels &&
230
231
  base_path == o.base_path &&
231
- repository == o.repository &&
232
- name == o.name &&
232
+ content_guard == o.content_guard &&
233
233
  hidden == o.hidden &&
234
234
  remote == o.remote &&
235
235
  distributions == o.distributions &&
@@ -246,7 +246,7 @@ module PulpContainerClient
246
246
  # Calculates hash code according to all attributes.
247
247
  # @return [Integer] Hash code
248
248
  def hash
249
- [content_guard, pulp_labels, base_path, repository, name, hidden, remote, distributions, private, description].hash
249
+ [name, repository, pulp_labels, base_path, content_guard, hidden, remote, distributions, private, description].hash
250
250
  end
251
251
 
252
252
  # Builds the object from hash
@@ -352,10 +352,6 @@ module PulpContainerClient
352
352
  invalid_properties.push('invalid value for "password", the character length must be great than or equal to 1.')
353
353
  end
354
354
 
355
- if !@download_concurrency.nil? && @download_concurrency < 1
356
- invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
357
- end
358
-
359
355
  if !@total_timeout.nil? && @total_timeout < 0.0
360
356
  invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
361
357
  end
@@ -389,7 +385,6 @@ module PulpContainerClient
389
385
  return false if !@proxy_password.nil? && @proxy_password.to_s.length < 1
390
386
  return false if !@username.nil? && @username.to_s.length < 1
391
387
  return false if !@password.nil? && @password.to_s.length < 1
392
- return false if !@download_concurrency.nil? && @download_concurrency < 1
393
388
  return false if !@total_timeout.nil? && @total_timeout < 0.0
394
389
  return false if !@connect_timeout.nil? && @connect_timeout < 0.0
395
390
  return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
@@ -505,16 +500,6 @@ module PulpContainerClient
505
500
  @password = password
506
501
  end
507
502
 
508
- # Custom attribute writer method with validation
509
- # @param [Object] download_concurrency Value to be assigned
510
- def download_concurrency=(download_concurrency)
511
- if !download_concurrency.nil? && download_concurrency < 1
512
- fail ArgumentError, 'invalid value for "download_concurrency", must be greater than or equal to 1.'
513
- end
514
-
515
- @download_concurrency = download_concurrency
516
- end
517
-
518
503
  # Custom attribute writer method with validation
519
504
  # @param [Object] total_timeout Value to be assigned
520
505
  def total_timeout=(total_timeout)
@@ -16,7 +16,8 @@ require 'time'
16
16
  module PulpContainerClient
17
17
  # Serializer for Container Push Repositories.
18
18
  class PatchedcontainerContainerPushRepository
19
- attr_accessor :pulp_labels
19
+ # An optional description.
20
+ attr_accessor :description
20
21
 
21
22
  # Retain X versions of the repository. Default is null which retains all versions.
22
23
  attr_accessor :retain_repo_versions
@@ -24,8 +25,7 @@ module PulpContainerClient
24
25
  # A reference to an associated signing service.
25
26
  attr_accessor :manifest_signing_service
26
27
 
27
- # An optional description.
28
- attr_accessor :description
28
+ attr_accessor :pulp_labels
29
29
 
30
30
  # A unique name for this repository.
31
31
  attr_accessor :name
@@ -33,10 +33,10 @@ module PulpContainerClient
33
33
  # Attribute mapping from ruby-style variable name to JSON key.
34
34
  def self.attribute_map
35
35
  {
36
- :'pulp_labels' => :'pulp_labels',
36
+ :'description' => :'description',
37
37
  :'retain_repo_versions' => :'retain_repo_versions',
38
38
  :'manifest_signing_service' => :'manifest_signing_service',
39
- :'description' => :'description',
39
+ :'pulp_labels' => :'pulp_labels',
40
40
  :'name' => :'name'
41
41
  }
42
42
  end
@@ -49,10 +49,10 @@ module PulpContainerClient
49
49
  # Attribute type mapping.
50
50
  def self.openapi_types
51
51
  {
52
- :'pulp_labels' => :'Hash<String, String>',
52
+ :'description' => :'String',
53
53
  :'retain_repo_versions' => :'Integer',
54
54
  :'manifest_signing_service' => :'String',
55
- :'description' => :'String',
55
+ :'pulp_labels' => :'Hash<String, String>',
56
56
  :'name' => :'String'
57
57
  }
58
58
  end
@@ -60,9 +60,9 @@ module PulpContainerClient
60
60
  # List of attributes with nullable: true
61
61
  def self.openapi_nullable
62
62
  Set.new([
63
+ :'description',
63
64
  :'retain_repo_versions',
64
65
  :'manifest_signing_service',
65
- :'description',
66
66
  ])
67
67
  end
68
68
 
@@ -81,10 +81,8 @@ module PulpContainerClient
81
81
  h[k.to_sym] = v
82
82
  }
83
83
 
84
- if attributes.key?(:'pulp_labels')
85
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
86
- self.pulp_labels = value
87
- end
84
+ if attributes.key?(:'description')
85
+ self.description = attributes[:'description']
88
86
  end
89
87
 
90
88
  if attributes.key?(:'retain_repo_versions')
@@ -95,8 +93,10 @@ module PulpContainerClient
95
93
  self.manifest_signing_service = attributes[:'manifest_signing_service']
96
94
  end
97
95
 
98
- if attributes.key?(:'description')
99
- self.description = attributes[:'description']
96
+ if attributes.key?(:'pulp_labels')
97
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
98
+ self.pulp_labels = value
99
+ end
100
100
  end
101
101
 
102
102
  if attributes.key?(:'name')
@@ -109,10 +109,6 @@ module PulpContainerClient
109
109
  def list_invalid_properties
110
110
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
111
111
  invalid_properties = Array.new
112
- if !@retain_repo_versions.nil? && @retain_repo_versions < 1
113
- invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
114
- end
115
-
116
112
  if !@description.nil? && @description.to_s.length < 1
117
113
  invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
118
114
  end
@@ -128,22 +124,11 @@ module PulpContainerClient
128
124
  # @return true if the model is valid
129
125
  def valid?
130
126
  warn '[DEPRECATED] the `valid?` method is obsolete'
131
- return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
132
127
  return false if !@description.nil? && @description.to_s.length < 1
133
128
  return false if !@name.nil? && @name.to_s.length < 1
134
129
  true
135
130
  end
136
131
 
137
- # Custom attribute writer method with validation
138
- # @param [Object] retain_repo_versions Value to be assigned
139
- def retain_repo_versions=(retain_repo_versions)
140
- if !retain_repo_versions.nil? && retain_repo_versions < 1
141
- fail ArgumentError, 'invalid value for "retain_repo_versions", must be greater than or equal to 1.'
142
- end
143
-
144
- @retain_repo_versions = retain_repo_versions
145
- end
146
-
147
132
  # Custom attribute writer method with validation
148
133
  # @param [Object] description Value to be assigned
149
134
  def description=(description)
@@ -173,10 +158,10 @@ module PulpContainerClient
173
158
  def ==(o)
174
159
  return true if self.equal?(o)
175
160
  self.class == o.class &&
176
- pulp_labels == o.pulp_labels &&
161
+ description == o.description &&
177
162
  retain_repo_versions == o.retain_repo_versions &&
178
163
  manifest_signing_service == o.manifest_signing_service &&
179
- description == o.description &&
164
+ pulp_labels == o.pulp_labels &&
180
165
  name == o.name
181
166
  end
182
167
 
@@ -189,7 +174,7 @@ module PulpContainerClient
189
174
  # Calculates hash code according to all attributes.
190
175
  # @return [Integer] Hash code
191
176
  def hash
192
- [pulp_labels, retain_repo_versions, manifest_signing_service, description, name].hash
177
+ [description, retain_repo_versions, manifest_signing_service, pulp_labels, name].hash
193
178
  end
194
179
 
195
180
  # Builds the object from hash
@@ -371,10 +371,6 @@ module PulpContainerClient
371
371
  invalid_properties.push('invalid value for "password", the character length must be great than or equal to 1.')
372
372
  end
373
373
 
374
- if !@download_concurrency.nil? && @download_concurrency < 1
375
- invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
376
- end
377
-
378
374
  if !@total_timeout.nil? && @total_timeout < 0.0
379
375
  invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.0.')
380
376
  end
@@ -416,7 +412,6 @@ module PulpContainerClient
416
412
  return false if !@proxy_password.nil? && @proxy_password.to_s.length < 1
417
413
  return false if !@username.nil? && @username.to_s.length < 1
418
414
  return false if !@password.nil? && @password.to_s.length < 1
419
- return false if !@download_concurrency.nil? && @download_concurrency < 1
420
415
  return false if !@total_timeout.nil? && @total_timeout < 0.0
421
416
  return false if !@connect_timeout.nil? && @connect_timeout < 0.0
422
417
  return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
@@ -534,16 +529,6 @@ module PulpContainerClient
534
529
  @password = password
535
530
  end
536
531
 
537
- # Custom attribute writer method with validation
538
- # @param [Object] download_concurrency Value to be assigned
539
- def download_concurrency=(download_concurrency)
540
- if !download_concurrency.nil? && download_concurrency < 1
541
- fail ArgumentError, 'invalid value for "download_concurrency", must be greater than or equal to 1.'
542
- end
543
-
544
- @download_concurrency = download_concurrency
545
- end
546
-
547
532
  # Custom attribute writer method with validation
548
533
  # @param [Object] total_timeout Value to be assigned
549
534
  def total_timeout=(total_timeout)
@@ -127,10 +127,6 @@ module PulpContainerClient
127
127
  invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
128
128
  end
129
129
 
130
- if !@retain_repo_versions.nil? && @retain_repo_versions < 1
131
- invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
132
- end
133
-
134
130
  invalid_properties
135
131
  end
136
132
 
@@ -140,7 +136,6 @@ module PulpContainerClient
140
136
  warn '[DEPRECATED] the `valid?` method is obsolete'
141
137
  return false if !@name.nil? && @name.to_s.length < 1
142
138
  return false if !@description.nil? && @description.to_s.length < 1
143
- return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
144
139
  true
145
140
  end
146
141
 
@@ -168,16 +163,6 @@ module PulpContainerClient
168
163
  @description = description
169
164
  end
170
165
 
171
- # Custom attribute writer method with validation
172
- # @param [Object] retain_repo_versions Value to be assigned
173
- def retain_repo_versions=(retain_repo_versions)
174
- if !retain_repo_versions.nil? && retain_repo_versions < 1
175
- fail ArgumentError, 'invalid value for "retain_repo_versions", must be greater than or equal to 1.'
176
- end
177
-
178
- @retain_repo_versions = retain_repo_versions
179
- end
180
-
181
166
  # Checks equality by comparing each attribute.
182
167
  # @param [Object] Object to be compared
183
168
  def ==(o)
@@ -37,6 +37,8 @@ module PulpContainerClient
37
37
  # Various count summaries of the content in the version and the HREF to view them.
38
38
  attr_accessor :content_summary
39
39
 
40
+ attr_accessor :vuln_report
41
+
40
42
  # Attribute mapping from ruby-style variable name to JSON key.
41
43
  def self.attribute_map
42
44
  {
@@ -47,7 +49,8 @@ module PulpContainerClient
47
49
  :'number' => :'number',
48
50
  :'repository' => :'repository',
49
51
  :'base_version' => :'base_version',
50
- :'content_summary' => :'content_summary'
52
+ :'content_summary' => :'content_summary',
53
+ :'vuln_report' => :'vuln_report'
51
54
  }
52
55
  end
53
56
 
@@ -66,7 +69,8 @@ module PulpContainerClient
66
69
  :'number' => :'Integer',
67
70
  :'repository' => :'String',
68
71
  :'base_version' => :'String',
69
- :'content_summary' => :'ContentSummaryResponse'
72
+ :'content_summary' => :'ContentSummaryResponse',
73
+ :'vuln_report' => :'String'
70
74
  }
71
75
  end
72
76
 
@@ -122,6 +126,10 @@ module PulpContainerClient
122
126
  if attributes.key?(:'content_summary')
123
127
  self.content_summary = attributes[:'content_summary']
124
128
  end
129
+
130
+ if attributes.key?(:'vuln_report')
131
+ self.vuln_report = attributes[:'vuln_report']
132
+ end
125
133
  end
126
134
 
127
135
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -151,7 +159,8 @@ module PulpContainerClient
151
159
  number == o.number &&
152
160
  repository == o.repository &&
153
161
  base_version == o.base_version &&
154
- content_summary == o.content_summary
162
+ content_summary == o.content_summary &&
163
+ vuln_report == o.vuln_report
155
164
  end
156
165
 
157
166
  # @see the `==` method
@@ -163,7 +172,7 @@ module PulpContainerClient
163
172
  # Calculates hash code according to all attributes.
164
173
  # @return [Integer] Hash code
165
174
  def hash
166
- [pulp_href, prn, pulp_created, pulp_last_updated, number, repository, base_version, content_summary].hash
175
+ [pulp_href, prn, pulp_created, pulp_last_updated, number, repository, base_version, content_summary, vuln_report].hash
167
176
  end
168
177
 
169
178
  # Builds the object from hash
@@ -11,5 +11,5 @@ Generator version: 7.10.0
11
11
  =end
12
12
 
13
13
  module PulpContainerClient
14
- VERSION = '2.25.1'
14
+ VERSION = '2.26.1'
15
15
  end
@@ -36,6 +36,7 @@ describe 'ContentBlobsApi' do
36
36
  # List blobs
37
37
  # ViewSet for Blobs.
38
38
  # @param [Hash] opts the optional parameters
39
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
39
40
  # @option opts [String] :digest Filter results where digest matches value
40
41
  # @option opts [Array<String>] :digest__in Filter results where digest is in a comma-separated list of values
41
42
  # @option opts [Integer] :limit Number of results to return per page.
@@ -64,6 +65,7 @@ describe 'ContentBlobsApi' do
64
65
  # ViewSet for Blobs.
65
66
  # @param container_blob_href
66
67
  # @param [Hash] opts the optional parameters
68
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
67
69
  # @option opts [Array<String>] :fields A list of fields to include in the response.
68
70
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
69
71
  # @return [ContainerBlobResponse]
@@ -79,6 +81,7 @@ describe 'ContentBlobsApi' do
79
81
  # @param container_blob_href
80
82
  # @param set_label
81
83
  # @param [Hash] opts the optional parameters
84
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
82
85
  # @return [SetLabelResponse]
83
86
  describe 'set_label test' do
84
87
  it 'should work' do
@@ -92,6 +95,7 @@ describe 'ContentBlobsApi' do
92
95
  # @param container_blob_href
93
96
  # @param unset_label
94
97
  # @param [Hash] opts the optional parameters
98
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
95
99
  # @return [UnsetLabelResponse]
96
100
  describe 'unset_label test' do
97
101
  it 'should work' do
@@ -36,6 +36,7 @@ describe 'ContentManifestsApi' do
36
36
  # List manifests
37
37
  # ViewSet for Manifest.
38
38
  # @param [Hash] opts the optional parameters
39
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
39
40
  # @option opts [String] :digest Filter results where digest matches value
40
41
  # @option opts [Array<String>] :digest__in Filter results where digest is in a comma-separated list of values
41
42
  # @option opts [Boolean] :is_bootable Filter results where is_bootable matches value
@@ -67,6 +68,7 @@ describe 'ContentManifestsApi' do
67
68
  # ViewSet for Manifest.
68
69
  # @param container_manifest_href
69
70
  # @param [Hash] opts the optional parameters
71
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
70
72
  # @option opts [Array<String>] :fields A list of fields to include in the response.
71
73
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
72
74
  # @return [ContainerManifestResponse]
@@ -82,6 +84,7 @@ describe 'ContentManifestsApi' do
82
84
  # @param container_manifest_href
83
85
  # @param set_label
84
86
  # @param [Hash] opts the optional parameters
87
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
85
88
  # @return [SetLabelResponse]
86
89
  describe 'set_label test' do
87
90
  it 'should work' do
@@ -95,6 +98,7 @@ describe 'ContentManifestsApi' do
95
98
  # @param container_manifest_href
96
99
  # @param unset_label
97
100
  # @param [Hash] opts the optional parameters
101
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
98
102
  # @return [UnsetLabelResponse]
99
103
  describe 'unset_label test' do
100
104
  it 'should work' do
@@ -36,6 +36,7 @@ describe 'ContentSignaturesApi' do
36
36
  # List manifest signatures
37
37
  # ViewSet for image signatures.
38
38
  # @param [Hash] opts the optional parameters
39
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
39
40
  # @option opts [String] :digest Filter results where digest matches value
40
41
  # @option opts [Array<String>] :digest__in Filter results where digest is in a comma-separated list of values
41
42
  # @option opts [String] :key_id Filter results where key_id matches value
@@ -76,6 +77,7 @@ describe 'ContentSignaturesApi' do
76
77
  # ViewSet for image signatures.
77
78
  # @param container_manifest_signature_href
78
79
  # @param [Hash] opts the optional parameters
80
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
79
81
  # @option opts [Array<String>] :fields A list of fields to include in the response.
80
82
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
81
83
  # @return [ContainerManifestSignatureResponse]
@@ -91,6 +93,7 @@ describe 'ContentSignaturesApi' do
91
93
  # @param container_manifest_signature_href
92
94
  # @param set_label
93
95
  # @param [Hash] opts the optional parameters
96
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
94
97
  # @return [SetLabelResponse]
95
98
  describe 'set_label test' do
96
99
  it 'should work' do
@@ -104,6 +107,7 @@ describe 'ContentSignaturesApi' do
104
107
  # @param container_manifest_signature_href
105
108
  # @param unset_label
106
109
  # @param [Hash] opts the optional parameters
110
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
107
111
  # @return [UnsetLabelResponse]
108
112
  describe 'unset_label test' do
109
113
  it 'should work' do
@@ -36,6 +36,7 @@ describe 'ContentTagsApi' do
36
36
  # List tags
37
37
  # ViewSet for Tag.
38
38
  # @param [Hash] opts the optional parameters
39
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
39
40
  # @option opts [Array<String>] :digest Multiple values may be separated by commas.
40
41
  # @option opts [Integer] :limit Number of results to return per page.
41
42
  # @option opts [Array<String>] :media_type * &#x60;application/vnd.docker.distribution.manifest.v1+json&#x60; - application/vnd.docker.distribution.manifest.v1+json * &#x60;application/vnd.docker.distribution.manifest.v2+json&#x60; - application/vnd.docker.distribution.manifest.v2+json * &#x60;application/vnd.docker.distribution.manifest.list.v2+json&#x60; - application/vnd.docker.distribution.manifest.list.v2+json * &#x60;application/vnd.oci.image.manifest.v1+json&#x60; - application/vnd.oci.image.manifest.v1+json * &#x60;application/vnd.oci.image.index.v1+json&#x60; - application/vnd.oci.image.index.v1+json
@@ -66,6 +67,7 @@ describe 'ContentTagsApi' do
66
67
  # ViewSet for Tag.
67
68
  # @param container_tag_href
68
69
  # @param [Hash] opts the optional parameters
70
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
69
71
  # @option opts [Array<String>] :fields A list of fields to include in the response.
70
72
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
71
73
  # @return [ContainerTagResponse]
@@ -81,6 +83,7 @@ describe 'ContentTagsApi' do
81
83
  # @param container_tag_href
82
84
  # @param set_label
83
85
  # @param [Hash] opts the optional parameters
86
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
84
87
  # @return [SetLabelResponse]
85
88
  describe 'set_label test' do
86
89
  it 'should work' do
@@ -94,6 +97,7 @@ describe 'ContentTagsApi' do
94
97
  # @param container_tag_href
95
98
  # @param unset_label
96
99
  # @param [Hash] opts the optional parameters
100
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
97
101
  # @return [UnsetLabelResponse]
98
102
  describe 'unset_label test' do
99
103
  it 'should work' do