pulp_container_client 2.15.1 → 2.16.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (38) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +6 -4
  3. data/docs/ContainerContainerDistribution.md +7 -7
  4. data/docs/ContainerContainerDistributionResponse.md +7 -7
  5. data/docs/ContainerContainerPushRepository.md +7 -7
  6. data/docs/ContainerContainerPushRepositoryResponse.md +11 -11
  7. data/docs/ContentManifestsApi.md +2 -2
  8. data/docs/ContentTagsApi.md +2 -2
  9. data/docs/IndexDynamicApi.md +50 -0
  10. data/docs/IndexStaticApi.md +50 -0
  11. data/docs/PatchedcontainerContainerDistribution.md +7 -7
  12. data/docs/PatchedcontainerContainerPushRepository.md +7 -7
  13. data/docs/RepositoriesContainerApi.md +1 -1
  14. data/lib/pulp_container_client/api/content_manifests_api.rb +2 -2
  15. data/lib/pulp_container_client/api/content_tags_api.rb +2 -2
  16. data/lib/pulp_container_client/api/index_dynamic_api.rb +74 -0
  17. data/lib/pulp_container_client/api/index_static_api.rb +74 -0
  18. data/lib/pulp_container_client/api/repositories_container_api.rb +2 -2
  19. data/lib/pulp_container_client/models/container_container_distribution.rb +30 -30
  20. data/lib/pulp_container_client/models/container_container_distribution_response.rb +31 -31
  21. data/lib/pulp_container_client/models/container_container_push_repository.rb +45 -45
  22. data/lib/pulp_container_client/models/container_container_push_repository_response.rb +43 -43
  23. data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +30 -30
  24. data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +45 -45
  25. data/lib/pulp_container_client/version.rb +1 -1
  26. data/lib/pulp_container_client.rb +2 -0
  27. data/spec/api/content_manifests_api_spec.rb +1 -1
  28. data/spec/api/content_tags_api_spec.rb +1 -1
  29. data/spec/api/index_dynamic_api_spec.rb +45 -0
  30. data/spec/api/index_static_api_spec.rb +45 -0
  31. data/spec/api/repositories_container_api_spec.rb +1 -1
  32. data/spec/models/container_container_distribution_response_spec.rb +8 -8
  33. data/spec/models/container_container_distribution_spec.rb +6 -6
  34. data/spec/models/container_container_push_repository_response_spec.rb +7 -7
  35. data/spec/models/container_container_push_repository_spec.rb +5 -5
  36. data/spec/models/patchedcontainer_container_distribution_spec.rb +6 -6
  37. data/spec/models/patchedcontainer_container_push_repository_spec.rb +5 -5
  38. metadata +56 -48
@@ -158,7 +158,7 @@ module PulpContainerClient
158
158
  end
159
159
 
160
160
  # Build an Image
161
- # Trigger an asynchronous task to build an OCI image from a Containerfile. A new repository version is created with the new image and tag. This API is tech preview in Pulp Container 1.1. Backwards compatibility when upgrading is not guaranteed.
161
+ # Trigger an asynchronous task to build an OCI image from a Containerfile. A new repository version is created with the new image and tag. This API is in tech preview. Backwards compatibility when upgrading is not guaranteed.
162
162
  # @param container_container_repository_href [String]
163
163
  # @param [Hash] opts the optional parameters
164
164
  # @option opts [String] :containerfile_artifact Artifact representing the Containerfile that should be used to run podman-build.
@@ -172,7 +172,7 @@ module PulpContainerClient
172
172
  end
173
173
 
174
174
  # Build an Image
175
- # Trigger an asynchronous task to build an OCI image from a Containerfile. A new repository version is created with the new image and tag. This API is tech preview in Pulp Container 1.1. Backwards compatibility when upgrading is not guaranteed.
175
+ # Trigger an asynchronous task to build an OCI image from a Containerfile. A new repository version is created with the new image and tag. This API is in tech preview. Backwards compatibility when upgrading is not guaranteed.
176
176
  # @param container_container_repository_href [String]
177
177
  # @param [Hash] opts the optional parameters
178
178
  # @option opts [String] :containerfile_artifact Artifact representing the Containerfile that should be used to run podman-build.
@@ -15,23 +15,23 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # A serializer for ContainerDistribution.
17
17
  class ContainerContainerDistribution
18
+ # Whether this distribution should be shown in the content app.
19
+ attr_accessor :hidden
20
+
21
+ attr_accessor :pulp_labels
22
+
18
23
  # The latest RepositoryVersion for this Repository will be served.
19
24
  attr_accessor :repository
20
25
 
26
+ # An optional content-guard. If none is specified, a default one will be used.
27
+ attr_accessor :content_guard
28
+
21
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\")
22
30
  attr_accessor :base_path
23
31
 
24
32
  # A unique name. Ex, `rawhide` and `stable`.
25
33
  attr_accessor :name
26
34
 
27
- # Whether this distribution should be shown in the content app.
28
- attr_accessor :hidden
29
-
30
- attr_accessor :pulp_labels
31
-
32
- # An optional content-guard. If none is specified, a default one will be used.
33
- attr_accessor :content_guard
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
- :'repository' => :'repository',
48
- :'base_path' => :'base_path',
49
- :'name' => :'name',
50
47
  :'hidden' => :'hidden',
51
48
  :'pulp_labels' => :'pulp_labels',
49
+ :'repository' => :'repository',
52
50
  :'content_guard' => :'content_guard',
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
- :'repository' => :'String',
63
- :'base_path' => :'String',
64
- :'name' => :'String',
65
62
  :'hidden' => :'Boolean',
66
63
  :'pulp_labels' => :'Hash<String, String>',
64
+ :'repository' => :'String',
67
65
  :'content_guard' => :'String',
66
+ :'base_path' => :'String',
67
+ :'name' => :'String',
68
68
  :'repository_version' => :'String',
69
69
  :'private' => :'Boolean',
70
70
  :'description' => :'String'
@@ -95,18 +95,6 @@ module PulpContainerClient
95
95
  h[k.to_sym] = v
96
96
  }
97
97
 
98
- if attributes.key?(:'repository')
99
- self.repository = attributes[:'repository']
100
- end
101
-
102
- if attributes.key?(:'base_path')
103
- self.base_path = attributes[:'base_path']
104
- end
105
-
106
- if attributes.key?(:'name')
107
- self.name = attributes[:'name']
108
- end
109
-
110
98
  if attributes.key?(:'hidden')
111
99
  self.hidden = attributes[:'hidden']
112
100
  else
@@ -119,10 +107,22 @@ module PulpContainerClient
119
107
  end
120
108
  end
121
109
 
110
+ if attributes.key?(:'repository')
111
+ self.repository = attributes[:'repository']
112
+ end
113
+
122
114
  if attributes.key?(:'content_guard')
123
115
  self.content_guard = attributes[:'content_guard']
124
116
  end
125
117
 
118
+ if attributes.key?(:'base_path')
119
+ self.base_path = attributes[:'base_path']
120
+ end
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
@@ -217,12 +217,12 @@ module PulpContainerClient
217
217
  def ==(o)
218
218
  return true if self.equal?(o)
219
219
  self.class == o.class &&
220
- repository == o.repository &&
221
- base_path == o.base_path &&
222
- name == o.name &&
223
220
  hidden == o.hidden &&
224
221
  pulp_labels == o.pulp_labels &&
222
+ repository == o.repository &&
225
223
  content_guard == o.content_guard &&
224
+ base_path == o.base_path &&
225
+ name == o.name &&
226
226
  repository_version == o.repository_version &&
227
227
  private == o.private &&
228
228
  description == o.description
@@ -237,7 +237,7 @@ module PulpContainerClient
237
237
  # Calculates hash code according to all attributes.
238
238
  # @return [Integer] Hash code
239
239
  def hash
240
- [repository, base_path, name, hidden, pulp_labels, content_guard, repository_version, private, description].hash
240
+ [hidden, pulp_labels, repository, content_guard, base_path, name, repository_version, private, description].hash
241
241
  end
242
242
 
243
243
  # Builds the object from hash
@@ -15,28 +15,28 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # A serializer for ContainerDistribution.
17
17
  class ContainerContainerDistributionResponse
18
- # The latest RepositoryVersion for this Repository will be served.
19
- attr_accessor :repository
20
-
21
- # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
22
- attr_accessor :base_path
23
-
24
18
  # Timestamp of creation.
25
19
  attr_accessor :pulp_created
26
20
 
27
- # A unique name. Ex, `rawhide` and `stable`.
28
- attr_accessor :name
29
-
30
21
  # Whether this distribution should be shown in the content app.
31
22
  attr_accessor :hidden
32
23
 
33
24
  attr_accessor :pulp_labels
34
25
 
26
+ # The latest RepositoryVersion for this Repository will be served.
27
+ attr_accessor :repository
28
+
35
29
  attr_accessor :pulp_href
36
30
 
37
31
  # An optional content-guard. If none is specified, a default one will be used.
38
32
  attr_accessor :content_guard
39
33
 
34
+ # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
35
+ attr_accessor :base_path
36
+
37
+ # A unique name. Ex, `rawhide` and `stable`.
38
+ attr_accessor :name
39
+
40
40
  # RepositoryVersion to be served
41
41
  attr_accessor :repository_version
42
42
 
@@ -55,14 +55,14 @@ module PulpContainerClient
55
55
  # Attribute mapping from ruby-style variable name to JSON key.
56
56
  def self.attribute_map
57
57
  {
58
- :'repository' => :'repository',
59
- :'base_path' => :'base_path',
60
58
  :'pulp_created' => :'pulp_created',
61
- :'name' => :'name',
62
59
  :'hidden' => :'hidden',
63
60
  :'pulp_labels' => :'pulp_labels',
61
+ :'repository' => :'repository',
64
62
  :'pulp_href' => :'pulp_href',
65
63
  :'content_guard' => :'content_guard',
64
+ :'base_path' => :'base_path',
65
+ :'name' => :'name',
66
66
  :'repository_version' => :'repository_version',
67
67
  :'registry_path' => :'registry_path',
68
68
  :'namespace' => :'namespace',
@@ -74,14 +74,14 @@ module PulpContainerClient
74
74
  # Attribute type mapping.
75
75
  def self.openapi_types
76
76
  {
77
- :'repository' => :'String',
78
- :'base_path' => :'String',
79
77
  :'pulp_created' => :'DateTime',
80
- :'name' => :'String',
81
78
  :'hidden' => :'Boolean',
82
79
  :'pulp_labels' => :'Hash<String, String>',
80
+ :'repository' => :'String',
83
81
  :'pulp_href' => :'String',
84
82
  :'content_guard' => :'String',
83
+ :'base_path' => :'String',
84
+ :'name' => :'String',
85
85
  :'repository_version' => :'String',
86
86
  :'registry_path' => :'String',
87
87
  :'namespace' => :'String',
@@ -114,22 +114,10 @@ module PulpContainerClient
114
114
  h[k.to_sym] = v
115
115
  }
116
116
 
117
- if attributes.key?(:'repository')
118
- self.repository = attributes[:'repository']
119
- end
120
-
121
- if attributes.key?(:'base_path')
122
- self.base_path = attributes[:'base_path']
123
- end
124
-
125
117
  if attributes.key?(:'pulp_created')
126
118
  self.pulp_created = attributes[:'pulp_created']
127
119
  end
128
120
 
129
- if attributes.key?(:'name')
130
- self.name = attributes[:'name']
131
- end
132
-
133
121
  if attributes.key?(:'hidden')
134
122
  self.hidden = attributes[:'hidden']
135
123
  else
@@ -142,6 +130,10 @@ module PulpContainerClient
142
130
  end
143
131
  end
144
132
 
133
+ if attributes.key?(:'repository')
134
+ self.repository = attributes[:'repository']
135
+ end
136
+
145
137
  if attributes.key?(:'pulp_href')
146
138
  self.pulp_href = attributes[:'pulp_href']
147
139
  end
@@ -150,6 +142,14 @@ module PulpContainerClient
150
142
  self.content_guard = attributes[:'content_guard']
151
143
  end
152
144
 
145
+ if attributes.key?(:'base_path')
146
+ self.base_path = attributes[:'base_path']
147
+ end
148
+
149
+ if attributes.key?(:'name')
150
+ self.name = attributes[:'name']
151
+ end
152
+
153
153
  if attributes.key?(:'repository_version')
154
154
  self.repository_version = attributes[:'repository_version']
155
155
  end
@@ -199,14 +199,14 @@ module PulpContainerClient
199
199
  def ==(o)
200
200
  return true if self.equal?(o)
201
201
  self.class == o.class &&
202
- repository == o.repository &&
203
- base_path == o.base_path &&
204
202
  pulp_created == o.pulp_created &&
205
- name == o.name &&
206
203
  hidden == o.hidden &&
207
204
  pulp_labels == o.pulp_labels &&
205
+ repository == o.repository &&
208
206
  pulp_href == o.pulp_href &&
209
207
  content_guard == o.content_guard &&
208
+ base_path == o.base_path &&
209
+ name == o.name &&
210
210
  repository_version == o.repository_version &&
211
211
  registry_path == o.registry_path &&
212
212
  namespace == o.namespace &&
@@ -223,7 +223,7 @@ module PulpContainerClient
223
223
  # Calculates hash code according to all attributes.
224
224
  # @return [Integer] Hash code
225
225
  def hash
226
- [repository, base_path, pulp_created, name, hidden, pulp_labels, pulp_href, content_guard, repository_version, registry_path, namespace, private, description].hash
226
+ [pulp_created, hidden, pulp_labels, repository, pulp_href, content_guard, base_path, name, repository_version, registry_path, namespace, private, description].hash
227
227
  end
228
228
 
229
229
  # 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 ContainerContainerPushRepository
18
+ # A reference to an associated signing service.
19
+ attr_accessor :manifest_signing_service
20
+
21
+ attr_accessor :pulp_labels
22
+
18
23
  # Retain X versions of the repository. Default is null which retains all versions.
19
24
  attr_accessor :retain_repo_versions
20
25
 
21
- # A unique name for this repository.
22
- attr_accessor :name
23
-
24
26
  # An optional description.
25
27
  attr_accessor :description
26
28
 
27
- # A reference to an associated signing service.
28
- attr_accessor :manifest_signing_service
29
-
30
- attr_accessor :pulp_labels
29
+ # A unique name for this repository.
30
+ attr_accessor :name
31
31
 
32
32
  # Attribute mapping from ruby-style variable name to JSON key.
33
33
  def self.attribute_map
34
34
  {
35
+ :'manifest_signing_service' => :'manifest_signing_service',
36
+ :'pulp_labels' => :'pulp_labels',
35
37
  :'retain_repo_versions' => :'retain_repo_versions',
36
- :'name' => :'name',
37
38
  :'description' => :'description',
38
- :'manifest_signing_service' => :'manifest_signing_service',
39
- :'pulp_labels' => :'pulp_labels'
39
+ :'name' => :'name'
40
40
  }
41
41
  end
42
42
 
43
43
  # Attribute type mapping.
44
44
  def self.openapi_types
45
45
  {
46
+ :'manifest_signing_service' => :'String',
47
+ :'pulp_labels' => :'Hash<String, String>',
46
48
  :'retain_repo_versions' => :'Integer',
47
- :'name' => :'String',
48
49
  :'description' => :'String',
49
- :'manifest_signing_service' => :'String',
50
- :'pulp_labels' => :'Hash<String, 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
+ :'manifest_signing_service',
57
58
  :'retain_repo_versions',
58
59
  :'description',
59
- :'manifest_signing_service',
60
60
  ])
61
61
  end
62
62
 
@@ -75,18 +75,6 @@ module PulpContainerClient
75
75
  h[k.to_sym] = v
76
76
  }
77
77
 
78
- if attributes.key?(:'retain_repo_versions')
79
- self.retain_repo_versions = attributes[:'retain_repo_versions']
80
- end
81
-
82
- if attributes.key?(:'name')
83
- self.name = attributes[:'name']
84
- end
85
-
86
- if attributes.key?(:'description')
87
- self.description = attributes[:'description']
88
- end
89
-
90
78
  if attributes.key?(:'manifest_signing_service')
91
79
  self.manifest_signing_service = attributes[:'manifest_signing_service']
92
80
  end
@@ -96,6 +84,18 @@ module PulpContainerClient
96
84
  self.pulp_labels = value
97
85
  end
98
86
  end
87
+
88
+ if attributes.key?(:'retain_repo_versions')
89
+ self.retain_repo_versions = attributes[:'retain_repo_versions']
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?
@@ -106,6 +106,10 @@ module PulpContainerClient
106
106
  invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
107
107
  end
108
108
 
109
+ if !@description.nil? && @description.to_s.length < 1
110
+ invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
111
+ end
112
+
109
113
  if @name.nil?
110
114
  invalid_properties.push('invalid value for "name", name cannot be nil.')
111
115
  end
@@ -114,10 +118,6 @@ module PulpContainerClient
114
118
  invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
115
119
  end
116
120
 
117
- if !@description.nil? && @description.to_s.length < 1
118
- invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
119
- end
120
-
121
121
  invalid_properties
122
122
  end
123
123
 
@@ -125,9 +125,9 @@ module PulpContainerClient
125
125
  # @return true if the model is valid
126
126
  def valid?
127
127
  return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
128
+ return false if !@description.nil? && @description.to_s.length < 1
128
129
  return false if @name.nil?
129
130
  return false if @name.to_s.length < 1
130
- return false if !@description.nil? && @description.to_s.length < 1
131
131
  true
132
132
  end
133
133
 
@@ -141,6 +141,16 @@ module PulpContainerClient
141
141
  @retain_repo_versions = retain_repo_versions
142
142
  end
143
143
 
144
+ # Custom attribute writer method with validation
145
+ # @param [Object] description Value to be assigned
146
+ def description=(description)
147
+ if !description.nil? && description.to_s.length < 1
148
+ fail ArgumentError, 'invalid value for "description", the character length must be great than or equal to 1.'
149
+ end
150
+
151
+ @description = description
152
+ end
153
+
144
154
  # Custom attribute writer method with validation
145
155
  # @param [Object] name Value to be assigned
146
156
  def name=(name)
@@ -155,26 +165,16 @@ module PulpContainerClient
155
165
  @name = name
156
166
  end
157
167
 
158
- # Custom attribute writer method with validation
159
- # @param [Object] description Value to be assigned
160
- def description=(description)
161
- if !description.nil? && description.to_s.length < 1
162
- fail ArgumentError, 'invalid value for "description", the character length must be great than or equal to 1.'
163
- end
164
-
165
- @description = description
166
- end
167
-
168
168
  # Checks equality by comparing each attribute.
169
169
  # @param [Object] Object to be compared
170
170
  def ==(o)
171
171
  return true if self.equal?(o)
172
172
  self.class == o.class &&
173
+ manifest_signing_service == o.manifest_signing_service &&
174
+ pulp_labels == o.pulp_labels &&
173
175
  retain_repo_versions == o.retain_repo_versions &&
174
- name == o.name &&
175
176
  description == o.description &&
176
- manifest_signing_service == o.manifest_signing_service &&
177
- pulp_labels == o.pulp_labels
177
+ name == o.name
178
178
  end
179
179
 
180
180
  # @see the `==` method
@@ -186,7 +186,7 @@ module PulpContainerClient
186
186
  # Calculates hash code according to all attributes.
187
187
  # @return [Integer] Hash code
188
188
  def hash
189
- [retain_repo_versions, name, description, manifest_signing_service, pulp_labels].hash
189
+ [manifest_signing_service, pulp_labels, retain_repo_versions, description, name].hash
190
190
  end
191
191
 
192
192
  # Builds the object from hash
@@ -15,65 +15,65 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # Serializer for Container Push Repositories.
17
17
  class ContainerContainerPushRepositoryResponse
18
- # Retain X versions of the repository. Default is null which retains all versions.
19
- attr_accessor :retain_repo_versions
20
-
21
18
  # Timestamp of creation.
22
19
  attr_accessor :pulp_created
23
20
 
24
- # A unique name for this repository.
25
- attr_accessor :name
21
+ # A reference to an associated signing service.
22
+ attr_accessor :manifest_signing_service
23
+
24
+ attr_accessor :pulp_labels
25
+
26
+ # Retain X versions of the repository. Default is null which retains all versions.
27
+ attr_accessor :retain_repo_versions
26
28
 
27
29
  # An optional description.
28
30
  attr_accessor :description
29
31
 
30
- # A reference to an associated signing service.
31
- attr_accessor :manifest_signing_service
32
-
33
32
  attr_accessor :latest_version_href
34
33
 
35
- attr_accessor :pulp_labels
34
+ attr_accessor :versions_href
36
35
 
37
36
  attr_accessor :pulp_href
38
37
 
39
- attr_accessor :versions_href
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
- :'retain_repo_versions' => :'retain_repo_versions',
45
44
  :'pulp_created' => :'pulp_created',
46
- :'name' => :'name',
47
- :'description' => :'description',
48
45
  :'manifest_signing_service' => :'manifest_signing_service',
49
- :'latest_version_href' => :'latest_version_href',
50
46
  :'pulp_labels' => :'pulp_labels',
47
+ :'retain_repo_versions' => :'retain_repo_versions',
48
+ :'description' => :'description',
49
+ :'latest_version_href' => :'latest_version_href',
50
+ :'versions_href' => :'versions_href',
51
51
  :'pulp_href' => :'pulp_href',
52
- :'versions_href' => :'versions_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
- :'retain_repo_versions' => :'Integer',
60
59
  :'pulp_created' => :'DateTime',
61
- :'name' => :'String',
62
- :'description' => :'String',
63
60
  :'manifest_signing_service' => :'String',
64
- :'latest_version_href' => :'String',
65
61
  :'pulp_labels' => :'Hash<String, String>',
62
+ :'retain_repo_versions' => :'Integer',
63
+ :'description' => :'String',
64
+ :'latest_version_href' => :'String',
65
+ :'versions_href' => :'String',
66
66
  :'pulp_href' => :'String',
67
- :'versions_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
+ :'manifest_signing_service',
74
75
  :'retain_repo_versions',
75
76
  :'description',
76
- :'manifest_signing_service',
77
77
  ])
78
78
  end
79
79
 
@@ -92,42 +92,42 @@ module PulpContainerClient
92
92
  h[k.to_sym] = v
93
93
  }
94
94
 
95
- if attributes.key?(:'retain_repo_versions')
96
- self.retain_repo_versions = attributes[:'retain_repo_versions']
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?(:'name')
104
- self.name = attributes[:'name']
99
+ if attributes.key?(:'manifest_signing_service')
100
+ self.manifest_signing_service = attributes[:'manifest_signing_service']
105
101
  end
106
102
 
107
- if attributes.key?(:'description')
108
- self.description = attributes[:'description']
103
+ if attributes.key?(:'pulp_labels')
104
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
105
+ self.pulp_labels = value
106
+ end
109
107
  end
110
108
 
111
- if attributes.key?(:'manifest_signing_service')
112
- self.manifest_signing_service = attributes[:'manifest_signing_service']
109
+ if attributes.key?(:'retain_repo_versions')
110
+ self.retain_repo_versions = attributes[:'retain_repo_versions']
111
+ end
112
+
113
+ if attributes.key?(:'description')
114
+ self.description = attributes[:'description']
113
115
  end
114
116
 
115
117
  if attributes.key?(:'latest_version_href')
116
118
  self.latest_version_href = attributes[:'latest_version_href']
117
119
  end
118
120
 
119
- if attributes.key?(:'pulp_labels')
120
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
121
- self.pulp_labels = value
122
- end
121
+ if attributes.key?(:'versions_href')
122
+ self.versions_href = attributes[:'versions_href']
123
123
  end
124
124
 
125
125
  if attributes.key?(:'pulp_href')
126
126
  self.pulp_href = attributes[:'pulp_href']
127
127
  end
128
128
 
129
- if attributes.key?(:'versions_href')
130
- self.versions_href = attributes[:'versions_href']
129
+ if attributes.key?(:'name')
130
+ self.name = attributes[:'name']
131
131
  end
132
132
  end
133
133
 
@@ -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
- retain_repo_versions == o.retain_repo_versions &&
173
172
  pulp_created == o.pulp_created &&
174
- name == o.name &&
175
- description == o.description &&
176
173
  manifest_signing_service == o.manifest_signing_service &&
177
- latest_version_href == o.latest_version_href &&
178
174
  pulp_labels == o.pulp_labels &&
175
+ retain_repo_versions == o.retain_repo_versions &&
176
+ description == o.description &&
177
+ latest_version_href == o.latest_version_href &&
178
+ versions_href == o.versions_href &&
179
179
  pulp_href == o.pulp_href &&
180
- versions_href == o.versions_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
- [retain_repo_versions, pulp_created, name, description, manifest_signing_service, latest_version_href, pulp_labels, pulp_href, versions_href].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