pulp_container_client 2.24.2 → 2.24.3

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 (73) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -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 +6 -6
  8. data/docs/ContainerContainerPushRepositoryResponse.md +13 -13
  9. data/docs/ContentBlobsApi.md +20 -8
  10. data/docs/ContentManifestsApi.md +20 -8
  11. data/docs/ContentSignaturesApi.md +20 -8
  12. data/docs/ContentTagsApi.md +20 -8
  13. data/docs/DistributionsContainerApi.md +72 -32
  14. data/docs/DistributionsPullThroughApi.md +72 -32
  15. data/docs/PatchedcontainerContainerDistribution.md +8 -8
  16. data/docs/PatchedcontainerContainerPullThroughDistribution.md +8 -8
  17. data/docs/PatchedcontainerContainerPushRepository.md +6 -6
  18. data/docs/PulpContainerNamespacesApi.md +40 -16
  19. data/docs/RemotesContainerApi.md +72 -32
  20. data/docs/RemotesPullThroughApi.md +72 -32
  21. data/docs/RepositoriesContainerApi.md +138 -64
  22. data/docs/RepositoriesContainerPushApi.md +80 -36
  23. data/docs/RepositoriesContainerPushVersionsApi.md +22 -10
  24. data/docs/RepositoriesContainerVersionsApi.md +22 -10
  25. data/docs/TokenApi.md +14 -5
  26. data/lib/pulp_container_client/api/content_blobs_api.rb +12 -0
  27. data/lib/pulp_container_client/api/content_manifests_api.rb +12 -0
  28. data/lib/pulp_container_client/api/content_signatures_api.rb +12 -0
  29. data/lib/pulp_container_client/api/content_tags_api.rb +12 -0
  30. data/lib/pulp_container_client/api/distributions_container_api.rb +36 -0
  31. data/lib/pulp_container_client/api/distributions_pull_through_api.rb +36 -0
  32. data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +24 -0
  33. data/lib/pulp_container_client/api/remotes_container_api.rb +36 -0
  34. data/lib/pulp_container_client/api/remotes_pull_through_api.rb +36 -0
  35. data/lib/pulp_container_client/api/repositories_container_api.rb +63 -0
  36. data/lib/pulp_container_client/api/repositories_container_push_api.rb +39 -0
  37. data/lib/pulp_container_client/api/repositories_container_push_versions_api.rb +15 -3
  38. data/lib/pulp_container_client/api/repositories_container_versions_api.rb +15 -3
  39. data/lib/pulp_container_client/api/token_api.rb +9 -0
  40. data/lib/pulp_container_client/models/container_container_distribution.rb +36 -36
  41. data/lib/pulp_container_client/models/container_container_distribution_response.rb +53 -53
  42. data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +36 -36
  43. data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +53 -53
  44. data/lib/pulp_container_client/models/container_container_push_repository.rb +47 -47
  45. data/lib/pulp_container_client/models/container_container_push_repository_response.rb +58 -58
  46. data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +34 -34
  47. data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +34 -34
  48. data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +45 -45
  49. data/lib/pulp_container_client/version.rb +1 -1
  50. data/spec/api/content_blobs_api_spec.rb +4 -0
  51. data/spec/api/content_manifests_api_spec.rb +4 -0
  52. data/spec/api/content_signatures_api_spec.rb +4 -0
  53. data/spec/api/content_tags_api_spec.rb +4 -0
  54. data/spec/api/distributions_container_api_spec.rb +12 -0
  55. data/spec/api/distributions_pull_through_api_spec.rb +12 -0
  56. data/spec/api/pulp_container_namespaces_api_spec.rb +8 -0
  57. data/spec/api/remotes_container_api_spec.rb +12 -0
  58. data/spec/api/remotes_pull_through_api_spec.rb +12 -0
  59. data/spec/api/repositories_container_api_spec.rb +21 -0
  60. data/spec/api/repositories_container_push_api_spec.rb +13 -0
  61. data/spec/api/repositories_container_push_versions_api_spec.rb +5 -1
  62. data/spec/api/repositories_container_versions_api_spec.rb +5 -1
  63. data/spec/api/token_api_spec.rb +3 -0
  64. data/spec/models/container_container_distribution_response_spec.rb +8 -8
  65. data/spec/models/container_container_distribution_spec.rb +5 -5
  66. data/spec/models/container_container_pull_through_distribution_response_spec.rb +8 -8
  67. data/spec/models/container_container_pull_through_distribution_spec.rb +5 -5
  68. data/spec/models/container_container_push_repository_response_spec.rb +11 -11
  69. data/spec/models/container_container_push_repository_spec.rb +5 -5
  70. data/spec/models/patchedcontainer_container_distribution_spec.rb +5 -5
  71. data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +5 -5
  72. data/spec/models/patchedcontainer_container_push_repository_spec.rb +5 -5
  73. metadata +60 -60
@@ -16,37 +16,37 @@ require 'time'
16
16
  module PulpContainerClient
17
17
  # A serializer for a specialized pull-through distribution referencing sub-distributions.
18
18
  class ContainerContainerPullThroughDistributionResponse
19
- # Whether this distribution should be shown in the content app.
20
- attr_accessor :hidden
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
- # An optional content-guard. If none is specified, a default one will be used.
23
- attr_accessor :content_guard
22
+ # A unique name. Ex, `rawhide` and `stable`.
23
+ attr_accessor :name
24
24
 
25
25
  # The Pulp Resource Name (PRN).
26
26
  attr_accessor :prn
27
27
 
28
28
  attr_accessor :pulp_labels
29
29
 
30
- attr_accessor :pulp_href
30
+ # An optional content-guard. If none is specified, a default one will be used.
31
+ attr_accessor :content_guard
31
32
 
32
33
  # Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
33
34
  attr_accessor :no_content_change_since
34
35
 
35
- # The latest RepositoryVersion for this Repository will be served.
36
- attr_accessor :repository
37
-
38
36
  # Timestamp of creation.
39
37
  attr_accessor :pulp_created
40
38
 
41
- # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
42
- attr_accessor :base_path
43
-
44
- # A unique name. Ex, `rawhide` and `stable`.
45
- attr_accessor :name
46
-
47
39
  # Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.
48
40
  attr_accessor :pulp_last_updated
49
41
 
42
+ # The latest RepositoryVersion for this Repository will be served.
43
+ attr_accessor :repository
44
+
45
+ # Whether this distribution should be shown in the content app.
46
+ attr_accessor :hidden
47
+
48
+ attr_accessor :pulp_href
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
- :'hidden' => :'hidden',
69
- :'content_guard' => :'content_guard',
68
+ :'base_path' => :'base_path',
69
+ :'name' => :'name',
70
70
  :'prn' => :'prn',
71
71
  :'pulp_labels' => :'pulp_labels',
72
- :'pulp_href' => :'pulp_href',
72
+ :'content_guard' => :'content_guard',
73
73
  :'no_content_change_since' => :'no_content_change_since',
74
- :'repository' => :'repository',
75
74
  :'pulp_created' => :'pulp_created',
76
- :'base_path' => :'base_path',
77
- :'name' => :'name',
78
75
  :'pulp_last_updated' => :'pulp_last_updated',
76
+ :'repository' => :'repository',
77
+ :'hidden' => :'hidden',
78
+ :'pulp_href' => :'pulp_href',
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
- :'hidden' => :'Boolean',
96
- :'content_guard' => :'String',
95
+ :'base_path' => :'String',
96
+ :'name' => :'String',
97
97
  :'prn' => :'String',
98
98
  :'pulp_labels' => :'Hash<String, String>',
99
- :'pulp_href' => :'String',
99
+ :'content_guard' => :'String',
100
100
  :'no_content_change_since' => :'String',
101
- :'repository' => :'String',
102
101
  :'pulp_created' => :'Time',
103
- :'base_path' => :'String',
104
- :'name' => :'String',
105
102
  :'pulp_last_updated' => :'Time',
103
+ :'repository' => :'String',
104
+ :'hidden' => :'Boolean',
105
+ :'pulp_href' => :'String',
106
106
  :'remote' => :'String',
107
107
  :'distributions' => :'Array<String>',
108
108
  :'namespace' => :'String',
@@ -134,14 +134,16 @@ module PulpContainerClient
134
134
  h[k.to_sym] = v
135
135
  }
136
136
 
137
- if attributes.key?(:'hidden')
138
- self.hidden = attributes[:'hidden']
137
+ if attributes.key?(:'base_path')
138
+ self.base_path = attributes[:'base_path']
139
139
  else
140
- self.hidden = false
140
+ self.base_path = nil
141
141
  end
142
142
 
143
- if attributes.key?(:'content_guard')
144
- self.content_guard = attributes[:'content_guard']
143
+ if attributes.key?(:'name')
144
+ self.name = attributes[:'name']
145
+ else
146
+ self.name = nil
145
147
  end
146
148
 
147
149
  if attributes.key?(:'prn')
@@ -154,36 +156,34 @@ module PulpContainerClient
154
156
  end
155
157
  end
156
158
 
157
- if attributes.key?(:'pulp_href')
158
- self.pulp_href = attributes[:'pulp_href']
159
+ if attributes.key?(:'content_guard')
160
+ self.content_guard = attributes[:'content_guard']
159
161
  end
160
162
 
161
163
  if attributes.key?(:'no_content_change_since')
162
164
  self.no_content_change_since = attributes[:'no_content_change_since']
163
165
  end
164
166
 
165
- if attributes.key?(:'repository')
166
- self.repository = attributes[:'repository']
167
- end
168
-
169
167
  if attributes.key?(:'pulp_created')
170
168
  self.pulp_created = attributes[:'pulp_created']
171
169
  end
172
170
 
173
- if attributes.key?(:'base_path')
174
- self.base_path = attributes[:'base_path']
175
- else
176
- self.base_path = nil
171
+ if attributes.key?(:'pulp_last_updated')
172
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
177
173
  end
178
174
 
179
- if attributes.key?(:'name')
180
- self.name = attributes[:'name']
175
+ if attributes.key?(:'repository')
176
+ self.repository = attributes[:'repository']
177
+ end
178
+
179
+ if attributes.key?(:'hidden')
180
+ self.hidden = attributes[:'hidden']
181
181
  else
182
- self.name = nil
182
+ self.hidden = false
183
183
  end
184
184
 
185
- if attributes.key?(:'pulp_last_updated')
186
- self.pulp_last_updated = attributes[:'pulp_last_updated']
185
+ if attributes.key?(:'pulp_href')
186
+ self.pulp_href = attributes[:'pulp_href']
187
187
  end
188
188
 
189
189
  if attributes.key?(:'remote')
@@ -246,17 +246,17 @@ module PulpContainerClient
246
246
  def ==(o)
247
247
  return true if self.equal?(o)
248
248
  self.class == o.class &&
249
- hidden == o.hidden &&
250
- content_guard == o.content_guard &&
249
+ base_path == o.base_path &&
250
+ name == o.name &&
251
251
  prn == o.prn &&
252
252
  pulp_labels == o.pulp_labels &&
253
- pulp_href == o.pulp_href &&
253
+ content_guard == o.content_guard &&
254
254
  no_content_change_since == o.no_content_change_since &&
255
- repository == o.repository &&
256
255
  pulp_created == o.pulp_created &&
257
- base_path == o.base_path &&
258
- name == o.name &&
259
256
  pulp_last_updated == o.pulp_last_updated &&
257
+ repository == o.repository &&
258
+ hidden == o.hidden &&
259
+ pulp_href == o.pulp_href &&
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
- [hidden, content_guard, prn, pulp_labels, pulp_href, no_content_change_since, repository, pulp_created, base_path, name, pulp_last_updated, remote, distributions, namespace, private, description].hash
276
+ [base_path, name, prn, pulp_labels, content_guard, no_content_change_since, pulp_created, pulp_last_updated, repository, hidden, pulp_href, remote, distributions, namespace, private, description].hash
277
277
  end
278
278
 
279
279
  # Builds the object from hash
@@ -16,28 +16,28 @@ require 'time'
16
16
  module PulpContainerClient
17
17
  # Serializer for Container Push Repositories.
18
18
  class ContainerContainerPushRepository
19
- attr_accessor :pulp_labels
20
-
21
- # An optional description.
22
- attr_accessor :description
23
-
24
- # A reference to an associated signing service.
25
- attr_accessor :manifest_signing_service
26
-
27
19
  # A unique name for this repository.
28
20
  attr_accessor :name
29
21
 
30
22
  # Retain X versions of the repository. Default is null which retains all versions.
31
23
  attr_accessor :retain_repo_versions
32
24
 
25
+ attr_accessor :pulp_labels
26
+
27
+ # A reference to an associated signing service.
28
+ attr_accessor :manifest_signing_service
29
+
30
+ # An optional description.
31
+ attr_accessor :description
32
+
33
33
  # Attribute mapping from ruby-style variable name to JSON key.
34
34
  def self.attribute_map
35
35
  {
36
+ :'name' => :'name',
37
+ :'retain_repo_versions' => :'retain_repo_versions',
36
38
  :'pulp_labels' => :'pulp_labels',
37
- :'description' => :'description',
38
39
  :'manifest_signing_service' => :'manifest_signing_service',
39
- :'name' => :'name',
40
- :'retain_repo_versions' => :'retain_repo_versions'
40
+ :'description' => :'description'
41
41
  }
42
42
  end
43
43
 
@@ -49,20 +49,20 @@ module PulpContainerClient
49
49
  # Attribute type mapping.
50
50
  def self.openapi_types
51
51
  {
52
+ :'name' => :'String',
53
+ :'retain_repo_versions' => :'Integer',
52
54
  :'pulp_labels' => :'Hash<String, String>',
53
- :'description' => :'String',
54
55
  :'manifest_signing_service' => :'String',
55
- :'name' => :'String',
56
- :'retain_repo_versions' => :'Integer'
56
+ :'description' => :'String'
57
57
  }
58
58
  end
59
59
 
60
60
  # List of attributes with nullable: true
61
61
  def self.openapi_nullable
62
62
  Set.new([
63
- :'description',
63
+ :'retain_repo_versions',
64
64
  :'manifest_signing_service',
65
- :'retain_repo_versions'
65
+ :'description'
66
66
  ])
67
67
  end
68
68
 
@@ -81,28 +81,28 @@ 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
88
+ end
89
+
90
+ if attributes.key?(:'retain_repo_versions')
91
+ self.retain_repo_versions = attributes[:'retain_repo_versions']
92
+ end
93
+
84
94
  if attributes.key?(:'pulp_labels')
85
95
  if (value = attributes[:'pulp_labels']).is_a?(Hash)
86
96
  self.pulp_labels = value
87
97
  end
88
98
  end
89
99
 
90
- if attributes.key?(:'description')
91
- self.description = attributes[:'description']
92
- end
93
-
94
100
  if attributes.key?(:'manifest_signing_service')
95
101
  self.manifest_signing_service = attributes[:'manifest_signing_service']
96
102
  end
97
103
 
98
- if attributes.key?(:'name')
99
- self.name = attributes[:'name']
100
- else
101
- self.name = nil
102
- end
103
-
104
- if attributes.key?(:'retain_repo_versions')
105
- self.retain_repo_versions = attributes[:'retain_repo_versions']
104
+ if attributes.key?(:'description')
105
+ self.description = attributes[:'description']
106
106
  end
107
107
  end
108
108
 
@@ -111,10 +111,6 @@ module PulpContainerClient
111
111
  def list_invalid_properties
112
112
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
113
113
  invalid_properties = Array.new
114
- if !@description.nil? && @description.to_s.length < 1
115
- invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
116
- end
117
-
118
114
  if @name.nil?
119
115
  invalid_properties.push('invalid value for "name", name cannot be nil.')
120
116
  end
@@ -127,6 +123,10 @@ module PulpContainerClient
127
123
  invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
128
124
  end
129
125
 
126
+ if !@description.nil? && @description.to_s.length < 1
127
+ invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
128
+ end
129
+
130
130
  invalid_properties
131
131
  end
132
132
 
@@ -134,23 +134,13 @@ module PulpContainerClient
134
134
  # @return true if the model is valid
135
135
  def valid?
136
136
  warn '[DEPRECATED] the `valid?` method is obsolete'
137
- return false if !@description.nil? && @description.to_s.length < 1
138
137
  return false if @name.nil?
139
138
  return false if @name.to_s.length < 1
140
139
  return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
140
+ return false if !@description.nil? && @description.to_s.length < 1
141
141
  true
142
142
  end
143
143
 
144
- # Custom attribute writer method with validation
145
- # @param [Object] description Value to be assigned
146
- def description=(description)
147
- if !description.nil? && description.to_s.length < 1
148
- fail ArgumentError, 'invalid value for "description", the character length must be great than or equal to 1.'
149
- end
150
-
151
- @description = description
152
- end
153
-
154
144
  # Custom attribute writer method with validation
155
145
  # @param [Object] name Value to be assigned
156
146
  def name=(name)
@@ -175,16 +165,26 @@ module PulpContainerClient
175
165
  @retain_repo_versions = retain_repo_versions
176
166
  end
177
167
 
168
+ # Custom attribute writer method with validation
169
+ # @param [Object] description Value to be assigned
170
+ def description=(description)
171
+ if !description.nil? && description.to_s.length < 1
172
+ fail ArgumentError, 'invalid value for "description", the character length must be great than or equal to 1.'
173
+ end
174
+
175
+ @description = description
176
+ end
177
+
178
178
  # Checks equality by comparing each attribute.
179
179
  # @param [Object] Object to be compared
180
180
  def ==(o)
181
181
  return true if self.equal?(o)
182
182
  self.class == o.class &&
183
+ name == o.name &&
184
+ retain_repo_versions == o.retain_repo_versions &&
183
185
  pulp_labels == o.pulp_labels &&
184
- description == o.description &&
185
186
  manifest_signing_service == o.manifest_signing_service &&
186
- name == o.name &&
187
- retain_repo_versions == o.retain_repo_versions
187
+ description == o.description
188
188
  end
189
189
 
190
190
  # @see the `==` method
@@ -196,7 +196,7 @@ module PulpContainerClient
196
196
  # Calculates hash code according to all attributes.
197
197
  # @return [Integer] Hash code
198
198
  def hash
199
- [pulp_labels, description, manifest_signing_service, name, retain_repo_versions].hash
199
+ [name, retain_repo_versions, pulp_labels, manifest_signing_service, description].hash
200
200
  end
201
201
 
202
202
  # Builds the object from hash
@@ -16,49 +16,49 @@ require 'time'
16
16
  module PulpContainerClient
17
17
  # Serializer for Container Push Repositories.
18
18
  class ContainerContainerPushRepositoryResponse
19
- attr_accessor :pulp_labels
19
+ # A unique name for this repository.
20
+ attr_accessor :name
21
+
22
+ # Retain X versions of the repository. Default is null which retains all versions.
23
+ attr_accessor :retain_repo_versions
20
24
 
21
25
  # The Pulp Resource Name (PRN).
22
26
  attr_accessor :prn
23
27
 
24
- attr_accessor :latest_version_href
28
+ attr_accessor :versions_href
25
29
 
26
- attr_accessor :pulp_href
30
+ attr_accessor :pulp_labels
27
31
 
28
- # An optional description.
29
- attr_accessor :description
32
+ attr_accessor :latest_version_href
30
33
 
31
34
  # A reference to an associated signing service.
32
35
  attr_accessor :manifest_signing_service
33
36
 
34
- attr_accessor :versions_href
37
+ # An optional description.
38
+ attr_accessor :description
35
39
 
36
40
  # Timestamp of creation.
37
41
  attr_accessor :pulp_created
38
42
 
39
- # A unique name for this repository.
40
- attr_accessor :name
41
-
42
- # Retain X versions of the repository. Default is null which retains all versions.
43
- attr_accessor :retain_repo_versions
44
-
45
43
  # 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.
46
44
  attr_accessor :pulp_last_updated
47
45
 
46
+ attr_accessor :pulp_href
47
+
48
48
  # Attribute mapping from ruby-style variable name to JSON key.
49
49
  def self.attribute_map
50
50
  {
51
- :'pulp_labels' => :'pulp_labels',
51
+ :'name' => :'name',
52
+ :'retain_repo_versions' => :'retain_repo_versions',
52
53
  :'prn' => :'prn',
54
+ :'versions_href' => :'versions_href',
55
+ :'pulp_labels' => :'pulp_labels',
53
56
  :'latest_version_href' => :'latest_version_href',
54
- :'pulp_href' => :'pulp_href',
55
- :'description' => :'description',
56
57
  :'manifest_signing_service' => :'manifest_signing_service',
57
- :'versions_href' => :'versions_href',
58
+ :'description' => :'description',
58
59
  :'pulp_created' => :'pulp_created',
59
- :'name' => :'name',
60
- :'retain_repo_versions' => :'retain_repo_versions',
61
- :'pulp_last_updated' => :'pulp_last_updated'
60
+ :'pulp_last_updated' => :'pulp_last_updated',
61
+ :'pulp_href' => :'pulp_href'
62
62
  }
63
63
  end
64
64
 
@@ -70,26 +70,26 @@ module PulpContainerClient
70
70
  # Attribute type mapping.
71
71
  def self.openapi_types
72
72
  {
73
- :'pulp_labels' => :'Hash<String, String>',
73
+ :'name' => :'String',
74
+ :'retain_repo_versions' => :'Integer',
74
75
  :'prn' => :'String',
76
+ :'versions_href' => :'String',
77
+ :'pulp_labels' => :'Hash<String, String>',
75
78
  :'latest_version_href' => :'String',
76
- :'pulp_href' => :'String',
77
- :'description' => :'String',
78
79
  :'manifest_signing_service' => :'String',
79
- :'versions_href' => :'String',
80
+ :'description' => :'String',
80
81
  :'pulp_created' => :'Time',
81
- :'name' => :'String',
82
- :'retain_repo_versions' => :'Integer',
83
- :'pulp_last_updated' => :'Time'
82
+ :'pulp_last_updated' => :'Time',
83
+ :'pulp_href' => :'String'
84
84
  }
85
85
  end
86
86
 
87
87
  # List of attributes with nullable: true
88
88
  def self.openapi_nullable
89
89
  Set.new([
90
- :'description',
91
- :'manifest_signing_service',
92
90
  :'retain_repo_versions',
91
+ :'manifest_signing_service',
92
+ :'description',
93
93
  ])
94
94
  end
95
95
 
@@ -108,53 +108,53 @@ module PulpContainerClient
108
108
  h[k.to_sym] = v
109
109
  }
110
110
 
111
- if attributes.key?(:'pulp_labels')
112
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
113
- self.pulp_labels = value
114
- end
111
+ if attributes.key?(:'name')
112
+ self.name = attributes[:'name']
113
+ else
114
+ self.name = nil
115
+ end
116
+
117
+ if attributes.key?(:'retain_repo_versions')
118
+ self.retain_repo_versions = attributes[:'retain_repo_versions']
115
119
  end
116
120
 
117
121
  if attributes.key?(:'prn')
118
122
  self.prn = attributes[:'prn']
119
123
  end
120
124
 
121
- if attributes.key?(:'latest_version_href')
122
- self.latest_version_href = attributes[:'latest_version_href']
125
+ if attributes.key?(:'versions_href')
126
+ self.versions_href = attributes[:'versions_href']
123
127
  end
124
128
 
125
- if attributes.key?(:'pulp_href')
126
- self.pulp_href = attributes[:'pulp_href']
129
+ if attributes.key?(:'pulp_labels')
130
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
131
+ self.pulp_labels = value
132
+ end
127
133
  end
128
134
 
129
- if attributes.key?(:'description')
130
- self.description = attributes[:'description']
135
+ if attributes.key?(:'latest_version_href')
136
+ self.latest_version_href = attributes[:'latest_version_href']
131
137
  end
132
138
 
133
139
  if attributes.key?(:'manifest_signing_service')
134
140
  self.manifest_signing_service = attributes[:'manifest_signing_service']
135
141
  end
136
142
 
137
- if attributes.key?(:'versions_href')
138
- self.versions_href = attributes[:'versions_href']
143
+ if attributes.key?(:'description')
144
+ self.description = attributes[:'description']
139
145
  end
140
146
 
141
147
  if attributes.key?(:'pulp_created')
142
148
  self.pulp_created = attributes[:'pulp_created']
143
149
  end
144
150
 
145
- if attributes.key?(:'name')
146
- self.name = attributes[:'name']
147
- else
148
- self.name = nil
149
- end
150
-
151
- if attributes.key?(:'retain_repo_versions')
152
- self.retain_repo_versions = attributes[:'retain_repo_versions']
153
- end
154
-
155
151
  if attributes.key?(:'pulp_last_updated')
156
152
  self.pulp_last_updated = attributes[:'pulp_last_updated']
157
153
  end
154
+
155
+ if attributes.key?(:'pulp_href')
156
+ self.pulp_href = attributes[:'pulp_href']
157
+ end
158
158
  end
159
159
 
160
160
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -197,17 +197,17 @@ module PulpContainerClient
197
197
  def ==(o)
198
198
  return true if self.equal?(o)
199
199
  self.class == o.class &&
200
- pulp_labels == o.pulp_labels &&
200
+ name == o.name &&
201
+ retain_repo_versions == o.retain_repo_versions &&
201
202
  prn == o.prn &&
203
+ versions_href == o.versions_href &&
204
+ pulp_labels == o.pulp_labels &&
202
205
  latest_version_href == o.latest_version_href &&
203
- pulp_href == o.pulp_href &&
204
- description == o.description &&
205
206
  manifest_signing_service == o.manifest_signing_service &&
206
- versions_href == o.versions_href &&
207
+ description == o.description &&
207
208
  pulp_created == o.pulp_created &&
208
- name == o.name &&
209
- retain_repo_versions == o.retain_repo_versions &&
210
- pulp_last_updated == o.pulp_last_updated
209
+ pulp_last_updated == o.pulp_last_updated &&
210
+ pulp_href == o.pulp_href
211
211
  end
212
212
 
213
213
  # @see the `==` method
@@ -219,7 +219,7 @@ module PulpContainerClient
219
219
  # Calculates hash code according to all attributes.
220
220
  # @return [Integer] Hash code
221
221
  def hash
222
- [pulp_labels, prn, latest_version_href, pulp_href, description, manifest_signing_service, versions_href, pulp_created, name, retain_repo_versions, pulp_last_updated].hash
222
+ [name, retain_repo_versions, prn, versions_href, pulp_labels, latest_version_href, manifest_signing_service, description, pulp_created, pulp_last_updated, pulp_href].hash
223
223
  end
224
224
 
225
225
  # Builds the object from hash