pulp_container_client 2.14.2 → 2.14.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 (73) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +7 -6
  3. data/docs/ContainerContainerDistribution.md +7 -7
  4. data/docs/ContainerContainerDistributionResponse.md +10 -10
  5. data/docs/ContainerContainerPushRepository.md +6 -6
  6. data/docs/ContainerContainerPushRepositoryResponse.md +12 -12
  7. data/docs/ContainerContainerRemote.md +1 -1
  8. data/docs/ContainerContainerRemoteResponse.md +3 -1
  9. data/docs/ContainerContainerRemoteResponseHiddenFields.md +19 -0
  10. data/docs/ContainerContainerRepository.md +2 -2
  11. data/docs/ContainerContainerRepositoryResponse.md +2 -2
  12. data/docs/ContentBlobsApi.md +8 -8
  13. data/docs/ContentManifestsApi.md +8 -8
  14. data/docs/ContentSignaturesApi.md +8 -8
  15. data/docs/ContentTagsApi.md +8 -8
  16. data/docs/DistributionsContainerApi.md +24 -20
  17. data/docs/PatchedcontainerContainerDistribution.md +7 -7
  18. data/docs/PatchedcontainerContainerPushRepository.md +6 -6
  19. data/docs/PatchedcontainerContainerRemote.md +1 -1
  20. data/docs/PatchedcontainerContainerRepository.md +2 -2
  21. data/docs/PulpContainerNamespacesApi.md +16 -16
  22. data/docs/RemotesContainerApi.md +20 -20
  23. data/docs/RepositoriesContainerApi.md +35 -19
  24. data/docs/RepositoriesContainerPushApi.md +35 -19
  25. data/docs/RepositoriesContainerPushVersionsApi.md +12 -12
  26. data/docs/RepositoriesContainerVersionsApi.md +12 -12
  27. data/lib/pulp_container_client/api/content_blobs_api.rb +13 -13
  28. data/lib/pulp_container_client/api/content_manifests_api.rb +13 -13
  29. data/lib/pulp_container_client/api/content_signatures_api.rb +13 -13
  30. data/lib/pulp_container_client/api/content_tags_api.rb +13 -13
  31. data/lib/pulp_container_client/api/distributions_container_api.rb +35 -29
  32. data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +25 -25
  33. data/lib/pulp_container_client/api/remotes_container_api.rb +29 -29
  34. data/lib/pulp_container_client/api/repositories_container_api.rb +51 -27
  35. data/lib/pulp_container_client/api/repositories_container_push_api.rb +51 -27
  36. data/lib/pulp_container_client/api/repositories_container_push_versions_api.rb +17 -17
  37. data/lib/pulp_container_client/api/repositories_container_versions_api.rb +17 -17
  38. data/lib/pulp_container_client/models/container_container_distribution.rb +53 -51
  39. data/lib/pulp_container_client/models/container_container_distribution_response.rb +48 -46
  40. data/lib/pulp_container_client/models/container_container_push_repository.rb +40 -38
  41. data/lib/pulp_container_client/models/container_container_push_repository_response.rb +52 -50
  42. data/lib/pulp_container_client/models/container_container_remote.rb +4 -2
  43. data/lib/pulp_container_client/models/container_container_remote_response.rb +17 -3
  44. data/lib/pulp_container_client/models/container_container_remote_response_hidden_fields.rb +215 -0
  45. data/lib/pulp_container_client/models/container_container_repository.rb +5 -3
  46. data/lib/pulp_container_client/models/container_container_repository_response.rb +5 -3
  47. data/lib/pulp_container_client/models/nested_role.rb +19 -0
  48. data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +44 -42
  49. data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +40 -38
  50. data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +4 -2
  51. data/lib/pulp_container_client/models/patchedcontainer_container_repository.rb +5 -3
  52. data/lib/pulp_container_client/version.rb +1 -1
  53. data/lib/pulp_container_client.rb +1 -0
  54. data/spec/api/content_blobs_api_spec.rb +4 -4
  55. data/spec/api/content_manifests_api_spec.rb +4 -4
  56. data/spec/api/content_signatures_api_spec.rb +4 -4
  57. data/spec/api/content_tags_api_spec.rb +4 -4
  58. data/spec/api/distributions_container_api_spec.rb +12 -10
  59. data/spec/api/pulp_container_namespaces_api_spec.rb +8 -8
  60. data/spec/api/remotes_container_api_spec.rb +10 -10
  61. data/spec/api/repositories_container_api_spec.rb +17 -9
  62. data/spec/api/repositories_container_push_api_spec.rb +17 -9
  63. data/spec/api/repositories_container_push_versions_api_spec.rb +6 -6
  64. data/spec/api/repositories_container_versions_api_spec.rb +6 -6
  65. data/spec/models/container_container_distribution_response_spec.rb +7 -7
  66. data/spec/models/container_container_distribution_spec.rb +5 -5
  67. data/spec/models/container_container_push_repository_response_spec.rb +8 -8
  68. data/spec/models/container_container_push_repository_spec.rb +4 -4
  69. data/spec/models/container_container_remote_response_hidden_fields_spec.rb +47 -0
  70. data/spec/models/container_container_remote_response_spec.rb +6 -0
  71. data/spec/models/patchedcontainer_container_distribution_spec.rb +5 -5
  72. data/spec/models/patchedcontainer_container_push_repository_spec.rb +4 -4
  73. metadata +51 -47
@@ -15,24 +15,24 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # A serializer for ContainerDistribution.
17
17
  class ContainerContainerDistributionResponse
18
- # Timestamp of creation.
19
- attr_accessor :pulp_created
18
+ # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
19
+ attr_accessor :base_path
20
20
 
21
- # The latest RepositoryVersion for this Repository will be served.
22
- attr_accessor :repository
21
+ # An optional content-guard. If none is specified, a default one will be used.
22
+ attr_accessor :content_guard
23
+
24
+ attr_accessor :pulp_labels
23
25
 
24
26
  # A unique name. Ex, `rawhide` and `stable`.
25
27
  attr_accessor :name
26
28
 
27
- attr_accessor :pulp_href
28
-
29
- # An optional content-guard. If none is specified, a default one will be used.
30
- attr_accessor :content_guard
29
+ # The latest RepositoryVersion for this Repository will be served.
30
+ attr_accessor :repository
31
31
 
32
- attr_accessor :pulp_labels
32
+ attr_accessor :pulp_href
33
33
 
34
- # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
35
- attr_accessor :base_path
34
+ # Timestamp of creation.
35
+ attr_accessor :pulp_created
36
36
 
37
37
  # RepositoryVersion to be served
38
38
  attr_accessor :repository_version
@@ -52,13 +52,13 @@ module PulpContainerClient
52
52
  # Attribute mapping from ruby-style variable name to JSON key.
53
53
  def self.attribute_map
54
54
  {
55
- :'pulp_created' => :'pulp_created',
56
- :'repository' => :'repository',
57
- :'name' => :'name',
58
- :'pulp_href' => :'pulp_href',
55
+ :'base_path' => :'base_path',
59
56
  :'content_guard' => :'content_guard',
60
57
  :'pulp_labels' => :'pulp_labels',
61
- :'base_path' => :'base_path',
58
+ :'name' => :'name',
59
+ :'repository' => :'repository',
60
+ :'pulp_href' => :'pulp_href',
61
+ :'pulp_created' => :'pulp_created',
62
62
  :'repository_version' => :'repository_version',
63
63
  :'registry_path' => :'registry_path',
64
64
  :'namespace' => :'namespace',
@@ -70,13 +70,13 @@ module PulpContainerClient
70
70
  # Attribute type mapping.
71
71
  def self.openapi_types
72
72
  {
73
- :'pulp_created' => :'DateTime',
74
- :'repository' => :'String',
73
+ :'base_path' => :'String',
74
+ :'content_guard' => :'String',
75
+ :'pulp_labels' => :'Hash<String, String>',
75
76
  :'name' => :'String',
77
+ :'repository' => :'String',
76
78
  :'pulp_href' => :'String',
77
- :'content_guard' => :'String',
78
- :'pulp_labels' => :'Object',
79
- :'base_path' => :'String',
79
+ :'pulp_created' => :'DateTime',
80
80
  :'repository_version' => :'String',
81
81
  :'registry_path' => :'String',
82
82
  :'namespace' => :'String',
@@ -109,32 +109,34 @@ module PulpContainerClient
109
109
  h[k.to_sym] = v
110
110
  }
111
111
 
112
- if attributes.key?(:'pulp_created')
113
- self.pulp_created = attributes[:'pulp_created']
112
+ if attributes.key?(:'base_path')
113
+ self.base_path = attributes[:'base_path']
114
114
  end
115
115
 
116
- if attributes.key?(:'repository')
117
- self.repository = attributes[:'repository']
116
+ if attributes.key?(:'content_guard')
117
+ self.content_guard = attributes[:'content_guard']
118
118
  end
119
119
 
120
- if attributes.key?(:'name')
121
- self.name = attributes[:'name']
120
+ if attributes.key?(:'pulp_labels')
121
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
122
+ self.pulp_labels = value
123
+ end
122
124
  end
123
125
 
124
- if attributes.key?(:'pulp_href')
125
- self.pulp_href = attributes[:'pulp_href']
126
+ if attributes.key?(:'name')
127
+ self.name = attributes[:'name']
126
128
  end
127
129
 
128
- if attributes.key?(:'content_guard')
129
- self.content_guard = attributes[:'content_guard']
130
+ if attributes.key?(:'repository')
131
+ self.repository = attributes[:'repository']
130
132
  end
131
133
 
132
- if attributes.key?(:'pulp_labels')
133
- self.pulp_labels = attributes[:'pulp_labels']
134
+ if attributes.key?(:'pulp_href')
135
+ self.pulp_href = attributes[:'pulp_href']
134
136
  end
135
137
 
136
- if attributes.key?(:'base_path')
137
- self.base_path = attributes[:'base_path']
138
+ if attributes.key?(:'pulp_created')
139
+ self.pulp_created = attributes[:'pulp_created']
138
140
  end
139
141
 
140
142
  if attributes.key?(:'repository_version')
@@ -162,22 +164,22 @@ module PulpContainerClient
162
164
  # @return Array for valid properties with the reasons
163
165
  def list_invalid_properties
164
166
  invalid_properties = Array.new
165
- if @name.nil?
166
- invalid_properties.push('invalid value for "name", name cannot be nil.')
167
- end
168
-
169
167
  if @base_path.nil?
170
168
  invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
171
169
  end
172
170
 
171
+ if @name.nil?
172
+ invalid_properties.push('invalid value for "name", name cannot be nil.')
173
+ end
174
+
173
175
  invalid_properties
174
176
  end
175
177
 
176
178
  # Check to see if the all the properties in the model are valid
177
179
  # @return true if the model is valid
178
180
  def valid?
179
- return false if @name.nil?
180
181
  return false if @base_path.nil?
182
+ return false if @name.nil?
181
183
  true
182
184
  end
183
185
 
@@ -186,13 +188,13 @@ module PulpContainerClient
186
188
  def ==(o)
187
189
  return true if self.equal?(o)
188
190
  self.class == o.class &&
189
- pulp_created == o.pulp_created &&
190
- repository == o.repository &&
191
- name == o.name &&
192
- pulp_href == o.pulp_href &&
191
+ base_path == o.base_path &&
193
192
  content_guard == o.content_guard &&
194
193
  pulp_labels == o.pulp_labels &&
195
- base_path == o.base_path &&
194
+ name == o.name &&
195
+ repository == o.repository &&
196
+ pulp_href == o.pulp_href &&
197
+ pulp_created == o.pulp_created &&
196
198
  repository_version == o.repository_version &&
197
199
  registry_path == o.registry_path &&
198
200
  namespace == o.namespace &&
@@ -209,7 +211,7 @@ module PulpContainerClient
209
211
  # Calculates hash code according to all attributes.
210
212
  # @return [Integer] Hash code
211
213
  def hash
212
- [pulp_created, repository, name, pulp_href, content_guard, pulp_labels, base_path, repository_version, registry_path, namespace, private, description].hash
214
+ [base_path, content_guard, pulp_labels, name, repository, pulp_href, pulp_created, repository_version, registry_path, namespace, private, description].hash
213
215
  end
214
216
 
215
217
  # Builds the object from hash
@@ -15,48 +15,48 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # Serializer for Container Push Repositories.
17
17
  class ContainerContainerPushRepository
18
- # An optional description.
19
- attr_accessor :description
18
+ attr_accessor :pulp_labels
20
19
 
21
20
  # A unique name for this repository.
22
21
  attr_accessor :name
23
22
 
24
- attr_accessor :pulp_labels
25
-
26
23
  # A reference to an associated signing service.
27
24
  attr_accessor :manifest_signing_service
28
25
 
29
- # Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future.
26
+ # Retain X versions of the repository. Default is null which retains all versions.
30
27
  attr_accessor :retain_repo_versions
31
28
 
29
+ # An optional description.
30
+ attr_accessor :description
31
+
32
32
  # Attribute mapping from ruby-style variable name to JSON key.
33
33
  def self.attribute_map
34
34
  {
35
- :'description' => :'description',
36
- :'name' => :'name',
37
35
  :'pulp_labels' => :'pulp_labels',
36
+ :'name' => :'name',
38
37
  :'manifest_signing_service' => :'manifest_signing_service',
39
- :'retain_repo_versions' => :'retain_repo_versions'
38
+ :'retain_repo_versions' => :'retain_repo_versions',
39
+ :'description' => :'description'
40
40
  }
41
41
  end
42
42
 
43
43
  # Attribute type mapping.
44
44
  def self.openapi_types
45
45
  {
46
- :'description' => :'String',
46
+ :'pulp_labels' => :'Hash<String, String>',
47
47
  :'name' => :'String',
48
- :'pulp_labels' => :'Object',
49
48
  :'manifest_signing_service' => :'String',
50
- :'retain_repo_versions' => :'Integer'
49
+ :'retain_repo_versions' => :'Integer',
50
+ :'description' => :'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
- :'description',
58
57
  :'manifest_signing_service',
59
- :'retain_repo_versions'
58
+ :'retain_repo_versions',
59
+ :'description'
60
60
  ])
61
61
  end
62
62
 
@@ -75,18 +75,16 @@ module PulpContainerClient
75
75
  h[k.to_sym] = v
76
76
  }
77
77
 
78
- if attributes.key?(:'description')
79
- self.description = attributes[:'description']
78
+ if attributes.key?(:'pulp_labels')
79
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
80
+ self.pulp_labels = value
81
+ end
80
82
  end
81
83
 
82
84
  if attributes.key?(:'name')
83
85
  self.name = attributes[:'name']
84
86
  end
85
87
 
86
- if attributes.key?(:'pulp_labels')
87
- self.pulp_labels = attributes[:'pulp_labels']
88
- end
89
-
90
88
  if attributes.key?(:'manifest_signing_service')
91
89
  self.manifest_signing_service = attributes[:'manifest_signing_service']
92
90
  end
@@ -94,16 +92,16 @@ module PulpContainerClient
94
92
  if attributes.key?(:'retain_repo_versions')
95
93
  self.retain_repo_versions = attributes[:'retain_repo_versions']
96
94
  end
95
+
96
+ if attributes.key?(:'description')
97
+ self.description = attributes[:'description']
98
+ end
97
99
  end
98
100
 
99
101
  # Show invalid properties with the reasons. Usually used together with valid?
100
102
  # @return Array for valid properties with the reasons
101
103
  def list_invalid_properties
102
104
  invalid_properties = Array.new
103
- if !@description.nil? && @description.to_s.length < 1
104
- invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
105
- end
106
-
107
105
  if @name.nil?
108
106
  invalid_properties.push('invalid value for "name", name cannot be nil.')
109
107
  end
@@ -116,29 +114,23 @@ module PulpContainerClient
116
114
  invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
117
115
  end
118
116
 
117
+ if !@description.nil? && @description.to_s.length < 1
118
+ invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
119
+ end
120
+
119
121
  invalid_properties
120
122
  end
121
123
 
122
124
  # Check to see if the all the properties in the model are valid
123
125
  # @return true if the model is valid
124
126
  def valid?
125
- return false if !@description.nil? && @description.to_s.length < 1
126
127
  return false if @name.nil?
127
128
  return false if @name.to_s.length < 1
128
129
  return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
130
+ return false if !@description.nil? && @description.to_s.length < 1
129
131
  true
130
132
  end
131
133
 
132
- # Custom attribute writer method with validation
133
- # @param [Object] description Value to be assigned
134
- def description=(description)
135
- if !description.nil? && description.to_s.length < 1
136
- fail ArgumentError, 'invalid value for "description", the character length must be great than or equal to 1.'
137
- end
138
-
139
- @description = description
140
- end
141
-
142
134
  # Custom attribute writer method with validation
143
135
  # @param [Object] name Value to be assigned
144
136
  def name=(name)
@@ -163,16 +155,26 @@ module PulpContainerClient
163
155
  @retain_repo_versions = retain_repo_versions
164
156
  end
165
157
 
158
+ # Custom attribute writer method with validation
159
+ # @param [Object] description Value to be assigned
160
+ def description=(description)
161
+ if !description.nil? && description.to_s.length < 1
162
+ fail ArgumentError, 'invalid value for "description", the character length must be great than or equal to 1.'
163
+ end
164
+
165
+ @description = description
166
+ end
167
+
166
168
  # Checks equality by comparing each attribute.
167
169
  # @param [Object] Object to be compared
168
170
  def ==(o)
169
171
  return true if self.equal?(o)
170
172
  self.class == o.class &&
171
- description == o.description &&
172
- name == o.name &&
173
173
  pulp_labels == o.pulp_labels &&
174
+ name == o.name &&
174
175
  manifest_signing_service == o.manifest_signing_service &&
175
- retain_repo_versions == o.retain_repo_versions
176
+ retain_repo_versions == o.retain_repo_versions &&
177
+ description == o.description
176
178
  end
177
179
 
178
180
  # @see the `==` method
@@ -184,7 +186,7 @@ module PulpContainerClient
184
186
  # Calculates hash code according to all attributes.
185
187
  # @return [Integer] Hash code
186
188
  def hash
187
- [description, name, pulp_labels, manifest_signing_service, retain_repo_versions].hash
189
+ [pulp_labels, name, manifest_signing_service, retain_repo_versions, description].hash
188
190
  end
189
191
 
190
192
  # Builds the object from hash
@@ -15,65 +15,65 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # Serializer for Container Push Repositories.
17
17
  class ContainerContainerPushRepositoryResponse
18
- attr_accessor :versions_href
19
-
20
- # Timestamp of creation.
21
- attr_accessor :pulp_created
22
-
23
- # An optional description.
24
- attr_accessor :description
18
+ attr_accessor :pulp_labels
25
19
 
26
20
  # A unique name for this repository.
27
21
  attr_accessor :name
28
22
 
29
- attr_accessor :latest_version_href
30
-
31
- attr_accessor :pulp_labels
32
-
33
- attr_accessor :pulp_href
23
+ attr_accessor :versions_href
34
24
 
35
25
  # A reference to an associated signing service.
36
26
  attr_accessor :manifest_signing_service
37
27
 
38
- # Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future.
28
+ # Retain X versions of the repository. Default is null which retains all versions.
39
29
  attr_accessor :retain_repo_versions
40
30
 
31
+ attr_accessor :latest_version_href
32
+
33
+ attr_accessor :pulp_href
34
+
35
+ # Timestamp of creation.
36
+ attr_accessor :pulp_created
37
+
38
+ # An optional description.
39
+ attr_accessor :description
40
+
41
41
  # Attribute mapping from ruby-style variable name to JSON key.
42
42
  def self.attribute_map
43
43
  {
44
- :'versions_href' => :'versions_href',
45
- :'pulp_created' => :'pulp_created',
46
- :'description' => :'description',
44
+ :'pulp_labels' => :'pulp_labels',
47
45
  :'name' => :'name',
46
+ :'versions_href' => :'versions_href',
47
+ :'manifest_signing_service' => :'manifest_signing_service',
48
+ :'retain_repo_versions' => :'retain_repo_versions',
48
49
  :'latest_version_href' => :'latest_version_href',
49
- :'pulp_labels' => :'pulp_labels',
50
50
  :'pulp_href' => :'pulp_href',
51
- :'manifest_signing_service' => :'manifest_signing_service',
52
- :'retain_repo_versions' => :'retain_repo_versions'
51
+ :'pulp_created' => :'pulp_created',
52
+ :'description' => :'description'
53
53
  }
54
54
  end
55
55
 
56
56
  # Attribute type mapping.
57
57
  def self.openapi_types
58
58
  {
59
- :'versions_href' => :'String',
60
- :'pulp_created' => :'DateTime',
61
- :'description' => :'String',
59
+ :'pulp_labels' => :'Hash<String, String>',
62
60
  :'name' => :'String',
61
+ :'versions_href' => :'String',
62
+ :'manifest_signing_service' => :'String',
63
+ :'retain_repo_versions' => :'Integer',
63
64
  :'latest_version_href' => :'String',
64
- :'pulp_labels' => :'Object',
65
65
  :'pulp_href' => :'String',
66
- :'manifest_signing_service' => :'String',
67
- :'retain_repo_versions' => :'Integer'
66
+ :'pulp_created' => :'DateTime',
67
+ :'description' => :'String'
68
68
  }
69
69
  end
70
70
 
71
71
  # List of attributes with nullable: true
72
72
  def self.openapi_nullable
73
73
  Set.new([
74
- :'description',
75
74
  :'manifest_signing_service',
76
- :'retain_repo_versions'
75
+ :'retain_repo_versions',
76
+ :'description'
77
77
  ])
78
78
  end
79
79
 
@@ -92,40 +92,42 @@ module PulpContainerClient
92
92
  h[k.to_sym] = v
93
93
  }
94
94
 
95
- if attributes.key?(:'versions_href')
96
- self.versions_href = attributes[:'versions_href']
95
+ if attributes.key?(:'pulp_labels')
96
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
97
+ self.pulp_labels = value
98
+ end
97
99
  end
98
100
 
99
- if attributes.key?(:'pulp_created')
100
- self.pulp_created = attributes[:'pulp_created']
101
+ if attributes.key?(:'name')
102
+ self.name = attributes[:'name']
101
103
  end
102
104
 
103
- if attributes.key?(:'description')
104
- self.description = attributes[:'description']
105
+ if attributes.key?(:'versions_href')
106
+ self.versions_href = attributes[:'versions_href']
105
107
  end
106
108
 
107
- if attributes.key?(:'name')
108
- self.name = attributes[:'name']
109
+ if attributes.key?(:'manifest_signing_service')
110
+ self.manifest_signing_service = attributes[:'manifest_signing_service']
109
111
  end
110
112
 
111
- if attributes.key?(:'latest_version_href')
112
- self.latest_version_href = attributes[:'latest_version_href']
113
+ if attributes.key?(:'retain_repo_versions')
114
+ self.retain_repo_versions = attributes[:'retain_repo_versions']
113
115
  end
114
116
 
115
- if attributes.key?(:'pulp_labels')
116
- self.pulp_labels = attributes[:'pulp_labels']
117
+ if attributes.key?(:'latest_version_href')
118
+ self.latest_version_href = attributes[:'latest_version_href']
117
119
  end
118
120
 
119
121
  if attributes.key?(:'pulp_href')
120
122
  self.pulp_href = attributes[:'pulp_href']
121
123
  end
122
124
 
123
- if attributes.key?(:'manifest_signing_service')
124
- self.manifest_signing_service = attributes[:'manifest_signing_service']
125
+ if attributes.key?(:'pulp_created')
126
+ self.pulp_created = attributes[:'pulp_created']
125
127
  end
126
128
 
127
- if attributes.key?(:'retain_repo_versions')
128
- self.retain_repo_versions = attributes[:'retain_repo_versions']
129
+ if attributes.key?(:'description')
130
+ self.description = attributes[:'description']
129
131
  end
130
132
  end
131
133
 
@@ -167,15 +169,15 @@ module PulpContainerClient
167
169
  def ==(o)
168
170
  return true if self.equal?(o)
169
171
  self.class == o.class &&
170
- versions_href == o.versions_href &&
171
- pulp_created == o.pulp_created &&
172
- description == o.description &&
172
+ pulp_labels == o.pulp_labels &&
173
173
  name == o.name &&
174
+ versions_href == o.versions_href &&
175
+ manifest_signing_service == o.manifest_signing_service &&
176
+ retain_repo_versions == o.retain_repo_versions &&
174
177
  latest_version_href == o.latest_version_href &&
175
- pulp_labels == o.pulp_labels &&
176
178
  pulp_href == o.pulp_href &&
177
- manifest_signing_service == o.manifest_signing_service &&
178
- retain_repo_versions == o.retain_repo_versions
179
+ pulp_created == o.pulp_created &&
180
+ description == o.description
179
181
  end
180
182
 
181
183
  # @see the `==` method
@@ -187,7 +189,7 @@ module PulpContainerClient
187
189
  # Calculates hash code according to all attributes.
188
190
  # @return [Integer] Hash code
189
191
  def hash
190
- [versions_href, pulp_created, description, name, latest_version_href, pulp_labels, pulp_href, manifest_signing_service, retain_repo_versions].hash
192
+ [pulp_labels, name, versions_href, manifest_signing_service, retain_repo_versions, latest_version_href, pulp_href, pulp_created, description].hash
191
193
  end
192
194
 
193
195
  # Builds the object from hash
@@ -134,7 +134,7 @@ module PulpContainerClient
134
134
  :'proxy_password' => :'String',
135
135
  :'username' => :'String',
136
136
  :'password' => :'String',
137
- :'pulp_labels' => :'Object',
137
+ :'pulp_labels' => :'Hash<String, String>',
138
138
  :'download_concurrency' => :'Integer',
139
139
  :'max_retries' => :'Integer',
140
140
  :'policy' => :'PolicyEnum',
@@ -234,7 +234,9 @@ module PulpContainerClient
234
234
  end
235
235
 
236
236
  if attributes.key?(:'pulp_labels')
237
- self.pulp_labels = attributes[:'pulp_labels']
237
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
238
+ self.pulp_labels = value
239
+ end
238
240
  end
239
241
 
240
242
  if attributes.key?(:'download_concurrency')
@@ -70,6 +70,9 @@ module PulpContainerClient
70
70
  # Limits requests per second for each concurrent downloader
71
71
  attr_accessor :rate_limit
72
72
 
73
+ # List of hidden (write only) fields
74
+ attr_accessor :hidden_fields
75
+
73
76
  # Name of the upstream repository
74
77
  attr_accessor :upstream_name
75
78
 
@@ -104,6 +107,7 @@ module PulpContainerClient
104
107
  :'sock_read_timeout' => :'sock_read_timeout',
105
108
  :'headers' => :'headers',
106
109
  :'rate_limit' => :'rate_limit',
110
+ :'hidden_fields' => :'hidden_fields',
107
111
  :'upstream_name' => :'upstream_name',
108
112
  :'include_tags' => :'include_tags',
109
113
  :'exclude_tags' => :'exclude_tags',
@@ -122,7 +126,7 @@ module PulpContainerClient
122
126
  :'client_cert' => :'String',
123
127
  :'tls_validation' => :'Boolean',
124
128
  :'proxy_url' => :'String',
125
- :'pulp_labels' => :'Object',
129
+ :'pulp_labels' => :'Hash<String, String>',
126
130
  :'pulp_last_updated' => :'DateTime',
127
131
  :'download_concurrency' => :'Integer',
128
132
  :'max_retries' => :'Integer',
@@ -133,6 +137,7 @@ module PulpContainerClient
133
137
  :'sock_read_timeout' => :'Float',
134
138
  :'headers' => :'Array<Object>',
135
139
  :'rate_limit' => :'Integer',
140
+ :'hidden_fields' => :'Array<ContainerContainerRemoteResponseHiddenFields>',
136
141
  :'upstream_name' => :'String',
137
142
  :'include_tags' => :'Array<String>',
138
143
  :'exclude_tags' => :'Array<String>',
@@ -206,7 +211,9 @@ module PulpContainerClient
206
211
  end
207
212
 
208
213
  if attributes.key?(:'pulp_labels')
209
- self.pulp_labels = attributes[:'pulp_labels']
214
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
215
+ self.pulp_labels = value
216
+ end
210
217
  end
211
218
 
212
219
  if attributes.key?(:'pulp_last_updated')
@@ -251,6 +258,12 @@ module PulpContainerClient
251
258
  self.rate_limit = attributes[:'rate_limit']
252
259
  end
253
260
 
261
+ if attributes.key?(:'hidden_fields')
262
+ if (value = attributes[:'hidden_fields']).is_a?(Array)
263
+ self.hidden_fields = value
264
+ end
265
+ end
266
+
254
267
  if attributes.key?(:'upstream_name')
255
268
  self.upstream_name = attributes[:'upstream_name']
256
269
  end
@@ -399,6 +412,7 @@ module PulpContainerClient
399
412
  sock_read_timeout == o.sock_read_timeout &&
400
413
  headers == o.headers &&
401
414
  rate_limit == o.rate_limit &&
415
+ hidden_fields == o.hidden_fields &&
402
416
  upstream_name == o.upstream_name &&
403
417
  include_tags == o.include_tags &&
404
418
  exclude_tags == o.exclude_tags &&
@@ -414,7 +428,7 @@ module PulpContainerClient
414
428
  # Calculates hash code according to all attributes.
415
429
  # @return [Integer] Hash code
416
430
  def hash
417
- [pulp_href, pulp_created, name, url, ca_cert, client_cert, tls_validation, proxy_url, pulp_labels, pulp_last_updated, download_concurrency, max_retries, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, rate_limit, upstream_name, include_tags, exclude_tags, sigstore].hash
431
+ [pulp_href, pulp_created, name, url, ca_cert, client_cert, tls_validation, proxy_url, pulp_labels, pulp_last_updated, download_concurrency, max_retries, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, rate_limit, hidden_fields, upstream_name, include_tags, exclude_tags, sigstore].hash
418
432
  end
419
433
 
420
434
  # Builds the object from hash