pulp_container_client 2.27.4 → 2.27.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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 +8 -8
  8. data/docs/ContainerContainerPushRepositoryResponse.md +15 -15
  9. data/docs/PatchedcontainerContainerDistribution.md +6 -6
  10. data/docs/PatchedcontainerContainerPullThroughDistribution.md +6 -6
  11. data/docs/PatchedcontainerContainerPushRepository.md +8 -8
  12. data/lib/pulp_container_client/models/container_container_distribution.rb +34 -34
  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 +34 -34
  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 +69 -69
  17. data/lib/pulp_container_client/models/container_container_push_repository_response.rb +83 -83
  18. data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +32 -32
  19. data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +32 -32
  20. data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +67 -67
  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 +6 -6
  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 +6 -6
  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 +6 -6
  29. data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +6 -6
  30. data/spec/models/patchedcontainer_container_push_repository_spec.rb +6 -6
  31. metadata +2 -2
@@ -16,32 +16,32 @@ require 'time'
16
16
  module PulpContainerClient
17
17
  # Serializer for Container Push Repositories.
18
18
  class ContainerContainerPushRepository
19
- # A unique name for this repository.
20
- attr_accessor :name
19
+ # Retain X checkpoint publications for the repository. Default is null which retains all checkpoints.
20
+ attr_accessor :retain_checkpoints
21
+
22
+ attr_accessor :pulp_labels
23
+
24
+ # Retain X versions of the repository. Default is null which retains all versions.
25
+ attr_accessor :retain_repo_versions
21
26
 
22
27
  # A reference to an associated signing service.
23
28
  attr_accessor :manifest_signing_service
24
29
 
25
- attr_accessor :pulp_labels
30
+ # A unique name for this repository.
31
+ attr_accessor :name
26
32
 
27
33
  # An optional description.
28
34
  attr_accessor :description
29
35
 
30
- # Retain X versions of the repository. Default is null which retains all versions.
31
- attr_accessor :retain_repo_versions
32
-
33
- # Retain X checkpoint publications for the repository. Default is null which retains all checkpoints.
34
- attr_accessor :retain_checkpoints
35
-
36
36
  # Attribute mapping from ruby-style variable name to JSON key.
37
37
  def self.attribute_map
38
38
  {
39
- :'name' => :'name',
40
- :'manifest_signing_service' => :'manifest_signing_service',
39
+ :'retain_checkpoints' => :'retain_checkpoints',
41
40
  :'pulp_labels' => :'pulp_labels',
42
- :'description' => :'description',
43
41
  :'retain_repo_versions' => :'retain_repo_versions',
44
- :'retain_checkpoints' => :'retain_checkpoints'
42
+ :'manifest_signing_service' => :'manifest_signing_service',
43
+ :'name' => :'name',
44
+ :'description' => :'description'
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
- :'name' => :'String',
57
- :'manifest_signing_service' => :'String',
56
+ :'retain_checkpoints' => :'Integer',
58
57
  :'pulp_labels' => :'Hash<String, String>',
59
- :'description' => :'String',
60
58
  :'retain_repo_versions' => :'Integer',
61
- :'retain_checkpoints' => :'Integer'
59
+ :'manifest_signing_service' => :'String',
60
+ :'name' => :'String',
61
+ :'description' => :'String'
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',
69
- :'description',
68
+ :'retain_checkpoints',
70
69
  :'retain_repo_versions',
71
- :'retain_checkpoints'
70
+ :'manifest_signing_service',
71
+ :'description'
72
72
  ])
73
73
  end
74
74
 
@@ -87,14 +87,8 @@ module PulpContainerClient
87
87
  h[k.to_sym] = v
88
88
  }
89
89
 
90
- if attributes.key?(:'name')
91
- self.name = attributes[:'name']
92
- else
93
- self.name = nil
94
- end
95
-
96
- if attributes.key?(:'manifest_signing_service')
97
- self.manifest_signing_service = attributes[:'manifest_signing_service']
90
+ if attributes.key?(:'retain_checkpoints')
91
+ self.retain_checkpoints = attributes[:'retain_checkpoints']
98
92
  end
99
93
 
100
94
  if attributes.key?(:'pulp_labels')
@@ -103,16 +97,22 @@ module PulpContainerClient
103
97
  end
104
98
  end
105
99
 
106
- if attributes.key?(:'description')
107
- self.description = attributes[:'description']
108
- end
109
-
110
100
  if attributes.key?(:'retain_repo_versions')
111
101
  self.retain_repo_versions = attributes[:'retain_repo_versions']
112
102
  end
113
103
 
114
- if attributes.key?(:'retain_checkpoints')
115
- self.retain_checkpoints = attributes[:'retain_checkpoints']
104
+ if attributes.key?(:'manifest_signing_service')
105
+ self.manifest_signing_service = attributes[:'manifest_signing_service']
106
+ end
107
+
108
+ if attributes.key?(:'name')
109
+ self.name = attributes[:'name']
110
+ else
111
+ self.name = nil
112
+ end
113
+
114
+ if attributes.key?(:'description')
115
+ self.description = attributes[:'description']
116
116
  end
117
117
  end
118
118
 
@@ -121,6 +121,14 @@ module PulpContainerClient
121
121
  def list_invalid_properties
122
122
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
123
123
  invalid_properties = Array.new
124
+ if !@retain_checkpoints.nil? && @retain_checkpoints < 1
125
+ invalid_properties.push('invalid value for "retain_checkpoints", must be greater than or equal to 1.')
126
+ end
127
+
128
+ if !@retain_repo_versions.nil? && @retain_repo_versions < 1
129
+ invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
130
+ end
131
+
124
132
  if @name.nil?
125
133
  invalid_properties.push('invalid value for "name", name cannot be nil.')
126
134
  end
@@ -133,14 +141,6 @@ module PulpContainerClient
133
141
  invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
134
142
  end
135
143
 
136
- if !@retain_repo_versions.nil? && @retain_repo_versions < 1
137
- invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
138
- end
139
-
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
 
@@ -148,14 +148,34 @@ module PulpContainerClient
148
148
  # @return true if the model is valid
149
149
  def valid?
150
150
  warn '[DEPRECATED] the `valid?` method is obsolete'
151
+ return false if !@retain_checkpoints.nil? && @retain_checkpoints < 1
152
+ return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
151
153
  return false if @name.nil?
152
154
  return false if @name.to_s.length < 1
153
155
  return false if !@description.nil? && @description.to_s.length < 1
154
- 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
 
159
+ # Custom attribute writer method with validation
160
+ # @param [Object] retain_checkpoints Value to be assigned
161
+ def retain_checkpoints=(retain_checkpoints)
162
+ if !retain_checkpoints.nil? && retain_checkpoints < 1
163
+ fail ArgumentError, 'invalid value for "retain_checkpoints", must be greater than or equal to 1.'
164
+ end
165
+
166
+ @retain_checkpoints = retain_checkpoints
167
+ end
168
+
169
+ # Custom attribute writer method with validation
170
+ # @param [Object] retain_repo_versions Value to be assigned
171
+ def retain_repo_versions=(retain_repo_versions)
172
+ if !retain_repo_versions.nil? && retain_repo_versions < 1
173
+ fail ArgumentError, 'invalid value for "retain_repo_versions", must be greater than or equal to 1.'
174
+ end
175
+
176
+ @retain_repo_versions = retain_repo_versions
177
+ end
178
+
159
179
  # Custom attribute writer method with validation
160
180
  # @param [Object] name Value to be assigned
161
181
  def name=(name)
@@ -180,37 +200,17 @@ module PulpContainerClient
180
200
  @description = description
181
201
  end
182
202
 
183
- # Custom attribute writer method with validation
184
- # @param [Object] retain_repo_versions Value to be assigned
185
- def retain_repo_versions=(retain_repo_versions)
186
- if !retain_repo_versions.nil? && retain_repo_versions < 1
187
- fail ArgumentError, 'invalid value for "retain_repo_versions", must be greater than or equal to 1.'
188
- end
189
-
190
- @retain_repo_versions = retain_repo_versions
191
- end
192
-
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
- name == o.name &&
209
- manifest_signing_service == o.manifest_signing_service &&
208
+ retain_checkpoints == o.retain_checkpoints &&
210
209
  pulp_labels == o.pulp_labels &&
211
- description == o.description &&
212
210
  retain_repo_versions == o.retain_repo_versions &&
213
- retain_checkpoints == o.retain_checkpoints
211
+ manifest_signing_service == o.manifest_signing_service &&
212
+ name == o.name &&
213
+ description == o.description
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, manifest_signing_service, pulp_labels, description, retain_repo_versions, retain_checkpoints].hash
225
+ [retain_checkpoints, pulp_labels, retain_repo_versions, manifest_signing_service, name, description].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
21
-
22
19
  attr_accessor :latest_version_href
23
20
 
24
- # A unique name for this repository.
25
- attr_accessor :name
21
+ # Retain X checkpoint publications for the repository. Default is null which retains all checkpoints.
22
+ attr_accessor :retain_checkpoints
26
23
 
27
- # A reference to an associated signing service.
28
- attr_accessor :manifest_signing_service
24
+ # The Pulp Resource Name (PRN).
25
+ attr_accessor :prn
29
26
 
30
- attr_accessor :versions_href
27
+ # 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.
28
+ attr_accessor :pulp_last_updated
31
29
 
32
30
  attr_accessor :pulp_labels
33
31
 
34
- attr_accessor :pulp_href
32
+ # Retain X versions of the repository. Default is null which retains all versions.
33
+ attr_accessor :retain_repo_versions
35
34
 
36
35
  # Timestamp of creation.
37
36
  attr_accessor :pulp_created
38
37
 
39
- # 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.
40
- attr_accessor :pulp_last_updated
38
+ # A reference to an associated signing service.
39
+ attr_accessor :manifest_signing_service
41
40
 
42
- # An optional description.
43
- attr_accessor :description
41
+ # A unique name for this repository.
42
+ attr_accessor :name
44
43
 
45
- # Retain X versions of the repository. Default is null which retains all versions.
46
- attr_accessor :retain_repo_versions
44
+ attr_accessor :versions_href
47
45
 
48
- # Retain X checkpoint publications for the repository. Default is null which retains all checkpoints.
49
- attr_accessor :retain_checkpoints
46
+ attr_accessor :pulp_href
47
+
48
+ # An optional description.
49
+ attr_accessor :description
50
50
 
51
51
  # Attribute mapping from ruby-style variable name to JSON key.
52
52
  def self.attribute_map
53
53
  {
54
- :'prn' => :'prn',
55
54
  :'latest_version_href' => :'latest_version_href',
56
- :'name' => :'name',
55
+ :'retain_checkpoints' => :'retain_checkpoints',
56
+ :'prn' => :'prn',
57
+ :'pulp_last_updated' => :'pulp_last_updated',
58
+ :'pulp_labels' => :'pulp_labels',
59
+ :'retain_repo_versions' => :'retain_repo_versions',
60
+ :'pulp_created' => :'pulp_created',
57
61
  :'manifest_signing_service' => :'manifest_signing_service',
62
+ :'name' => :'name',
58
63
  :'versions_href' => :'versions_href',
59
- :'pulp_labels' => :'pulp_labels',
60
64
  :'pulp_href' => :'pulp_href',
61
- :'pulp_created' => :'pulp_created',
62
- :'pulp_last_updated' => :'pulp_last_updated',
63
- :'description' => :'description',
64
- :'retain_repo_versions' => :'retain_repo_versions',
65
- :'retain_checkpoints' => :'retain_checkpoints'
65
+ :'description' => :'description'
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',
78
77
  :'latest_version_href' => :'String',
79
- :'name' => :'String',
78
+ :'retain_checkpoints' => :'Integer',
79
+ :'prn' => :'String',
80
+ :'pulp_last_updated' => :'Time',
81
+ :'pulp_labels' => :'Hash<String, String>',
82
+ :'retain_repo_versions' => :'Integer',
83
+ :'pulp_created' => :'Time',
80
84
  :'manifest_signing_service' => :'String',
85
+ :'name' => :'String',
81
86
  :'versions_href' => :'String',
82
- :'pulp_labels' => :'Hash<String, String>',
83
87
  :'pulp_href' => :'String',
84
- :'pulp_created' => :'Time',
85
- :'pulp_last_updated' => :'Time',
86
- :'description' => :'String',
87
- :'retain_repo_versions' => :'Integer',
88
- :'retain_checkpoints' => :'Integer'
88
+ :'description' => :'String'
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',
96
- :'description',
95
+ :'retain_checkpoints',
97
96
  :'retain_repo_versions',
98
- :'retain_checkpoints'
97
+ :'manifest_signing_service',
98
+ :'description'
99
99
  ])
100
100
  end
101
101
 
@@ -114,26 +114,20 @@ module PulpContainerClient
114
114
  h[k.to_sym] = v
115
115
  }
116
116
 
117
- if attributes.key?(:'prn')
118
- self.prn = attributes[:'prn']
119
- end
120
-
121
117
  if attributes.key?(:'latest_version_href')
122
118
  self.latest_version_href = attributes[:'latest_version_href']
123
119
  end
124
120
 
125
- if attributes.key?(:'name')
126
- self.name = attributes[:'name']
127
- else
128
- self.name = nil
121
+ if attributes.key?(:'retain_checkpoints')
122
+ self.retain_checkpoints = attributes[:'retain_checkpoints']
129
123
  end
130
124
 
131
- if attributes.key?(:'manifest_signing_service')
132
- self.manifest_signing_service = attributes[:'manifest_signing_service']
125
+ if attributes.key?(:'prn')
126
+ self.prn = attributes[:'prn']
133
127
  end
134
128
 
135
- if attributes.key?(:'versions_href')
136
- self.versions_href = attributes[:'versions_href']
129
+ if attributes.key?(:'pulp_last_updated')
130
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
137
131
  end
138
132
 
139
133
  if attributes.key?(:'pulp_labels')
@@ -142,28 +136,34 @@ module PulpContainerClient
142
136
  end
143
137
  end
144
138
 
145
- if attributes.key?(:'pulp_href')
146
- self.pulp_href = attributes[:'pulp_href']
139
+ if attributes.key?(:'retain_repo_versions')
140
+ self.retain_repo_versions = attributes[:'retain_repo_versions']
147
141
  end
148
142
 
149
143
  if attributes.key?(:'pulp_created')
150
144
  self.pulp_created = attributes[:'pulp_created']
151
145
  end
152
146
 
153
- if attributes.key?(:'pulp_last_updated')
154
- self.pulp_last_updated = attributes[:'pulp_last_updated']
147
+ if attributes.key?(:'manifest_signing_service')
148
+ self.manifest_signing_service = attributes[:'manifest_signing_service']
155
149
  end
156
150
 
157
- if attributes.key?(:'description')
158
- self.description = attributes[:'description']
151
+ if attributes.key?(:'name')
152
+ self.name = attributes[:'name']
153
+ else
154
+ self.name = nil
159
155
  end
160
156
 
161
- if attributes.key?(:'retain_repo_versions')
162
- self.retain_repo_versions = attributes[:'retain_repo_versions']
157
+ if attributes.key?(:'versions_href')
158
+ self.versions_href = attributes[:'versions_href']
163
159
  end
164
160
 
165
- if attributes.key?(:'retain_checkpoints')
166
- self.retain_checkpoints = attributes[:'retain_checkpoints']
161
+ if attributes.key?(:'pulp_href')
162
+ self.pulp_href = attributes[:'pulp_href']
163
+ end
164
+
165
+ if attributes.key?(:'description')
166
+ self.description = attributes[:'description']
167
167
  end
168
168
  end
169
169
 
@@ -172,16 +172,16 @@ module PulpContainerClient
172
172
  def list_invalid_properties
173
173
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
174
174
  invalid_properties = Array.new
175
- if @name.nil?
176
- invalid_properties.push('invalid value for "name", name cannot be nil.')
175
+ if !@retain_checkpoints.nil? && @retain_checkpoints < 1
176
+ invalid_properties.push('invalid value for "retain_checkpoints", must be greater than or equal to 1.')
177
177
  end
178
178
 
179
179
  if !@retain_repo_versions.nil? && @retain_repo_versions < 1
180
180
  invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
181
181
  end
182
182
 
183
- if !@retain_checkpoints.nil? && @retain_checkpoints < 1
184
- invalid_properties.push('invalid value for "retain_checkpoints", must be greater than or equal to 1.')
183
+ if @name.nil?
184
+ invalid_properties.push('invalid value for "name", name cannot be nil.')
185
185
  end
186
186
 
187
187
  invalid_properties
@@ -191,22 +191,12 @@ module PulpContainerClient
191
191
  # @return true if the model is valid
192
192
  def valid?
193
193
  warn '[DEPRECATED] the `valid?` method is obsolete'
194
- return false if @name.nil?
195
- return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
196
194
  return false if !@retain_checkpoints.nil? && @retain_checkpoints < 1
195
+ return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
196
+ return false if @name.nil?
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
- prn == o.prn &&
226
225
  latest_version_href == o.latest_version_href &&
227
- name == o.name &&
226
+ retain_checkpoints == o.retain_checkpoints &&
227
+ prn == o.prn &&
228
+ pulp_last_updated == o.pulp_last_updated &&
229
+ pulp_labels == o.pulp_labels &&
230
+ retain_repo_versions == o.retain_repo_versions &&
231
+ pulp_created == o.pulp_created &&
228
232
  manifest_signing_service == o.manifest_signing_service &&
233
+ name == o.name &&
229
234
  versions_href == o.versions_href &&
230
- pulp_labels == o.pulp_labels &&
231
235
  pulp_href == o.pulp_href &&
232
- pulp_created == o.pulp_created &&
233
- pulp_last_updated == o.pulp_last_updated &&
234
- description == o.description &&
235
- retain_repo_versions == o.retain_repo_versions &&
236
- retain_checkpoints == o.retain_checkpoints
236
+ description == o.description
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, latest_version_href, name, manifest_signing_service, versions_href, pulp_labels, pulp_href, pulp_created, pulp_last_updated, description, retain_repo_versions, retain_checkpoints].hash
248
+ [latest_version_href, retain_checkpoints, prn, pulp_last_updated, pulp_labels, retain_repo_versions, pulp_created, manifest_signing_service, name, versions_href, pulp_href, description].hash
249
249
  end
250
250
 
251
251
  # Builds the object from hash
@@ -19,23 +19,23 @@ 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
- # A unique name. Ex, `rawhide` and `stable`.
23
- attr_accessor :name
24
-
25
- # An optional content-guard. If none is specified, a default one will be used.
26
- attr_accessor :content_guard
27
-
28
22
  attr_accessor :pulp_labels
29
23
 
30
- # The latest RepositoryVersion for this Repository will be served.
31
- attr_accessor :repository
32
-
33
24
  # RepositoryVersion to be served
34
25
  attr_accessor :repository_version
35
26
 
27
+ # An optional content-guard. If none is specified, a default one will be used.
28
+ attr_accessor :content_guard
29
+
36
30
  # Whether this distribution should be shown in the content app.
37
31
  attr_accessor :hidden
38
32
 
33
+ # A unique name. Ex, `rawhide` and `stable`.
34
+ attr_accessor :name
35
+
36
+ # The latest RepositoryVersion for this Repository will be served.
37
+ attr_accessor :repository
38
+
39
39
  # Restrict pull access to explicitly authorized users. Defaults to unrestricted pull access.
40
40
  attr_accessor :private
41
41
 
@@ -46,12 +46,12 @@ module PulpContainerClient
46
46
  def self.attribute_map
47
47
  {
48
48
  :'base_path' => :'base_path',
49
- :'name' => :'name',
50
- :'content_guard' => :'content_guard',
51
49
  :'pulp_labels' => :'pulp_labels',
52
- :'repository' => :'repository',
53
50
  :'repository_version' => :'repository_version',
51
+ :'content_guard' => :'content_guard',
54
52
  :'hidden' => :'hidden',
53
+ :'name' => :'name',
54
+ :'repository' => :'repository',
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
- :'name' => :'String',
70
- :'content_guard' => :'String',
71
69
  :'pulp_labels' => :'Hash<String, String>',
72
- :'repository' => :'String',
73
70
  :'repository_version' => :'String',
71
+ :'content_guard' => :'String',
74
72
  :'hidden' => :'Boolean',
73
+ :'name' => :'String',
74
+ :'repository' => :'String',
75
75
  :'private' => :'Boolean',
76
76
  :'description' => :'String'
77
77
  }
@@ -80,8 +80,8 @@ module PulpContainerClient
80
80
  # List of attributes with nullable: true
81
81
  def self.openapi_nullable
82
82
  Set.new([
83
- :'repository',
84
83
  :'repository_version',
84
+ :'repository',
85
85
  :'description'
86
86
  ])
87
87
  end
@@ -105,34 +105,34 @@ 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']
110
- end
111
-
112
- if attributes.key?(:'content_guard')
113
- self.content_guard = attributes[:'content_guard']
114
- end
115
-
116
108
  if attributes.key?(:'pulp_labels')
117
109
  if (value = attributes[:'pulp_labels']).is_a?(Hash)
118
110
  self.pulp_labels = value
119
111
  end
120
112
  end
121
113
 
122
- if attributes.key?(:'repository')
123
- self.repository = attributes[:'repository']
124
- end
125
-
126
114
  if attributes.key?(:'repository_version')
127
115
  self.repository_version = attributes[:'repository_version']
128
116
  end
129
117
 
118
+ if attributes.key?(:'content_guard')
119
+ self.content_guard = attributes[:'content_guard']
120
+ end
121
+
130
122
  if attributes.key?(:'hidden')
131
123
  self.hidden = attributes[:'hidden']
132
124
  else
133
125
  self.hidden = false
134
126
  end
135
127
 
128
+ if attributes.key?(:'name')
129
+ self.name = attributes[:'name']
130
+ end
131
+
132
+ if attributes.key?(:'repository')
133
+ self.repository = attributes[:'repository']
134
+ end
135
+
136
136
  if attributes.key?(:'private')
137
137
  self.private = attributes[:'private']
138
138
  end
@@ -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
- name == o.name &&
220
- content_guard == o.content_guard &&
221
219
  pulp_labels == o.pulp_labels &&
222
- repository == o.repository &&
223
220
  repository_version == o.repository_version &&
221
+ content_guard == o.content_guard &&
224
222
  hidden == o.hidden &&
223
+ name == o.name &&
224
+ repository == o.repository &&
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, content_guard, pulp_labels, repository, repository_version, hidden, private, description].hash
238
+ [base_path, pulp_labels, repository_version, content_guard, hidden, name, repository, private, description].hash
239
239
  end
240
240
 
241
241
  # Builds the object from hash