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