pulp_container_client 2.29.0 → 2.29.2

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