pulp_container_client 2.24.11 → 2.24.13

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