pulp_container_client 2.15.0.dev1670295966 → 2.15.0.dev1671073819

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of pulp_container_client might be problematic. Click here for more details.

Files changed (38) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -4
  3. data/docs/ContainerContainerDistribution.md +6 -6
  4. data/docs/ContainerContainerDistributionResponse.md +8 -8
  5. data/docs/ContainerContainerPushRepository.md +4 -4
  6. data/docs/ContainerContainerPushRepositoryResponse.md +11 -11
  7. data/docs/ContainerContainerRemote.md +1 -1
  8. data/docs/ContainerContainerRemoteResponse.md +1 -1
  9. data/docs/ContainerContainerRepository.md +1 -1
  10. data/docs/ContainerContainerRepositoryResponse.md +1 -1
  11. data/docs/PatchedcontainerContainerDistribution.md +6 -6
  12. data/docs/PatchedcontainerContainerPushRepository.md +4 -4
  13. data/docs/PatchedcontainerContainerRemote.md +1 -1
  14. data/docs/PatchedcontainerContainerRepository.md +1 -1
  15. data/lib/pulp_container_client/api/distributions_container_api.rb +1 -1
  16. data/lib/pulp_container_client/api/remotes_container_api.rb +1 -1
  17. data/lib/pulp_container_client/api/repositories_container_api.rb +1 -1
  18. data/lib/pulp_container_client/api/repositories_container_push_api.rb +1 -1
  19. data/lib/pulp_container_client/models/container_container_distribution.rb +50 -48
  20. data/lib/pulp_container_client/models/container_container_distribution_response.rb +41 -39
  21. data/lib/pulp_container_client/models/container_container_push_repository.rb +35 -33
  22. data/lib/pulp_container_client/models/container_container_push_repository_response.rb +57 -55
  23. data/lib/pulp_container_client/models/container_container_remote.rb +4 -2
  24. data/lib/pulp_container_client/models/container_container_remote_response.rb +4 -2
  25. data/lib/pulp_container_client/models/container_container_repository.rb +4 -2
  26. data/lib/pulp_container_client/models/container_container_repository_response.rb +4 -2
  27. data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +41 -39
  28. data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +35 -33
  29. data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +4 -2
  30. data/lib/pulp_container_client/models/patchedcontainer_container_repository.rb +4 -2
  31. data/lib/pulp_container_client/version.rb +1 -1
  32. data/spec/models/container_container_distribution_response_spec.rb +7 -7
  33. data/spec/models/container_container_distribution_spec.rb +4 -4
  34. data/spec/models/container_container_push_repository_response_spec.rb +9 -9
  35. data/spec/models/container_container_push_repository_spec.rb +3 -3
  36. data/spec/models/patchedcontainer_container_distribution_spec.rb +4 -4
  37. data/spec/models/patchedcontainer_container_push_repository_spec.rb +3 -3
  38. metadata +2 -2
@@ -15,25 +15,25 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # A serializer for ContainerDistribution.
17
17
  class ContainerContainerDistributionResponse
18
- attr_accessor :pulp_labels
19
-
20
- # A unique name. Ex, `rawhide` and `stable`.
21
- attr_accessor :name
22
-
23
- attr_accessor :pulp_href
24
-
25
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\")
26
19
  attr_accessor :base_path
27
20
 
21
+ attr_accessor :pulp_href
22
+
28
23
  # Timestamp of creation.
29
24
  attr_accessor :pulp_created
30
25
 
31
- # The latest RepositoryVersion for this Repository will be served.
32
- attr_accessor :repository
26
+ # A unique name. Ex, `rawhide` and `stable`.
27
+ attr_accessor :name
28
+
29
+ attr_accessor :pulp_labels
33
30
 
34
31
  # An optional content-guard. If none is specified, a default one will be used.
35
32
  attr_accessor :content_guard
36
33
 
34
+ # The latest RepositoryVersion for this Repository will be served.
35
+ attr_accessor :repository
36
+
37
37
  # RepositoryVersion to be served
38
38
  attr_accessor :repository_version
39
39
 
@@ -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_labels' => :'pulp_labels',
56
- :'name' => :'name',
57
- :'pulp_href' => :'pulp_href',
58
55
  :'base_path' => :'base_path',
56
+ :'pulp_href' => :'pulp_href',
59
57
  :'pulp_created' => :'pulp_created',
60
- :'repository' => :'repository',
58
+ :'name' => :'name',
59
+ :'pulp_labels' => :'pulp_labels',
61
60
  :'content_guard' => :'content_guard',
61
+ :'repository' => :'repository',
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_labels' => :'Object',
74
- :'name' => :'String',
75
- :'pulp_href' => :'String',
76
73
  :'base_path' => :'String',
74
+ :'pulp_href' => :'String',
77
75
  :'pulp_created' => :'DateTime',
78
- :'repository' => :'String',
76
+ :'name' => :'String',
77
+ :'pulp_labels' => :'Hash<String, String>',
79
78
  :'content_guard' => :'String',
79
+ :'repository' => :'String',
80
80
  :'repository_version' => :'String',
81
81
  :'registry_path' => :'String',
82
82
  :'namespace' => :'String',
@@ -109,34 +109,36 @@ module PulpContainerClient
109
109
  h[k.to_sym] = v
110
110
  }
111
111
 
112
- if attributes.key?(:'pulp_labels')
113
- self.pulp_labels = attributes[:'pulp_labels']
114
- end
115
-
116
- if attributes.key?(:'name')
117
- self.name = attributes[:'name']
112
+ if attributes.key?(:'base_path')
113
+ self.base_path = attributes[:'base_path']
118
114
  end
119
115
 
120
116
  if attributes.key?(:'pulp_href')
121
117
  self.pulp_href = attributes[:'pulp_href']
122
118
  end
123
119
 
124
- if attributes.key?(:'base_path')
125
- self.base_path = attributes[:'base_path']
126
- end
127
-
128
120
  if attributes.key?(:'pulp_created')
129
121
  self.pulp_created = attributes[:'pulp_created']
130
122
  end
131
123
 
132
- if attributes.key?(:'repository')
133
- self.repository = attributes[:'repository']
124
+ if attributes.key?(:'name')
125
+ self.name = attributes[:'name']
126
+ end
127
+
128
+ if attributes.key?(:'pulp_labels')
129
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
130
+ self.pulp_labels = value
131
+ end
134
132
  end
135
133
 
136
134
  if attributes.key?(:'content_guard')
137
135
  self.content_guard = attributes[:'content_guard']
138
136
  end
139
137
 
138
+ if attributes.key?(:'repository')
139
+ self.repository = attributes[:'repository']
140
+ end
141
+
140
142
  if attributes.key?(:'repository_version')
141
143
  self.repository_version = attributes[:'repository_version']
142
144
  end
@@ -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_labels == o.pulp_labels &&
190
- name == o.name &&
191
- pulp_href == o.pulp_href &&
192
191
  base_path == o.base_path &&
192
+ pulp_href == o.pulp_href &&
193
193
  pulp_created == o.pulp_created &&
194
- repository == o.repository &&
194
+ name == o.name &&
195
+ pulp_labels == o.pulp_labels &&
195
196
  content_guard == o.content_guard &&
197
+ repository == o.repository &&
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_labels, name, pulp_href, base_path, pulp_created, repository, content_guard, repository_version, registry_path, namespace, private, description].hash
214
+ [base_path, pulp_href, pulp_created, name, pulp_labels, content_guard, repository, repository_version, registry_path, namespace, private, description].hash
213
215
  end
214
216
 
215
217
  # Builds the object from hash
@@ -15,27 +15,27 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # Serializer for Container Push Repositories.
17
17
  class ContainerContainerPushRepository
18
- attr_accessor :pulp_labels
18
+ # 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.
19
+ attr_accessor :retain_repo_versions
19
20
 
20
21
  # A unique name for this repository.
21
22
  attr_accessor :name
22
23
 
24
+ attr_accessor :pulp_labels
25
+
23
26
  # A reference to an associated signing service.
24
27
  attr_accessor :manifest_signing_service
25
28
 
26
- # 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.
27
- attr_accessor :retain_repo_versions
28
-
29
29
  # An optional description.
30
30
  attr_accessor :description
31
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',
35
+ :'retain_repo_versions' => :'retain_repo_versions',
36
36
  :'name' => :'name',
37
+ :'pulp_labels' => :'pulp_labels',
37
38
  :'manifest_signing_service' => :'manifest_signing_service',
38
- :'retain_repo_versions' => :'retain_repo_versions',
39
39
  :'description' => :'description'
40
40
  }
41
41
  end
@@ -43,10 +43,10 @@ module PulpContainerClient
43
43
  # Attribute type mapping.
44
44
  def self.openapi_types
45
45
  {
46
- :'pulp_labels' => :'Object',
46
+ :'retain_repo_versions' => :'Integer',
47
47
  :'name' => :'String',
48
+ :'pulp_labels' => :'Hash<String, String>',
48
49
  :'manifest_signing_service' => :'String',
49
- :'retain_repo_versions' => :'Integer',
50
50
  :'description' => :'String'
51
51
  }
52
52
  end
@@ -54,8 +54,8 @@ module PulpContainerClient
54
54
  # List of attributes with nullable: true
55
55
  def self.openapi_nullable
56
56
  Set.new([
57
- :'manifest_signing_service',
58
57
  :'retain_repo_versions',
58
+ :'manifest_signing_service',
59
59
  :'description'
60
60
  ])
61
61
  end
@@ -75,20 +75,22 @@ module PulpContainerClient
75
75
  h[k.to_sym] = v
76
76
  }
77
77
 
78
- if attributes.key?(:'pulp_labels')
79
- self.pulp_labels = attributes[:'pulp_labels']
78
+ if attributes.key?(:'retain_repo_versions')
79
+ self.retain_repo_versions = attributes[:'retain_repo_versions']
80
80
  end
81
81
 
82
82
  if attributes.key?(:'name')
83
83
  self.name = attributes[:'name']
84
84
  end
85
85
 
86
- if attributes.key?(:'manifest_signing_service')
87
- self.manifest_signing_service = attributes[:'manifest_signing_service']
86
+ if attributes.key?(:'pulp_labels')
87
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
88
+ self.pulp_labels = value
89
+ end
88
90
  end
89
91
 
90
- if attributes.key?(:'retain_repo_versions')
91
- self.retain_repo_versions = attributes[:'retain_repo_versions']
92
+ if attributes.key?(:'manifest_signing_service')
93
+ self.manifest_signing_service = attributes[:'manifest_signing_service']
92
94
  end
93
95
 
94
96
  if attributes.key?(:'description')
@@ -100,6 +102,10 @@ module PulpContainerClient
100
102
  # @return Array for valid properties with the reasons
101
103
  def list_invalid_properties
102
104
  invalid_properties = Array.new
105
+ if !@retain_repo_versions.nil? && @retain_repo_versions < 1
106
+ invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
107
+ end
108
+
103
109
  if @name.nil?
104
110
  invalid_properties.push('invalid value for "name", name cannot be nil.')
105
111
  end
@@ -108,10 +114,6 @@ module PulpContainerClient
108
114
  invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
109
115
  end
110
116
 
111
- if !@retain_repo_versions.nil? && @retain_repo_versions < 1
112
- invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
113
- end
114
-
115
117
  if !@description.nil? && @description.to_s.length < 1
116
118
  invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
117
119
  end
@@ -122,13 +124,23 @@ 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?
127
+ return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
125
128
  return false if @name.nil?
126
129
  return false if @name.to_s.length < 1
127
- return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
128
130
  return false if !@description.nil? && @description.to_s.length < 1
129
131
  true
130
132
  end
131
133
 
134
+ # Custom attribute writer method with validation
135
+ # @param [Object] retain_repo_versions Value to be assigned
136
+ def retain_repo_versions=(retain_repo_versions)
137
+ if !retain_repo_versions.nil? && retain_repo_versions < 1
138
+ fail ArgumentError, 'invalid value for "retain_repo_versions", must be greater than or equal to 1.'
139
+ end
140
+
141
+ @retain_repo_versions = retain_repo_versions
142
+ end
143
+
132
144
  # Custom attribute writer method with validation
133
145
  # @param [Object] name Value to be assigned
134
146
  def name=(name)
@@ -143,16 +155,6 @@ module PulpContainerClient
143
155
  @name = name
144
156
  end
145
157
 
146
- # Custom attribute writer method with validation
147
- # @param [Object] retain_repo_versions Value to be assigned
148
- def retain_repo_versions=(retain_repo_versions)
149
- if !retain_repo_versions.nil? && retain_repo_versions < 1
150
- fail ArgumentError, 'invalid value for "retain_repo_versions", must be greater than or equal to 1.'
151
- end
152
-
153
- @retain_repo_versions = retain_repo_versions
154
- end
155
-
156
158
  # Custom attribute writer method with validation
157
159
  # @param [Object] description Value to be assigned
158
160
  def description=(description)
@@ -168,10 +170,10 @@ module PulpContainerClient
168
170
  def ==(o)
169
171
  return true if self.equal?(o)
170
172
  self.class == o.class &&
171
- pulp_labels == o.pulp_labels &&
173
+ retain_repo_versions == o.retain_repo_versions &&
172
174
  name == o.name &&
175
+ pulp_labels == o.pulp_labels &&
173
176
  manifest_signing_service == o.manifest_signing_service &&
174
- retain_repo_versions == o.retain_repo_versions &&
175
177
  description == o.description
176
178
  end
177
179
 
@@ -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
- [pulp_labels, name, manifest_signing_service, retain_repo_versions, description].hash
189
+ [retain_repo_versions, name, pulp_labels, manifest_signing_service, 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 :pulp_labels
19
-
20
- # A unique name for this repository.
21
- attr_accessor :name
22
-
23
- # A reference to an associated signing service.
24
- attr_accessor :manifest_signing_service
18
+ attr_accessor :versions_href
25
19
 
26
20
  attr_accessor :latest_version_href
27
21
 
22
+ attr_accessor :pulp_href
23
+
28
24
  # 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.
29
25
  attr_accessor :retain_repo_versions
30
26
 
31
- attr_accessor :pulp_href
32
-
33
27
  # Timestamp of creation.
34
28
  attr_accessor :pulp_created
35
29
 
30
+ # A unique name for this repository.
31
+ attr_accessor :name
32
+
33
+ attr_accessor :pulp_labels
34
+
35
+ # A reference to an associated signing service.
36
+ attr_accessor :manifest_signing_service
37
+
36
38
  # An optional description.
37
39
  attr_accessor :description
38
40
 
39
- attr_accessor :versions_href
40
-
41
41
  # Attribute mapping from ruby-style variable name to JSON key.
42
42
  def self.attribute_map
43
43
  {
44
- :'pulp_labels' => :'pulp_labels',
45
- :'name' => :'name',
46
- :'manifest_signing_service' => :'manifest_signing_service',
44
+ :'versions_href' => :'versions_href',
47
45
  :'latest_version_href' => :'latest_version_href',
48
- :'retain_repo_versions' => :'retain_repo_versions',
49
46
  :'pulp_href' => :'pulp_href',
47
+ :'retain_repo_versions' => :'retain_repo_versions',
50
48
  :'pulp_created' => :'pulp_created',
51
- :'description' => :'description',
52
- :'versions_href' => :'versions_href'
49
+ :'name' => :'name',
50
+ :'pulp_labels' => :'pulp_labels',
51
+ :'manifest_signing_service' => :'manifest_signing_service',
52
+ :'description' => :'description'
53
53
  }
54
54
  end
55
55
 
56
56
  # Attribute type mapping.
57
57
  def self.openapi_types
58
58
  {
59
- :'pulp_labels' => :'Object',
60
- :'name' => :'String',
61
- :'manifest_signing_service' => :'String',
59
+ :'versions_href' => :'String',
62
60
  :'latest_version_href' => :'String',
63
- :'retain_repo_versions' => :'Integer',
64
61
  :'pulp_href' => :'String',
62
+ :'retain_repo_versions' => :'Integer',
65
63
  :'pulp_created' => :'DateTime',
66
- :'description' => :'String',
67
- :'versions_href' => :'String'
64
+ :'name' => :'String',
65
+ :'pulp_labels' => :'Hash<String, String>',
66
+ :'manifest_signing_service' => :'String',
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
- :'manifest_signing_service',
75
74
  :'retain_repo_versions',
76
- :'description',
75
+ :'manifest_signing_service',
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?(:'pulp_labels')
96
- self.pulp_labels = attributes[:'pulp_labels']
97
- end
98
-
99
- if attributes.key?(:'name')
100
- self.name = attributes[:'name']
101
- end
102
-
103
- if attributes.key?(:'manifest_signing_service')
104
- self.manifest_signing_service = attributes[:'manifest_signing_service']
95
+ if attributes.key?(:'versions_href')
96
+ self.versions_href = attributes[:'versions_href']
105
97
  end
106
98
 
107
99
  if attributes.key?(:'latest_version_href')
108
100
  self.latest_version_href = attributes[:'latest_version_href']
109
101
  end
110
102
 
111
- if attributes.key?(:'retain_repo_versions')
112
- self.retain_repo_versions = attributes[:'retain_repo_versions']
113
- end
114
-
115
103
  if attributes.key?(:'pulp_href')
116
104
  self.pulp_href = attributes[:'pulp_href']
117
105
  end
118
106
 
107
+ if attributes.key?(:'retain_repo_versions')
108
+ self.retain_repo_versions = attributes[:'retain_repo_versions']
109
+ end
110
+
119
111
  if attributes.key?(:'pulp_created')
120
112
  self.pulp_created = attributes[:'pulp_created']
121
113
  end
122
114
 
123
- if attributes.key?(:'description')
124
- self.description = attributes[:'description']
115
+ if attributes.key?(:'name')
116
+ self.name = attributes[:'name']
125
117
  end
126
118
 
127
- if attributes.key?(:'versions_href')
128
- self.versions_href = attributes[:'versions_href']
119
+ if attributes.key?(:'pulp_labels')
120
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
121
+ self.pulp_labels = value
122
+ end
123
+ end
124
+
125
+ if attributes.key?(:'manifest_signing_service')
126
+ self.manifest_signing_service = attributes[:'manifest_signing_service']
127
+ end
128
+
129
+ if attributes.key?(:'description')
130
+ self.description = attributes[:'description']
129
131
  end
130
132
  end
131
133
 
@@ -133,22 +135,22 @@ module PulpContainerClient
133
135
  # @return Array for valid properties with the reasons
134
136
  def list_invalid_properties
135
137
  invalid_properties = Array.new
136
- if @name.nil?
137
- invalid_properties.push('invalid value for "name", name cannot be nil.')
138
- end
139
-
140
138
  if !@retain_repo_versions.nil? && @retain_repo_versions < 1
141
139
  invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
142
140
  end
143
141
 
142
+ if @name.nil?
143
+ invalid_properties.push('invalid value for "name", name cannot be nil.')
144
+ end
145
+
144
146
  invalid_properties
145
147
  end
146
148
 
147
149
  # Check to see if the all the properties in the model are valid
148
150
  # @return true if the model is valid
149
151
  def valid?
150
- return false if @name.nil?
151
152
  return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
153
+ return false if @name.nil?
152
154
  true
153
155
  end
154
156
 
@@ -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
- pulp_labels == o.pulp_labels &&
171
- name == o.name &&
172
- manifest_signing_service == o.manifest_signing_service &&
172
+ versions_href == o.versions_href &&
173
173
  latest_version_href == o.latest_version_href &&
174
- retain_repo_versions == o.retain_repo_versions &&
175
174
  pulp_href == o.pulp_href &&
175
+ retain_repo_versions == o.retain_repo_versions &&
176
176
  pulp_created == o.pulp_created &&
177
- description == o.description &&
178
- versions_href == o.versions_href
177
+ name == o.name &&
178
+ pulp_labels == o.pulp_labels &&
179
+ manifest_signing_service == o.manifest_signing_service &&
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
- [pulp_labels, name, manifest_signing_service, latest_version_href, retain_repo_versions, pulp_href, pulp_created, description, versions_href].hash
192
+ [versions_href, latest_version_href, pulp_href, retain_repo_versions, pulp_created, name, pulp_labels, manifest_signing_service, 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')
@@ -126,7 +126,7 @@ module PulpContainerClient
126
126
  :'client_cert' => :'String',
127
127
  :'tls_validation' => :'Boolean',
128
128
  :'proxy_url' => :'String',
129
- :'pulp_labels' => :'Object',
129
+ :'pulp_labels' => :'Hash<String, String>',
130
130
  :'pulp_last_updated' => :'DateTime',
131
131
  :'download_concurrency' => :'Integer',
132
132
  :'max_retries' => :'Integer',
@@ -211,7 +211,9 @@ module PulpContainerClient
211
211
  end
212
212
 
213
213
  if attributes.key?(:'pulp_labels')
214
- self.pulp_labels = attributes[:'pulp_labels']
214
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
215
+ self.pulp_labels = value
216
+ end
215
217
  end
216
218
 
217
219
  if attributes.key?(:'pulp_last_updated')
@@ -47,7 +47,7 @@ module PulpContainerClient
47
47
  # Attribute type mapping.
48
48
  def self.openapi_types
49
49
  {
50
- :'pulp_labels' => :'Object',
50
+ :'pulp_labels' => :'Hash<String, String>',
51
51
  :'name' => :'String',
52
52
  :'description' => :'String',
53
53
  :'retain_repo_versions' => :'Integer',
@@ -82,7 +82,9 @@ module PulpContainerClient
82
82
  }
83
83
 
84
84
  if attributes.key?(:'pulp_labels')
85
- self.pulp_labels = attributes[:'pulp_labels']
85
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
86
+ self.pulp_labels = value
87
+ end
86
88
  end
87
89
 
88
90
  if attributes.key?(:'name')
@@ -63,7 +63,7 @@ module PulpContainerClient
63
63
  :'pulp_href' => :'String',
64
64
  :'pulp_created' => :'DateTime',
65
65
  :'versions_href' => :'String',
66
- :'pulp_labels' => :'Object',
66
+ :'pulp_labels' => :'Hash<String, String>',
67
67
  :'latest_version_href' => :'String',
68
68
  :'name' => :'String',
69
69
  :'description' => :'String',
@@ -111,7 +111,9 @@ module PulpContainerClient
111
111
  end
112
112
 
113
113
  if attributes.key?(:'pulp_labels')
114
- self.pulp_labels = attributes[:'pulp_labels']
114
+ if (value = attributes[:'pulp_labels']).is_a?(Hash)
115
+ self.pulp_labels = value
116
+ end
115
117
  end
116
118
 
117
119
  if attributes.key?(:'latest_version_href')