pulp_container_client 2.24.6 → 2.24.7

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