pulp_container_client 2.26.0 → 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 (31) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -4
  3. data/docs/ContainerContainerDistribution.md +2 -2
  4. data/docs/ContainerContainerDistributionResponse.md +10 -10
  5. data/docs/ContainerContainerPullThroughDistribution.md +2 -2
  6. data/docs/ContainerContainerPullThroughDistributionResponse.md +10 -10
  7. data/docs/ContainerContainerPushRepository.md +8 -8
  8. data/docs/ContainerContainerPushRepositoryResponse.md +16 -16
  9. data/docs/PatchedcontainerContainerDistribution.md +2 -2
  10. data/docs/PatchedcontainerContainerPullThroughDistribution.md +2 -2
  11. data/docs/PatchedcontainerContainerPushRepository.md +8 -8
  12. data/lib/pulp_container_client/models/container_container_distribution.rb +11 -11
  13. data/lib/pulp_container_client/models/container_container_distribution_response.rb +42 -42
  14. data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +11 -11
  15. data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +42 -42
  16. data/lib/pulp_container_client/models/container_container_push_repository.rb +49 -49
  17. data/lib/pulp_container_client/models/container_container_push_repository_response.rb +67 -67
  18. data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +11 -11
  19. data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +11 -11
  20. data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +47 -47
  21. data/lib/pulp_container_client/version.rb +1 -1
  22. data/spec/models/container_container_distribution_response_spec.rb +8 -8
  23. data/spec/models/container_container_distribution_spec.rb +4 -4
  24. data/spec/models/container_container_pull_through_distribution_response_spec.rb +8 -8
  25. data/spec/models/container_container_pull_through_distribution_spec.rb +4 -4
  26. data/spec/models/container_container_push_repository_response_spec.rb +10 -10
  27. data/spec/models/container_container_push_repository_spec.rb +4 -4
  28. data/spec/models/patchedcontainer_container_distribution_spec.rb +4 -4
  29. data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +4 -4
  30. data/spec/models/patchedcontainer_container_push_repository_spec.rb +4 -4
  31. metadata +61 -61
@@ -19,9 +19,6 @@ module PulpContainerClient
19
19
  # A unique name. Ex, `rawhide` and `stable`.
20
20
  attr_accessor :name
21
21
 
22
- # An optional content-guard. If none is specified, a default one will be used.
23
- attr_accessor :content_guard
24
-
25
22
  # The latest RepositoryVersion for this Repository will be served.
26
23
  attr_accessor :repository
27
24
 
@@ -30,6 +27,9 @@ module PulpContainerClient
30
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\")
31
28
  attr_accessor :base_path
32
29
 
30
+ # An optional content-guard. If none is specified, a default one will be used.
31
+ attr_accessor :content_guard
32
+
33
33
  # Whether this distribution should be shown in the content app.
34
34
  attr_accessor :hidden
35
35
 
@@ -49,10 +49,10 @@ module PulpContainerClient
49
49
  def self.attribute_map
50
50
  {
51
51
  :'name' => :'name',
52
- :'content_guard' => :'content_guard',
53
52
  :'repository' => :'repository',
54
53
  :'pulp_labels' => :'pulp_labels',
55
54
  :'base_path' => :'base_path',
55
+ :'content_guard' => :'content_guard',
56
56
  :'hidden' => :'hidden',
57
57
  :'remote' => :'remote',
58
58
  :'distributions' => :'distributions',
@@ -70,10 +70,10 @@ module PulpContainerClient
70
70
  def self.openapi_types
71
71
  {
72
72
  :'name' => :'String',
73
- :'content_guard' => :'String',
74
73
  :'repository' => :'String',
75
74
  :'pulp_labels' => :'Hash<String, String>',
76
75
  :'base_path' => :'String',
76
+ :'content_guard' => :'String',
77
77
  :'hidden' => :'Boolean',
78
78
  :'remote' => :'String',
79
79
  :'distributions' => :'Array<String>',
@@ -111,10 +111,6 @@ module PulpContainerClient
111
111
  self.name = nil
112
112
  end
113
113
 
114
- if attributes.key?(:'content_guard')
115
- self.content_guard = attributes[:'content_guard']
116
- end
117
-
118
114
  if attributes.key?(:'repository')
119
115
  self.repository = attributes[:'repository']
120
116
  end
@@ -131,6 +127,10 @@ module PulpContainerClient
131
127
  self.base_path = nil
132
128
  end
133
129
 
130
+ if attributes.key?(:'content_guard')
131
+ self.content_guard = attributes[:'content_guard']
132
+ end
133
+
134
134
  if attributes.key?(:'hidden')
135
135
  self.hidden = attributes[:'hidden']
136
136
  else
@@ -247,10 +247,10 @@ module PulpContainerClient
247
247
  return true if self.equal?(o)
248
248
  self.class == o.class &&
249
249
  name == o.name &&
250
- content_guard == o.content_guard &&
251
250
  repository == o.repository &&
252
251
  pulp_labels == o.pulp_labels &&
253
252
  base_path == o.base_path &&
253
+ content_guard == o.content_guard &&
254
254
  hidden == o.hidden &&
255
255
  remote == o.remote &&
256
256
  distributions == o.distributions &&
@@ -267,7 +267,7 @@ module PulpContainerClient
267
267
  # Calculates hash code according to all attributes.
268
268
  # @return [Integer] Hash code
269
269
  def hash
270
- [name, content_guard, repository, pulp_labels, base_path, hidden, remote, distributions, private, description].hash
270
+ [name, repository, pulp_labels, base_path, content_guard, hidden, remote, distributions, private, description].hash
271
271
  end
272
272
 
273
273
  # Builds the object from hash
@@ -16,14 +16,20 @@ require 'time'
16
16
  module PulpContainerClient
17
17
  # A serializer for a specialized pull-through distribution referencing sub-distributions.
18
18
  class ContainerContainerPullThroughDistributionResponse
19
- # Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.
20
- attr_accessor :pulp_last_updated
19
+ # Timestamp of creation.
20
+ attr_accessor :pulp_created
21
21
 
22
22
  # A unique name. Ex, `rawhide` and `stable`.
23
23
  attr_accessor :name
24
24
 
25
- # An optional content-guard. If none is specified, a default one will be used.
26
- attr_accessor :content_guard
25
+ # Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
26
+ attr_accessor :no_content_change_since
27
+
28
+ # Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.
29
+ attr_accessor :pulp_last_updated
30
+
31
+ # The Pulp Resource Name (PRN).
32
+ attr_accessor :prn
27
33
 
28
34
  # The latest RepositoryVersion for this Repository will be served.
29
35
  attr_accessor :repository
@@ -33,16 +39,10 @@ module PulpContainerClient
33
39
  # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
34
40
  attr_accessor :base_path
35
41
 
36
- # Timestamp of creation.
37
- attr_accessor :pulp_created
38
-
39
- # The Pulp Resource Name (PRN).
40
- attr_accessor :prn
41
-
42
42
  attr_accessor :pulp_href
43
43
 
44
- # Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
45
- attr_accessor :no_content_change_since
44
+ # An optional content-guard. If none is specified, a default one will be used.
45
+ attr_accessor :content_guard
46
46
 
47
47
  # Whether this distribution should be shown in the content app.
48
48
  attr_accessor :hidden
@@ -65,16 +65,16 @@ module PulpContainerClient
65
65
  # Attribute mapping from ruby-style variable name to JSON key.
66
66
  def self.attribute_map
67
67
  {
68
- :'pulp_last_updated' => :'pulp_last_updated',
68
+ :'pulp_created' => :'pulp_created',
69
69
  :'name' => :'name',
70
- :'content_guard' => :'content_guard',
70
+ :'no_content_change_since' => :'no_content_change_since',
71
+ :'pulp_last_updated' => :'pulp_last_updated',
72
+ :'prn' => :'prn',
71
73
  :'repository' => :'repository',
72
74
  :'pulp_labels' => :'pulp_labels',
73
75
  :'base_path' => :'base_path',
74
- :'pulp_created' => :'pulp_created',
75
- :'prn' => :'prn',
76
76
  :'pulp_href' => :'pulp_href',
77
- :'no_content_change_since' => :'no_content_change_since',
77
+ :'content_guard' => :'content_guard',
78
78
  :'hidden' => :'hidden',
79
79
  :'remote' => :'remote',
80
80
  :'distributions' => :'distributions',
@@ -92,16 +92,16 @@ module PulpContainerClient
92
92
  # Attribute type mapping.
93
93
  def self.openapi_types
94
94
  {
95
- :'pulp_last_updated' => :'Time',
95
+ :'pulp_created' => :'Time',
96
96
  :'name' => :'String',
97
- :'content_guard' => :'String',
97
+ :'no_content_change_since' => :'String',
98
+ :'pulp_last_updated' => :'Time',
99
+ :'prn' => :'String',
98
100
  :'repository' => :'String',
99
101
  :'pulp_labels' => :'Hash<String, String>',
100
102
  :'base_path' => :'String',
101
- :'pulp_created' => :'Time',
102
- :'prn' => :'String',
103
103
  :'pulp_href' => :'String',
104
- :'no_content_change_since' => :'String',
104
+ :'content_guard' => :'String',
105
105
  :'hidden' => :'Boolean',
106
106
  :'remote' => :'String',
107
107
  :'distributions' => :'Array<String>',
@@ -134,8 +134,8 @@ module PulpContainerClient
134
134
  h[k.to_sym] = v
135
135
  }
136
136
 
137
- if attributes.key?(:'pulp_last_updated')
138
- self.pulp_last_updated = attributes[:'pulp_last_updated']
137
+ if attributes.key?(:'pulp_created')
138
+ self.pulp_created = attributes[:'pulp_created']
139
139
  end
140
140
 
141
141
  if attributes.key?(:'name')
@@ -144,8 +144,16 @@ module PulpContainerClient
144
144
  self.name = nil
145
145
  end
146
146
 
147
- if attributes.key?(:'content_guard')
148
- self.content_guard = attributes[:'content_guard']
147
+ if attributes.key?(:'no_content_change_since')
148
+ self.no_content_change_since = attributes[:'no_content_change_since']
149
+ end
150
+
151
+ if attributes.key?(:'pulp_last_updated')
152
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
153
+ end
154
+
155
+ if attributes.key?(:'prn')
156
+ self.prn = attributes[:'prn']
149
157
  end
150
158
 
151
159
  if attributes.key?(:'repository')
@@ -164,20 +172,12 @@ module PulpContainerClient
164
172
  self.base_path = nil
165
173
  end
166
174
 
167
- if attributes.key?(:'pulp_created')
168
- self.pulp_created = attributes[:'pulp_created']
169
- end
170
-
171
- if attributes.key?(:'prn')
172
- self.prn = attributes[:'prn']
173
- end
174
-
175
175
  if attributes.key?(:'pulp_href')
176
176
  self.pulp_href = attributes[:'pulp_href']
177
177
  end
178
178
 
179
- if attributes.key?(:'no_content_change_since')
180
- self.no_content_change_since = attributes[:'no_content_change_since']
179
+ if attributes.key?(:'content_guard')
180
+ self.content_guard = attributes[:'content_guard']
181
181
  end
182
182
 
183
183
  if attributes.key?(:'hidden')
@@ -246,16 +246,16 @@ module PulpContainerClient
246
246
  def ==(o)
247
247
  return true if self.equal?(o)
248
248
  self.class == o.class &&
249
- pulp_last_updated == o.pulp_last_updated &&
249
+ pulp_created == o.pulp_created &&
250
250
  name == o.name &&
251
- content_guard == o.content_guard &&
251
+ no_content_change_since == o.no_content_change_since &&
252
+ pulp_last_updated == o.pulp_last_updated &&
253
+ prn == o.prn &&
252
254
  repository == o.repository &&
253
255
  pulp_labels == o.pulp_labels &&
254
256
  base_path == o.base_path &&
255
- pulp_created == o.pulp_created &&
256
- prn == o.prn &&
257
257
  pulp_href == o.pulp_href &&
258
- no_content_change_since == o.no_content_change_since &&
258
+ content_guard == o.content_guard &&
259
259
  hidden == o.hidden &&
260
260
  remote == o.remote &&
261
261
  distributions == o.distributions &&
@@ -273,7 +273,7 @@ module PulpContainerClient
273
273
  # Calculates hash code according to all attributes.
274
274
  # @return [Integer] Hash code
275
275
  def hash
276
- [pulp_last_updated, name, content_guard, repository, pulp_labels, base_path, pulp_created, prn, pulp_href, no_content_change_since, hidden, remote, distributions, namespace, private, description].hash
276
+ [pulp_created, name, no_content_change_since, pulp_last_updated, prn, repository, pulp_labels, base_path, pulp_href, content_guard, hidden, remote, distributions, namespace, private, description].hash
277
277
  end
278
278
 
279
279
  # Builds the object from hash
@@ -16,28 +16,28 @@ require 'time'
16
16
  module PulpContainerClient
17
17
  # Serializer for Container Push Repositories.
18
18
  class ContainerContainerPushRepository
19
- # A unique name for this repository.
20
- attr_accessor :name
19
+ # An optional description.
20
+ attr_accessor :description
21
21
 
22
- attr_accessor :pulp_labels
22
+ # Retain X versions of the repository. Default is null which retains all versions.
23
+ attr_accessor :retain_repo_versions
23
24
 
24
25
  # A reference to an associated signing service.
25
26
  attr_accessor :manifest_signing_service
26
27
 
27
- # Retain X versions of the repository. Default is null which retains all versions.
28
- attr_accessor :retain_repo_versions
28
+ attr_accessor :pulp_labels
29
29
 
30
- # An optional description.
31
- attr_accessor :description
30
+ # A unique name for this repository.
31
+ attr_accessor :name
32
32
 
33
33
  # Attribute mapping from ruby-style variable name to JSON key.
34
34
  def self.attribute_map
35
35
  {
36
- :'name' => :'name',
37
- :'pulp_labels' => :'pulp_labels',
38
- :'manifest_signing_service' => :'manifest_signing_service',
36
+ :'description' => :'description',
39
37
  :'retain_repo_versions' => :'retain_repo_versions',
40
- :'description' => :'description'
38
+ :'manifest_signing_service' => :'manifest_signing_service',
39
+ :'pulp_labels' => :'pulp_labels',
40
+ :'name' => :'name'
41
41
  }
42
42
  end
43
43
 
@@ -49,20 +49,20 @@ module PulpContainerClient
49
49
  # Attribute type mapping.
50
50
  def self.openapi_types
51
51
  {
52
- :'name' => :'String',
53
- :'pulp_labels' => :'Hash<String, String>',
54
- :'manifest_signing_service' => :'String',
52
+ :'description' => :'String',
55
53
  :'retain_repo_versions' => :'Integer',
56
- :'description' => :'String'
54
+ :'manifest_signing_service' => :'String',
55
+ :'pulp_labels' => :'Hash<String, String>',
56
+ :'name' => :'String'
57
57
  }
58
58
  end
59
59
 
60
60
  # List of attributes with nullable: true
61
61
  def self.openapi_nullable
62
62
  Set.new([
63
- :'manifest_signing_service',
63
+ :'description',
64
64
  :'retain_repo_versions',
65
- :'description'
65
+ :'manifest_signing_service',
66
66
  ])
67
67
  end
68
68
 
@@ -81,28 +81,28 @@ module PulpContainerClient
81
81
  h[k.to_sym] = v
82
82
  }
83
83
 
84
- if attributes.key?(:'name')
85
- self.name = attributes[:'name']
86
- else
87
- self.name = nil
84
+ if attributes.key?(:'description')
85
+ self.description = attributes[:'description']
88
86
  end
89
87
 
90
- if attributes.key?(:'pulp_labels')
91
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
92
- self.pulp_labels = value
93
- end
88
+ if attributes.key?(:'retain_repo_versions')
89
+ self.retain_repo_versions = attributes[:'retain_repo_versions']
94
90
  end
95
91
 
96
92
  if attributes.key?(:'manifest_signing_service')
97
93
  self.manifest_signing_service = attributes[:'manifest_signing_service']
98
94
  end
99
95
 
100
- if attributes.key?(:'retain_repo_versions')
101
- self.retain_repo_versions = attributes[:'retain_repo_versions']
96
+ if attributes.key?(:'pulp_labels')
97
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
98
+ self.pulp_labels = value
99
+ end
102
100
  end
103
101
 
104
- if attributes.key?(:'description')
105
- self.description = attributes[:'description']
102
+ if attributes.key?(:'name')
103
+ self.name = attributes[:'name']
104
+ else
105
+ self.name = nil
106
106
  end
107
107
  end
108
108
 
@@ -111,6 +111,10 @@ module PulpContainerClient
111
111
  def list_invalid_properties
112
112
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
113
113
  invalid_properties = Array.new
114
+ if !@description.nil? && @description.to_s.length < 1
115
+ invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
116
+ end
117
+
114
118
  if @name.nil?
115
119
  invalid_properties.push('invalid value for "name", name cannot be nil.')
116
120
  end
@@ -119,10 +123,6 @@ module PulpContainerClient
119
123
  invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
120
124
  end
121
125
 
122
- if !@description.nil? && @description.to_s.length < 1
123
- invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
124
- end
125
-
126
126
  invalid_properties
127
127
  end
128
128
 
@@ -130,12 +130,22 @@ module PulpContainerClient
130
130
  # @return true if the model is valid
131
131
  def valid?
132
132
  warn '[DEPRECATED] the `valid?` method is obsolete'
133
+ return false if !@description.nil? && @description.to_s.length < 1
133
134
  return false if @name.nil?
134
135
  return false if @name.to_s.length < 1
135
- return false if !@description.nil? && @description.to_s.length < 1
136
136
  true
137
137
  end
138
138
 
139
+ # Custom attribute writer method with validation
140
+ # @param [Object] description Value to be assigned
141
+ def description=(description)
142
+ if !description.nil? && description.to_s.length < 1
143
+ fail ArgumentError, 'invalid value for "description", the character length must be great than or equal to 1.'
144
+ end
145
+
146
+ @description = description
147
+ end
148
+
139
149
  # Custom attribute writer method with validation
140
150
  # @param [Object] name Value to be assigned
141
151
  def name=(name)
@@ -150,26 +160,16 @@ module PulpContainerClient
150
160
  @name = name
151
161
  end
152
162
 
153
- # Custom attribute writer method with validation
154
- # @param [Object] description Value to be assigned
155
- def description=(description)
156
- if !description.nil? && description.to_s.length < 1
157
- fail ArgumentError, 'invalid value for "description", the character length must be great than or equal to 1.'
158
- end
159
-
160
- @description = description
161
- end
162
-
163
163
  # Checks equality by comparing each attribute.
164
164
  # @param [Object] Object to be compared
165
165
  def ==(o)
166
166
  return true if self.equal?(o)
167
167
  self.class == o.class &&
168
- name == o.name &&
169
- pulp_labels == o.pulp_labels &&
170
- manifest_signing_service == o.manifest_signing_service &&
168
+ description == o.description &&
171
169
  retain_repo_versions == o.retain_repo_versions &&
172
- description == o.description
170
+ manifest_signing_service == o.manifest_signing_service &&
171
+ pulp_labels == o.pulp_labels &&
172
+ name == o.name
173
173
  end
174
174
 
175
175
  # @see the `==` method
@@ -181,7 +181,7 @@ module PulpContainerClient
181
181
  # Calculates hash code according to all attributes.
182
182
  # @return [Integer] Hash code
183
183
  def hash
184
- [name, pulp_labels, manifest_signing_service, retain_repo_versions, description].hash
184
+ [description, retain_repo_versions, manifest_signing_service, pulp_labels, name].hash
185
185
  end
186
186
 
187
187
  # Builds the object from hash
@@ -16,49 +16,49 @@ require 'time'
16
16
  module PulpContainerClient
17
17
  # Serializer for Container Push Repositories.
18
18
  class ContainerContainerPushRepositoryResponse
19
- # Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.
20
- attr_accessor :pulp_last_updated
21
-
22
- # A unique name for this repository.
23
- attr_accessor :name
19
+ # Timestamp of creation.
20
+ attr_accessor :pulp_created
24
21
 
25
- attr_accessor :latest_version_href
22
+ # An optional description.
23
+ attr_accessor :description
26
24
 
27
- attr_accessor :pulp_labels
25
+ # Retain X versions of the repository. Default is null which retains all versions.
26
+ attr_accessor :retain_repo_versions
28
27
 
29
- # Timestamp of creation.
30
- attr_accessor :pulp_created
28
+ # Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.
29
+ attr_accessor :pulp_last_updated
31
30
 
32
- attr_accessor :versions_href
31
+ # A reference to an associated signing service.
32
+ attr_accessor :manifest_signing_service
33
33
 
34
34
  # The Pulp Resource Name (PRN).
35
35
  attr_accessor :prn
36
36
 
37
+ attr_accessor :pulp_labels
38
+
37
39
  attr_accessor :pulp_href
38
40
 
39
- # A reference to an associated signing service.
40
- attr_accessor :manifest_signing_service
41
+ attr_accessor :versions_href
41
42
 
42
- # Retain X versions of the repository. Default is null which retains all versions.
43
- attr_accessor :retain_repo_versions
43
+ # A unique name for this repository.
44
+ attr_accessor :name
44
45
 
45
- # An optional description.
46
- attr_accessor :description
46
+ attr_accessor :latest_version_href
47
47
 
48
48
  # Attribute mapping from ruby-style variable name to JSON key.
49
49
  def self.attribute_map
50
50
  {
51
- :'pulp_last_updated' => :'pulp_last_updated',
52
- :'name' => :'name',
53
- :'latest_version_href' => :'latest_version_href',
54
- :'pulp_labels' => :'pulp_labels',
55
51
  :'pulp_created' => :'pulp_created',
56
- :'versions_href' => :'versions_href',
52
+ :'description' => :'description',
53
+ :'retain_repo_versions' => :'retain_repo_versions',
54
+ :'pulp_last_updated' => :'pulp_last_updated',
55
+ :'manifest_signing_service' => :'manifest_signing_service',
57
56
  :'prn' => :'prn',
57
+ :'pulp_labels' => :'pulp_labels',
58
58
  :'pulp_href' => :'pulp_href',
59
- :'manifest_signing_service' => :'manifest_signing_service',
60
- :'retain_repo_versions' => :'retain_repo_versions',
61
- :'description' => :'description'
59
+ :'versions_href' => :'versions_href',
60
+ :'name' => :'name',
61
+ :'latest_version_href' => :'latest_version_href'
62
62
  }
63
63
  end
64
64
 
@@ -70,26 +70,26 @@ module PulpContainerClient
70
70
  # Attribute type mapping.
71
71
  def self.openapi_types
72
72
  {
73
- :'pulp_last_updated' => :'Time',
74
- :'name' => :'String',
75
- :'latest_version_href' => :'String',
76
- :'pulp_labels' => :'Hash<String, String>',
77
73
  :'pulp_created' => :'Time',
78
- :'versions_href' => :'String',
74
+ :'description' => :'String',
75
+ :'retain_repo_versions' => :'Integer',
76
+ :'pulp_last_updated' => :'Time',
77
+ :'manifest_signing_service' => :'String',
79
78
  :'prn' => :'String',
79
+ :'pulp_labels' => :'Hash<String, String>',
80
80
  :'pulp_href' => :'String',
81
- :'manifest_signing_service' => :'String',
82
- :'retain_repo_versions' => :'Integer',
83
- :'description' => :'String'
81
+ :'versions_href' => :'String',
82
+ :'name' => :'String',
83
+ :'latest_version_href' => :'String'
84
84
  }
85
85
  end
86
86
 
87
87
  # List of attributes with nullable: true
88
88
  def self.openapi_nullable
89
89
  Set.new([
90
- :'manifest_signing_service',
90
+ :'description',
91
91
  :'retain_repo_versions',
92
- :'description'
92
+ :'manifest_signing_service',
93
93
  ])
94
94
  end
95
95
 
@@ -108,52 +108,52 @@ module PulpContainerClient
108
108
  h[k.to_sym] = v
109
109
  }
110
110
 
111
- if attributes.key?(:'pulp_last_updated')
112
- self.pulp_last_updated = attributes[:'pulp_last_updated']
113
- end
114
-
115
- if attributes.key?(:'name')
116
- self.name = attributes[:'name']
117
- else
118
- self.name = nil
111
+ if attributes.key?(:'pulp_created')
112
+ self.pulp_created = attributes[:'pulp_created']
119
113
  end
120
114
 
121
- if attributes.key?(:'latest_version_href')
122
- self.latest_version_href = attributes[:'latest_version_href']
115
+ if attributes.key?(:'description')
116
+ self.description = attributes[:'description']
123
117
  end
124
118
 
125
- if attributes.key?(:'pulp_labels')
126
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
127
- self.pulp_labels = value
128
- end
119
+ if attributes.key?(:'retain_repo_versions')
120
+ self.retain_repo_versions = attributes[:'retain_repo_versions']
129
121
  end
130
122
 
131
- if attributes.key?(:'pulp_created')
132
- self.pulp_created = attributes[:'pulp_created']
123
+ if attributes.key?(:'pulp_last_updated')
124
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
133
125
  end
134
126
 
135
- if attributes.key?(:'versions_href')
136
- self.versions_href = attributes[:'versions_href']
127
+ if attributes.key?(:'manifest_signing_service')
128
+ self.manifest_signing_service = attributes[:'manifest_signing_service']
137
129
  end
138
130
 
139
131
  if attributes.key?(:'prn')
140
132
  self.prn = attributes[:'prn']
141
133
  end
142
134
 
135
+ if attributes.key?(:'pulp_labels')
136
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
137
+ self.pulp_labels = value
138
+ end
139
+ end
140
+
143
141
  if attributes.key?(:'pulp_href')
144
142
  self.pulp_href = attributes[:'pulp_href']
145
143
  end
146
144
 
147
- if attributes.key?(:'manifest_signing_service')
148
- self.manifest_signing_service = attributes[:'manifest_signing_service']
145
+ if attributes.key?(:'versions_href')
146
+ self.versions_href = attributes[:'versions_href']
149
147
  end
150
148
 
151
- if attributes.key?(:'retain_repo_versions')
152
- self.retain_repo_versions = attributes[:'retain_repo_versions']
149
+ if attributes.key?(:'name')
150
+ self.name = attributes[:'name']
151
+ else
152
+ self.name = nil
153
153
  end
154
154
 
155
- if attributes.key?(:'description')
156
- self.description = attributes[:'description']
155
+ if attributes.key?(:'latest_version_href')
156
+ self.latest_version_href = attributes[:'latest_version_href']
157
157
  end
158
158
  end
159
159
 
@@ -182,17 +182,17 @@ module PulpContainerClient
182
182
  def ==(o)
183
183
  return true if self.equal?(o)
184
184
  self.class == o.class &&
185
- pulp_last_updated == o.pulp_last_updated &&
186
- name == o.name &&
187
- latest_version_href == o.latest_version_href &&
188
- pulp_labels == o.pulp_labels &&
189
185
  pulp_created == o.pulp_created &&
190
- versions_href == o.versions_href &&
186
+ description == o.description &&
187
+ retain_repo_versions == o.retain_repo_versions &&
188
+ pulp_last_updated == o.pulp_last_updated &&
189
+ manifest_signing_service == o.manifest_signing_service &&
191
190
  prn == o.prn &&
191
+ pulp_labels == o.pulp_labels &&
192
192
  pulp_href == o.pulp_href &&
193
- manifest_signing_service == o.manifest_signing_service &&
194
- retain_repo_versions == o.retain_repo_versions &&
195
- description == o.description
193
+ versions_href == o.versions_href &&
194
+ name == o.name &&
195
+ latest_version_href == o.latest_version_href
196
196
  end
197
197
 
198
198
  # @see the `==` method
@@ -204,7 +204,7 @@ module PulpContainerClient
204
204
  # Calculates hash code according to all attributes.
205
205
  # @return [Integer] Hash code
206
206
  def hash
207
- [pulp_last_updated, name, latest_version_href, pulp_labels, pulp_created, versions_href, prn, pulp_href, manifest_signing_service, retain_repo_versions, description].hash
207
+ [pulp_created, description, retain_repo_versions, pulp_last_updated, manifest_signing_service, prn, pulp_labels, pulp_href, versions_href, name, latest_version_href].hash
208
208
  end
209
209
 
210
210
  # Builds the object from hash