pulp_container_client 2.24.7 → 2.24.8

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