pulp_container_client 2.15.2 → 2.16.1

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 (77) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +38 -25
  3. data/docs/ContainerContainerDistribution.md +7 -7
  4. data/docs/ContainerContainerDistributionResponse.md +9 -9
  5. data/docs/ContainerContainerPushRepository.md +2 -2
  6. data/docs/ContainerContainerPushRepositoryResponse.md +9 -9
  7. data/docs/ContentBlobsApi.md +3 -1
  8. data/docs/ContentManifestsApi.md +3 -1
  9. data/docs/ContentSignaturesApi.md +7 -1
  10. data/docs/ContentTagsApi.md +3 -1
  11. data/docs/DistributionsContainerApi.md +132 -10
  12. data/docs/IndexDynamicApi.md +50 -0
  13. data/docs/IndexStaticApi.md +50 -0
  14. data/docs/PatchedcontainerContainerDistribution.md +7 -7
  15. data/docs/PatchedcontainerContainerPushRepository.md +2 -2
  16. data/docs/PulpContainerNamespacesApi.md +19 -9
  17. data/docs/RemotesContainerApi.md +131 -9
  18. data/docs/RepositoriesContainerApi.md +133 -11
  19. data/docs/RepositoriesContainerPushApi.md +20 -10
  20. data/docs/RepositoriesContainerPushVersionsApi.md +3 -1
  21. data/docs/RepositoriesContainerVersionsApi.md +3 -1
  22. data/docs/SetLabel.md +19 -0
  23. data/docs/SetLabelResponse.md +19 -0
  24. data/docs/TokenApi.md +1 -1
  25. data/docs/UnsetLabel.md +17 -0
  26. data/docs/UnsetLabelResponse.md +19 -0
  27. data/lib/pulp_container_client/api/content_blobs_api.rb +3 -0
  28. data/lib/pulp_container_client/api/content_manifests_api.rb +3 -0
  29. data/lib/pulp_container_client/api/content_signatures_api.rb +9 -0
  30. data/lib/pulp_container_client/api/content_tags_api.rb +3 -0
  31. data/lib/pulp_container_client/api/distributions_container_api.rb +157 -0
  32. data/lib/pulp_container_client/api/index_dynamic_api.rb +74 -0
  33. data/lib/pulp_container_client/api/index_static_api.rb +74 -0
  34. data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +17 -0
  35. data/lib/pulp_container_client/api/remotes_container_api.rb +157 -0
  36. data/lib/pulp_container_client/api/repositories_container_api.rb +159 -2
  37. data/lib/pulp_container_client/api/repositories_container_push_api.rb +17 -0
  38. data/lib/pulp_container_client/api/repositories_container_push_versions_api.rb +3 -0
  39. data/lib/pulp_container_client/api/repositories_container_versions_api.rb +3 -0
  40. data/lib/pulp_container_client/configuration.rb +2 -2
  41. data/lib/pulp_container_client/models/container_container_distribution.rb +55 -55
  42. data/lib/pulp_container_client/models/container_container_distribution_response.rb +48 -48
  43. data/lib/pulp_container_client/models/container_container_push_repository.rb +11 -11
  44. data/lib/pulp_container_client/models/container_container_push_repository_response.rb +35 -35
  45. data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +46 -46
  46. data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +11 -11
  47. data/lib/pulp_container_client/models/set_label.rb +252 -0
  48. data/lib/pulp_container_client/models/set_label_response.rb +243 -0
  49. data/lib/pulp_container_client/models/unset_label.rb +242 -0
  50. data/lib/pulp_container_client/models/unset_label_response.rb +242 -0
  51. data/lib/pulp_container_client/version.rb +1 -1
  52. data/lib/pulp_container_client.rb +6 -0
  53. data/spec/api/content_blobs_api_spec.rb +1 -0
  54. data/spec/api/content_manifests_api_spec.rb +1 -0
  55. data/spec/api/content_signatures_api_spec.rb +3 -0
  56. data/spec/api/content_tags_api_spec.rb +1 -0
  57. data/spec/api/distributions_container_api_spec.rb +33 -0
  58. data/spec/api/index_dynamic_api_spec.rb +45 -0
  59. data/spec/api/index_static_api_spec.rb +45 -0
  60. data/spec/api/pulp_container_namespaces_api_spec.rb +7 -0
  61. data/spec/api/remotes_container_api_spec.rb +33 -0
  62. data/spec/api/repositories_container_api_spec.rb +34 -1
  63. data/spec/api/repositories_container_push_api_spec.rb +7 -0
  64. data/spec/api/repositories_container_push_versions_api_spec.rb +1 -0
  65. data/spec/api/repositories_container_versions_api_spec.rb +1 -0
  66. data/spec/configuration_spec.rb +3 -3
  67. data/spec/models/container_container_distribution_response_spec.rb +8 -8
  68. data/spec/models/container_container_distribution_spec.rb +5 -5
  69. data/spec/models/container_container_push_repository_response_spec.rb +7 -7
  70. data/spec/models/container_container_push_repository_spec.rb +2 -2
  71. data/spec/models/patchedcontainer_container_distribution_spec.rb +5 -5
  72. data/spec/models/patchedcontainer_container_push_repository_spec.rb +2 -2
  73. data/spec/models/set_label_response_spec.rb +47 -0
  74. data/spec/models/set_label_spec.rb +47 -0
  75. data/spec/models/unset_label_response_spec.rb +47 -0
  76. data/spec/models/unset_label_spec.rb +41 -0
  77. metadata +67 -43
@@ -15,22 +15,22 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # A serializer for ContainerDistribution.
17
17
  class ContainerContainerDistribution
18
- attr_accessor :pulp_labels
18
+ # Whether this distribution should be shown in the content app.
19
+ attr_accessor :hidden
19
20
 
20
- # An optional content-guard. If none is specified, a default one will be used.
21
- attr_accessor :content_guard
21
+ attr_accessor :pulp_labels
22
22
 
23
- # The latest RepositoryVersion for this Repository will be served.
24
- attr_accessor :repository
23
+ # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
24
+ attr_accessor :base_path
25
25
 
26
26
  # A unique name. Ex, `rawhide` and `stable`.
27
27
  attr_accessor :name
28
28
 
29
- # Whether this distribution should be shown in the content app.
30
- attr_accessor :hidden
29
+ # An optional content-guard. If none is specified, a default one will be used.
30
+ attr_accessor :content_guard
31
31
 
32
- # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
33
- attr_accessor :base_path
32
+ # The latest RepositoryVersion for this Repository will be served.
33
+ attr_accessor :repository
34
34
 
35
35
  # RepositoryVersion to be served
36
36
  attr_accessor :repository_version
@@ -44,12 +44,12 @@ module PulpContainerClient
44
44
  # Attribute mapping from ruby-style variable name to JSON key.
45
45
  def self.attribute_map
46
46
  {
47
+ :'hidden' => :'hidden',
47
48
  :'pulp_labels' => :'pulp_labels',
49
+ :'base_path' => :'base_path',
50
+ :'name' => :'name',
48
51
  :'content_guard' => :'content_guard',
49
52
  :'repository' => :'repository',
50
- :'name' => :'name',
51
- :'hidden' => :'hidden',
52
- :'base_path' => :'base_path',
53
53
  :'repository_version' => :'repository_version',
54
54
  :'private' => :'private',
55
55
  :'description' => :'description'
@@ -59,12 +59,12 @@ module PulpContainerClient
59
59
  # Attribute type mapping.
60
60
  def self.openapi_types
61
61
  {
62
+ :'hidden' => :'Boolean',
62
63
  :'pulp_labels' => :'Hash<String, String>',
64
+ :'base_path' => :'String',
65
+ :'name' => :'String',
63
66
  :'content_guard' => :'String',
64
67
  :'repository' => :'String',
65
- :'name' => :'String',
66
- :'hidden' => :'Boolean',
67
- :'base_path' => :'String',
68
68
  :'repository_version' => :'String',
69
69
  :'private' => :'Boolean',
70
70
  :'description' => :'String'
@@ -95,32 +95,32 @@ module PulpContainerClient
95
95
  h[k.to_sym] = v
96
96
  }
97
97
 
98
+ if attributes.key?(:'hidden')
99
+ self.hidden = attributes[:'hidden']
100
+ else
101
+ self.hidden = false
102
+ end
103
+
98
104
  if attributes.key?(:'pulp_labels')
99
105
  if (value = attributes[:'pulp_labels']).is_a?(Hash)
100
106
  self.pulp_labels = value
101
107
  end
102
108
  end
103
109
 
104
- if attributes.key?(:'content_guard')
105
- self.content_guard = attributes[:'content_guard']
106
- end
107
-
108
- if attributes.key?(:'repository')
109
- self.repository = attributes[:'repository']
110
+ if attributes.key?(:'base_path')
111
+ self.base_path = attributes[:'base_path']
110
112
  end
111
113
 
112
114
  if attributes.key?(:'name')
113
115
  self.name = attributes[:'name']
114
116
  end
115
117
 
116
- if attributes.key?(:'hidden')
117
- self.hidden = attributes[:'hidden']
118
- else
119
- self.hidden = false
118
+ if attributes.key?(:'content_guard')
119
+ self.content_guard = attributes[:'content_guard']
120
120
  end
121
121
 
122
- if attributes.key?(:'base_path')
123
- self.base_path = attributes[:'base_path']
122
+ if attributes.key?(:'repository')
123
+ self.repository = attributes[:'repository']
124
124
  end
125
125
 
126
126
  if attributes.key?(:'repository_version')
@@ -140,14 +140,6 @@ module PulpContainerClient
140
140
  # @return Array for valid properties with the reasons
141
141
  def list_invalid_properties
142
142
  invalid_properties = Array.new
143
- if @name.nil?
144
- invalid_properties.push('invalid value for "name", name cannot be nil.')
145
- end
146
-
147
- if @name.to_s.length < 1
148
- invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
149
- end
150
-
151
143
  if @base_path.nil?
152
144
  invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
153
145
  end
@@ -156,6 +148,14 @@ module PulpContainerClient
156
148
  invalid_properties.push('invalid value for "base_path", the character length must be great than or equal to 1.')
157
149
  end
158
150
 
151
+ if @name.nil?
152
+ invalid_properties.push('invalid value for "name", name cannot be nil.')
153
+ end
154
+
155
+ if @name.to_s.length < 1
156
+ invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
157
+ end
158
+
159
159
  if !@description.nil? && @description.to_s.length < 1
160
160
  invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
161
161
  end
@@ -166,28 +166,14 @@ module PulpContainerClient
166
166
  # Check to see if the all the properties in the model are valid
167
167
  # @return true if the model is valid
168
168
  def valid?
169
- return false if @name.nil?
170
- return false if @name.to_s.length < 1
171
169
  return false if @base_path.nil?
172
170
  return false if @base_path.to_s.length < 1
171
+ return false if @name.nil?
172
+ return false if @name.to_s.length < 1
173
173
  return false if !@description.nil? && @description.to_s.length < 1
174
174
  true
175
175
  end
176
176
 
177
- # Custom attribute writer method with validation
178
- # @param [Object] name Value to be assigned
179
- def name=(name)
180
- if name.nil?
181
- fail ArgumentError, 'name cannot be nil'
182
- end
183
-
184
- if name.to_s.length < 1
185
- fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 1.'
186
- end
187
-
188
- @name = name
189
- end
190
-
191
177
  # Custom attribute writer method with validation
192
178
  # @param [Object] base_path Value to be assigned
193
179
  def base_path=(base_path)
@@ -202,6 +188,20 @@ module PulpContainerClient
202
188
  @base_path = base_path
203
189
  end
204
190
 
191
+ # Custom attribute writer method with validation
192
+ # @param [Object] name Value to be assigned
193
+ def name=(name)
194
+ if name.nil?
195
+ fail ArgumentError, 'name cannot be nil'
196
+ end
197
+
198
+ if name.to_s.length < 1
199
+ fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 1.'
200
+ end
201
+
202
+ @name = name
203
+ end
204
+
205
205
  # Custom attribute writer method with validation
206
206
  # @param [Object] description Value to be assigned
207
207
  def description=(description)
@@ -217,12 +217,12 @@ module PulpContainerClient
217
217
  def ==(o)
218
218
  return true if self.equal?(o)
219
219
  self.class == o.class &&
220
+ hidden == o.hidden &&
220
221
  pulp_labels == o.pulp_labels &&
222
+ base_path == o.base_path &&
223
+ name == o.name &&
221
224
  content_guard == o.content_guard &&
222
225
  repository == o.repository &&
223
- name == o.name &&
224
- hidden == o.hidden &&
225
- base_path == o.base_path &&
226
226
  repository_version == o.repository_version &&
227
227
  private == o.private &&
228
228
  description == o.description
@@ -237,7 +237,7 @@ module PulpContainerClient
237
237
  # Calculates hash code according to all attributes.
238
238
  # @return [Integer] Hash code
239
239
  def hash
240
- [pulp_labels, content_guard, repository, name, hidden, base_path, repository_version, private, description].hash
240
+ [hidden, pulp_labels, base_path, name, content_guard, repository, repository_version, private, description].hash
241
241
  end
242
242
 
243
243
  # Builds the object from hash
@@ -15,28 +15,28 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # A serializer for ContainerDistribution.
17
17
  class ContainerContainerDistributionResponse
18
+ # Whether this distribution should be shown in the content app.
19
+ attr_accessor :hidden
20
+
21
+ # Timestamp of creation.
22
+ attr_accessor :pulp_created
23
+
18
24
  attr_accessor :pulp_labels
19
25
 
26
+ # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
27
+ attr_accessor :base_path
28
+
29
+ # A unique name. Ex, `rawhide` and `stable`.
30
+ attr_accessor :name
31
+
20
32
  # An optional content-guard. If none is specified, a default one will be used.
21
33
  attr_accessor :content_guard
22
34
 
23
35
  # The latest RepositoryVersion for this Repository will be served.
24
36
  attr_accessor :repository
25
37
 
26
- # A unique name. Ex, `rawhide` and `stable`.
27
- attr_accessor :name
28
-
29
- # Whether this distribution should be shown in the content app.
30
- attr_accessor :hidden
31
-
32
38
  attr_accessor :pulp_href
33
39
 
34
- # Timestamp of creation.
35
- attr_accessor :pulp_created
36
-
37
- # The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
38
- attr_accessor :base_path
39
-
40
40
  # RepositoryVersion to be served
41
41
  attr_accessor :repository_version
42
42
 
@@ -55,14 +55,14 @@ module PulpContainerClient
55
55
  # Attribute mapping from ruby-style variable name to JSON key.
56
56
  def self.attribute_map
57
57
  {
58
+ :'hidden' => :'hidden',
59
+ :'pulp_created' => :'pulp_created',
58
60
  :'pulp_labels' => :'pulp_labels',
61
+ :'base_path' => :'base_path',
62
+ :'name' => :'name',
59
63
  :'content_guard' => :'content_guard',
60
64
  :'repository' => :'repository',
61
- :'name' => :'name',
62
- :'hidden' => :'hidden',
63
65
  :'pulp_href' => :'pulp_href',
64
- :'pulp_created' => :'pulp_created',
65
- :'base_path' => :'base_path',
66
66
  :'repository_version' => :'repository_version',
67
67
  :'registry_path' => :'registry_path',
68
68
  :'namespace' => :'namespace',
@@ -74,14 +74,14 @@ module PulpContainerClient
74
74
  # Attribute type mapping.
75
75
  def self.openapi_types
76
76
  {
77
+ :'hidden' => :'Boolean',
78
+ :'pulp_created' => :'DateTime',
77
79
  :'pulp_labels' => :'Hash<String, String>',
80
+ :'base_path' => :'String',
81
+ :'name' => :'String',
78
82
  :'content_guard' => :'String',
79
83
  :'repository' => :'String',
80
- :'name' => :'String',
81
- :'hidden' => :'Boolean',
82
84
  :'pulp_href' => :'String',
83
- :'pulp_created' => :'DateTime',
84
- :'base_path' => :'String',
85
85
  :'repository_version' => :'String',
86
86
  :'registry_path' => :'String',
87
87
  :'namespace' => :'String',
@@ -114,40 +114,40 @@ module PulpContainerClient
114
114
  h[k.to_sym] = v
115
115
  }
116
116
 
117
+ if attributes.key?(:'hidden')
118
+ self.hidden = attributes[:'hidden']
119
+ else
120
+ self.hidden = false
121
+ end
122
+
123
+ if attributes.key?(:'pulp_created')
124
+ self.pulp_created = attributes[:'pulp_created']
125
+ end
126
+
117
127
  if attributes.key?(:'pulp_labels')
118
128
  if (value = attributes[:'pulp_labels']).is_a?(Hash)
119
129
  self.pulp_labels = value
120
130
  end
121
131
  end
122
132
 
123
- if attributes.key?(:'content_guard')
124
- self.content_guard = attributes[:'content_guard']
125
- end
126
-
127
- if attributes.key?(:'repository')
128
- self.repository = attributes[:'repository']
133
+ if attributes.key?(:'base_path')
134
+ self.base_path = attributes[:'base_path']
129
135
  end
130
136
 
131
137
  if attributes.key?(:'name')
132
138
  self.name = attributes[:'name']
133
139
  end
134
140
 
135
- if attributes.key?(:'hidden')
136
- self.hidden = attributes[:'hidden']
137
- else
138
- self.hidden = false
139
- end
140
-
141
- if attributes.key?(:'pulp_href')
142
- self.pulp_href = attributes[:'pulp_href']
141
+ if attributes.key?(:'content_guard')
142
+ self.content_guard = attributes[:'content_guard']
143
143
  end
144
144
 
145
- if attributes.key?(:'pulp_created')
146
- self.pulp_created = attributes[:'pulp_created']
145
+ if attributes.key?(:'repository')
146
+ self.repository = attributes[:'repository']
147
147
  end
148
148
 
149
- if attributes.key?(:'base_path')
150
- self.base_path = attributes[:'base_path']
149
+ if attributes.key?(:'pulp_href')
150
+ self.pulp_href = attributes[:'pulp_href']
151
151
  end
152
152
 
153
153
  if attributes.key?(:'repository_version')
@@ -175,22 +175,22 @@ module PulpContainerClient
175
175
  # @return Array for valid properties with the reasons
176
176
  def list_invalid_properties
177
177
  invalid_properties = Array.new
178
- if @name.nil?
179
- invalid_properties.push('invalid value for "name", name cannot be nil.')
180
- end
181
-
182
178
  if @base_path.nil?
183
179
  invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
184
180
  end
185
181
 
182
+ if @name.nil?
183
+ invalid_properties.push('invalid value for "name", name cannot be nil.')
184
+ end
185
+
186
186
  invalid_properties
187
187
  end
188
188
 
189
189
  # Check to see if the all the properties in the model are valid
190
190
  # @return true if the model is valid
191
191
  def valid?
192
- return false if @name.nil?
193
192
  return false if @base_path.nil?
193
+ return false if @name.nil?
194
194
  true
195
195
  end
196
196
 
@@ -199,14 +199,14 @@ module PulpContainerClient
199
199
  def ==(o)
200
200
  return true if self.equal?(o)
201
201
  self.class == o.class &&
202
+ hidden == o.hidden &&
203
+ pulp_created == o.pulp_created &&
202
204
  pulp_labels == o.pulp_labels &&
205
+ base_path == o.base_path &&
206
+ name == o.name &&
203
207
  content_guard == o.content_guard &&
204
208
  repository == o.repository &&
205
- name == o.name &&
206
- hidden == o.hidden &&
207
209
  pulp_href == o.pulp_href &&
208
- pulp_created == o.pulp_created &&
209
- base_path == o.base_path &&
210
210
  repository_version == o.repository_version &&
211
211
  registry_path == o.registry_path &&
212
212
  namespace == o.namespace &&
@@ -223,7 +223,7 @@ module PulpContainerClient
223
223
  # Calculates hash code according to all attributes.
224
224
  # @return [Integer] Hash code
225
225
  def hash
226
- [pulp_labels, content_guard, repository, name, hidden, pulp_href, pulp_created, base_path, repository_version, registry_path, namespace, private, description].hash
226
+ [hidden, pulp_created, pulp_labels, base_path, name, content_guard, repository, pulp_href, repository_version, registry_path, namespace, private, description].hash
227
227
  end
228
228
 
229
229
  # Builds the object from hash
@@ -20,12 +20,12 @@ module PulpContainerClient
20
20
 
21
21
  attr_accessor :pulp_labels
22
22
 
23
- # A reference to an associated signing service.
24
- attr_accessor :manifest_signing_service
25
-
26
23
  # A unique name for this repository.
27
24
  attr_accessor :name
28
25
 
26
+ # A reference to an associated signing service.
27
+ attr_accessor :manifest_signing_service
28
+
29
29
  # An optional description.
30
30
  attr_accessor :description
31
31
 
@@ -34,8 +34,8 @@ module PulpContainerClient
34
34
  {
35
35
  :'retain_repo_versions' => :'retain_repo_versions',
36
36
  :'pulp_labels' => :'pulp_labels',
37
- :'manifest_signing_service' => :'manifest_signing_service',
38
37
  :'name' => :'name',
38
+ :'manifest_signing_service' => :'manifest_signing_service',
39
39
  :'description' => :'description'
40
40
  }
41
41
  end
@@ -45,8 +45,8 @@ module PulpContainerClient
45
45
  {
46
46
  :'retain_repo_versions' => :'Integer',
47
47
  :'pulp_labels' => :'Hash<String, String>',
48
- :'manifest_signing_service' => :'String',
49
48
  :'name' => :'String',
49
+ :'manifest_signing_service' => :'String',
50
50
  :'description' => :'String'
51
51
  }
52
52
  end
@@ -85,14 +85,14 @@ module PulpContainerClient
85
85
  end
86
86
  end
87
87
 
88
- if attributes.key?(:'manifest_signing_service')
89
- self.manifest_signing_service = attributes[:'manifest_signing_service']
90
- end
91
-
92
88
  if attributes.key?(:'name')
93
89
  self.name = attributes[:'name']
94
90
  end
95
91
 
92
+ if attributes.key?(:'manifest_signing_service')
93
+ self.manifest_signing_service = attributes[:'manifest_signing_service']
94
+ end
95
+
96
96
  if attributes.key?(:'description')
97
97
  self.description = attributes[:'description']
98
98
  end
@@ -172,8 +172,8 @@ module PulpContainerClient
172
172
  self.class == o.class &&
173
173
  retain_repo_versions == o.retain_repo_versions &&
174
174
  pulp_labels == o.pulp_labels &&
175
- manifest_signing_service == o.manifest_signing_service &&
176
175
  name == o.name &&
176
+ manifest_signing_service == o.manifest_signing_service &&
177
177
  description == o.description
178
178
  end
179
179
 
@@ -186,7 +186,7 @@ module PulpContainerClient
186
186
  # Calculates hash code according to all attributes.
187
187
  # @return [Integer] Hash code
188
188
  def hash
189
- [retain_repo_versions, pulp_labels, manifest_signing_service, name, description].hash
189
+ [retain_repo_versions, pulp_labels, name, manifest_signing_service, description].hash
190
190
  end
191
191
 
192
192
  # Builds the object from hash
@@ -15,56 +15,56 @@ require 'date'
15
15
  module PulpContainerClient
16
16
  # Serializer for Container Push Repositories.
17
17
  class ContainerContainerPushRepositoryResponse
18
+ # Timestamp of creation.
19
+ attr_accessor :pulp_created
20
+
18
21
  # Retain X versions of the repository. Default is null which retains all versions.
19
22
  attr_accessor :retain_repo_versions
20
23
 
21
24
  attr_accessor :pulp_labels
22
25
 
23
- # A reference to an associated signing service.
24
- attr_accessor :manifest_signing_service
25
-
26
26
  # A unique name for this repository.
27
27
  attr_accessor :name
28
28
 
29
29
  attr_accessor :versions_href
30
30
 
31
- attr_accessor :latest_version_href
32
-
33
- attr_accessor :pulp_href
34
-
35
- # Timestamp of creation.
36
- attr_accessor :pulp_created
31
+ # A reference to an associated signing service.
32
+ attr_accessor :manifest_signing_service
37
33
 
38
34
  # An optional description.
39
35
  attr_accessor :description
40
36
 
37
+ attr_accessor :pulp_href
38
+
39
+ attr_accessor :latest_version_href
40
+
41
41
  # Attribute mapping from ruby-style variable name to JSON key.
42
42
  def self.attribute_map
43
43
  {
44
+ :'pulp_created' => :'pulp_created',
44
45
  :'retain_repo_versions' => :'retain_repo_versions',
45
46
  :'pulp_labels' => :'pulp_labels',
46
- :'manifest_signing_service' => :'manifest_signing_service',
47
47
  :'name' => :'name',
48
48
  :'versions_href' => :'versions_href',
49
- :'latest_version_href' => :'latest_version_href',
49
+ :'manifest_signing_service' => :'manifest_signing_service',
50
+ :'description' => :'description',
50
51
  :'pulp_href' => :'pulp_href',
51
- :'pulp_created' => :'pulp_created',
52
- :'description' => :'description'
52
+ :'latest_version_href' => :'latest_version_href'
53
53
  }
54
54
  end
55
55
 
56
56
  # Attribute type mapping.
57
57
  def self.openapi_types
58
58
  {
59
+ :'pulp_created' => :'DateTime',
59
60
  :'retain_repo_versions' => :'Integer',
60
61
  :'pulp_labels' => :'Hash<String, String>',
61
- :'manifest_signing_service' => :'String',
62
62
  :'name' => :'String',
63
63
  :'versions_href' => :'String',
64
- :'latest_version_href' => :'String',
64
+ :'manifest_signing_service' => :'String',
65
+ :'description' => :'String',
65
66
  :'pulp_href' => :'String',
66
- :'pulp_created' => :'DateTime',
67
- :'description' => :'String'
67
+ :'latest_version_href' => :'String'
68
68
  }
69
69
  end
70
70
 
@@ -73,7 +73,7 @@ module PulpContainerClient
73
73
  Set.new([
74
74
  :'retain_repo_versions',
75
75
  :'manifest_signing_service',
76
- :'description'
76
+ :'description',
77
77
  ])
78
78
  end
79
79
 
@@ -92,6 +92,10 @@ module PulpContainerClient
92
92
  h[k.to_sym] = v
93
93
  }
94
94
 
95
+ if attributes.key?(:'pulp_created')
96
+ self.pulp_created = attributes[:'pulp_created']
97
+ end
98
+
95
99
  if attributes.key?(:'retain_repo_versions')
96
100
  self.retain_repo_versions = attributes[:'retain_repo_versions']
97
101
  end
@@ -102,10 +106,6 @@ module PulpContainerClient
102
106
  end
103
107
  end
104
108
 
105
- if attributes.key?(:'manifest_signing_service')
106
- self.manifest_signing_service = attributes[:'manifest_signing_service']
107
- end
108
-
109
109
  if attributes.key?(:'name')
110
110
  self.name = attributes[:'name']
111
111
  end
@@ -114,20 +114,20 @@ module PulpContainerClient
114
114
  self.versions_href = attributes[:'versions_href']
115
115
  end
116
116
 
117
- if attributes.key?(:'latest_version_href')
118
- self.latest_version_href = attributes[:'latest_version_href']
117
+ if attributes.key?(:'manifest_signing_service')
118
+ self.manifest_signing_service = attributes[:'manifest_signing_service']
119
119
  end
120
120
 
121
- if attributes.key?(:'pulp_href')
122
- self.pulp_href = attributes[:'pulp_href']
121
+ if attributes.key?(:'description')
122
+ self.description = attributes[:'description']
123
123
  end
124
124
 
125
- if attributes.key?(:'pulp_created')
126
- self.pulp_created = attributes[:'pulp_created']
125
+ if attributes.key?(:'pulp_href')
126
+ self.pulp_href = attributes[:'pulp_href']
127
127
  end
128
128
 
129
- if attributes.key?(:'description')
130
- self.description = attributes[:'description']
129
+ if attributes.key?(:'latest_version_href')
130
+ self.latest_version_href = attributes[:'latest_version_href']
131
131
  end
132
132
  end
133
133
 
@@ -169,15 +169,15 @@ module PulpContainerClient
169
169
  def ==(o)
170
170
  return true if self.equal?(o)
171
171
  self.class == o.class &&
172
+ pulp_created == o.pulp_created &&
172
173
  retain_repo_versions == o.retain_repo_versions &&
173
174
  pulp_labels == o.pulp_labels &&
174
- manifest_signing_service == o.manifest_signing_service &&
175
175
  name == o.name &&
176
176
  versions_href == o.versions_href &&
177
- latest_version_href == o.latest_version_href &&
177
+ manifest_signing_service == o.manifest_signing_service &&
178
+ description == o.description &&
178
179
  pulp_href == o.pulp_href &&
179
- pulp_created == o.pulp_created &&
180
- description == o.description
180
+ latest_version_href == o.latest_version_href
181
181
  end
182
182
 
183
183
  # @see the `==` method
@@ -189,7 +189,7 @@ module PulpContainerClient
189
189
  # Calculates hash code according to all attributes.
190
190
  # @return [Integer] Hash code
191
191
  def hash
192
- [retain_repo_versions, pulp_labels, manifest_signing_service, name, versions_href, latest_version_href, pulp_href, pulp_created, description].hash
192
+ [pulp_created, retain_repo_versions, pulp_labels, name, versions_href, manifest_signing_service, description, pulp_href, latest_version_href].hash
193
193
  end
194
194
 
195
195
  # Builds the object from hash