pulp_container_client 2.26.19 → 2.26.20

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