pulp_container_client 2.26.15 → 2.27.0

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