pulp_container_client 2.27.4 → 2.27.5

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