pulp_container_client 2.19.12 → 2.19.14
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.
- checksums.yaml +4 -4
- data/README.md +6 -6
- data/docs/ContainerContainerDistribution.md +7 -7
- data/docs/ContainerContainerDistributionResponse.md +10 -10
- data/docs/ContainerContainerPullThroughDistribution.md +7 -7
- data/docs/ContainerContainerPullThroughDistributionResponse.md +11 -11
- data/docs/ContainerContainerPushRepository.md +6 -6
- data/docs/ContainerContainerPushRepositoryResponse.md +13 -13
- data/docs/DistributionsPullThroughApi.md +6 -8
- data/docs/PatchedcontainerContainerDistribution.md +7 -7
- data/docs/PatchedcontainerContainerPullThroughDistribution.md +7 -7
- data/docs/PatchedcontainerContainerPushRepository.md +6 -6
- data/lib/pulp_container_client/api/distributions_pull_through_api.rb +4 -8
- data/lib/pulp_container_client/models/container_container_distribution.rb +53 -53
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +51 -51
- data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +53 -53
- data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +52 -52
- data/lib/pulp_container_client/models/container_container_push_repository.rb +38 -38
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +53 -53
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +44 -44
- data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +44 -44
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +38 -38
- data/lib/pulp_container_client/version.rb +1 -1
- data/spec/api/distributions_pull_through_api_spec.rb +2 -4
- data/spec/models/container_container_distribution_response_spec.rb +8 -8
- data/spec/models/container_container_distribution_spec.rb +4 -4
- data/spec/models/container_container_pull_through_distribution_response_spec.rb +8 -8
- data/spec/models/container_container_pull_through_distribution_spec.rb +4 -4
- data/spec/models/container_container_push_repository_response_spec.rb +9 -9
- data/spec/models/container_container_push_repository_spec.rb +5 -5
- data/spec/models/patchedcontainer_container_distribution_spec.rb +4 -4
- data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +4 -4
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +5 -5
- metadata +62 -62
data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb
CHANGED
|
@@ -15,31 +15,31 @@ require 'date'
|
|
|
15
15
|
module PulpContainerClient
|
|
16
16
|
# A serializer for a specialized pull-through distribution referencing sub-distributions.
|
|
17
17
|
class ContainerContainerPullThroughDistributionResponse
|
|
18
|
-
#
|
|
19
|
-
attr_accessor :
|
|
20
|
-
|
|
21
|
-
# A unique name. Ex, `rawhide` and `stable`.
|
|
22
|
-
attr_accessor :name
|
|
23
|
-
|
|
24
|
-
# The latest RepositoryVersion for this Repository will be served.
|
|
25
|
-
attr_accessor :repository
|
|
18
|
+
# Timestamp of creation.
|
|
19
|
+
attr_accessor :pulp_created
|
|
26
20
|
|
|
27
|
-
# The
|
|
21
|
+
# The registry path exposed by this pull-through distribution.
|
|
28
22
|
attr_accessor :base_path
|
|
29
23
|
|
|
30
24
|
attr_accessor :pulp_labels
|
|
31
25
|
|
|
32
|
-
|
|
26
|
+
# The latest RepositoryVersion for this Repository will be served.
|
|
27
|
+
attr_accessor :repository
|
|
33
28
|
|
|
34
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.
|
|
35
30
|
attr_accessor :pulp_last_updated
|
|
36
31
|
|
|
32
|
+
attr_accessor :pulp_href
|
|
33
|
+
|
|
34
|
+
# Whether this distribution should be shown in the content app.
|
|
35
|
+
attr_accessor :hidden
|
|
36
|
+
|
|
37
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
|
38
|
+
attr_accessor :name
|
|
39
|
+
|
|
37
40
|
# An optional content-guard. If none is specified, a default one will be used.
|
|
38
41
|
attr_accessor :content_guard
|
|
39
42
|
|
|
40
|
-
# Timestamp of creation.
|
|
41
|
-
attr_accessor :pulp_created
|
|
42
|
-
|
|
43
43
|
# Remote that can be used to fetch content when using pull-through caching.
|
|
44
44
|
attr_accessor :remote
|
|
45
45
|
|
|
@@ -58,15 +58,15 @@ module PulpContainerClient
|
|
|
58
58
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
59
59
|
def self.attribute_map
|
|
60
60
|
{
|
|
61
|
-
:'
|
|
62
|
-
:'name' => :'name',
|
|
63
|
-
:'repository' => :'repository',
|
|
61
|
+
:'pulp_created' => :'pulp_created',
|
|
64
62
|
:'base_path' => :'base_path',
|
|
65
63
|
:'pulp_labels' => :'pulp_labels',
|
|
66
|
-
:'
|
|
64
|
+
:'repository' => :'repository',
|
|
67
65
|
:'pulp_last_updated' => :'pulp_last_updated',
|
|
66
|
+
:'pulp_href' => :'pulp_href',
|
|
67
|
+
:'hidden' => :'hidden',
|
|
68
|
+
:'name' => :'name',
|
|
68
69
|
:'content_guard' => :'content_guard',
|
|
69
|
-
:'pulp_created' => :'pulp_created',
|
|
70
70
|
:'remote' => :'remote',
|
|
71
71
|
:'distributions' => :'distributions',
|
|
72
72
|
:'namespace' => :'namespace',
|
|
@@ -78,15 +78,15 @@ module PulpContainerClient
|
|
|
78
78
|
# Attribute type mapping.
|
|
79
79
|
def self.openapi_types
|
|
80
80
|
{
|
|
81
|
-
:'
|
|
82
|
-
:'name' => :'String',
|
|
83
|
-
:'repository' => :'String',
|
|
81
|
+
:'pulp_created' => :'DateTime',
|
|
84
82
|
:'base_path' => :'String',
|
|
85
83
|
:'pulp_labels' => :'Hash<String, String>',
|
|
86
|
-
:'
|
|
84
|
+
:'repository' => :'String',
|
|
87
85
|
:'pulp_last_updated' => :'DateTime',
|
|
86
|
+
:'pulp_href' => :'String',
|
|
87
|
+
:'hidden' => :'Boolean',
|
|
88
|
+
:'name' => :'String',
|
|
88
89
|
:'content_guard' => :'String',
|
|
89
|
-
:'pulp_created' => :'DateTime',
|
|
90
90
|
:'remote' => :'String',
|
|
91
91
|
:'distributions' => :'Array<String>',
|
|
92
92
|
:'namespace' => :'String',
|
|
@@ -118,18 +118,8 @@ module PulpContainerClient
|
|
|
118
118
|
h[k.to_sym] = v
|
|
119
119
|
}
|
|
120
120
|
|
|
121
|
-
if attributes.key?(:'
|
|
122
|
-
self.
|
|
123
|
-
else
|
|
124
|
-
self.hidden = false
|
|
125
|
-
end
|
|
126
|
-
|
|
127
|
-
if attributes.key?(:'name')
|
|
128
|
-
self.name = attributes[:'name']
|
|
129
|
-
end
|
|
130
|
-
|
|
131
|
-
if attributes.key?(:'repository')
|
|
132
|
-
self.repository = attributes[:'repository']
|
|
121
|
+
if attributes.key?(:'pulp_created')
|
|
122
|
+
self.pulp_created = attributes[:'pulp_created']
|
|
133
123
|
end
|
|
134
124
|
|
|
135
125
|
if attributes.key?(:'base_path')
|
|
@@ -142,20 +132,30 @@ module PulpContainerClient
|
|
|
142
132
|
end
|
|
143
133
|
end
|
|
144
134
|
|
|
145
|
-
if attributes.key?(:'
|
|
146
|
-
self.
|
|
135
|
+
if attributes.key?(:'repository')
|
|
136
|
+
self.repository = attributes[:'repository']
|
|
147
137
|
end
|
|
148
138
|
|
|
149
139
|
if attributes.key?(:'pulp_last_updated')
|
|
150
140
|
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
151
141
|
end
|
|
152
142
|
|
|
153
|
-
if attributes.key?(:'
|
|
154
|
-
self.
|
|
143
|
+
if attributes.key?(:'pulp_href')
|
|
144
|
+
self.pulp_href = attributes[:'pulp_href']
|
|
155
145
|
end
|
|
156
146
|
|
|
157
|
-
if attributes.key?(:'
|
|
158
|
-
self.
|
|
147
|
+
if attributes.key?(:'hidden')
|
|
148
|
+
self.hidden = attributes[:'hidden']
|
|
149
|
+
else
|
|
150
|
+
self.hidden = false
|
|
151
|
+
end
|
|
152
|
+
|
|
153
|
+
if attributes.key?(:'name')
|
|
154
|
+
self.name = attributes[:'name']
|
|
155
|
+
end
|
|
156
|
+
|
|
157
|
+
if attributes.key?(:'content_guard')
|
|
158
|
+
self.content_guard = attributes[:'content_guard']
|
|
159
159
|
end
|
|
160
160
|
|
|
161
161
|
if attributes.key?(:'remote')
|
|
@@ -185,14 +185,14 @@ module PulpContainerClient
|
|
|
185
185
|
# @return Array for valid properties with the reasons
|
|
186
186
|
def list_invalid_properties
|
|
187
187
|
invalid_properties = Array.new
|
|
188
|
-
if @name.nil?
|
|
189
|
-
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
|
190
|
-
end
|
|
191
|
-
|
|
192
188
|
if @base_path.nil?
|
|
193
189
|
invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
|
|
194
190
|
end
|
|
195
191
|
|
|
192
|
+
if @name.nil?
|
|
193
|
+
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
|
194
|
+
end
|
|
195
|
+
|
|
196
196
|
if @remote.nil?
|
|
197
197
|
invalid_properties.push('invalid value for "remote", remote cannot be nil.')
|
|
198
198
|
end
|
|
@@ -203,8 +203,8 @@ module PulpContainerClient
|
|
|
203
203
|
# Check to see if the all the properties in the model are valid
|
|
204
204
|
# @return true if the model is valid
|
|
205
205
|
def valid?
|
|
206
|
-
return false if @name.nil?
|
|
207
206
|
return false if @base_path.nil?
|
|
207
|
+
return false if @name.nil?
|
|
208
208
|
return false if @remote.nil?
|
|
209
209
|
true
|
|
210
210
|
end
|
|
@@ -214,15 +214,15 @@ module PulpContainerClient
|
|
|
214
214
|
def ==(o)
|
|
215
215
|
return true if self.equal?(o)
|
|
216
216
|
self.class == o.class &&
|
|
217
|
-
|
|
218
|
-
name == o.name &&
|
|
219
|
-
repository == o.repository &&
|
|
217
|
+
pulp_created == o.pulp_created &&
|
|
220
218
|
base_path == o.base_path &&
|
|
221
219
|
pulp_labels == o.pulp_labels &&
|
|
222
|
-
|
|
220
|
+
repository == o.repository &&
|
|
223
221
|
pulp_last_updated == o.pulp_last_updated &&
|
|
222
|
+
pulp_href == o.pulp_href &&
|
|
223
|
+
hidden == o.hidden &&
|
|
224
|
+
name == o.name &&
|
|
224
225
|
content_guard == o.content_guard &&
|
|
225
|
-
pulp_created == o.pulp_created &&
|
|
226
226
|
remote == o.remote &&
|
|
227
227
|
distributions == o.distributions &&
|
|
228
228
|
namespace == o.namespace &&
|
|
@@ -239,7 +239,7 @@ module PulpContainerClient
|
|
|
239
239
|
# Calculates hash code according to all attributes.
|
|
240
240
|
# @return [Integer] Hash code
|
|
241
241
|
def hash
|
|
242
|
-
[
|
|
242
|
+
[pulp_created, base_path, pulp_labels, repository, pulp_last_updated, pulp_href, hidden, name, content_guard, remote, distributions, namespace, private, description].hash
|
|
243
243
|
end
|
|
244
244
|
|
|
245
245
|
# Builds the object from hash
|
|
@@ -15,48 +15,48 @@ require 'date'
|
|
|
15
15
|
module PulpContainerClient
|
|
16
16
|
# Serializer for Container Push Repositories.
|
|
17
17
|
class ContainerContainerPushRepository
|
|
18
|
+
# An optional description.
|
|
19
|
+
attr_accessor :description
|
|
20
|
+
|
|
18
21
|
# A unique name for this repository.
|
|
19
22
|
attr_accessor :name
|
|
20
23
|
|
|
21
24
|
# A reference to an associated signing service.
|
|
22
25
|
attr_accessor :manifest_signing_service
|
|
23
26
|
|
|
24
|
-
# An optional description.
|
|
25
|
-
attr_accessor :description
|
|
26
|
-
|
|
27
|
-
attr_accessor :pulp_labels
|
|
28
|
-
|
|
29
27
|
# Retain X versions of the repository. Default is null which retains all versions.
|
|
30
28
|
attr_accessor :retain_repo_versions
|
|
31
29
|
|
|
30
|
+
attr_accessor :pulp_labels
|
|
31
|
+
|
|
32
32
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
33
33
|
def self.attribute_map
|
|
34
34
|
{
|
|
35
|
+
:'description' => :'description',
|
|
35
36
|
:'name' => :'name',
|
|
36
37
|
:'manifest_signing_service' => :'manifest_signing_service',
|
|
37
|
-
:'
|
|
38
|
-
:'pulp_labels' => :'pulp_labels'
|
|
39
|
-
:'retain_repo_versions' => :'retain_repo_versions'
|
|
38
|
+
:'retain_repo_versions' => :'retain_repo_versions',
|
|
39
|
+
:'pulp_labels' => :'pulp_labels'
|
|
40
40
|
}
|
|
41
41
|
end
|
|
42
42
|
|
|
43
43
|
# Attribute type mapping.
|
|
44
44
|
def self.openapi_types
|
|
45
45
|
{
|
|
46
|
+
:'description' => :'String',
|
|
46
47
|
:'name' => :'String',
|
|
47
48
|
:'manifest_signing_service' => :'String',
|
|
48
|
-
:'
|
|
49
|
-
:'pulp_labels' => :'Hash<String, String>'
|
|
50
|
-
:'retain_repo_versions' => :'Integer'
|
|
49
|
+
:'retain_repo_versions' => :'Integer',
|
|
50
|
+
:'pulp_labels' => :'Hash<String, String>'
|
|
51
51
|
}
|
|
52
52
|
end
|
|
53
53
|
|
|
54
54
|
# List of attributes with nullable: true
|
|
55
55
|
def self.openapi_nullable
|
|
56
56
|
Set.new([
|
|
57
|
-
:'manifest_signing_service',
|
|
58
57
|
:'description',
|
|
59
|
-
:'
|
|
58
|
+
:'manifest_signing_service',
|
|
59
|
+
:'retain_repo_versions',
|
|
60
60
|
])
|
|
61
61
|
end
|
|
62
62
|
|
|
@@ -75,6 +75,10 @@ module PulpContainerClient
|
|
|
75
75
|
h[k.to_sym] = v
|
|
76
76
|
}
|
|
77
77
|
|
|
78
|
+
if attributes.key?(:'description')
|
|
79
|
+
self.description = attributes[:'description']
|
|
80
|
+
end
|
|
81
|
+
|
|
78
82
|
if attributes.key?(:'name')
|
|
79
83
|
self.name = attributes[:'name']
|
|
80
84
|
end
|
|
@@ -83,8 +87,8 @@ module PulpContainerClient
|
|
|
83
87
|
self.manifest_signing_service = attributes[:'manifest_signing_service']
|
|
84
88
|
end
|
|
85
89
|
|
|
86
|
-
if attributes.key?(:'
|
|
87
|
-
self.
|
|
90
|
+
if attributes.key?(:'retain_repo_versions')
|
|
91
|
+
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
|
88
92
|
end
|
|
89
93
|
|
|
90
94
|
if attributes.key?(:'pulp_labels')
|
|
@@ -92,16 +96,16 @@ module PulpContainerClient
|
|
|
92
96
|
self.pulp_labels = value
|
|
93
97
|
end
|
|
94
98
|
end
|
|
95
|
-
|
|
96
|
-
if attributes.key?(:'retain_repo_versions')
|
|
97
|
-
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
|
98
|
-
end
|
|
99
99
|
end
|
|
100
100
|
|
|
101
101
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
102
102
|
# @return Array for valid properties with the reasons
|
|
103
103
|
def list_invalid_properties
|
|
104
104
|
invalid_properties = Array.new
|
|
105
|
+
if !@description.nil? && @description.to_s.length < 1
|
|
106
|
+
invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
|
|
107
|
+
end
|
|
108
|
+
|
|
105
109
|
if @name.nil?
|
|
106
110
|
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
|
107
111
|
end
|
|
@@ -110,10 +114,6 @@ module PulpContainerClient
|
|
|
110
114
|
invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
|
|
111
115
|
end
|
|
112
116
|
|
|
113
|
-
if !@description.nil? && @description.to_s.length < 1
|
|
114
|
-
invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
|
|
115
|
-
end
|
|
116
|
-
|
|
117
117
|
if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
|
118
118
|
invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
|
|
119
119
|
end
|
|
@@ -124,13 +124,23 @@ module PulpContainerClient
|
|
|
124
124
|
# Check to see if the all the properties in the model are valid
|
|
125
125
|
# @return true if the model is valid
|
|
126
126
|
def valid?
|
|
127
|
+
return false if !@description.nil? && @description.to_s.length < 1
|
|
127
128
|
return false if @name.nil?
|
|
128
129
|
return false if @name.to_s.length < 1
|
|
129
|
-
return false if !@description.nil? && @description.to_s.length < 1
|
|
130
130
|
return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
|
131
131
|
true
|
|
132
132
|
end
|
|
133
133
|
|
|
134
|
+
# Custom attribute writer method with validation
|
|
135
|
+
# @param [Object] description Value to be assigned
|
|
136
|
+
def description=(description)
|
|
137
|
+
if !description.nil? && description.to_s.length < 1
|
|
138
|
+
fail ArgumentError, 'invalid value for "description", the character length must be great than or equal to 1.'
|
|
139
|
+
end
|
|
140
|
+
|
|
141
|
+
@description = description
|
|
142
|
+
end
|
|
143
|
+
|
|
134
144
|
# Custom attribute writer method with validation
|
|
135
145
|
# @param [Object] name Value to be assigned
|
|
136
146
|
def name=(name)
|
|
@@ -145,16 +155,6 @@ module PulpContainerClient
|
|
|
145
155
|
@name = name
|
|
146
156
|
end
|
|
147
157
|
|
|
148
|
-
# Custom attribute writer method with validation
|
|
149
|
-
# @param [Object] description Value to be assigned
|
|
150
|
-
def description=(description)
|
|
151
|
-
if !description.nil? && description.to_s.length < 1
|
|
152
|
-
fail ArgumentError, 'invalid value for "description", the character length must be great than or equal to 1.'
|
|
153
|
-
end
|
|
154
|
-
|
|
155
|
-
@description = description
|
|
156
|
-
end
|
|
157
|
-
|
|
158
158
|
# Custom attribute writer method with validation
|
|
159
159
|
# @param [Object] retain_repo_versions Value to be assigned
|
|
160
160
|
def retain_repo_versions=(retain_repo_versions)
|
|
@@ -170,11 +170,11 @@ module PulpContainerClient
|
|
|
170
170
|
def ==(o)
|
|
171
171
|
return true if self.equal?(o)
|
|
172
172
|
self.class == o.class &&
|
|
173
|
+
description == o.description &&
|
|
173
174
|
name == o.name &&
|
|
174
175
|
manifest_signing_service == o.manifest_signing_service &&
|
|
175
|
-
|
|
176
|
-
pulp_labels == o.pulp_labels
|
|
177
|
-
retain_repo_versions == o.retain_repo_versions
|
|
176
|
+
retain_repo_versions == o.retain_repo_versions &&
|
|
177
|
+
pulp_labels == o.pulp_labels
|
|
178
178
|
end
|
|
179
179
|
|
|
180
180
|
# @see the `==` method
|
|
@@ -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
|
-
[name, manifest_signing_service,
|
|
189
|
+
[description, name, manifest_signing_service, retain_repo_versions, pulp_labels].hash
|
|
190
190
|
end
|
|
191
191
|
|
|
192
192
|
# Builds the object from hash
|
|
@@ -15,69 +15,69 @@ require 'date'
|
|
|
15
15
|
module PulpContainerClient
|
|
16
16
|
# Serializer for Container Push Repositories.
|
|
17
17
|
class ContainerContainerPushRepositoryResponse
|
|
18
|
-
attr_accessor :latest_version_href
|
|
19
|
-
|
|
20
|
-
# A unique name for this repository.
|
|
21
|
-
attr_accessor :name
|
|
22
|
-
|
|
23
|
-
# A reference to an associated signing service.
|
|
24
|
-
attr_accessor :manifest_signing_service
|
|
25
|
-
|
|
26
18
|
# An optional description.
|
|
27
19
|
attr_accessor :description
|
|
28
20
|
|
|
29
|
-
|
|
21
|
+
# Timestamp of creation.
|
|
22
|
+
attr_accessor :pulp_created
|
|
30
23
|
|
|
31
|
-
attr_accessor :
|
|
24
|
+
attr_accessor :versions_href
|
|
32
25
|
|
|
33
|
-
attr_accessor :
|
|
26
|
+
attr_accessor :latest_version_href
|
|
34
27
|
|
|
35
28
|
# 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
29
|
attr_accessor :pulp_last_updated
|
|
37
30
|
|
|
31
|
+
attr_accessor :pulp_href
|
|
32
|
+
|
|
33
|
+
# A unique name for this repository.
|
|
34
|
+
attr_accessor :name
|
|
35
|
+
|
|
36
|
+
# A reference to an associated signing service.
|
|
37
|
+
attr_accessor :manifest_signing_service
|
|
38
|
+
|
|
38
39
|
# Retain X versions of the repository. Default is null which retains all versions.
|
|
39
40
|
attr_accessor :retain_repo_versions
|
|
40
41
|
|
|
41
|
-
|
|
42
|
-
attr_accessor :pulp_created
|
|
42
|
+
attr_accessor :pulp_labels
|
|
43
43
|
|
|
44
44
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
45
45
|
def self.attribute_map
|
|
46
46
|
{
|
|
47
|
-
:'latest_version_href' => :'latest_version_href',
|
|
48
|
-
:'name' => :'name',
|
|
49
|
-
:'manifest_signing_service' => :'manifest_signing_service',
|
|
50
47
|
:'description' => :'description',
|
|
48
|
+
:'pulp_created' => :'pulp_created',
|
|
51
49
|
:'versions_href' => :'versions_href',
|
|
52
|
-
:'
|
|
53
|
-
:'pulp_href' => :'pulp_href',
|
|
50
|
+
:'latest_version_href' => :'latest_version_href',
|
|
54
51
|
:'pulp_last_updated' => :'pulp_last_updated',
|
|
52
|
+
:'pulp_href' => :'pulp_href',
|
|
53
|
+
:'name' => :'name',
|
|
54
|
+
:'manifest_signing_service' => :'manifest_signing_service',
|
|
55
55
|
:'retain_repo_versions' => :'retain_repo_versions',
|
|
56
|
-
:'
|
|
56
|
+
:'pulp_labels' => :'pulp_labels'
|
|
57
57
|
}
|
|
58
58
|
end
|
|
59
59
|
|
|
60
60
|
# Attribute type mapping.
|
|
61
61
|
def self.openapi_types
|
|
62
62
|
{
|
|
63
|
-
:'latest_version_href' => :'String',
|
|
64
|
-
:'name' => :'String',
|
|
65
|
-
:'manifest_signing_service' => :'String',
|
|
66
63
|
:'description' => :'String',
|
|
64
|
+
:'pulp_created' => :'DateTime',
|
|
67
65
|
:'versions_href' => :'String',
|
|
68
|
-
:'
|
|
69
|
-
:'pulp_href' => :'String',
|
|
66
|
+
:'latest_version_href' => :'String',
|
|
70
67
|
:'pulp_last_updated' => :'DateTime',
|
|
68
|
+
:'pulp_href' => :'String',
|
|
69
|
+
:'name' => :'String',
|
|
70
|
+
:'manifest_signing_service' => :'String',
|
|
71
71
|
:'retain_repo_versions' => :'Integer',
|
|
72
|
-
:'
|
|
72
|
+
:'pulp_labels' => :'Hash<String, String>'
|
|
73
73
|
}
|
|
74
74
|
end
|
|
75
75
|
|
|
76
76
|
# List of attributes with nullable: true
|
|
77
77
|
def self.openapi_nullable
|
|
78
78
|
Set.new([
|
|
79
|
-
:'manifest_signing_service',
|
|
80
79
|
:'description',
|
|
80
|
+
:'manifest_signing_service',
|
|
81
81
|
:'retain_repo_versions',
|
|
82
82
|
])
|
|
83
83
|
end
|
|
@@ -97,46 +97,46 @@ module PulpContainerClient
|
|
|
97
97
|
h[k.to_sym] = v
|
|
98
98
|
}
|
|
99
99
|
|
|
100
|
-
if attributes.key?(:'latest_version_href')
|
|
101
|
-
self.latest_version_href = attributes[:'latest_version_href']
|
|
102
|
-
end
|
|
103
|
-
|
|
104
|
-
if attributes.key?(:'name')
|
|
105
|
-
self.name = attributes[:'name']
|
|
106
|
-
end
|
|
107
|
-
|
|
108
|
-
if attributes.key?(:'manifest_signing_service')
|
|
109
|
-
self.manifest_signing_service = attributes[:'manifest_signing_service']
|
|
110
|
-
end
|
|
111
|
-
|
|
112
100
|
if attributes.key?(:'description')
|
|
113
101
|
self.description = attributes[:'description']
|
|
114
102
|
end
|
|
115
103
|
|
|
104
|
+
if attributes.key?(:'pulp_created')
|
|
105
|
+
self.pulp_created = attributes[:'pulp_created']
|
|
106
|
+
end
|
|
107
|
+
|
|
116
108
|
if attributes.key?(:'versions_href')
|
|
117
109
|
self.versions_href = attributes[:'versions_href']
|
|
118
110
|
end
|
|
119
111
|
|
|
120
|
-
if attributes.key?(:'
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
112
|
+
if attributes.key?(:'latest_version_href')
|
|
113
|
+
self.latest_version_href = attributes[:'latest_version_href']
|
|
114
|
+
end
|
|
115
|
+
|
|
116
|
+
if attributes.key?(:'pulp_last_updated')
|
|
117
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
124
118
|
end
|
|
125
119
|
|
|
126
120
|
if attributes.key?(:'pulp_href')
|
|
127
121
|
self.pulp_href = attributes[:'pulp_href']
|
|
128
122
|
end
|
|
129
123
|
|
|
130
|
-
if attributes.key?(:'
|
|
131
|
-
self.
|
|
124
|
+
if attributes.key?(:'name')
|
|
125
|
+
self.name = attributes[:'name']
|
|
126
|
+
end
|
|
127
|
+
|
|
128
|
+
if attributes.key?(:'manifest_signing_service')
|
|
129
|
+
self.manifest_signing_service = attributes[:'manifest_signing_service']
|
|
132
130
|
end
|
|
133
131
|
|
|
134
132
|
if attributes.key?(:'retain_repo_versions')
|
|
135
133
|
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
|
136
134
|
end
|
|
137
135
|
|
|
138
|
-
if attributes.key?(:'
|
|
139
|
-
|
|
136
|
+
if attributes.key?(:'pulp_labels')
|
|
137
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
138
|
+
self.pulp_labels = value
|
|
139
|
+
end
|
|
140
140
|
end
|
|
141
141
|
end
|
|
142
142
|
|
|
@@ -178,16 +178,16 @@ module PulpContainerClient
|
|
|
178
178
|
def ==(o)
|
|
179
179
|
return true if self.equal?(o)
|
|
180
180
|
self.class == o.class &&
|
|
181
|
-
latest_version_href == o.latest_version_href &&
|
|
182
|
-
name == o.name &&
|
|
183
|
-
manifest_signing_service == o.manifest_signing_service &&
|
|
184
181
|
description == o.description &&
|
|
182
|
+
pulp_created == o.pulp_created &&
|
|
185
183
|
versions_href == o.versions_href &&
|
|
186
|
-
|
|
187
|
-
pulp_href == o.pulp_href &&
|
|
184
|
+
latest_version_href == o.latest_version_href &&
|
|
188
185
|
pulp_last_updated == o.pulp_last_updated &&
|
|
186
|
+
pulp_href == o.pulp_href &&
|
|
187
|
+
name == o.name &&
|
|
188
|
+
manifest_signing_service == o.manifest_signing_service &&
|
|
189
189
|
retain_repo_versions == o.retain_repo_versions &&
|
|
190
|
-
|
|
190
|
+
pulp_labels == o.pulp_labels
|
|
191
191
|
end
|
|
192
192
|
|
|
193
193
|
# @see the `==` method
|
|
@@ -199,7 +199,7 @@ module PulpContainerClient
|
|
|
199
199
|
# Calculates hash code according to all attributes.
|
|
200
200
|
# @return [Integer] Hash code
|
|
201
201
|
def hash
|
|
202
|
-
[
|
|
202
|
+
[description, pulp_created, versions_href, latest_version_href, pulp_last_updated, pulp_href, name, manifest_signing_service, retain_repo_versions, pulp_labels].hash
|
|
203
203
|
end
|
|
204
204
|
|
|
205
205
|
# Builds the object from hash
|