pulp_container_client 2.16.10 → 2.17.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (45) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +7 -5
  3. data/docs/ContainerContainerDistribution.md +7 -7
  4. data/docs/ContainerContainerDistributionResponse.md +8 -8
  5. data/docs/ContainerContainerPushRepository.md +3 -3
  6. data/docs/ContainerContainerPushRepositoryResponse.md +11 -11
  7. data/docs/ContainerContainerRemoteResponseHiddenFields.md +2 -2
  8. data/docs/ContentBlobsApi.md +1 -1
  9. data/docs/ContentManifestsApi.md +1 -1
  10. data/docs/ContentSignaturesApi.md +1 -1
  11. data/docs/ContentTagsApi.md +1 -1
  12. data/docs/DistributionsContainerApi.md +1 -1
  13. data/docs/IndexDynamicApi.md +50 -0
  14. data/docs/IndexStaticApi.md +50 -0
  15. data/docs/PatchedcontainerContainerDistribution.md +7 -7
  16. data/docs/PatchedcontainerContainerPushRepository.md +3 -3
  17. data/docs/PulpContainerNamespacesApi.md +1 -1
  18. data/docs/RemotesContainerApi.md +1 -1
  19. data/docs/RepositoriesContainerApi.md +1 -1
  20. data/docs/RepositoriesContainerPushApi.md +1 -1
  21. data/docs/RepositoriesContainerPushVersionsApi.md +1 -1
  22. data/docs/RepositoriesContainerVersionsApi.md +1 -1
  23. data/docs/TokenApi.md +1 -1
  24. data/lib/pulp_container_client/api/index_dynamic_api.rb +74 -0
  25. data/lib/pulp_container_client/api/index_static_api.rb +74 -0
  26. data/lib/pulp_container_client/configuration.rb +2 -2
  27. data/lib/pulp_container_client/models/container_container_distribution.rb +26 -26
  28. data/lib/pulp_container_client/models/container_container_distribution_response.rb +32 -32
  29. data/lib/pulp_container_client/models/container_container_push_repository.rb +30 -30
  30. data/lib/pulp_container_client/models/container_container_push_repository_response.rb +46 -46
  31. data/lib/pulp_container_client/models/container_container_remote_response_hidden_fields.rb +0 -10
  32. data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +26 -26
  33. data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +30 -30
  34. data/lib/pulp_container_client/version.rb +1 -1
  35. data/lib/pulp_container_client.rb +2 -0
  36. data/spec/api/index_dynamic_api_spec.rb +45 -0
  37. data/spec/api/index_static_api_spec.rb +45 -0
  38. data/spec/configuration_spec.rb +3 -3
  39. data/spec/models/container_container_distribution_response_spec.rb +6 -6
  40. data/spec/models/container_container_distribution_spec.rb +4 -4
  41. data/spec/models/container_container_push_repository_response_spec.rb +8 -8
  42. data/spec/models/container_container_push_repository_spec.rb +3 -3
  43. data/spec/models/patchedcontainer_container_distribution_spec.rb +4 -4
  44. data/spec/models/patchedcontainer_container_push_repository_spec.rb +3 -3
  45. metadata +76 -68
@@ -15,19 +15,19 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # A serializer for ContainerDistribution.
17
17
  class ContainerContainerDistribution
18
- # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
19
- attr_accessor :base_path
20
-
21
18
  # The latest RepositoryVersion for this Repository will be served.
22
19
  attr_accessor :repository
23
20
 
24
- # An optional content-guard. If none is specified, a default one will be used.
25
- attr_accessor :content_guard
21
+ attr_accessor :pulp_labels
22
+
23
+ # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
24
+ attr_accessor :base_path
26
25
 
27
26
  # Whether this distribution should be shown in the content app.
28
27
  attr_accessor :hidden
29
28
 
30
- attr_accessor :pulp_labels
29
+ # An optional content-guard. If none is specified, a default one will be used.
30
+ attr_accessor :content_guard
31
31
 
32
32
  # A unique name. Ex, `rawhide` and `stable`.
33
33
  attr_accessor :name
@@ -44,11 +44,11 @@ module PulpContainerClient
44
44
  # Attribute mapping from ruby-style variable name to JSON key.
45
45
  def self.attribute_map
46
46
  {
47
- :'base_path' => :'base_path',
48
47
  :'repository' => :'repository',
49
- :'content_guard' => :'content_guard',
50
- :'hidden' => :'hidden',
51
48
  :'pulp_labels' => :'pulp_labels',
49
+ :'base_path' => :'base_path',
50
+ :'hidden' => :'hidden',
51
+ :'content_guard' => :'content_guard',
52
52
  :'name' => :'name',
53
53
  :'repository_version' => :'repository_version',
54
54
  :'private' => :'private',
@@ -59,11 +59,11 @@ module PulpContainerClient
59
59
  # Attribute type mapping.
60
60
  def self.openapi_types
61
61
  {
62
- :'base_path' => :'String',
63
62
  :'repository' => :'String',
64
- :'content_guard' => :'String',
65
- :'hidden' => :'Boolean',
66
63
  :'pulp_labels' => :'Hash<String, String>',
64
+ :'base_path' => :'String',
65
+ :'hidden' => :'Boolean',
66
+ :'content_guard' => :'String',
67
67
  :'name' => :'String',
68
68
  :'repository_version' => :'String',
69
69
  :'private' => :'Boolean',
@@ -95,16 +95,18 @@ module PulpContainerClient
95
95
  h[k.to_sym] = v
96
96
  }
97
97
 
98
- if attributes.key?(:'base_path')
99
- self.base_path = attributes[:'base_path']
100
- end
101
-
102
98
  if attributes.key?(:'repository')
103
99
  self.repository = attributes[:'repository']
104
100
  end
105
101
 
106
- if attributes.key?(:'content_guard')
107
- self.content_guard = attributes[:'content_guard']
102
+ if attributes.key?(:'pulp_labels')
103
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
104
+ self.pulp_labels = value
105
+ end
106
+ end
107
+
108
+ if attributes.key?(:'base_path')
109
+ self.base_path = attributes[:'base_path']
108
110
  end
109
111
 
110
112
  if attributes.key?(:'hidden')
@@ -113,10 +115,8 @@ module PulpContainerClient
113
115
  self.hidden = false
114
116
  end
115
117
 
116
- if attributes.key?(:'pulp_labels')
117
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
118
- self.pulp_labels = value
119
- end
118
+ if attributes.key?(:'content_guard')
119
+ self.content_guard = attributes[:'content_guard']
120
120
  end
121
121
 
122
122
  if attributes.key?(:'name')
@@ -217,11 +217,11 @@ module PulpContainerClient
217
217
  def ==(o)
218
218
  return true if self.equal?(o)
219
219
  self.class == o.class &&
220
- base_path == o.base_path &&
221
220
  repository == o.repository &&
222
- content_guard == o.content_guard &&
223
- hidden == o.hidden &&
224
221
  pulp_labels == o.pulp_labels &&
222
+ base_path == o.base_path &&
223
+ hidden == o.hidden &&
224
+ content_guard == o.content_guard &&
225
225
  name == o.name &&
226
226
  repository_version == o.repository_version &&
227
227
  private == o.private &&
@@ -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
- [base_path, repository, content_guard, hidden, pulp_labels, name, repository_version, private, description].hash
240
+ [repository, pulp_labels, base_path, hidden, content_guard, name, repository_version, private, description].hash
241
241
  end
242
242
 
243
243
  # Builds the object from hash
@@ -18,21 +18,21 @@ module PulpContainerClient
18
18
  # Timestamp of creation.
19
19
  attr_accessor :pulp_created
20
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
21
  # The latest RepositoryVersion for this Repository will be served.
25
22
  attr_accessor :repository
26
23
 
27
- # An optional content-guard. If none is specified, a default one will be used.
28
- attr_accessor :content_guard
24
+ attr_accessor :pulp_labels
29
25
 
30
- attr_accessor :pulp_href
26
+ # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
27
+ attr_accessor :base_path
31
28
 
32
29
  # Whether this distribution should be shown in the content app.
33
30
  attr_accessor :hidden
34
31
 
35
- attr_accessor :pulp_labels
32
+ attr_accessor :pulp_href
33
+
34
+ # An optional content-guard. If none is specified, a default one will be used.
35
+ attr_accessor :content_guard
36
36
 
37
37
  # A unique name. Ex, `rawhide` and `stable`.
38
38
  attr_accessor :name
@@ -56,12 +56,12 @@ module PulpContainerClient
56
56
  def self.attribute_map
57
57
  {
58
58
  :'pulp_created' => :'pulp_created',
59
- :'base_path' => :'base_path',
60
59
  :'repository' => :'repository',
61
- :'content_guard' => :'content_guard',
62
- :'pulp_href' => :'pulp_href',
63
- :'hidden' => :'hidden',
64
60
  :'pulp_labels' => :'pulp_labels',
61
+ :'base_path' => :'base_path',
62
+ :'hidden' => :'hidden',
63
+ :'pulp_href' => :'pulp_href',
64
+ :'content_guard' => :'content_guard',
65
65
  :'name' => :'name',
66
66
  :'repository_version' => :'repository_version',
67
67
  :'registry_path' => :'registry_path',
@@ -75,12 +75,12 @@ module PulpContainerClient
75
75
  def self.openapi_types
76
76
  {
77
77
  :'pulp_created' => :'DateTime',
78
- :'base_path' => :'String',
79
78
  :'repository' => :'String',
80
- :'content_guard' => :'String',
81
- :'pulp_href' => :'String',
82
- :'hidden' => :'Boolean',
83
79
  :'pulp_labels' => :'Hash<String, String>',
80
+ :'base_path' => :'String',
81
+ :'hidden' => :'Boolean',
82
+ :'pulp_href' => :'String',
83
+ :'content_guard' => :'String',
84
84
  :'name' => :'String',
85
85
  :'repository_version' => :'String',
86
86
  :'registry_path' => :'String',
@@ -118,20 +118,18 @@ module PulpContainerClient
118
118
  self.pulp_created = attributes[:'pulp_created']
119
119
  end
120
120
 
121
- if attributes.key?(:'base_path')
122
- self.base_path = attributes[:'base_path']
123
- end
124
-
125
121
  if attributes.key?(:'repository')
126
122
  self.repository = attributes[:'repository']
127
123
  end
128
124
 
129
- if attributes.key?(:'content_guard')
130
- self.content_guard = attributes[:'content_guard']
125
+ if attributes.key?(:'pulp_labels')
126
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
127
+ self.pulp_labels = value
128
+ end
131
129
  end
132
130
 
133
- if attributes.key?(:'pulp_href')
134
- self.pulp_href = attributes[:'pulp_href']
131
+ if attributes.key?(:'base_path')
132
+ self.base_path = attributes[:'base_path']
135
133
  end
136
134
 
137
135
  if attributes.key?(:'hidden')
@@ -140,10 +138,12 @@ module PulpContainerClient
140
138
  self.hidden = false
141
139
  end
142
140
 
143
- if attributes.key?(:'pulp_labels')
144
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
145
- self.pulp_labels = value
146
- end
141
+ if attributes.key?(:'pulp_href')
142
+ self.pulp_href = attributes[:'pulp_href']
143
+ end
144
+
145
+ if attributes.key?(:'content_guard')
146
+ self.content_guard = attributes[:'content_guard']
147
147
  end
148
148
 
149
149
  if attributes.key?(:'name')
@@ -200,12 +200,12 @@ module PulpContainerClient
200
200
  return true if self.equal?(o)
201
201
  self.class == o.class &&
202
202
  pulp_created == o.pulp_created &&
203
- base_path == o.base_path &&
204
203
  repository == o.repository &&
205
- content_guard == o.content_guard &&
206
- pulp_href == o.pulp_href &&
207
- hidden == o.hidden &&
208
204
  pulp_labels == o.pulp_labels &&
205
+ base_path == o.base_path &&
206
+ hidden == o.hidden &&
207
+ pulp_href == o.pulp_href &&
208
+ content_guard == o.content_guard &&
209
209
  name == o.name &&
210
210
  repository_version == o.repository_version &&
211
211
  registry_path == o.registry_path &&
@@ -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
- [pulp_created, base_path, repository, content_guard, pulp_href, hidden, pulp_labels, name, repository_version, registry_path, namespace, private, description].hash
226
+ [pulp_created, repository, pulp_labels, base_path, hidden, pulp_href, content_guard, name, repository_version, registry_path, namespace, private, description].hash
227
227
  end
228
228
 
229
229
  # Builds the object from hash
@@ -20,23 +20,23 @@ module PulpContainerClient
20
20
 
21
21
  attr_accessor :pulp_labels
22
22
 
23
+ # An optional description.
24
+ attr_accessor :description
25
+
23
26
  # Retain X versions of the repository. Default is null which retains all versions.
24
27
  attr_accessor :retain_repo_versions
25
28
 
26
29
  # A unique name for this repository.
27
30
  attr_accessor :name
28
31
 
29
- # An optional description.
30
- attr_accessor :description
31
-
32
32
  # Attribute mapping from ruby-style variable name to JSON key.
33
33
  def self.attribute_map
34
34
  {
35
35
  :'manifest_signing_service' => :'manifest_signing_service',
36
36
  :'pulp_labels' => :'pulp_labels',
37
+ :'description' => :'description',
37
38
  :'retain_repo_versions' => :'retain_repo_versions',
38
- :'name' => :'name',
39
- :'description' => :'description'
39
+ :'name' => :'name'
40
40
  }
41
41
  end
42
42
 
@@ -45,9 +45,9 @@ module PulpContainerClient
45
45
  {
46
46
  :'manifest_signing_service' => :'String',
47
47
  :'pulp_labels' => :'Hash<String, String>',
48
+ :'description' => :'String',
48
49
  :'retain_repo_versions' => :'Integer',
49
- :'name' => :'String',
50
- :'description' => :'String'
50
+ :'name' => :'String'
51
51
  }
52
52
  end
53
53
 
@@ -55,8 +55,8 @@ module PulpContainerClient
55
55
  def self.openapi_nullable
56
56
  Set.new([
57
57
  :'manifest_signing_service',
58
+ :'description',
58
59
  :'retain_repo_versions',
59
- :'description'
60
60
  ])
61
61
  end
62
62
 
@@ -85,6 +85,10 @@ module PulpContainerClient
85
85
  end
86
86
  end
87
87
 
88
+ if attributes.key?(:'description')
89
+ self.description = attributes[:'description']
90
+ end
91
+
88
92
  if attributes.key?(:'retain_repo_versions')
89
93
  self.retain_repo_versions = attributes[:'retain_repo_versions']
90
94
  end
@@ -92,16 +96,16 @@ module PulpContainerClient
92
96
  if attributes.key?(:'name')
93
97
  self.name = attributes[:'name']
94
98
  end
95
-
96
- if attributes.key?(:'description')
97
- self.description = attributes[:'description']
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 !@description.nil? && @description.to_s.length < 1
106
+ invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
107
+ end
108
+
105
109
  if !@retain_repo_versions.nil? && @retain_repo_versions < 1
106
110
  invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
107
111
  end
@@ -114,23 +118,29 @@ 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
 
124
124
  # Check to see if the all the properties in the model are valid
125
125
  # @return true if the model is valid
126
126
  def valid?
127
+ return false if !@description.nil? && @description.to_s.length < 1
127
128
  return false if !@retain_repo_versions.nil? && @retain_repo_versions < 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
 
134
+ # Custom attribute writer method with validation
135
+ # @param [Object] description Value to be assigned
136
+ def description=(description)
137
+ if !description.nil? && description.to_s.length < 1
138
+ fail ArgumentError, 'invalid value for "description", the character length must be great than or equal to 1.'
139
+ end
140
+
141
+ @description = description
142
+ end
143
+
134
144
  # Custom attribute writer method with validation
135
145
  # @param [Object] retain_repo_versions Value to be assigned
136
146
  def retain_repo_versions=(retain_repo_versions)
@@ -155,16 +165,6 @@ 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)
@@ -172,9 +172,9 @@ module PulpContainerClient
172
172
  self.class == o.class &&
173
173
  manifest_signing_service == o.manifest_signing_service &&
174
174
  pulp_labels == o.pulp_labels &&
175
+ description == o.description &&
175
176
  retain_repo_versions == o.retain_repo_versions &&
176
- name == o.name &&
177
- description == o.description
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
- [manifest_signing_service, pulp_labels, retain_repo_versions, name, description].hash
189
+ [manifest_signing_service, pulp_labels, description, retain_repo_versions, name].hash
190
190
  end
191
191
 
192
192
  # Builds the object from hash
@@ -15,56 +15,56 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # Serializer for Container Push Repositories.
17
17
  class ContainerContainerPushRepositoryResponse
18
+ # A reference to an associated signing service.
19
+ attr_accessor :manifest_signing_service
20
+
21
+ attr_accessor :latest_version_href
22
+
18
23
  # Timestamp of creation.
19
24
  attr_accessor :pulp_created
20
25
 
21
- attr_accessor :pulp_href
26
+ attr_accessor :pulp_labels
22
27
 
23
- attr_accessor :latest_version_href
28
+ # An optional description.
29
+ attr_accessor :description
24
30
 
25
31
  attr_accessor :versions_href
26
32
 
27
- # A reference to an associated signing service.
28
- attr_accessor :manifest_signing_service
29
-
30
- attr_accessor :pulp_labels
31
-
32
33
  # Retain X versions of the repository. Default is null which retains all versions.
33
34
  attr_accessor :retain_repo_versions
34
35
 
36
+ attr_accessor :pulp_href
37
+
35
38
  # A unique name for this repository.
36
39
  attr_accessor :name
37
40
 
38
- # An optional description.
39
- attr_accessor :description
40
-
41
41
  # Attribute mapping from ruby-style variable name to JSON key.
42
42
  def self.attribute_map
43
43
  {
44
- :'pulp_created' => :'pulp_created',
45
- :'pulp_href' => :'pulp_href',
46
- :'latest_version_href' => :'latest_version_href',
47
- :'versions_href' => :'versions_href',
48
44
  :'manifest_signing_service' => :'manifest_signing_service',
45
+ :'latest_version_href' => :'latest_version_href',
46
+ :'pulp_created' => :'pulp_created',
49
47
  :'pulp_labels' => :'pulp_labels',
48
+ :'description' => :'description',
49
+ :'versions_href' => :'versions_href',
50
50
  :'retain_repo_versions' => :'retain_repo_versions',
51
- :'name' => :'name',
52
- :'description' => :'description'
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
- :'pulp_created' => :'DateTime',
60
- :'pulp_href' => :'String',
61
- :'latest_version_href' => :'String',
62
- :'versions_href' => :'String',
63
59
  :'manifest_signing_service' => :'String',
60
+ :'latest_version_href' => :'String',
61
+ :'pulp_created' => :'DateTime',
64
62
  :'pulp_labels' => :'Hash<String, String>',
63
+ :'description' => :'String',
64
+ :'versions_href' => :'String',
65
65
  :'retain_repo_versions' => :'Integer',
66
- :'name' => :'String',
67
- :'description' => :'String'
66
+ :'pulp_href' => :'String',
67
+ :'name' => :'String'
68
68
  }
69
69
  end
70
70
 
@@ -72,8 +72,8 @@ module PulpContainerClient
72
72
  def self.openapi_nullable
73
73
  Set.new([
74
74
  :'manifest_signing_service',
75
+ :'description',
75
76
  :'retain_repo_versions',
76
- :'description'
77
77
  ])
78
78
  end
79
79
 
@@ -92,24 +92,16 @@ module PulpContainerClient
92
92
  h[k.to_sym] = v
93
93
  }
94
94
 
95
- if attributes.key?(:'pulp_created')
96
- self.pulp_created = attributes[:'pulp_created']
97
- end
98
-
99
- if attributes.key?(:'pulp_href')
100
- self.pulp_href = attributes[:'pulp_href']
95
+ if attributes.key?(:'manifest_signing_service')
96
+ self.manifest_signing_service = attributes[:'manifest_signing_service']
101
97
  end
102
98
 
103
99
  if attributes.key?(:'latest_version_href')
104
100
  self.latest_version_href = attributes[:'latest_version_href']
105
101
  end
106
102
 
107
- if attributes.key?(:'versions_href')
108
- self.versions_href = attributes[:'versions_href']
109
- end
110
-
111
- if attributes.key?(:'manifest_signing_service')
112
- self.manifest_signing_service = attributes[:'manifest_signing_service']
103
+ if attributes.key?(:'pulp_created')
104
+ self.pulp_created = attributes[:'pulp_created']
113
105
  end
114
106
 
115
107
  if attributes.key?(:'pulp_labels')
@@ -118,16 +110,24 @@ module PulpContainerClient
118
110
  end
119
111
  end
120
112
 
113
+ if attributes.key?(:'description')
114
+ self.description = attributes[:'description']
115
+ end
116
+
117
+ if attributes.key?(:'versions_href')
118
+ self.versions_href = attributes[:'versions_href']
119
+ end
120
+
121
121
  if attributes.key?(:'retain_repo_versions')
122
122
  self.retain_repo_versions = attributes[:'retain_repo_versions']
123
123
  end
124
124
 
125
- if attributes.key?(:'name')
126
- self.name = attributes[:'name']
125
+ if attributes.key?(:'pulp_href')
126
+ self.pulp_href = attributes[:'pulp_href']
127
127
  end
128
128
 
129
- if attributes.key?(:'description')
130
- self.description = attributes[:'description']
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
- pulp_created == o.pulp_created &&
173
- pulp_href == o.pulp_href &&
174
- latest_version_href == o.latest_version_href &&
175
- versions_href == o.versions_href &&
176
172
  manifest_signing_service == o.manifest_signing_service &&
173
+ latest_version_href == o.latest_version_href &&
174
+ pulp_created == o.pulp_created &&
177
175
  pulp_labels == o.pulp_labels &&
176
+ description == o.description &&
177
+ versions_href == o.versions_href &&
178
178
  retain_repo_versions == o.retain_repo_versions &&
179
- name == o.name &&
180
- description == o.description
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
- [pulp_created, pulp_href, latest_version_href, versions_href, manifest_signing_service, pulp_labels, retain_repo_versions, name, description].hash
192
+ [manifest_signing_service, latest_version_href, pulp_created, pulp_labels, description, versions_href, retain_repo_versions, pulp_href, name].hash
193
193
  end
194
194
 
195
195
  # Builds the object from hash
@@ -68,22 +68,12 @@ module PulpContainerClient
68
68
  # @return Array for valid properties with the reasons
69
69
  def list_invalid_properties
70
70
  invalid_properties = Array.new
71
- if @name.nil?
72
- invalid_properties.push('invalid value for "name", name cannot be nil.')
73
- end
74
-
75
- if @is_set.nil?
76
- invalid_properties.push('invalid value for "is_set", is_set cannot be nil.')
77
- end
78
-
79
71
  invalid_properties
80
72
  end
81
73
 
82
74
  # Check to see if the all the properties in the model are valid
83
75
  # @return true if the model is valid
84
76
  def valid?
85
- return false if @name.nil?
86
- return false if @is_set.nil?
87
77
  true
88
78
  end
89
79