pulp_container_client 2.27.7 → 2.27.9

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