pulp_container_client 2.14.2 → 2.14.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (73) 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 +8 -8
  5. data/docs/ContainerContainerPushRepository.md +7 -7
  6. data/docs/ContainerContainerPushRepositoryResponse.md +13 -13
  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 +6 -6
  18. data/docs/PatchedcontainerContainerPushRepository.md +7 -7
  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 +22 -20
  39. data/lib/pulp_container_client/models/container_container_distribution_response.rb +33 -31
  40. data/lib/pulp_container_client/models/container_container_push_repository.rb +43 -41
  41. data/lib/pulp_container_client/models/container_container_push_repository_response.rb +51 -49
  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 +22 -20
  49. data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +43 -41
  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 +5 -5
  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 +5 -5
  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 +5 -5
  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
+ # A unique name. Ex, `rawhide` and `stable`.
19
+ attr_accessor :name
20
20
 
21
21
  # The latest RepositoryVersion for this Repository will be served.
22
22
  attr_accessor :repository
23
23
 
24
- # A unique name. Ex, `rawhide` and `stable`.
25
- attr_accessor :name
24
+ attr_accessor :pulp_labels
26
25
 
27
26
  attr_accessor :pulp_href
28
27
 
28
+ # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
29
+ attr_accessor :base_path
30
+
29
31
  # An optional content-guard. If none is specified, a default one will be used.
30
32
  attr_accessor :content_guard
31
33
 
32
- attr_accessor :pulp_labels
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
55
  :'name' => :'name',
58
- :'pulp_href' => :'pulp_href',
59
- :'content_guard' => :'content_guard',
56
+ :'repository' => :'repository',
60
57
  :'pulp_labels' => :'pulp_labels',
58
+ :'pulp_href' => :'pulp_href',
61
59
  :'base_path' => :'base_path',
60
+ :'content_guard' => :'content_guard',
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',
75
73
  :'name' => :'String',
74
+ :'repository' => :'String',
75
+ :'pulp_labels' => :'Hash<String, String>',
76
76
  :'pulp_href' => :'String',
77
- :'content_guard' => :'String',
78
- :'pulp_labels' => :'Object',
79
77
  :'base_path' => :'String',
78
+ :'content_guard' => :'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?(:'name')
113
+ self.name = attributes[:'name']
114
114
  end
115
115
 
116
116
  if attributes.key?(:'repository')
117
117
  self.repository = attributes[:'repository']
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
126
  if attributes.key?(:'pulp_href')
125
127
  self.pulp_href = attributes[:'pulp_href']
126
128
  end
127
129
 
128
- if attributes.key?(:'content_guard')
129
- self.content_guard = attributes[:'content_guard']
130
+ if attributes.key?(:'base_path')
131
+ self.base_path = attributes[:'base_path']
130
132
  end
131
133
 
132
- if attributes.key?(:'pulp_labels')
133
- self.pulp_labels = attributes[:'pulp_labels']
134
+ if attributes.key?(:'content_guard')
135
+ self.content_guard = attributes[:'content_guard']
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')
@@ -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
191
  name == o.name &&
192
- pulp_href == o.pulp_href &&
193
- content_guard == o.content_guard &&
192
+ repository == o.repository &&
194
193
  pulp_labels == o.pulp_labels &&
194
+ pulp_href == o.pulp_href &&
195
195
  base_path == o.base_path &&
196
+ content_guard == o.content_guard &&
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
+ [name, repository, pulp_labels, pulp_href, base_path, content_guard, pulp_created, repository_version, registry_path, namespace, private, description].hash
213
215
  end
214
216
 
215
217
  # Builds the object from hash
@@ -15,39 +15,39 @@ 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
20
-
21
18
  # A unique name for this repository.
22
19
  attr_accessor :name
23
20
 
24
21
  attr_accessor :pulp_labels
25
22
 
26
- # A reference to an associated signing service.
27
- attr_accessor :manifest_signing_service
23
+ # An optional description.
24
+ attr_accessor :description
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
+ # 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
- :'description' => :'description',
36
35
  :'name' => :'name',
37
36
  :'pulp_labels' => :'pulp_labels',
38
- :'manifest_signing_service' => :'manifest_signing_service',
39
- :'retain_repo_versions' => :'retain_repo_versions'
37
+ :'description' => :'description',
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
- :'description' => :'String',
47
46
  :'name' => :'String',
48
- :'pulp_labels' => :'Object',
49
- :'manifest_signing_service' => :'String',
50
- :'retain_repo_versions' => :'Integer'
47
+ :'pulp_labels' => :'Hash<String, String>',
48
+ :'description' => :'String',
49
+ :'retain_repo_versions' => :'Integer',
50
+ :'manifest_signing_service' => :'String'
51
51
  }
52
52
  end
53
53
 
@@ -55,8 +55,8 @@ module PulpContainerClient
55
55
  def self.openapi_nullable
56
56
  Set.new([
57
57
  :'description',
58
- :'manifest_signing_service',
59
- :'retain_repo_versions'
58
+ :'retain_repo_versions',
59
+ :'manifest_signing_service'
60
60
  ])
61
61
  end
62
62
 
@@ -75,35 +75,33 @@ module PulpContainerClient
75
75
  h[k.to_sym] = v
76
76
  }
77
77
 
78
- if attributes.key?(:'description')
79
- self.description = attributes[:'description']
80
- end
81
-
82
78
  if attributes.key?(:'name')
83
79
  self.name = attributes[:'name']
84
80
  end
85
81
 
86
82
  if attributes.key?(:'pulp_labels')
87
- self.pulp_labels = attributes[:'pulp_labels']
83
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
84
+ self.pulp_labels = value
85
+ end
88
86
  end
89
87
 
90
- if attributes.key?(:'manifest_signing_service')
91
- self.manifest_signing_service = attributes[:'manifest_signing_service']
88
+ if attributes.key?(:'description')
89
+ self.description = attributes[:'description']
92
90
  end
93
91
 
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?(:'manifest_signing_service')
97
+ self.manifest_signing_service = attributes[:'manifest_signing_service']
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
@@ -112,6 +110,10 @@ module PulpContainerClient
112
110
  invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
113
111
  end
114
112
 
113
+ if !@description.nil? && @description.to_s.length < 1
114
+ invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
115
+ end
116
+
115
117
  if !@retain_repo_versions.nil? && @retain_repo_versions < 1
116
118
  invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
117
119
  end
@@ -122,23 +124,13 @@ module PulpContainerClient
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
129
+ return false if !@description.nil? && @description.to_s.length < 1
128
130
  return false if !@retain_repo_versions.nil? && @retain_repo_versions < 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)
@@ -153,6 +145,16 @@ module PulpContainerClient
153
145
  @name = name
154
146
  end
155
147
 
148
+ # Custom attribute writer method with validation
149
+ # @param [Object] description Value to be assigned
150
+ def description=(description)
151
+ if !description.nil? && description.to_s.length < 1
152
+ fail ArgumentError, 'invalid value for "description", the character length must be great than or equal to 1.'
153
+ end
154
+
155
+ @description = description
156
+ end
157
+
156
158
  # Custom attribute writer method with validation
157
159
  # @param [Object] retain_repo_versions Value to be assigned
158
160
  def retain_repo_versions=(retain_repo_versions)
@@ -168,11 +170,11 @@ module PulpContainerClient
168
170
  def ==(o)
169
171
  return true if self.equal?(o)
170
172
  self.class == o.class &&
171
- description == o.description &&
172
173
  name == o.name &&
173
174
  pulp_labels == o.pulp_labels &&
174
- manifest_signing_service == o.manifest_signing_service &&
175
- retain_repo_versions == o.retain_repo_versions
175
+ description == o.description &&
176
+ retain_repo_versions == o.retain_repo_versions &&
177
+ manifest_signing_service == o.manifest_signing_service
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
+ [name, pulp_labels, description, retain_repo_versions, manifest_signing_service].hash
188
190
  end
189
191
 
190
192
  # Builds the object from hash
@@ -15,56 +15,56 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # Serializer for Container Push Repositories.
17
17
  class ContainerContainerPushRepositoryResponse
18
- attr_accessor :versions_href
18
+ # A unique name for this repository.
19
+ attr_accessor :name
19
20
 
20
- # Timestamp of creation.
21
- attr_accessor :pulp_created
21
+ attr_accessor :pulp_labels
22
22
 
23
23
  # An optional description.
24
24
  attr_accessor :description
25
25
 
26
- # A unique name for this repository.
27
- attr_accessor :name
26
+ # Retain X versions of the repository. Default is null which retains all versions.
27
+ attr_accessor :retain_repo_versions
28
28
 
29
- attr_accessor :latest_version_href
29
+ attr_accessor :pulp_href
30
30
 
31
- attr_accessor :pulp_labels
31
+ attr_accessor :versions_href
32
32
 
33
- attr_accessor :pulp_href
33
+ attr_accessor :latest_version_href
34
+
35
+ # Timestamp of creation.
36
+ attr_accessor :pulp_created
34
37
 
35
38
  # A reference to an associated signing service.
36
39
  attr_accessor :manifest_signing_service
37
40
 
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.
39
- attr_accessor :retain_repo_versions
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',
47
44
  :'name' => :'name',
48
- :'latest_version_href' => :'latest_version_href',
49
45
  :'pulp_labels' => :'pulp_labels',
46
+ :'description' => :'description',
47
+ :'retain_repo_versions' => :'retain_repo_versions',
50
48
  :'pulp_href' => :'pulp_href',
51
- :'manifest_signing_service' => :'manifest_signing_service',
52
- :'retain_repo_versions' => :'retain_repo_versions'
49
+ :'versions_href' => :'versions_href',
50
+ :'latest_version_href' => :'latest_version_href',
51
+ :'pulp_created' => :'pulp_created',
52
+ :'manifest_signing_service' => :'manifest_signing_service'
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',
62
59
  :'name' => :'String',
63
- :'latest_version_href' => :'String',
64
- :'pulp_labels' => :'Object',
60
+ :'pulp_labels' => :'Hash<String, String>',
61
+ :'description' => :'String',
62
+ :'retain_repo_versions' => :'Integer',
65
63
  :'pulp_href' => :'String',
66
- :'manifest_signing_service' => :'String',
67
- :'retain_repo_versions' => :'Integer'
64
+ :'versions_href' => :'String',
65
+ :'latest_version_href' => :'String',
66
+ :'pulp_created' => :'DateTime',
67
+ :'manifest_signing_service' => :'String'
68
68
  }
69
69
  end
70
70
 
@@ -72,8 +72,8 @@ module PulpContainerClient
72
72
  def self.openapi_nullable
73
73
  Set.new([
74
74
  :'description',
75
- :'manifest_signing_service',
76
- :'retain_repo_versions'
75
+ :'retain_repo_versions',
76
+ :'manifest_signing_service'
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?(:'name')
96
+ self.name = attributes[:'name']
97
97
  end
98
98
 
99
- if attributes.key?(:'pulp_created')
100
- self.pulp_created = attributes[:'pulp_created']
99
+ if attributes.key?(:'pulp_labels')
100
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
101
+ self.pulp_labels = value
102
+ end
101
103
  end
102
104
 
103
105
  if attributes.key?(:'description')
104
106
  self.description = attributes[:'description']
105
107
  end
106
108
 
107
- if attributes.key?(:'name')
108
- self.name = attributes[:'name']
109
+ if attributes.key?(:'retain_repo_versions')
110
+ self.retain_repo_versions = attributes[:'retain_repo_versions']
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?(:'pulp_href')
114
+ self.pulp_href = attributes[:'pulp_href']
113
115
  end
114
116
 
115
- if attributes.key?(:'pulp_labels')
116
- self.pulp_labels = attributes[:'pulp_labels']
117
+ if attributes.key?(:'versions_href')
118
+ self.versions_href = attributes[:'versions_href']
117
119
  end
118
120
 
119
- if attributes.key?(:'pulp_href')
120
- self.pulp_href = attributes[:'pulp_href']
121
+ if attributes.key?(:'latest_version_href')
122
+ self.latest_version_href = attributes[:'latest_version_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?(:'manifest_signing_service')
130
+ self.manifest_signing_service = attributes[:'manifest_signing_service']
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 &&
173
172
  name == o.name &&
174
- latest_version_href == o.latest_version_href &&
175
173
  pulp_labels == o.pulp_labels &&
174
+ description == o.description &&
175
+ retain_repo_versions == o.retain_repo_versions &&
176
176
  pulp_href == o.pulp_href &&
177
- manifest_signing_service == o.manifest_signing_service &&
178
- retain_repo_versions == o.retain_repo_versions
177
+ versions_href == o.versions_href &&
178
+ latest_version_href == o.latest_version_href &&
179
+ pulp_created == o.pulp_created &&
180
+ manifest_signing_service == o.manifest_signing_service
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
+ [name, pulp_labels, description, retain_repo_versions, pulp_href, versions_href, latest_version_href, pulp_created, manifest_signing_service].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