pulp_container_client 2.15.4 → 2.16.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (75) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +27 -36
  3. data/docs/ContainerContainerDistribution.md +5 -5
  4. data/docs/ContainerContainerDistributionResponse.md +7 -7
  5. data/docs/ContainerContainerPushRepository.md +7 -7
  6. data/docs/ContainerContainerPushRepositoryResponse.md +13 -13
  7. data/docs/ContentBlobsApi.md +1 -3
  8. data/docs/ContentManifestsApi.md +1 -3
  9. data/docs/ContentSignaturesApi.md +1 -11
  10. data/docs/ContentTagsApi.md +1 -3
  11. data/docs/DistributionsContainerApi.md +10 -136
  12. data/docs/IndexDynamicApi.md +50 -0
  13. data/docs/IndexStaticApi.md +50 -0
  14. data/docs/PatchedcontainerContainerDistribution.md +5 -5
  15. data/docs/PatchedcontainerContainerPushRepository.md +7 -7
  16. data/docs/PulpContainerNamespacesApi.md +9 -23
  17. data/docs/RemotesContainerApi.md +9 -135
  18. data/docs/RepositoriesContainerApi.md +11 -137
  19. data/docs/RepositoriesContainerPushApi.md +10 -24
  20. data/docs/RepositoriesContainerPushVersionsApi.md +1 -3
  21. data/docs/RepositoriesContainerVersionsApi.md +1 -3
  22. data/docs/TokenApi.md +1 -1
  23. data/lib/pulp_container_client/api/content_blobs_api.rb +0 -3
  24. data/lib/pulp_container_client/api/content_manifests_api.rb +0 -3
  25. data/lib/pulp_container_client/api/content_signatures_api.rb +0 -15
  26. data/lib/pulp_container_client/api/content_tags_api.rb +0 -3
  27. data/lib/pulp_container_client/api/distributions_container_api.rb +0 -163
  28. data/lib/pulp_container_client/api/index_dynamic_api.rb +74 -0
  29. data/lib/pulp_container_client/api/index_static_api.rb +74 -0
  30. data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +0 -23
  31. data/lib/pulp_container_client/api/remotes_container_api.rb +0 -163
  32. data/lib/pulp_container_client/api/repositories_container_api.rb +2 -165
  33. data/lib/pulp_container_client/api/repositories_container_push_api.rb +0 -23
  34. data/lib/pulp_container_client/api/repositories_container_push_versions_api.rb +0 -3
  35. data/lib/pulp_container_client/api/repositories_container_versions_api.rb +0 -3
  36. data/lib/pulp_container_client/configuration.rb +2 -2
  37. data/lib/pulp_container_client/models/container_container_distribution.rb +45 -45
  38. data/lib/pulp_container_client/models/container_container_distribution_response.rb +33 -33
  39. data/lib/pulp_container_client/models/container_container_push_repository.rb +57 -57
  40. data/lib/pulp_container_client/models/container_container_push_repository_response.rb +51 -51
  41. data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +36 -36
  42. data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +49 -49
  43. data/lib/pulp_container_client/version.rb +1 -1
  44. data/lib/pulp_container_client.rb +2 -4
  45. data/spec/api/content_blobs_api_spec.rb +0 -1
  46. data/spec/api/content_manifests_api_spec.rb +0 -1
  47. data/spec/api/content_signatures_api_spec.rb +0 -5
  48. data/spec/api/content_tags_api_spec.rb +0 -1
  49. data/spec/api/distributions_container_api_spec.rb +0 -35
  50. data/spec/{models/set_label_spec.rb → api/index_dynamic_api_spec.rb} +11 -13
  51. data/spec/{models/unset_label_spec.rb → api/index_static_api_spec.rb} +12 -8
  52. data/spec/api/pulp_container_namespaces_api_spec.rb +0 -9
  53. data/spec/api/remotes_container_api_spec.rb +0 -35
  54. data/spec/api/repositories_container_api_spec.rb +1 -36
  55. data/spec/api/repositories_container_push_api_spec.rb +0 -9
  56. data/spec/api/repositories_container_push_versions_api_spec.rb +0 -1
  57. data/spec/api/repositories_container_versions_api_spec.rb +0 -1
  58. data/spec/configuration_spec.rb +3 -3
  59. data/spec/models/container_container_distribution_response_spec.rb +8 -8
  60. data/spec/models/container_container_distribution_spec.rb +6 -6
  61. data/spec/models/container_container_push_repository_response_spec.rb +8 -8
  62. data/spec/models/container_container_push_repository_spec.rb +5 -5
  63. data/spec/models/patchedcontainer_container_distribution_spec.rb +6 -6
  64. data/spec/models/patchedcontainer_container_push_repository_spec.rb +5 -5
  65. metadata +55 -63
  66. data/docs/SetLabel.md +0 -19
  67. data/docs/SetLabelResponse.md +0 -19
  68. data/docs/UnsetLabel.md +0 -17
  69. data/docs/UnsetLabelResponse.md +0 -19
  70. data/lib/pulp_container_client/models/set_label.rb +0 -252
  71. data/lib/pulp_container_client/models/set_label_response.rb +0 -243
  72. data/lib/pulp_container_client/models/unset_label.rb +0 -242
  73. data/lib/pulp_container_client/models/unset_label_response.rb +0 -242
  74. data/spec/models/set_label_response_spec.rb +0 -47
  75. data/spec/models/unset_label_response_spec.rb +0 -47
@@ -15,65 +15,65 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # Serializer for Container Push Repositories.
17
17
  class ContainerContainerPushRepositoryResponse
18
- # A unique name for this repository.
19
- attr_accessor :name
20
-
21
18
  # Timestamp of creation.
22
19
  attr_accessor :pulp_created
23
20
 
24
- # An optional description.
25
- attr_accessor :description
21
+ # A reference to an associated signing service.
22
+ attr_accessor :manifest_signing_service
26
23
 
27
24
  attr_accessor :pulp_labels
28
25
 
29
- # A reference to an associated signing service.
30
- attr_accessor :manifest_signing_service
26
+ # Retain X versions of the repository. Default is null which retains all versions.
27
+ attr_accessor :retain_repo_versions
31
28
 
32
- attr_accessor :pulp_href
29
+ # An optional description.
30
+ attr_accessor :description
31
+
32
+ attr_accessor :latest_version_href
33
33
 
34
34
  attr_accessor :versions_href
35
35
 
36
- attr_accessor :latest_version_href
36
+ attr_accessor :pulp_href
37
37
 
38
- # Retain X versions of the repository. Default is null which retains all versions.
39
- attr_accessor :retain_repo_versions
38
+ # A unique name for this repository.
39
+ attr_accessor :name
40
40
 
41
41
  # Attribute mapping from ruby-style variable name to JSON key.
42
42
  def self.attribute_map
43
43
  {
44
- :'name' => :'name',
45
44
  :'pulp_created' => :'pulp_created',
46
- :'description' => :'description',
47
- :'pulp_labels' => :'pulp_labels',
48
45
  :'manifest_signing_service' => :'manifest_signing_service',
49
- :'pulp_href' => :'pulp_href',
50
- :'versions_href' => :'versions_href',
46
+ :'pulp_labels' => :'pulp_labels',
47
+ :'retain_repo_versions' => :'retain_repo_versions',
48
+ :'description' => :'description',
51
49
  :'latest_version_href' => :'latest_version_href',
52
- :'retain_repo_versions' => :'retain_repo_versions'
50
+ :'versions_href' => :'versions_href',
51
+ :'pulp_href' => :'pulp_href',
52
+ :'name' => :'name'
53
53
  }
54
54
  end
55
55
 
56
56
  # Attribute type mapping.
57
57
  def self.openapi_types
58
58
  {
59
- :'name' => :'String',
60
59
  :'pulp_created' => :'DateTime',
61
- :'description' => :'String',
62
- :'pulp_labels' => :'Hash<String, String>',
63
60
  :'manifest_signing_service' => :'String',
64
- :'pulp_href' => :'String',
65
- :'versions_href' => :'String',
61
+ :'pulp_labels' => :'Hash<String, String>',
62
+ :'retain_repo_versions' => :'Integer',
63
+ :'description' => :'String',
66
64
  :'latest_version_href' => :'String',
67
- :'retain_repo_versions' => :'Integer'
65
+ :'versions_href' => :'String',
66
+ :'pulp_href' => :'String',
67
+ :'name' => :'String'
68
68
  }
69
69
  end
70
70
 
71
71
  # List of attributes with nullable: true
72
72
  def self.openapi_nullable
73
73
  Set.new([
74
- :'description',
75
74
  :'manifest_signing_service',
76
- :'retain_repo_versions'
75
+ :'retain_repo_versions',
76
+ :'description',
77
77
  ])
78
78
  end
79
79
 
@@ -92,16 +92,12 @@ module PulpContainerClient
92
92
  h[k.to_sym] = v
93
93
  }
94
94
 
95
- if attributes.key?(:'name')
96
- self.name = attributes[:'name']
97
- end
98
-
99
95
  if attributes.key?(:'pulp_created')
100
96
  self.pulp_created = attributes[:'pulp_created']
101
97
  end
102
98
 
103
- if attributes.key?(:'description')
104
- self.description = attributes[:'description']
99
+ if attributes.key?(:'manifest_signing_service')
100
+ self.manifest_signing_service = attributes[:'manifest_signing_service']
105
101
  end
106
102
 
107
103
  if attributes.key?(:'pulp_labels')
@@ -110,24 +106,28 @@ module PulpContainerClient
110
106
  end
111
107
  end
112
108
 
113
- if attributes.key?(:'manifest_signing_service')
114
- self.manifest_signing_service = attributes[:'manifest_signing_service']
109
+ if attributes.key?(:'retain_repo_versions')
110
+ self.retain_repo_versions = attributes[:'retain_repo_versions']
115
111
  end
116
112
 
117
- if attributes.key?(:'pulp_href')
118
- self.pulp_href = attributes[:'pulp_href']
113
+ if attributes.key?(:'description')
114
+ self.description = attributes[:'description']
115
+ end
116
+
117
+ if attributes.key?(:'latest_version_href')
118
+ self.latest_version_href = attributes[:'latest_version_href']
119
119
  end
120
120
 
121
121
  if attributes.key?(:'versions_href')
122
122
  self.versions_href = attributes[:'versions_href']
123
123
  end
124
124
 
125
- if attributes.key?(:'latest_version_href')
126
- self.latest_version_href = attributes[:'latest_version_href']
125
+ if attributes.key?(:'pulp_href')
126
+ self.pulp_href = attributes[:'pulp_href']
127
127
  end
128
128
 
129
- if attributes.key?(:'retain_repo_versions')
130
- self.retain_repo_versions = attributes[:'retain_repo_versions']
129
+ if attributes.key?(:'name')
130
+ self.name = attributes[:'name']
131
131
  end
132
132
  end
133
133
 
@@ -135,22 +135,22 @@ module PulpContainerClient
135
135
  # @return Array for valid properties with the reasons
136
136
  def list_invalid_properties
137
137
  invalid_properties = Array.new
138
- if @name.nil?
139
- invalid_properties.push('invalid value for "name", name cannot be nil.')
140
- end
141
-
142
138
  if !@retain_repo_versions.nil? && @retain_repo_versions < 1
143
139
  invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
144
140
  end
145
141
 
142
+ if @name.nil?
143
+ invalid_properties.push('invalid value for "name", name cannot be nil.')
144
+ end
145
+
146
146
  invalid_properties
147
147
  end
148
148
 
149
149
  # Check to see if the all the properties in the model are valid
150
150
  # @return true if the model is valid
151
151
  def valid?
152
- return false if @name.nil?
153
152
  return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
153
+ return false if @name.nil?
154
154
  true
155
155
  end
156
156
 
@@ -169,15 +169,15 @@ module PulpContainerClient
169
169
  def ==(o)
170
170
  return true if self.equal?(o)
171
171
  self.class == o.class &&
172
- name == o.name &&
173
172
  pulp_created == o.pulp_created &&
174
- description == o.description &&
175
- pulp_labels == o.pulp_labels &&
176
173
  manifest_signing_service == o.manifest_signing_service &&
177
- pulp_href == o.pulp_href &&
178
- versions_href == o.versions_href &&
174
+ pulp_labels == o.pulp_labels &&
175
+ retain_repo_versions == o.retain_repo_versions &&
176
+ description == o.description &&
179
177
  latest_version_href == o.latest_version_href &&
180
- retain_repo_versions == o.retain_repo_versions
178
+ versions_href == o.versions_href &&
179
+ pulp_href == o.pulp_href &&
180
+ name == o.name
181
181
  end
182
182
 
183
183
  # @see the `==` method
@@ -189,7 +189,7 @@ module PulpContainerClient
189
189
  # Calculates hash code according to all attributes.
190
190
  # @return [Integer] Hash code
191
191
  def hash
192
- [name, pulp_created, description, pulp_labels, manifest_signing_service, pulp_href, versions_href, latest_version_href, retain_repo_versions].hash
192
+ [pulp_created, manifest_signing_service, pulp_labels, retain_repo_versions, description, latest_version_href, versions_href, pulp_href, name].hash
193
193
  end
194
194
 
195
195
  # Builds the object from hash
@@ -15,23 +15,23 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # A serializer for ContainerDistribution.
17
17
  class PatchedcontainerContainerDistribution
18
- # A unique name. Ex, `rawhide` and `stable`.
19
- attr_accessor :name
20
-
21
18
  # Whether this distribution should be shown in the content app.
22
19
  attr_accessor :hidden
23
20
 
24
- # An optional content-guard. If none is specified, a default one will be used.
25
- attr_accessor :content_guard
26
-
27
21
  attr_accessor :pulp_labels
28
22
 
29
23
  # The latest RepositoryVersion for this Repository will be served.
30
24
  attr_accessor :repository
31
25
 
26
+ # An optional content-guard. If none is specified, a default one will be used.
27
+ attr_accessor :content_guard
28
+
32
29
  # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
33
30
  attr_accessor :base_path
34
31
 
32
+ # A unique name. Ex, `rawhide` and `stable`.
33
+ attr_accessor :name
34
+
35
35
  # RepositoryVersion to be served
36
36
  attr_accessor :repository_version
37
37
 
@@ -44,12 +44,12 @@ module PulpContainerClient
44
44
  # Attribute mapping from ruby-style variable name to JSON key.
45
45
  def self.attribute_map
46
46
  {
47
- :'name' => :'name',
48
47
  :'hidden' => :'hidden',
49
- :'content_guard' => :'content_guard',
50
48
  :'pulp_labels' => :'pulp_labels',
51
49
  :'repository' => :'repository',
50
+ :'content_guard' => :'content_guard',
52
51
  :'base_path' => :'base_path',
52
+ :'name' => :'name',
53
53
  :'repository_version' => :'repository_version',
54
54
  :'private' => :'private',
55
55
  :'description' => :'description'
@@ -59,12 +59,12 @@ module PulpContainerClient
59
59
  # Attribute type mapping.
60
60
  def self.openapi_types
61
61
  {
62
- :'name' => :'String',
63
62
  :'hidden' => :'Boolean',
64
- :'content_guard' => :'String',
65
63
  :'pulp_labels' => :'Hash<String, String>',
66
64
  :'repository' => :'String',
65
+ :'content_guard' => :'String',
67
66
  :'base_path' => :'String',
67
+ :'name' => :'String',
68
68
  :'repository_version' => :'String',
69
69
  :'private' => :'Boolean',
70
70
  :'description' => :'String'
@@ -95,20 +95,12 @@ module PulpContainerClient
95
95
  h[k.to_sym] = v
96
96
  }
97
97
 
98
- if attributes.key?(:'name')
99
- self.name = attributes[:'name']
100
- end
101
-
102
98
  if attributes.key?(:'hidden')
103
99
  self.hidden = attributes[:'hidden']
104
100
  else
105
101
  self.hidden = false
106
102
  end
107
103
 
108
- if attributes.key?(:'content_guard')
109
- self.content_guard = attributes[:'content_guard']
110
- end
111
-
112
104
  if attributes.key?(:'pulp_labels')
113
105
  if (value = attributes[:'pulp_labels']).is_a?(Hash)
114
106
  self.pulp_labels = value
@@ -119,10 +111,18 @@ module PulpContainerClient
119
111
  self.repository = attributes[:'repository']
120
112
  end
121
113
 
114
+ if attributes.key?(:'content_guard')
115
+ self.content_guard = attributes[:'content_guard']
116
+ end
117
+
122
118
  if attributes.key?(:'base_path')
123
119
  self.base_path = attributes[:'base_path']
124
120
  end
125
121
 
122
+ if attributes.key?(:'name')
123
+ self.name = attributes[:'name']
124
+ end
125
+
126
126
  if attributes.key?(:'repository_version')
127
127
  self.repository_version = attributes[:'repository_version']
128
128
  end
@@ -140,14 +140,14 @@ module PulpContainerClient
140
140
  # @return Array for valid properties with the reasons
141
141
  def list_invalid_properties
142
142
  invalid_properties = Array.new
143
- if !@name.nil? && @name.to_s.length < 1
144
- invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
145
- end
146
-
147
143
  if !@base_path.nil? && @base_path.to_s.length < 1
148
144
  invalid_properties.push('invalid value for "base_path", the character length must be great than or equal to 1.')
149
145
  end
150
146
 
147
+ if !@name.nil? && @name.to_s.length < 1
148
+ invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
149
+ end
150
+
151
151
  if !@description.nil? && @description.to_s.length < 1
152
152
  invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
153
153
  end
@@ -158,22 +158,12 @@ module PulpContainerClient
158
158
  # Check to see if the all the properties in the model are valid
159
159
  # @return true if the model is valid
160
160
  def valid?
161
- return false if !@name.nil? && @name.to_s.length < 1
162
161
  return false if !@base_path.nil? && @base_path.to_s.length < 1
162
+ return false if !@name.nil? && @name.to_s.length < 1
163
163
  return false if !@description.nil? && @description.to_s.length < 1
164
164
  true
165
165
  end
166
166
 
167
- # Custom attribute writer method with validation
168
- # @param [Object] name Value to be assigned
169
- def name=(name)
170
- if !name.nil? && name.to_s.length < 1
171
- fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 1.'
172
- end
173
-
174
- @name = name
175
- end
176
-
177
167
  # Custom attribute writer method with validation
178
168
  # @param [Object] base_path Value to be assigned
179
169
  def base_path=(base_path)
@@ -184,6 +174,16 @@ module PulpContainerClient
184
174
  @base_path = base_path
185
175
  end
186
176
 
177
+ # Custom attribute writer method with validation
178
+ # @param [Object] name Value to be assigned
179
+ def name=(name)
180
+ if !name.nil? && name.to_s.length < 1
181
+ fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 1.'
182
+ end
183
+
184
+ @name = name
185
+ end
186
+
187
187
  # Custom attribute writer method with validation
188
188
  # @param [Object] description Value to be assigned
189
189
  def description=(description)
@@ -199,12 +199,12 @@ module PulpContainerClient
199
199
  def ==(o)
200
200
  return true if self.equal?(o)
201
201
  self.class == o.class &&
202
- name == o.name &&
203
202
  hidden == o.hidden &&
204
- content_guard == o.content_guard &&
205
203
  pulp_labels == o.pulp_labels &&
206
204
  repository == o.repository &&
205
+ content_guard == o.content_guard &&
207
206
  base_path == o.base_path &&
207
+ name == o.name &&
208
208
  repository_version == o.repository_version &&
209
209
  private == o.private &&
210
210
  description == o.description
@@ -219,7 +219,7 @@ module PulpContainerClient
219
219
  # Calculates hash code according to all attributes.
220
220
  # @return [Integer] Hash code
221
221
  def hash
222
- [name, hidden, content_guard, pulp_labels, repository, base_path, repository_version, private, description].hash
222
+ [hidden, pulp_labels, repository, content_guard, base_path, name, repository_version, private, description].hash
223
223
  end
224
224
 
225
225
  # Builds the object from hash
@@ -15,48 +15,48 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # Serializer for Container Push Repositories.
17
17
  class PatchedcontainerContainerPushRepository
18
- # A unique name for this repository.
19
- attr_accessor :name
20
-
21
- # An optional description.
22
- attr_accessor :description
23
-
24
- attr_accessor :pulp_labels
25
-
26
18
  # A reference to an associated signing service.
27
19
  attr_accessor :manifest_signing_service
28
20
 
21
+ attr_accessor :pulp_labels
22
+
29
23
  # Retain X versions of the repository. Default is null which retains all versions.
30
24
  attr_accessor :retain_repo_versions
31
25
 
26
+ # An optional description.
27
+ attr_accessor :description
28
+
29
+ # A unique name for this repository.
30
+ attr_accessor :name
31
+
32
32
  # Attribute mapping from ruby-style variable name to JSON key.
33
33
  def self.attribute_map
34
34
  {
35
- :'name' => :'name',
36
- :'description' => :'description',
37
- :'pulp_labels' => :'pulp_labels',
38
35
  :'manifest_signing_service' => :'manifest_signing_service',
39
- :'retain_repo_versions' => :'retain_repo_versions'
36
+ :'pulp_labels' => :'pulp_labels',
37
+ :'retain_repo_versions' => :'retain_repo_versions',
38
+ :'description' => :'description',
39
+ :'name' => :'name'
40
40
  }
41
41
  end
42
42
 
43
43
  # Attribute type mapping.
44
44
  def self.openapi_types
45
45
  {
46
- :'name' => :'String',
47
- :'description' => :'String',
48
- :'pulp_labels' => :'Hash<String, String>',
49
46
  :'manifest_signing_service' => :'String',
50
- :'retain_repo_versions' => :'Integer'
47
+ :'pulp_labels' => :'Hash<String, String>',
48
+ :'retain_repo_versions' => :'Integer',
49
+ :'description' => :'String',
50
+ :'name' => :'String'
51
51
  }
52
52
  end
53
53
 
54
54
  # List of attributes with nullable: true
55
55
  def self.openapi_nullable
56
56
  Set.new([
57
- :'description',
58
57
  :'manifest_signing_service',
59
- :'retain_repo_versions'
58
+ :'retain_repo_versions',
59
+ :'description',
60
60
  ])
61
61
  end
62
62
 
@@ -75,12 +75,8 @@ module PulpContainerClient
75
75
  h[k.to_sym] = v
76
76
  }
77
77
 
78
- if attributes.key?(:'name')
79
- self.name = attributes[:'name']
80
- end
81
-
82
- if attributes.key?(:'description')
83
- self.description = attributes[:'description']
78
+ if attributes.key?(:'manifest_signing_service')
79
+ self.manifest_signing_service = attributes[:'manifest_signing_service']
84
80
  end
85
81
 
86
82
  if attributes.key?(:'pulp_labels')
@@ -89,29 +85,33 @@ module PulpContainerClient
89
85
  end
90
86
  end
91
87
 
92
- if attributes.key?(:'manifest_signing_service')
93
- self.manifest_signing_service = attributes[:'manifest_signing_service']
94
- end
95
-
96
88
  if attributes.key?(:'retain_repo_versions')
97
89
  self.retain_repo_versions = attributes[:'retain_repo_versions']
98
90
  end
91
+
92
+ if attributes.key?(:'description')
93
+ self.description = attributes[:'description']
94
+ end
95
+
96
+ if attributes.key?(:'name')
97
+ self.name = attributes[:'name']
98
+ end
99
99
  end
100
100
 
101
101
  # Show invalid properties with the reasons. Usually used together with valid?
102
102
  # @return Array for valid properties with the reasons
103
103
  def list_invalid_properties
104
104
  invalid_properties = Array.new
105
- if !@name.nil? && @name.to_s.length < 1
106
- invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
105
+ if !@retain_repo_versions.nil? && @retain_repo_versions < 1
106
+ invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
107
107
  end
108
108
 
109
109
  if !@description.nil? && @description.to_s.length < 1
110
110
  invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
111
111
  end
112
112
 
113
- if !@retain_repo_versions.nil? && @retain_repo_versions < 1
114
- invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
113
+ if !@name.nil? && @name.to_s.length < 1
114
+ invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
115
115
  end
116
116
 
117
117
  invalid_properties
@@ -120,20 +120,20 @@ module PulpContainerClient
120
120
  # Check to see if the all the properties in the model are valid
121
121
  # @return true if the model is valid
122
122
  def valid?
123
- return false if !@name.nil? && @name.to_s.length < 1
124
- return false if !@description.nil? && @description.to_s.length < 1
125
123
  return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
124
+ return false if !@description.nil? && @description.to_s.length < 1
125
+ return false if !@name.nil? && @name.to_s.length < 1
126
126
  true
127
127
  end
128
128
 
129
129
  # Custom attribute writer method with validation
130
- # @param [Object] name Value to be assigned
131
- def name=(name)
132
- if !name.nil? && name.to_s.length < 1
133
- fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 1.'
130
+ # @param [Object] retain_repo_versions Value to be assigned
131
+ def retain_repo_versions=(retain_repo_versions)
132
+ if !retain_repo_versions.nil? && retain_repo_versions < 1
133
+ fail ArgumentError, 'invalid value for "retain_repo_versions", must be greater than or equal to 1.'
134
134
  end
135
135
 
136
- @name = name
136
+ @retain_repo_versions = retain_repo_versions
137
137
  end
138
138
 
139
139
  # Custom attribute writer method with validation
@@ -147,13 +147,13 @@ module PulpContainerClient
147
147
  end
148
148
 
149
149
  # Custom attribute writer method with validation
150
- # @param [Object] retain_repo_versions Value to be assigned
151
- def retain_repo_versions=(retain_repo_versions)
152
- if !retain_repo_versions.nil? && retain_repo_versions < 1
153
- fail ArgumentError, 'invalid value for "retain_repo_versions", must be greater than or equal to 1.'
150
+ # @param [Object] name Value to be assigned
151
+ def name=(name)
152
+ if !name.nil? && name.to_s.length < 1
153
+ fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 1.'
154
154
  end
155
155
 
156
- @retain_repo_versions = retain_repo_versions
156
+ @name = name
157
157
  end
158
158
 
159
159
  # Checks equality by comparing each attribute.
@@ -161,11 +161,11 @@ module PulpContainerClient
161
161
  def ==(o)
162
162
  return true if self.equal?(o)
163
163
  self.class == o.class &&
164
- name == o.name &&
165
- description == o.description &&
166
- pulp_labels == o.pulp_labels &&
167
164
  manifest_signing_service == o.manifest_signing_service &&
168
- retain_repo_versions == o.retain_repo_versions
165
+ pulp_labels == o.pulp_labels &&
166
+ retain_repo_versions == o.retain_repo_versions &&
167
+ description == o.description &&
168
+ name == o.name
169
169
  end
170
170
 
171
171
  # @see the `==` method
@@ -177,7 +177,7 @@ module PulpContainerClient
177
177
  # Calculates hash code according to all attributes.
178
178
  # @return [Integer] Hash code
179
179
  def hash
180
- [name, description, pulp_labels, manifest_signing_service, retain_repo_versions].hash
180
+ [manifest_signing_service, pulp_labels, retain_repo_versions, description, name].hash
181
181
  end
182
182
 
183
183
  # Builds the object from hash
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.3.1
11
11
  =end
12
12
 
13
13
  module PulpContainerClient
14
- VERSION = '2.15.4'
14
+ VERSION = '2.16.0'
15
15
  end
@@ -64,13 +64,9 @@ require 'pulp_container_client/models/remove_signatures_response'
64
64
  require 'pulp_container_client/models/repair'
65
65
  require 'pulp_container_client/models/repository_sign'
66
66
  require 'pulp_container_client/models/repository_version_response'
67
- require 'pulp_container_client/models/set_label'
68
- require 'pulp_container_client/models/set_label_response'
69
67
  require 'pulp_container_client/models/tag_copy'
70
68
  require 'pulp_container_client/models/tag_image'
71
69
  require 'pulp_container_client/models/un_tag_image'
72
- require 'pulp_container_client/models/unset_label'
73
- require 'pulp_container_client/models/unset_label_response'
74
70
 
75
71
  # APIs
76
72
  require 'pulp_container_client/api/content_blobs_api'
@@ -78,6 +74,8 @@ require 'pulp_container_client/api/content_manifests_api'
78
74
  require 'pulp_container_client/api/content_signatures_api'
79
75
  require 'pulp_container_client/api/content_tags_api'
80
76
  require 'pulp_container_client/api/distributions_container_api'
77
+ require 'pulp_container_client/api/index_dynamic_api'
78
+ require 'pulp_container_client/api/index_static_api'
81
79
  require 'pulp_container_client/api/pulp_container_namespaces_api'
82
80
  require 'pulp_container_client/api/remotes_container_api'
83
81
  require 'pulp_container_client/api/repositories_container_api'
@@ -43,7 +43,6 @@ describe 'ContentBlobsApi' do
43
43
  # @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;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;digest&#x60; - Digest * &#x60;-digest&#x60; - Digest (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
44
44
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
45
45
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
46
- # @option opts [String] :q
47
46
  # @option opts [String] :repository_version Repository Version referenced by HREF
48
47
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
49
48
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
@@ -44,7 +44,6 @@ describe 'ContentManifestsApi' do
44
44
  # @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;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;digest&#x60; - Digest * &#x60;-digest&#x60; - Digest (descending) * &#x60;schema_version&#x60; - Schema version * &#x60;-schema_version&#x60; - Schema version (descending) * &#x60;media_type&#x60; - Media type * &#x60;-media_type&#x60; - Media type (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
45
45
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
46
46
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
47
- # @option opts [String] :q
48
47
  # @option opts [String] :repository_version Repository Version referenced by HREF
49
48
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
50
49
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
@@ -45,17 +45,12 @@ describe 'ContentSignaturesApi' do
45
45
  # @option opts [String] :name Filter results where name matches value
46
46
  # @option opts [String] :name__contains Filter results where name contains value
47
47
  # @option opts [String] :name__icontains Filter results where name contains value
48
- # @option opts [String] :name__iexact Filter results where name matches value
49
48
  # @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
50
- # @option opts [String] :name__iregex Filter results where name matches regex value
51
- # @option opts [String] :name__istartswith Filter results where name starts with value
52
- # @option opts [String] :name__regex Filter results where name matches regex value
53
49
  # @option opts [String] :name__startswith Filter results where name starts with value
54
50
  # @option opts [Integer] :offset The initial index from which to return the results.
55
51
  # @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;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;digest&#x60; - Digest * &#x60;-digest&#x60; - Digest (descending) * &#x60;type&#x60; - Type * &#x60;-type&#x60; - Type (descending) * &#x60;key_id&#x60; - Key id * &#x60;-key_id&#x60; - Key id (descending) * &#x60;timestamp&#x60; - Timestamp * &#x60;-timestamp&#x60; - Timestamp (descending) * &#x60;creator&#x60; - Creator * &#x60;-creator&#x60; - Creator (descending) * &#x60;data&#x60; - Data * &#x60;-data&#x60; - Data (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
56
52
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
57
53
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
58
- # @option opts [String] :q
59
54
  # @option opts [String] :repository_version Repository Version referenced by HREF
60
55
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
61
56
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF
@@ -45,7 +45,6 @@ describe 'ContentTagsApi' do
45
45
  # @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;upstream_id&#x60; - Upstream id * &#x60;-upstream_id&#x60; - Upstream id (descending) * &#x60;timestamp_of_interest&#x60; - Timestamp of interest * &#x60;-timestamp_of_interest&#x60; - Timestamp of interest (descending) * &#x60;name&#x60; - Name * &#x60;-name&#x60; - Name (descending) * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
46
46
  # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
47
47
  # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
48
- # @option opts [String] :q
49
48
  # @option opts [String] :repository_version Repository Version referenced by HREF
50
49
  # @option opts [String] :repository_version_added Repository Version referenced by HREF
51
50
  # @option opts [String] :repository_version_removed Repository Version referenced by HREF