pulp_container_client 2.19.6 → 2.19.8

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 (96) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +7 -6
  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/ContainerContainerPullThroughRemote.md +1 -1
  8. data/docs/ContainerContainerPullThroughRemoteResponse.md +1 -1
  9. data/docs/ContainerContainerPushRepository.md +6 -6
  10. data/docs/ContainerContainerPushRepositoryResponse.md +13 -13
  11. data/docs/ContainerContainerRemote.md +1 -1
  12. data/docs/ContainerContainerRemoteResponse.md +1 -1
  13. data/docs/ContainerManifestResponse.md +2 -2
  14. data/docs/ContentBlobsApi.md +4 -0
  15. data/docs/ContentManifestsApi.md +4 -0
  16. data/docs/ContentSignaturesApi.md +4 -0
  17. data/docs/ContentTagsApi.md +4 -0
  18. data/docs/DistributionsContainerApi.md +56 -16
  19. data/docs/DistributionsPullThroughApi.md +56 -16
  20. data/docs/OCIBuildImage.md +1 -1
  21. data/docs/PatchedcontainerContainerDistribution.md +6 -6
  22. data/docs/PatchedcontainerContainerPullThroughDistribution.md +6 -6
  23. data/docs/PatchedcontainerContainerPullThroughRemote.md +1 -1
  24. data/docs/PatchedcontainerContainerPushRepository.md +6 -6
  25. data/docs/PatchedcontainerContainerRemote.md +1 -1
  26. data/docs/{Policy762Enum.md → Policy692Enum.md} +2 -2
  27. data/docs/{Policy8e2Enum.md → Policy7e0Enum.md} +2 -2
  28. data/docs/PulpContainerNamespacesApi.md +32 -8
  29. data/docs/RemotesContainerApi.md +56 -16
  30. data/docs/RemotesPullThroughApi.md +56 -16
  31. data/docs/RepositoriesContainerApi.md +108 -34
  32. data/docs/RepositoriesContainerPushApi.md +62 -18
  33. data/docs/RepositoriesContainerPushVersionsApi.md +16 -4
  34. data/docs/RepositoriesContainerVersionsApi.md +16 -4
  35. data/docs/TokenApi.md +13 -3
  36. data/lib/pulp_container_client/api/content_blobs_api.rb +6 -0
  37. data/lib/pulp_container_client/api/content_manifests_api.rb +6 -0
  38. data/lib/pulp_container_client/api/content_signatures_api.rb +6 -0
  39. data/lib/pulp_container_client/api/content_tags_api.rb +6 -0
  40. data/lib/pulp_container_client/api/distributions_container_api.rb +36 -0
  41. data/lib/pulp_container_client/api/distributions_pull_through_api.rb +36 -0
  42. data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +24 -0
  43. data/lib/pulp_container_client/api/remotes_container_api.rb +36 -0
  44. data/lib/pulp_container_client/api/remotes_pull_through_api.rb +36 -0
  45. data/lib/pulp_container_client/api/repositories_container_api.rb +65 -2
  46. data/lib/pulp_container_client/api/repositories_container_push_api.rb +39 -0
  47. data/lib/pulp_container_client/api/repositories_container_push_versions_api.rb +12 -0
  48. data/lib/pulp_container_client/api/repositories_container_versions_api.rb +12 -0
  49. data/lib/pulp_container_client/api/token_api.rb +9 -0
  50. data/lib/pulp_container_client/models/container_container_distribution.rb +53 -53
  51. data/lib/pulp_container_client/models/container_container_distribution_response.rb +58 -58
  52. data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +53 -53
  53. data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +58 -58
  54. data/lib/pulp_container_client/models/container_container_pull_through_remote.rb +1 -1
  55. data/lib/pulp_container_client/models/container_container_pull_through_remote_response.rb +1 -1
  56. data/lib/pulp_container_client/models/container_container_push_repository.rb +24 -24
  57. data/lib/pulp_container_client/models/container_container_push_repository_response.rb +58 -58
  58. data/lib/pulp_container_client/models/container_container_remote.rb +1 -1
  59. data/lib/pulp_container_client/models/container_container_remote_response.rb +1 -1
  60. data/lib/pulp_container_client/models/container_manifest_response.rb +2 -2
  61. data/lib/pulp_container_client/models/oci_build_image.rb +1 -1
  62. data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +44 -44
  63. data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +44 -44
  64. data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_remote.rb +1 -1
  65. data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +24 -24
  66. data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +1 -1
  67. data/lib/pulp_container_client/models/{policy762_enum.rb → policy692_enum.rb} +3 -3
  68. data/lib/pulp_container_client/models/{policy8e2_enum.rb → policy7e0_enum.rb} +3 -3
  69. data/lib/pulp_container_client/version.rb +1 -1
  70. data/lib/pulp_container_client.rb +2 -2
  71. data/spec/api/content_blobs_api_spec.rb +2 -0
  72. data/spec/api/content_manifests_api_spec.rb +2 -0
  73. data/spec/api/content_signatures_api_spec.rb +2 -0
  74. data/spec/api/content_tags_api_spec.rb +2 -0
  75. data/spec/api/distributions_container_api_spec.rb +12 -0
  76. data/spec/api/distributions_pull_through_api_spec.rb +12 -0
  77. data/spec/api/pulp_container_namespaces_api_spec.rb +8 -0
  78. data/spec/api/remotes_container_api_spec.rb +12 -0
  79. data/spec/api/remotes_pull_through_api_spec.rb +12 -0
  80. data/spec/api/repositories_container_api_spec.rb +22 -1
  81. data/spec/api/repositories_container_push_api_spec.rb +13 -0
  82. data/spec/api/repositories_container_push_versions_api_spec.rb +4 -0
  83. data/spec/api/repositories_container_versions_api_spec.rb +4 -0
  84. data/spec/api/token_api_spec.rb +3 -0
  85. data/spec/models/container_container_distribution_response_spec.rb +8 -8
  86. data/spec/models/container_container_distribution_spec.rb +5 -5
  87. data/spec/models/container_container_pull_through_distribution_response_spec.rb +8 -8
  88. data/spec/models/container_container_pull_through_distribution_spec.rb +5 -5
  89. data/spec/models/container_container_push_repository_response_spec.rb +10 -10
  90. data/spec/models/container_container_push_repository_spec.rb +5 -5
  91. data/spec/models/patchedcontainer_container_distribution_spec.rb +5 -5
  92. data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +5 -5
  93. data/spec/models/patchedcontainer_container_push_repository_spec.rb +5 -5
  94. data/spec/models/{policy762_enum_spec.rb → policy692_enum_spec.rb} +6 -6
  95. data/spec/models/{policy8e2_enum_spec.rb → policy7e0_enum_spec.rb} +6 -6
  96. metadata +67 -67
@@ -15,30 +15,30 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # A serializer for a specialized pull-through distribution referencing sub-distributions.
17
17
  class ContainerContainerPullThroughDistributionResponse
18
- attr_accessor :pulp_labels
18
+ attr_accessor :pulp_href
19
19
 
20
- # A unique name. Ex, `rawhide` and `stable`.
21
- attr_accessor :name
20
+ # 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.
21
+ attr_accessor :pulp_last_updated
22
22
 
23
23
  # An optional content-guard. If none is specified, a default one will be used.
24
24
  attr_accessor :content_guard
25
25
 
26
- # Whether this distribution should be shown in the content app.
27
- attr_accessor :hidden
26
+ # Timestamp of creation.
27
+ attr_accessor :pulp_created
28
28
 
29
- # The latest RepositoryVersion for this Repository will be served.
30
- attr_accessor :repository
29
+ # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
30
+ attr_accessor :base_path
31
31
 
32
- attr_accessor :pulp_href
32
+ # A unique name. Ex, `rawhide` and `stable`.
33
+ attr_accessor :name
33
34
 
34
- # 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.
35
- attr_accessor :pulp_last_updated
35
+ # Whether this distribution should be shown in the content app.
36
+ attr_accessor :hidden
36
37
 
37
- # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
38
- attr_accessor :base_path
38
+ attr_accessor :pulp_labels
39
39
 
40
- # Timestamp of creation.
41
- attr_accessor :pulp_created
40
+ # The latest RepositoryVersion for this Repository will be served.
41
+ attr_accessor :repository
42
42
 
43
43
  # Remote that can be used to fetch content when using pull-through caching.
44
44
  attr_accessor :remote
@@ -58,15 +58,15 @@ module PulpContainerClient
58
58
  # Attribute mapping from ruby-style variable name to JSON key.
59
59
  def self.attribute_map
60
60
  {
61
- :'pulp_labels' => :'pulp_labels',
62
- :'name' => :'name',
63
- :'content_guard' => :'content_guard',
64
- :'hidden' => :'hidden',
65
- :'repository' => :'repository',
66
61
  :'pulp_href' => :'pulp_href',
67
62
  :'pulp_last_updated' => :'pulp_last_updated',
68
- :'base_path' => :'base_path',
63
+ :'content_guard' => :'content_guard',
69
64
  :'pulp_created' => :'pulp_created',
65
+ :'base_path' => :'base_path',
66
+ :'name' => :'name',
67
+ :'hidden' => :'hidden',
68
+ :'pulp_labels' => :'pulp_labels',
69
+ :'repository' => :'repository',
70
70
  :'remote' => :'remote',
71
71
  :'distributions' => :'distributions',
72
72
  :'namespace' => :'namespace',
@@ -78,15 +78,15 @@ module PulpContainerClient
78
78
  # Attribute type mapping.
79
79
  def self.openapi_types
80
80
  {
81
- :'pulp_labels' => :'Hash<String, String>',
82
- :'name' => :'String',
83
- :'content_guard' => :'String',
84
- :'hidden' => :'Boolean',
85
- :'repository' => :'String',
86
81
  :'pulp_href' => :'String',
87
82
  :'pulp_last_updated' => :'DateTime',
88
- :'base_path' => :'String',
83
+ :'content_guard' => :'String',
89
84
  :'pulp_created' => :'DateTime',
85
+ :'base_path' => :'String',
86
+ :'name' => :'String',
87
+ :'hidden' => :'Boolean',
88
+ :'pulp_labels' => :'Hash<String, String>',
89
+ :'repository' => :'String',
90
90
  :'remote' => :'String',
91
91
  :'distributions' => :'Array<String>',
92
92
  :'namespace' => :'String',
@@ -118,44 +118,44 @@ module PulpContainerClient
118
118
  h[k.to_sym] = v
119
119
  }
120
120
 
121
- if attributes.key?(:'pulp_labels')
122
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
123
- self.pulp_labels = value
124
- end
121
+ if attributes.key?(:'pulp_href')
122
+ self.pulp_href = attributes[:'pulp_href']
125
123
  end
126
124
 
127
- if attributes.key?(:'name')
128
- self.name = attributes[:'name']
125
+ if attributes.key?(:'pulp_last_updated')
126
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
129
127
  end
130
128
 
131
129
  if attributes.key?(:'content_guard')
132
130
  self.content_guard = attributes[:'content_guard']
133
131
  end
134
132
 
135
- if attributes.key?(:'hidden')
136
- self.hidden = attributes[:'hidden']
137
- else
138
- self.hidden = false
133
+ if attributes.key?(:'pulp_created')
134
+ self.pulp_created = attributes[:'pulp_created']
139
135
  end
140
136
 
141
- if attributes.key?(:'repository')
142
- self.repository = attributes[:'repository']
137
+ if attributes.key?(:'base_path')
138
+ self.base_path = attributes[:'base_path']
143
139
  end
144
140
 
145
- if attributes.key?(:'pulp_href')
146
- self.pulp_href = attributes[:'pulp_href']
141
+ if attributes.key?(:'name')
142
+ self.name = attributes[:'name']
147
143
  end
148
144
 
149
- if attributes.key?(:'pulp_last_updated')
150
- self.pulp_last_updated = attributes[:'pulp_last_updated']
145
+ if attributes.key?(:'hidden')
146
+ self.hidden = attributes[:'hidden']
147
+ else
148
+ self.hidden = false
151
149
  end
152
150
 
153
- if attributes.key?(:'base_path')
154
- self.base_path = attributes[:'base_path']
151
+ if attributes.key?(:'pulp_labels')
152
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
153
+ self.pulp_labels = value
154
+ end
155
155
  end
156
156
 
157
- if attributes.key?(:'pulp_created')
158
- self.pulp_created = attributes[:'pulp_created']
157
+ if attributes.key?(:'repository')
158
+ self.repository = attributes[:'repository']
159
159
  end
160
160
 
161
161
  if attributes.key?(:'remote')
@@ -185,14 +185,14 @@ module PulpContainerClient
185
185
  # @return Array for valid properties with the reasons
186
186
  def list_invalid_properties
187
187
  invalid_properties = Array.new
188
- if @name.nil?
189
- invalid_properties.push('invalid value for "name", name cannot be nil.')
190
- end
191
-
192
188
  if @base_path.nil?
193
189
  invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
194
190
  end
195
191
 
192
+ if @name.nil?
193
+ invalid_properties.push('invalid value for "name", name cannot be nil.')
194
+ end
195
+
196
196
  if @remote.nil?
197
197
  invalid_properties.push('invalid value for "remote", remote cannot be nil.')
198
198
  end
@@ -203,8 +203,8 @@ module PulpContainerClient
203
203
  # Check to see if the all the properties in the model are valid
204
204
  # @return true if the model is valid
205
205
  def valid?
206
- return false if @name.nil?
207
206
  return false if @base_path.nil?
207
+ return false if @name.nil?
208
208
  return false if @remote.nil?
209
209
  true
210
210
  end
@@ -214,15 +214,15 @@ module PulpContainerClient
214
214
  def ==(o)
215
215
  return true if self.equal?(o)
216
216
  self.class == o.class &&
217
- pulp_labels == o.pulp_labels &&
218
- name == o.name &&
219
- content_guard == o.content_guard &&
220
- hidden == o.hidden &&
221
- repository == o.repository &&
222
217
  pulp_href == o.pulp_href &&
223
218
  pulp_last_updated == o.pulp_last_updated &&
224
- base_path == o.base_path &&
219
+ content_guard == o.content_guard &&
225
220
  pulp_created == o.pulp_created &&
221
+ base_path == o.base_path &&
222
+ name == o.name &&
223
+ hidden == o.hidden &&
224
+ pulp_labels == o.pulp_labels &&
225
+ repository == o.repository &&
226
226
  remote == o.remote &&
227
227
  distributions == o.distributions &&
228
228
  namespace == o.namespace &&
@@ -239,7 +239,7 @@ module PulpContainerClient
239
239
  # Calculates hash code according to all attributes.
240
240
  # @return [Integer] Hash code
241
241
  def hash
242
- [pulp_labels, name, content_guard, hidden, repository, pulp_href, pulp_last_updated, base_path, pulp_created, remote, distributions, namespace, private, description].hash
242
+ [pulp_href, pulp_last_updated, content_guard, pulp_created, base_path, name, hidden, pulp_labels, repository, remote, distributions, namespace, private, description].hash
243
243
  end
244
244
 
245
245
  # Builds the object from hash
@@ -120,7 +120,7 @@ module PulpContainerClient
120
120
  :'pulp_labels' => :'Hash<String, String>',
121
121
  :'download_concurrency' => :'Integer',
122
122
  :'max_retries' => :'Integer',
123
- :'policy' => :'Policy8e2Enum',
123
+ :'policy' => :'Policy7e0Enum',
124
124
  :'total_timeout' => :'Float',
125
125
  :'connect_timeout' => :'Float',
126
126
  :'sock_connect_timeout' => :'Float',
@@ -113,7 +113,7 @@ module PulpContainerClient
113
113
  :'pulp_labels' => :'Hash<String, String>',
114
114
  :'download_concurrency' => :'Integer',
115
115
  :'max_retries' => :'Integer',
116
- :'policy' => :'Policy8e2Enum',
116
+ :'policy' => :'Policy7e0Enum',
117
117
  :'total_timeout' => :'Float',
118
118
  :'connect_timeout' => :'Float',
119
119
  :'sock_connect_timeout' => :'Float',
@@ -15,13 +15,10 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # Serializer for Container Push Repositories.
17
17
  class ContainerContainerPushRepository
18
- attr_accessor :pulp_labels
19
-
20
18
  # A unique name for this repository.
21
19
  attr_accessor :name
22
20
 
23
- # A reference to an associated signing service.
24
- attr_accessor :manifest_signing_service
21
+ attr_accessor :pulp_labels
25
22
 
26
23
  # An optional description.
27
24
  attr_accessor :description
@@ -29,34 +26,37 @@ module PulpContainerClient
29
26
  # Retain X versions of the repository. Default is null which retains all versions.
30
27
  attr_accessor :retain_repo_versions
31
28
 
29
+ # A reference to an associated signing service.
30
+ attr_accessor :manifest_signing_service
31
+
32
32
  # Attribute mapping from ruby-style variable name to JSON key.
33
33
  def self.attribute_map
34
34
  {
35
- :'pulp_labels' => :'pulp_labels',
36
35
  :'name' => :'name',
37
- :'manifest_signing_service' => :'manifest_signing_service',
36
+ :'pulp_labels' => :'pulp_labels',
38
37
  :'description' => :'description',
39
- :'retain_repo_versions' => :'retain_repo_versions'
38
+ :'retain_repo_versions' => :'retain_repo_versions',
39
+ :'manifest_signing_service' => :'manifest_signing_service'
40
40
  }
41
41
  end
42
42
 
43
43
  # Attribute type mapping.
44
44
  def self.openapi_types
45
45
  {
46
- :'pulp_labels' => :'Hash<String, String>',
47
46
  :'name' => :'String',
48
- :'manifest_signing_service' => :'String',
47
+ :'pulp_labels' => :'Hash<String, String>',
49
48
  :'description' => :'String',
50
- :'retain_repo_versions' => :'Integer'
49
+ :'retain_repo_versions' => :'Integer',
50
+ :'manifest_signing_service' => :'String'
51
51
  }
52
52
  end
53
53
 
54
54
  # List of attributes with nullable: true
55
55
  def self.openapi_nullable
56
56
  Set.new([
57
- :'manifest_signing_service',
58
57
  :'description',
59
- :'retain_repo_versions'
58
+ :'retain_repo_versions',
59
+ :'manifest_signing_service'
60
60
  ])
61
61
  end
62
62
 
@@ -75,18 +75,14 @@ module PulpContainerClient
75
75
  h[k.to_sym] = v
76
76
  }
77
77
 
78
- if attributes.key?(:'pulp_labels')
79
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
80
- self.pulp_labels = value
81
- end
82
- end
83
-
84
78
  if attributes.key?(:'name')
85
79
  self.name = attributes[:'name']
86
80
  end
87
81
 
88
- if attributes.key?(:'manifest_signing_service')
89
- self.manifest_signing_service = attributes[:'manifest_signing_service']
82
+ if attributes.key?(:'pulp_labels')
83
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
84
+ self.pulp_labels = value
85
+ end
90
86
  end
91
87
 
92
88
  if attributes.key?(:'description')
@@ -96,6 +92,10 @@ module PulpContainerClient
96
92
  if attributes.key?(:'retain_repo_versions')
97
93
  self.retain_repo_versions = attributes[:'retain_repo_versions']
98
94
  end
95
+
96
+ if attributes.key?(:'manifest_signing_service')
97
+ self.manifest_signing_service = attributes[:'manifest_signing_service']
98
+ end
99
99
  end
100
100
 
101
101
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -170,11 +170,11 @@ module PulpContainerClient
170
170
  def ==(o)
171
171
  return true if self.equal?(o)
172
172
  self.class == o.class &&
173
- pulp_labels == o.pulp_labels &&
174
173
  name == o.name &&
175
- manifest_signing_service == o.manifest_signing_service &&
174
+ pulp_labels == o.pulp_labels &&
176
175
  description == o.description &&
177
- retain_repo_versions == o.retain_repo_versions
176
+ retain_repo_versions == o.retain_repo_versions &&
177
+ manifest_signing_service == o.manifest_signing_service
178
178
  end
179
179
 
180
180
  # @see the `==` method
@@ -186,7 +186,7 @@ module PulpContainerClient
186
186
  # Calculates hash code according to all attributes.
187
187
  # @return [Integer] Hash code
188
188
  def hash
189
- [pulp_labels, name, manifest_signing_service, description, retain_repo_versions].hash
189
+ [name, pulp_labels, description, retain_repo_versions, manifest_signing_service].hash
190
190
  end
191
191
 
192
192
  # Builds the object from hash
@@ -15,15 +15,22 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # Serializer for Container Push Repositories.
17
17
  class ContainerContainerPushRepositoryResponse
18
- attr_accessor :pulp_labels
18
+ attr_accessor :latest_version_href
19
+
20
+ attr_accessor :pulp_href
21
+
22
+ # 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.
23
+ attr_accessor :pulp_last_updated
24
+
25
+ # Timestamp of creation.
26
+ attr_accessor :pulp_created
19
27
 
20
28
  # A unique name for this repository.
21
29
  attr_accessor :name
22
30
 
23
- attr_accessor :latest_version_href
31
+ attr_accessor :pulp_labels
24
32
 
25
- # A reference to an associated signing service.
26
- attr_accessor :manifest_signing_service
33
+ attr_accessor :versions_href
27
34
 
28
35
  # An optional description.
29
36
  attr_accessor :description
@@ -31,54 +38,47 @@ module PulpContainerClient
31
38
  # Retain X versions of the repository. Default is null which retains all versions.
32
39
  attr_accessor :retain_repo_versions
33
40
 
34
- attr_accessor :pulp_href
35
-
36
- attr_accessor :versions_href
37
-
38
- # 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.
39
- attr_accessor :pulp_last_updated
40
-
41
- # Timestamp of creation.
42
- attr_accessor :pulp_created
41
+ # A reference to an associated signing service.
42
+ attr_accessor :manifest_signing_service
43
43
 
44
44
  # Attribute mapping from ruby-style variable name to JSON key.
45
45
  def self.attribute_map
46
46
  {
47
- :'pulp_labels' => :'pulp_labels',
48
- :'name' => :'name',
49
47
  :'latest_version_href' => :'latest_version_href',
50
- :'manifest_signing_service' => :'manifest_signing_service',
51
- :'description' => :'description',
52
- :'retain_repo_versions' => :'retain_repo_versions',
53
48
  :'pulp_href' => :'pulp_href',
54
- :'versions_href' => :'versions_href',
55
49
  :'pulp_last_updated' => :'pulp_last_updated',
56
- :'pulp_created' => :'pulp_created'
50
+ :'pulp_created' => :'pulp_created',
51
+ :'name' => :'name',
52
+ :'pulp_labels' => :'pulp_labels',
53
+ :'versions_href' => :'versions_href',
54
+ :'description' => :'description',
55
+ :'retain_repo_versions' => :'retain_repo_versions',
56
+ :'manifest_signing_service' => :'manifest_signing_service'
57
57
  }
58
58
  end
59
59
 
60
60
  # Attribute type mapping.
61
61
  def self.openapi_types
62
62
  {
63
- :'pulp_labels' => :'Hash<String, String>',
64
- :'name' => :'String',
65
63
  :'latest_version_href' => :'String',
66
- :'manifest_signing_service' => :'String',
67
- :'description' => :'String',
68
- :'retain_repo_versions' => :'Integer',
69
64
  :'pulp_href' => :'String',
70
- :'versions_href' => :'String',
71
65
  :'pulp_last_updated' => :'DateTime',
72
- :'pulp_created' => :'DateTime'
66
+ :'pulp_created' => :'DateTime',
67
+ :'name' => :'String',
68
+ :'pulp_labels' => :'Hash<String, String>',
69
+ :'versions_href' => :'String',
70
+ :'description' => :'String',
71
+ :'retain_repo_versions' => :'Integer',
72
+ :'manifest_signing_service' => :'String'
73
73
  }
74
74
  end
75
75
 
76
76
  # List of attributes with nullable: true
77
77
  def self.openapi_nullable
78
78
  Set.new([
79
- :'manifest_signing_service',
80
79
  :'description',
81
80
  :'retain_repo_versions',
81
+ :'manifest_signing_service'
82
82
  ])
83
83
  end
84
84
 
@@ -97,46 +97,46 @@ module PulpContainerClient
97
97
  h[k.to_sym] = v
98
98
  }
99
99
 
100
- if attributes.key?(:'pulp_labels')
101
- if (value = attributes[:'pulp_labels']).is_a?(Hash)
102
- self.pulp_labels = value
103
- end
104
- end
105
-
106
- if attributes.key?(:'name')
107
- self.name = attributes[:'name']
108
- end
109
-
110
100
  if attributes.key?(:'latest_version_href')
111
101
  self.latest_version_href = attributes[:'latest_version_href']
112
102
  end
113
103
 
114
- if attributes.key?(:'manifest_signing_service')
115
- self.manifest_signing_service = attributes[:'manifest_signing_service']
104
+ if attributes.key?(:'pulp_href')
105
+ self.pulp_href = attributes[:'pulp_href']
116
106
  end
117
107
 
118
- if attributes.key?(:'description')
119
- self.description = attributes[:'description']
108
+ if attributes.key?(:'pulp_last_updated')
109
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
120
110
  end
121
111
 
122
- if attributes.key?(:'retain_repo_versions')
123
- self.retain_repo_versions = attributes[:'retain_repo_versions']
112
+ if attributes.key?(:'pulp_created')
113
+ self.pulp_created = attributes[:'pulp_created']
124
114
  end
125
115
 
126
- if attributes.key?(:'pulp_href')
127
- self.pulp_href = attributes[:'pulp_href']
116
+ if attributes.key?(:'name')
117
+ self.name = attributes[:'name']
118
+ end
119
+
120
+ if attributes.key?(:'pulp_labels')
121
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
122
+ self.pulp_labels = value
123
+ end
128
124
  end
129
125
 
130
126
  if attributes.key?(:'versions_href')
131
127
  self.versions_href = attributes[:'versions_href']
132
128
  end
133
129
 
134
- if attributes.key?(:'pulp_last_updated')
135
- self.pulp_last_updated = attributes[:'pulp_last_updated']
130
+ if attributes.key?(:'description')
131
+ self.description = attributes[:'description']
136
132
  end
137
133
 
138
- if attributes.key?(:'pulp_created')
139
- self.pulp_created = attributes[:'pulp_created']
134
+ if attributes.key?(:'retain_repo_versions')
135
+ self.retain_repo_versions = attributes[:'retain_repo_versions']
136
+ end
137
+
138
+ if attributes.key?(:'manifest_signing_service')
139
+ self.manifest_signing_service = attributes[:'manifest_signing_service']
140
140
  end
141
141
  end
142
142
 
@@ -178,16 +178,16 @@ module PulpContainerClient
178
178
  def ==(o)
179
179
  return true if self.equal?(o)
180
180
  self.class == o.class &&
181
- pulp_labels == o.pulp_labels &&
182
- name == o.name &&
183
181
  latest_version_href == o.latest_version_href &&
184
- manifest_signing_service == o.manifest_signing_service &&
185
- description == o.description &&
186
- retain_repo_versions == o.retain_repo_versions &&
187
182
  pulp_href == o.pulp_href &&
188
- versions_href == o.versions_href &&
189
183
  pulp_last_updated == o.pulp_last_updated &&
190
- pulp_created == o.pulp_created
184
+ pulp_created == o.pulp_created &&
185
+ name == o.name &&
186
+ pulp_labels == o.pulp_labels &&
187
+ versions_href == o.versions_href &&
188
+ description == o.description &&
189
+ retain_repo_versions == o.retain_repo_versions &&
190
+ manifest_signing_service == o.manifest_signing_service
191
191
  end
192
192
 
193
193
  # @see the `==` method
@@ -199,7 +199,7 @@ module PulpContainerClient
199
199
  # Calculates hash code according to all attributes.
200
200
  # @return [Integer] Hash code
201
201
  def hash
202
- [pulp_labels, name, latest_version_href, manifest_signing_service, description, retain_repo_versions, pulp_href, versions_href, pulp_last_updated, pulp_created].hash
202
+ [latest_version_href, pulp_href, pulp_last_updated, pulp_created, name, pulp_labels, versions_href, description, retain_repo_versions, manifest_signing_service].hash
203
203
  end
204
204
 
205
205
  # Builds the object from hash
@@ -137,7 +137,7 @@ module PulpContainerClient
137
137
  :'pulp_labels' => :'Hash<String, String>',
138
138
  :'download_concurrency' => :'Integer',
139
139
  :'max_retries' => :'Integer',
140
- :'policy' => :'Policy762Enum',
140
+ :'policy' => :'Policy692Enum',
141
141
  :'total_timeout' => :'Float',
142
142
  :'connect_timeout' => :'Float',
143
143
  :'sock_connect_timeout' => :'Float',
@@ -130,7 +130,7 @@ module PulpContainerClient
130
130
  :'pulp_labels' => :'Hash<String, String>',
131
131
  :'download_concurrency' => :'Integer',
132
132
  :'max_retries' => :'Integer',
133
- :'policy' => :'Policy762Enum',
133
+ :'policy' => :'Policy692Enum',
134
134
  :'total_timeout' => :'Float',
135
135
  :'connect_timeout' => :'Float',
136
136
  :'sock_connect_timeout' => :'Float',
@@ -89,8 +89,8 @@ module PulpContainerClient
89
89
  :'listed_manifests' => :'Array<String>',
90
90
  :'config_blob' => :'String',
91
91
  :'blobs' => :'Array<String>',
92
- :'annotations' => :'Object',
93
- :'labels' => :'Object',
92
+ :'annotations' => :'AnyType',
93
+ :'labels' => :'AnyType',
94
94
  :'is_bootable' => :'Boolean',
95
95
  :'is_flatpak' => :'Boolean'
96
96
  }
@@ -43,7 +43,7 @@ module PulpContainerClient
43
43
  :'containerfile_artifact' => :'String',
44
44
  :'containerfile' => :'File',
45
45
  :'tag' => :'String',
46
- :'artifacts' => :'Object'
46
+ :'artifacts' => :'AnyType'
47
47
  }
48
48
  end
49
49