pulp_container_client 2.27.14 → 2.27.15

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 (31) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -4
  3. data/docs/ContainerContainerDistribution.md +4 -4
  4. data/docs/ContainerContainerDistributionResponse.md +14 -14
  5. data/docs/ContainerContainerPullThroughDistribution.md +4 -4
  6. data/docs/ContainerContainerPullThroughDistributionResponse.md +14 -14
  7. data/docs/ContainerContainerPushRepository.md +5 -5
  8. data/docs/ContainerContainerPushRepositoryResponse.md +15 -15
  9. data/docs/PatchedcontainerContainerDistribution.md +4 -4
  10. data/docs/PatchedcontainerContainerPullThroughDistribution.md +4 -4
  11. data/docs/PatchedcontainerContainerPushRepository.md +5 -5
  12. data/lib/pulp_container_client/models/container_container_distribution.rb +21 -21
  13. data/lib/pulp_container_client/models/container_container_distribution_response.rb +66 -66
  14. data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +21 -21
  15. data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +66 -66
  16. data/lib/pulp_container_client/models/container_container_push_repository.rb +40 -40
  17. data/lib/pulp_container_client/models/container_container_push_repository_response.rb +71 -71
  18. data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +21 -21
  19. data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +21 -21
  20. data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +38 -38
  21. data/lib/pulp_container_client/version.rb +1 -1
  22. data/spec/models/container_container_distribution_response_spec.rb +13 -13
  23. data/spec/models/container_container_distribution_spec.rb +4 -4
  24. data/spec/models/container_container_pull_through_distribution_response_spec.rb +13 -13
  25. data/spec/models/container_container_pull_through_distribution_spec.rb +4 -4
  26. data/spec/models/container_container_push_repository_response_spec.rb +12 -12
  27. data/spec/models/container_container_push_repository_spec.rb +6 -6
  28. data/spec/models/patchedcontainer_container_distribution_spec.rb +4 -4
  29. data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +4 -4
  30. data/spec/models/patchedcontainer_container_push_repository_spec.rb +6 -6
  31. metadata +57 -57
@@ -16,6 +16,9 @@ require 'time'
16
16
  module PulpContainerClient
17
17
  # Serializer for Container Push Repositories.
18
18
  class ContainerContainerPushRepository
19
+ # A reference to an associated signing service.
20
+ attr_accessor :manifest_signing_service
21
+
19
22
  attr_accessor :pulp_labels
20
23
 
21
24
  # An optional description.
@@ -24,24 +27,21 @@ module PulpContainerClient
24
27
  # Retain X checkpoint publications for the repository. Default is null which retains all checkpoints.
25
28
  attr_accessor :retain_checkpoints
26
29
 
27
- # A reference to an associated signing service.
28
- attr_accessor :manifest_signing_service
30
+ # A unique name for this repository.
31
+ attr_accessor :name
29
32
 
30
33
  # Retain X versions of the repository. Default is null which retains all versions.
31
34
  attr_accessor :retain_repo_versions
32
35
 
33
- # A unique name for this repository.
34
- attr_accessor :name
35
-
36
36
  # Attribute mapping from ruby-style variable name to JSON key.
37
37
  def self.attribute_map
38
38
  {
39
+ :'manifest_signing_service' => :'manifest_signing_service',
39
40
  :'pulp_labels' => :'pulp_labels',
40
41
  :'description' => :'description',
41
42
  :'retain_checkpoints' => :'retain_checkpoints',
42
- :'manifest_signing_service' => :'manifest_signing_service',
43
- :'retain_repo_versions' => :'retain_repo_versions',
44
- :'name' => :'name'
43
+ :'name' => :'name',
44
+ :'retain_repo_versions' => :'retain_repo_versions'
45
45
  }
46
46
  end
47
47
 
@@ -53,22 +53,22 @@ module PulpContainerClient
53
53
  # Attribute type mapping.
54
54
  def self.openapi_types
55
55
  {
56
+ :'manifest_signing_service' => :'String',
56
57
  :'pulp_labels' => :'Hash<String, String>',
57
58
  :'description' => :'String',
58
59
  :'retain_checkpoints' => :'Integer',
59
- :'manifest_signing_service' => :'String',
60
- :'retain_repo_versions' => :'Integer',
61
- :'name' => :'String'
60
+ :'name' => :'String',
61
+ :'retain_repo_versions' => :'Integer'
62
62
  }
63
63
  end
64
64
 
65
65
  # List of attributes with nullable: true
66
66
  def self.openapi_nullable
67
67
  Set.new([
68
+ :'manifest_signing_service',
68
69
  :'description',
69
70
  :'retain_checkpoints',
70
- :'manifest_signing_service',
71
- :'retain_repo_versions',
71
+ :'retain_repo_versions'
72
72
  ])
73
73
  end
74
74
 
@@ -87,6 +87,10 @@ module PulpContainerClient
87
87
  h[k.to_sym] = v
88
88
  }
89
89
 
90
+ if attributes.key?(:'manifest_signing_service')
91
+ self.manifest_signing_service = attributes[:'manifest_signing_service']
92
+ end
93
+
90
94
  if attributes.key?(:'pulp_labels')
91
95
  if (value = attributes[:'pulp_labels']).is_a?(Hash)
92
96
  self.pulp_labels = value
@@ -101,19 +105,15 @@ module PulpContainerClient
101
105
  self.retain_checkpoints = attributes[:'retain_checkpoints']
102
106
  end
103
107
 
104
- if attributes.key?(:'manifest_signing_service')
105
- self.manifest_signing_service = attributes[:'manifest_signing_service']
106
- end
107
-
108
- if attributes.key?(:'retain_repo_versions')
109
- self.retain_repo_versions = attributes[:'retain_repo_versions']
110
- end
111
-
112
108
  if attributes.key?(:'name')
113
109
  self.name = attributes[:'name']
114
110
  else
115
111
  self.name = nil
116
112
  end
113
+
114
+ if attributes.key?(:'retain_repo_versions')
115
+ self.retain_repo_versions = attributes[:'retain_repo_versions']
116
+ end
117
117
  end
118
118
 
119
119
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -129,10 +129,6 @@ module PulpContainerClient
129
129
  invalid_properties.push('invalid value for "retain_checkpoints", must be greater than or equal to 1.')
130
130
  end
131
131
 
132
- if !@retain_repo_versions.nil? && @retain_repo_versions < 1
133
- invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
134
- end
135
-
136
132
  if @name.nil?
137
133
  invalid_properties.push('invalid value for "name", name cannot be nil.')
138
134
  end
@@ -141,6 +137,10 @@ module PulpContainerClient
141
137
  invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
142
138
  end
143
139
 
140
+ if !@retain_repo_versions.nil? && @retain_repo_versions < 1
141
+ invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
142
+ end
143
+
144
144
  invalid_properties
145
145
  end
146
146
 
@@ -150,9 +150,9 @@ module PulpContainerClient
150
150
  warn '[DEPRECATED] the `valid?` method is obsolete'
151
151
  return false if !@description.nil? && @description.to_s.length < 1
152
152
  return false if !@retain_checkpoints.nil? && @retain_checkpoints < 1
153
- return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
154
153
  return false if @name.nil?
155
154
  return false if @name.to_s.length < 1
155
+ return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
156
156
  true
157
157
  end
158
158
 
@@ -176,16 +176,6 @@ module PulpContainerClient
176
176
  @retain_checkpoints = retain_checkpoints
177
177
  end
178
178
 
179
- # Custom attribute writer method with validation
180
- # @param [Object] retain_repo_versions Value to be assigned
181
- def retain_repo_versions=(retain_repo_versions)
182
- if !retain_repo_versions.nil? && retain_repo_versions < 1
183
- fail ArgumentError, 'invalid value for "retain_repo_versions", must be greater than or equal to 1.'
184
- end
185
-
186
- @retain_repo_versions = retain_repo_versions
187
- end
188
-
189
179
  # Custom attribute writer method with validation
190
180
  # @param [Object] name Value to be assigned
191
181
  def name=(name)
@@ -200,17 +190,27 @@ module PulpContainerClient
200
190
  @name = name
201
191
  end
202
192
 
193
+ # Custom attribute writer method with validation
194
+ # @param [Object] retain_repo_versions Value to be assigned
195
+ def retain_repo_versions=(retain_repo_versions)
196
+ if !retain_repo_versions.nil? && retain_repo_versions < 1
197
+ fail ArgumentError, 'invalid value for "retain_repo_versions", must be greater than or equal to 1.'
198
+ end
199
+
200
+ @retain_repo_versions = retain_repo_versions
201
+ end
202
+
203
203
  # Checks equality by comparing each attribute.
204
204
  # @param [Object] Object to be compared
205
205
  def ==(o)
206
206
  return true if self.equal?(o)
207
207
  self.class == o.class &&
208
+ manifest_signing_service == o.manifest_signing_service &&
208
209
  pulp_labels == o.pulp_labels &&
209
210
  description == o.description &&
210
211
  retain_checkpoints == o.retain_checkpoints &&
211
- manifest_signing_service == o.manifest_signing_service &&
212
- retain_repo_versions == o.retain_repo_versions &&
213
- name == o.name
212
+ name == o.name &&
213
+ retain_repo_versions == o.retain_repo_versions
214
214
  end
215
215
 
216
216
  # @see the `==` method
@@ -222,7 +222,7 @@ module PulpContainerClient
222
222
  # Calculates hash code according to all attributes.
223
223
  # @return [Integer] Hash code
224
224
  def hash
225
- [pulp_labels, description, retain_checkpoints, manifest_signing_service, retain_repo_versions, name].hash
225
+ [manifest_signing_service, pulp_labels, description, retain_checkpoints, name, retain_repo_versions].hash
226
226
  end
227
227
 
228
228
  # Builds the object from hash
@@ -16,53 +16,53 @@ require 'time'
16
16
  module PulpContainerClient
17
17
  # Serializer for Container Push Repositories.
18
18
  class ContainerContainerPushRepositoryResponse
19
- # The Pulp Resource Name (PRN).
20
- attr_accessor :prn
19
+ # A reference to an associated signing service.
20
+ attr_accessor :manifest_signing_service
21
+
22
+ # Timestamp of creation.
23
+ attr_accessor :pulp_created
21
24
 
22
25
  attr_accessor :pulp_labels
23
26
 
27
+ attr_accessor :latest_version_href
28
+
29
+ # 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.
30
+ attr_accessor :pulp_last_updated
31
+
24
32
  attr_accessor :pulp_href
25
33
 
34
+ attr_accessor :versions_href
35
+
36
+ # The Pulp Resource Name (PRN).
37
+ attr_accessor :prn
38
+
26
39
  # An optional description.
27
40
  attr_accessor :description
28
41
 
29
42
  # Retain X checkpoint publications for the repository. Default is null which retains all checkpoints.
30
43
  attr_accessor :retain_checkpoints
31
44
 
32
- attr_accessor :versions_href
33
-
34
- # Timestamp of creation.
35
- attr_accessor :pulp_created
36
-
37
- # A reference to an associated signing service.
38
- attr_accessor :manifest_signing_service
45
+ # A unique name for this repository.
46
+ attr_accessor :name
39
47
 
40
48
  # Retain X versions of the repository. Default is null which retains all versions.
41
49
  attr_accessor :retain_repo_versions
42
50
 
43
- attr_accessor :latest_version_href
44
-
45
- # Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.
46
- attr_accessor :pulp_last_updated
47
-
48
- # A unique name for this repository.
49
- attr_accessor :name
50
-
51
51
  # Attribute mapping from ruby-style variable name to JSON key.
52
52
  def self.attribute_map
53
53
  {
54
- :'prn' => :'prn',
54
+ :'manifest_signing_service' => :'manifest_signing_service',
55
+ :'pulp_created' => :'pulp_created',
55
56
  :'pulp_labels' => :'pulp_labels',
57
+ :'latest_version_href' => :'latest_version_href',
58
+ :'pulp_last_updated' => :'pulp_last_updated',
56
59
  :'pulp_href' => :'pulp_href',
60
+ :'versions_href' => :'versions_href',
61
+ :'prn' => :'prn',
57
62
  :'description' => :'description',
58
63
  :'retain_checkpoints' => :'retain_checkpoints',
59
- :'versions_href' => :'versions_href',
60
- :'pulp_created' => :'pulp_created',
61
- :'manifest_signing_service' => :'manifest_signing_service',
62
- :'retain_repo_versions' => :'retain_repo_versions',
63
- :'latest_version_href' => :'latest_version_href',
64
- :'pulp_last_updated' => :'pulp_last_updated',
65
- :'name' => :'name'
64
+ :'name' => :'name',
65
+ :'retain_repo_versions' => :'retain_repo_versions'
66
66
  }
67
67
  end
68
68
 
@@ -74,28 +74,28 @@ module PulpContainerClient
74
74
  # Attribute type mapping.
75
75
  def self.openapi_types
76
76
  {
77
- :'prn' => :'String',
77
+ :'manifest_signing_service' => :'String',
78
+ :'pulp_created' => :'Time',
78
79
  :'pulp_labels' => :'Hash<String, String>',
80
+ :'latest_version_href' => :'String',
81
+ :'pulp_last_updated' => :'Time',
79
82
  :'pulp_href' => :'String',
83
+ :'versions_href' => :'String',
84
+ :'prn' => :'String',
80
85
  :'description' => :'String',
81
86
  :'retain_checkpoints' => :'Integer',
82
- :'versions_href' => :'String',
83
- :'pulp_created' => :'Time',
84
- :'manifest_signing_service' => :'String',
85
- :'retain_repo_versions' => :'Integer',
86
- :'latest_version_href' => :'String',
87
- :'pulp_last_updated' => :'Time',
88
- :'name' => :'String'
87
+ :'name' => :'String',
88
+ :'retain_repo_versions' => :'Integer'
89
89
  }
90
90
  end
91
91
 
92
92
  # List of attributes with nullable: true
93
93
  def self.openapi_nullable
94
94
  Set.new([
95
+ :'manifest_signing_service',
95
96
  :'description',
96
97
  :'retain_checkpoints',
97
- :'manifest_signing_service',
98
- :'retain_repo_versions',
98
+ :'retain_repo_versions'
99
99
  ])
100
100
  end
101
101
 
@@ -114,8 +114,12 @@ module PulpContainerClient
114
114
  h[k.to_sym] = v
115
115
  }
116
116
 
117
- if attributes.key?(:'prn')
118
- self.prn = attributes[:'prn']
117
+ if attributes.key?(:'manifest_signing_service')
118
+ self.manifest_signing_service = attributes[:'manifest_signing_service']
119
+ end
120
+
121
+ if attributes.key?(:'pulp_created')
122
+ self.pulp_created = attributes[:'pulp_created']
119
123
  end
120
124
 
121
125
  if attributes.key?(:'pulp_labels')
@@ -124,40 +128,32 @@ module PulpContainerClient
124
128
  end
125
129
  end
126
130
 
127
- if attributes.key?(:'pulp_href')
128
- self.pulp_href = attributes[:'pulp_href']
131
+ if attributes.key?(:'latest_version_href')
132
+ self.latest_version_href = attributes[:'latest_version_href']
129
133
  end
130
134
 
131
- if attributes.key?(:'description')
132
- self.description = attributes[:'description']
135
+ if attributes.key?(:'pulp_last_updated')
136
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
133
137
  end
134
138
 
135
- if attributes.key?(:'retain_checkpoints')
136
- self.retain_checkpoints = attributes[:'retain_checkpoints']
139
+ if attributes.key?(:'pulp_href')
140
+ self.pulp_href = attributes[:'pulp_href']
137
141
  end
138
142
 
139
143
  if attributes.key?(:'versions_href')
140
144
  self.versions_href = attributes[:'versions_href']
141
145
  end
142
146
 
143
- if attributes.key?(:'pulp_created')
144
- self.pulp_created = attributes[:'pulp_created']
145
- end
146
-
147
- if attributes.key?(:'manifest_signing_service')
148
- self.manifest_signing_service = attributes[:'manifest_signing_service']
149
- end
150
-
151
- if attributes.key?(:'retain_repo_versions')
152
- self.retain_repo_versions = attributes[:'retain_repo_versions']
147
+ if attributes.key?(:'prn')
148
+ self.prn = attributes[:'prn']
153
149
  end
154
150
 
155
- if attributes.key?(:'latest_version_href')
156
- self.latest_version_href = attributes[:'latest_version_href']
151
+ if attributes.key?(:'description')
152
+ self.description = attributes[:'description']
157
153
  end
158
154
 
159
- if attributes.key?(:'pulp_last_updated')
160
- self.pulp_last_updated = attributes[:'pulp_last_updated']
155
+ if attributes.key?(:'retain_checkpoints')
156
+ self.retain_checkpoints = attributes[:'retain_checkpoints']
161
157
  end
162
158
 
163
159
  if attributes.key?(:'name')
@@ -165,6 +161,10 @@ module PulpContainerClient
165
161
  else
166
162
  self.name = nil
167
163
  end
164
+
165
+ if attributes.key?(:'retain_repo_versions')
166
+ self.retain_repo_versions = attributes[:'retain_repo_versions']
167
+ end
168
168
  end
169
169
 
170
170
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -176,14 +176,14 @@ module PulpContainerClient
176
176
  invalid_properties.push('invalid value for "retain_checkpoints", must be greater than or equal to 1.')
177
177
  end
178
178
 
179
- if !@retain_repo_versions.nil? && @retain_repo_versions < 1
180
- invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
181
- end
182
-
183
179
  if @name.nil?
184
180
  invalid_properties.push('invalid value for "name", name cannot be nil.')
185
181
  end
186
182
 
183
+ if !@retain_repo_versions.nil? && @retain_repo_versions < 1
184
+ invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
185
+ end
186
+
187
187
  invalid_properties
188
188
  end
189
189
 
@@ -192,8 +192,8 @@ module PulpContainerClient
192
192
  def valid?
193
193
  warn '[DEPRECATED] the `valid?` method is obsolete'
194
194
  return false if !@retain_checkpoints.nil? && @retain_checkpoints < 1
195
- return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
196
195
  return false if @name.nil?
196
+ return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
197
197
  true
198
198
  end
199
199
 
@@ -222,18 +222,18 @@ module PulpContainerClient
222
222
  def ==(o)
223
223
  return true if self.equal?(o)
224
224
  self.class == o.class &&
225
- prn == o.prn &&
225
+ manifest_signing_service == o.manifest_signing_service &&
226
+ pulp_created == o.pulp_created &&
226
227
  pulp_labels == o.pulp_labels &&
228
+ latest_version_href == o.latest_version_href &&
229
+ pulp_last_updated == o.pulp_last_updated &&
227
230
  pulp_href == o.pulp_href &&
231
+ versions_href == o.versions_href &&
232
+ prn == o.prn &&
228
233
  description == o.description &&
229
234
  retain_checkpoints == o.retain_checkpoints &&
230
- versions_href == o.versions_href &&
231
- pulp_created == o.pulp_created &&
232
- manifest_signing_service == o.manifest_signing_service &&
233
- retain_repo_versions == o.retain_repo_versions &&
234
- latest_version_href == o.latest_version_href &&
235
- pulp_last_updated == o.pulp_last_updated &&
236
- name == o.name
235
+ name == o.name &&
236
+ retain_repo_versions == o.retain_repo_versions
237
237
  end
238
238
 
239
239
  # @see the `==` method
@@ -245,7 +245,7 @@ module PulpContainerClient
245
245
  # Calculates hash code according to all attributes.
246
246
  # @return [Integer] Hash code
247
247
  def hash
248
- [prn, pulp_labels, pulp_href, description, retain_checkpoints, versions_href, pulp_created, manifest_signing_service, retain_repo_versions, latest_version_href, pulp_last_updated, name].hash
248
+ [manifest_signing_service, pulp_created, pulp_labels, latest_version_href, pulp_last_updated, pulp_href, versions_href, prn, description, retain_checkpoints, name, retain_repo_versions].hash
249
249
  end
250
250
 
251
251
  # Builds the object from hash
@@ -16,23 +16,23 @@ require 'time'
16
16
  module PulpContainerClient
17
17
  # A serializer for ContainerDistribution.
18
18
  class PatchedcontainerContainerDistribution
19
- # The latest RepositoryVersion for this Repository will be served.
20
- attr_accessor :repository
21
-
22
19
  # Whether this distribution should be shown in the content app.
23
20
  attr_accessor :hidden
24
21
 
22
+ # An optional content-guard. If none is specified, a default one will be used.
23
+ attr_accessor :content_guard
24
+
25
25
  attr_accessor :pulp_labels
26
26
 
27
27
  # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
28
28
  attr_accessor :base_path
29
29
 
30
+ # The latest RepositoryVersion for this Repository will be served.
31
+ attr_accessor :repository
32
+
30
33
  # RepositoryVersion to be served
31
34
  attr_accessor :repository_version
32
35
 
33
- # An optional content-guard. If none is specified, a default one will be used.
34
- attr_accessor :content_guard
35
-
36
36
  # A unique name. Ex, `rawhide` and `stable`.
37
37
  attr_accessor :name
38
38
 
@@ -45,12 +45,12 @@ module PulpContainerClient
45
45
  # Attribute mapping from ruby-style variable name to JSON key.
46
46
  def self.attribute_map
47
47
  {
48
- :'repository' => :'repository',
49
48
  :'hidden' => :'hidden',
49
+ :'content_guard' => :'content_guard',
50
50
  :'pulp_labels' => :'pulp_labels',
51
51
  :'base_path' => :'base_path',
52
+ :'repository' => :'repository',
52
53
  :'repository_version' => :'repository_version',
53
- :'content_guard' => :'content_guard',
54
54
  :'name' => :'name',
55
55
  :'private' => :'private',
56
56
  :'description' => :'description'
@@ -65,12 +65,12 @@ module PulpContainerClient
65
65
  # Attribute type mapping.
66
66
  def self.openapi_types
67
67
  {
68
- :'repository' => :'String',
69
68
  :'hidden' => :'Boolean',
69
+ :'content_guard' => :'String',
70
70
  :'pulp_labels' => :'Hash<String, String>',
71
71
  :'base_path' => :'String',
72
+ :'repository' => :'String',
72
73
  :'repository_version' => :'String',
73
- :'content_guard' => :'String',
74
74
  :'name' => :'String',
75
75
  :'private' => :'Boolean',
76
76
  :'description' => :'String'
@@ -101,16 +101,16 @@ module PulpContainerClient
101
101
  h[k.to_sym] = v
102
102
  }
103
103
 
104
- if attributes.key?(:'repository')
105
- self.repository = attributes[:'repository']
106
- end
107
-
108
104
  if attributes.key?(:'hidden')
109
105
  self.hidden = attributes[:'hidden']
110
106
  else
111
107
  self.hidden = false
112
108
  end
113
109
 
110
+ if attributes.key?(:'content_guard')
111
+ self.content_guard = attributes[:'content_guard']
112
+ end
113
+
114
114
  if attributes.key?(:'pulp_labels')
115
115
  if (value = attributes[:'pulp_labels']).is_a?(Hash)
116
116
  self.pulp_labels = value
@@ -121,12 +121,12 @@ module PulpContainerClient
121
121
  self.base_path = attributes[:'base_path']
122
122
  end
123
123
 
124
- if attributes.key?(:'repository_version')
125
- self.repository_version = attributes[:'repository_version']
124
+ if attributes.key?(:'repository')
125
+ self.repository = attributes[:'repository']
126
126
  end
127
127
 
128
- if attributes.key?(:'content_guard')
129
- self.content_guard = attributes[:'content_guard']
128
+ if attributes.key?(:'repository_version')
129
+ self.repository_version = attributes[:'repository_version']
130
130
  end
131
131
 
132
132
  if attributes.key?(:'name')
@@ -215,12 +215,12 @@ module PulpContainerClient
215
215
  def ==(o)
216
216
  return true if self.equal?(o)
217
217
  self.class == o.class &&
218
- repository == o.repository &&
219
218
  hidden == o.hidden &&
219
+ content_guard == o.content_guard &&
220
220
  pulp_labels == o.pulp_labels &&
221
221
  base_path == o.base_path &&
222
+ repository == o.repository &&
222
223
  repository_version == o.repository_version &&
223
- content_guard == o.content_guard &&
224
224
  name == o.name &&
225
225
  private == o.private &&
226
226
  description == o.description
@@ -235,7 +235,7 @@ module PulpContainerClient
235
235
  # Calculates hash code according to all attributes.
236
236
  # @return [Integer] Hash code
237
237
  def hash
238
- [repository, hidden, pulp_labels, base_path, repository_version, content_guard, name, private, description].hash
238
+ [hidden, content_guard, pulp_labels, base_path, repository, repository_version, name, private, description].hash
239
239
  end
240
240
 
241
241
  # Builds the object from hash