pulp_container_client 2.21.2 → 2.22.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/ContainerContainerDistribution.md +6 -6
- data/docs/ContainerContainerDistributionResponse.md +10 -10
- data/docs/ContainerContainerPullThroughDistribution.md +6 -6
- data/docs/ContainerContainerPullThroughDistributionResponse.md +10 -10
- data/docs/ContainerContainerPushRepository.md +7 -7
- data/docs/ContainerContainerPushRepositoryResponse.md +11 -11
- data/docs/ContainerManifestResponse.md +11 -3
- data/docs/ContentManifestsApi.md +2 -2
- data/docs/OCIBuildImage.md +4 -4
- data/docs/PatchedcontainerContainerDistribution.md +6 -6
- data/docs/PatchedcontainerContainerPullThroughDistribution.md +6 -6
- data/docs/PatchedcontainerContainerPushRepository.md +7 -7
- data/docs/RepositoriesContainerApi.md +4 -4
- data/lib/pulp_container_client/api/content_manifests_api.rb +3 -3
- data/lib/pulp_container_client/api/repositories_container_api.rb +6 -6
- data/lib/pulp_container_client/models/container_container_distribution.rb +26 -26
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +45 -45
- data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +26 -26
- data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +45 -45
- data/lib/pulp_container_client/models/container_container_pull_through_remote.rb +20 -20
- data/lib/pulp_container_client/models/container_container_pull_through_remote_response.rb +20 -20
- data/lib/pulp_container_client/models/container_container_push_repository.rb +45 -45
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +55 -55
- data/lib/pulp_container_client/models/container_container_remote.rb +20 -20
- data/lib/pulp_container_client/models/container_container_remote_response.rb +20 -20
- data/lib/pulp_container_client/models/container_manifest_response.rb +46 -6
- data/lib/pulp_container_client/models/oci_build_image.rb +16 -15
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +26 -26
- data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +26 -26
- data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_remote.rb +20 -20
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +45 -45
- data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +20 -20
- data/lib/pulp_container_client/version.rb +1 -1
- data/spec/api/content_manifests_api_spec.rb +1 -1
- data/spec/api/repositories_container_api_spec.rb +2 -2
- data/spec/models/container_container_distribution_response_spec.rb +7 -7
- data/spec/models/container_container_distribution_spec.rb +4 -4
- data/spec/models/container_container_pull_through_distribution_response_spec.rb +7 -7
- 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 +5 -5
- data/spec/models/container_manifest_response_spec.rb +24 -0
- data/spec/models/oci_build_image_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 +5 -5
- metadata +64 -64
@@ -18,16 +18,16 @@ module PulpContainerClient
|
|
18
18
|
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
19
19
|
attr_accessor :base_path
|
20
20
|
|
21
|
-
|
22
|
-
attr_accessor :name
|
23
|
-
|
24
|
-
# An optional content-guard. If none is specified, a default one will be used.
|
25
|
-
attr_accessor :content_guard
|
21
|
+
attr_accessor :pulp_labels
|
26
22
|
|
27
23
|
# The latest RepositoryVersion for this Repository will be served.
|
28
24
|
attr_accessor :repository
|
29
25
|
|
30
|
-
|
26
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
27
|
+
attr_accessor :content_guard
|
28
|
+
|
29
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
30
|
+
attr_accessor :name
|
31
31
|
|
32
32
|
# Whether this distribution should be shown in the content app.
|
33
33
|
attr_accessor :hidden
|
@@ -45,10 +45,10 @@ module PulpContainerClient
|
|
45
45
|
def self.attribute_map
|
46
46
|
{
|
47
47
|
:'base_path' => :'base_path',
|
48
|
-
:'name' => :'name',
|
49
|
-
:'content_guard' => :'content_guard',
|
50
|
-
:'repository' => :'repository',
|
51
48
|
:'pulp_labels' => :'pulp_labels',
|
49
|
+
:'repository' => :'repository',
|
50
|
+
:'content_guard' => :'content_guard',
|
51
|
+
:'name' => :'name',
|
52
52
|
:'hidden' => :'hidden',
|
53
53
|
:'repository_version' => :'repository_version',
|
54
54
|
:'private' => :'private',
|
@@ -60,10 +60,10 @@ module PulpContainerClient
|
|
60
60
|
def self.openapi_types
|
61
61
|
{
|
62
62
|
:'base_path' => :'String',
|
63
|
-
:'name' => :'String',
|
64
|
-
:'content_guard' => :'String',
|
65
|
-
:'repository' => :'String',
|
66
63
|
:'pulp_labels' => :'Hash<String, String>',
|
64
|
+
:'repository' => :'String',
|
65
|
+
:'content_guard' => :'String',
|
66
|
+
:'name' => :'String',
|
67
67
|
:'hidden' => :'Boolean',
|
68
68
|
:'repository_version' => :'String',
|
69
69
|
:'private' => :'Boolean',
|
@@ -99,22 +99,22 @@ module PulpContainerClient
|
|
99
99
|
self.base_path = attributes[:'base_path']
|
100
100
|
end
|
101
101
|
|
102
|
-
if attributes.key?(:'
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
if attributes.key?(:'content_guard')
|
107
|
-
self.content_guard = attributes[:'content_guard']
|
102
|
+
if attributes.key?(:'pulp_labels')
|
103
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
104
|
+
self.pulp_labels = value
|
105
|
+
end
|
108
106
|
end
|
109
107
|
|
110
108
|
if attributes.key?(:'repository')
|
111
109
|
self.repository = attributes[:'repository']
|
112
110
|
end
|
113
111
|
|
114
|
-
if attributes.key?(:'
|
115
|
-
|
116
|
-
|
117
|
-
|
112
|
+
if attributes.key?(:'content_guard')
|
113
|
+
self.content_guard = attributes[:'content_guard']
|
114
|
+
end
|
115
|
+
|
116
|
+
if attributes.key?(:'name')
|
117
|
+
self.name = attributes[:'name']
|
118
118
|
end
|
119
119
|
|
120
120
|
if attributes.key?(:'hidden')
|
@@ -218,10 +218,10 @@ module PulpContainerClient
|
|
218
218
|
return true if self.equal?(o)
|
219
219
|
self.class == o.class &&
|
220
220
|
base_path == o.base_path &&
|
221
|
-
name == o.name &&
|
222
|
-
content_guard == o.content_guard &&
|
223
|
-
repository == o.repository &&
|
224
221
|
pulp_labels == o.pulp_labels &&
|
222
|
+
repository == o.repository &&
|
223
|
+
content_guard == o.content_guard &&
|
224
|
+
name == o.name &&
|
225
225
|
hidden == o.hidden &&
|
226
226
|
repository_version == o.repository_version &&
|
227
227
|
private == o.private &&
|
@@ -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
|
-
[base_path,
|
240
|
+
[base_path, pulp_labels, repository, content_guard, name, hidden, repository_version, private, description].hash
|
241
241
|
end
|
242
242
|
|
243
243
|
# Builds the object from hash
|
@@ -21,17 +21,24 @@ module PulpContainerClient
|
|
21
21
|
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
22
22
|
attr_accessor :base_path
|
23
23
|
|
24
|
+
attr_accessor :pulp_labels
|
25
|
+
|
26
|
+
# The latest RepositoryVersion for this Repository will be served.
|
27
|
+
attr_accessor :repository
|
28
|
+
|
29
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
30
|
+
attr_accessor :content_guard
|
31
|
+
|
24
32
|
# The Pulp Resource Name (PRN).
|
25
33
|
attr_accessor :prn
|
26
34
|
|
27
35
|
# A unique name. Ex, `rawhide` and `stable`.
|
28
36
|
attr_accessor :name
|
29
37
|
|
30
|
-
#
|
31
|
-
attr_accessor :
|
38
|
+
# Whether this distribution should be shown in the content app.
|
39
|
+
attr_accessor :hidden
|
32
40
|
|
33
|
-
|
34
|
-
attr_accessor :repository
|
41
|
+
attr_accessor :pulp_href
|
35
42
|
|
36
43
|
# Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
|
37
44
|
attr_accessor :no_content_change_since
|
@@ -39,13 +46,6 @@ module PulpContainerClient
|
|
39
46
|
# 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
47
|
attr_accessor :pulp_last_updated
|
41
48
|
|
42
|
-
attr_accessor :pulp_href
|
43
|
-
|
44
|
-
attr_accessor :pulp_labels
|
45
|
-
|
46
|
-
# Whether this distribution should be shown in the content app.
|
47
|
-
attr_accessor :hidden
|
48
|
-
|
49
49
|
# RepositoryVersion to be served
|
50
50
|
attr_accessor :repository_version
|
51
51
|
|
@@ -69,15 +69,15 @@ module PulpContainerClient
|
|
69
69
|
{
|
70
70
|
:'pulp_created' => :'pulp_created',
|
71
71
|
:'base_path' => :'base_path',
|
72
|
+
:'pulp_labels' => :'pulp_labels',
|
73
|
+
:'repository' => :'repository',
|
74
|
+
:'content_guard' => :'content_guard',
|
72
75
|
:'prn' => :'prn',
|
73
76
|
:'name' => :'name',
|
74
|
-
:'
|
75
|
-
:'
|
77
|
+
:'hidden' => :'hidden',
|
78
|
+
:'pulp_href' => :'pulp_href',
|
76
79
|
:'no_content_change_since' => :'no_content_change_since',
|
77
80
|
:'pulp_last_updated' => :'pulp_last_updated',
|
78
|
-
:'pulp_href' => :'pulp_href',
|
79
|
-
:'pulp_labels' => :'pulp_labels',
|
80
|
-
:'hidden' => :'hidden',
|
81
81
|
:'repository_version' => :'repository_version',
|
82
82
|
:'registry_path' => :'registry_path',
|
83
83
|
:'remote' => :'remote',
|
@@ -92,15 +92,15 @@ module PulpContainerClient
|
|
92
92
|
{
|
93
93
|
:'pulp_created' => :'DateTime',
|
94
94
|
:'base_path' => :'String',
|
95
|
+
:'pulp_labels' => :'Hash<String, String>',
|
96
|
+
:'repository' => :'String',
|
97
|
+
:'content_guard' => :'String',
|
95
98
|
:'prn' => :'String',
|
96
99
|
:'name' => :'String',
|
97
|
-
:'
|
98
|
-
:'
|
100
|
+
:'hidden' => :'Boolean',
|
101
|
+
:'pulp_href' => :'String',
|
99
102
|
:'no_content_change_since' => :'String',
|
100
103
|
:'pulp_last_updated' => :'DateTime',
|
101
|
-
:'pulp_href' => :'String',
|
102
|
-
:'pulp_labels' => :'Hash<String, String>',
|
103
|
-
:'hidden' => :'Boolean',
|
104
104
|
:'repository_version' => :'String',
|
105
105
|
:'registry_path' => :'String',
|
106
106
|
:'remote' => :'String',
|
@@ -142,44 +142,44 @@ module PulpContainerClient
|
|
142
142
|
self.base_path = attributes[:'base_path']
|
143
143
|
end
|
144
144
|
|
145
|
-
if attributes.key?(:'
|
146
|
-
|
145
|
+
if attributes.key?(:'pulp_labels')
|
146
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
147
|
+
self.pulp_labels = value
|
148
|
+
end
|
147
149
|
end
|
148
150
|
|
149
|
-
if attributes.key?(:'
|
150
|
-
self.
|
151
|
+
if attributes.key?(:'repository')
|
152
|
+
self.repository = attributes[:'repository']
|
151
153
|
end
|
152
154
|
|
153
155
|
if attributes.key?(:'content_guard')
|
154
156
|
self.content_guard = attributes[:'content_guard']
|
155
157
|
end
|
156
158
|
|
157
|
-
if attributes.key?(:'
|
158
|
-
self.
|
159
|
+
if attributes.key?(:'prn')
|
160
|
+
self.prn = attributes[:'prn']
|
159
161
|
end
|
160
162
|
|
161
|
-
if attributes.key?(:'
|
162
|
-
self.
|
163
|
+
if attributes.key?(:'name')
|
164
|
+
self.name = attributes[:'name']
|
163
165
|
end
|
164
166
|
|
165
|
-
if attributes.key?(:'
|
166
|
-
self.
|
167
|
+
if attributes.key?(:'hidden')
|
168
|
+
self.hidden = attributes[:'hidden']
|
169
|
+
else
|
170
|
+
self.hidden = false
|
167
171
|
end
|
168
172
|
|
169
173
|
if attributes.key?(:'pulp_href')
|
170
174
|
self.pulp_href = attributes[:'pulp_href']
|
171
175
|
end
|
172
176
|
|
173
|
-
if attributes.key?(:'
|
174
|
-
|
175
|
-
self.pulp_labels = value
|
176
|
-
end
|
177
|
+
if attributes.key?(:'no_content_change_since')
|
178
|
+
self.no_content_change_since = attributes[:'no_content_change_since']
|
177
179
|
end
|
178
180
|
|
179
|
-
if attributes.key?(:'
|
180
|
-
self.
|
181
|
-
else
|
182
|
-
self.hidden = false
|
181
|
+
if attributes.key?(:'pulp_last_updated')
|
182
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
183
183
|
end
|
184
184
|
|
185
185
|
if attributes.key?(:'repository_version')
|
@@ -237,15 +237,15 @@ module PulpContainerClient
|
|
237
237
|
self.class == o.class &&
|
238
238
|
pulp_created == o.pulp_created &&
|
239
239
|
base_path == o.base_path &&
|
240
|
+
pulp_labels == o.pulp_labels &&
|
241
|
+
repository == o.repository &&
|
242
|
+
content_guard == o.content_guard &&
|
240
243
|
prn == o.prn &&
|
241
244
|
name == o.name &&
|
242
|
-
|
243
|
-
|
245
|
+
hidden == o.hidden &&
|
246
|
+
pulp_href == o.pulp_href &&
|
244
247
|
no_content_change_since == o.no_content_change_since &&
|
245
248
|
pulp_last_updated == o.pulp_last_updated &&
|
246
|
-
pulp_href == o.pulp_href &&
|
247
|
-
pulp_labels == o.pulp_labels &&
|
248
|
-
hidden == o.hidden &&
|
249
249
|
repository_version == o.repository_version &&
|
250
250
|
registry_path == o.registry_path &&
|
251
251
|
remote == o.remote &&
|
@@ -263,7 +263,7 @@ module PulpContainerClient
|
|
263
263
|
# Calculates hash code according to all attributes.
|
264
264
|
# @return [Integer] Hash code
|
265
265
|
def hash
|
266
|
-
[pulp_created, base_path,
|
266
|
+
[pulp_created, base_path, pulp_labels, repository, content_guard, prn, name, hidden, pulp_href, no_content_change_since, pulp_last_updated, repository_version, registry_path, remote, namespace, private, description].hash
|
267
267
|
end
|
268
268
|
|
269
269
|
# Builds the object from hash
|
@@ -18,16 +18,16 @@ module PulpContainerClient
|
|
18
18
|
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
19
19
|
attr_accessor :base_path
|
20
20
|
|
21
|
-
|
22
|
-
attr_accessor :name
|
23
|
-
|
24
|
-
# An optional content-guard. If none is specified, a default one will be used.
|
25
|
-
attr_accessor :content_guard
|
21
|
+
attr_accessor :pulp_labels
|
26
22
|
|
27
23
|
# The latest RepositoryVersion for this Repository will be served.
|
28
24
|
attr_accessor :repository
|
29
25
|
|
30
|
-
|
26
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
27
|
+
attr_accessor :content_guard
|
28
|
+
|
29
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
30
|
+
attr_accessor :name
|
31
31
|
|
32
32
|
# Whether this distribution should be shown in the content app.
|
33
33
|
attr_accessor :hidden
|
@@ -48,10 +48,10 @@ module PulpContainerClient
|
|
48
48
|
def self.attribute_map
|
49
49
|
{
|
50
50
|
:'base_path' => :'base_path',
|
51
|
-
:'name' => :'name',
|
52
|
-
:'content_guard' => :'content_guard',
|
53
|
-
:'repository' => :'repository',
|
54
51
|
:'pulp_labels' => :'pulp_labels',
|
52
|
+
:'repository' => :'repository',
|
53
|
+
:'content_guard' => :'content_guard',
|
54
|
+
:'name' => :'name',
|
55
55
|
:'hidden' => :'hidden',
|
56
56
|
:'remote' => :'remote',
|
57
57
|
:'distributions' => :'distributions',
|
@@ -64,10 +64,10 @@ module PulpContainerClient
|
|
64
64
|
def self.openapi_types
|
65
65
|
{
|
66
66
|
:'base_path' => :'String',
|
67
|
-
:'name' => :'String',
|
68
|
-
:'content_guard' => :'String',
|
69
|
-
:'repository' => :'String',
|
70
67
|
:'pulp_labels' => :'Hash<String, String>',
|
68
|
+
:'repository' => :'String',
|
69
|
+
:'content_guard' => :'String',
|
70
|
+
:'name' => :'String',
|
71
71
|
:'hidden' => :'Boolean',
|
72
72
|
:'remote' => :'String',
|
73
73
|
:'distributions' => :'Array<String>',
|
@@ -103,22 +103,22 @@ module PulpContainerClient
|
|
103
103
|
self.base_path = attributes[:'base_path']
|
104
104
|
end
|
105
105
|
|
106
|
-
if attributes.key?(:'
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
if attributes.key?(:'content_guard')
|
111
|
-
self.content_guard = attributes[:'content_guard']
|
106
|
+
if attributes.key?(:'pulp_labels')
|
107
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
108
|
+
self.pulp_labels = value
|
109
|
+
end
|
112
110
|
end
|
113
111
|
|
114
112
|
if attributes.key?(:'repository')
|
115
113
|
self.repository = attributes[:'repository']
|
116
114
|
end
|
117
115
|
|
118
|
-
if attributes.key?(:'
|
119
|
-
|
120
|
-
|
121
|
-
|
116
|
+
if attributes.key?(:'content_guard')
|
117
|
+
self.content_guard = attributes[:'content_guard']
|
118
|
+
end
|
119
|
+
|
120
|
+
if attributes.key?(:'name')
|
121
|
+
self.name = attributes[:'name']
|
122
122
|
end
|
123
123
|
|
124
124
|
if attributes.key?(:'hidden')
|
@@ -233,10 +233,10 @@ module PulpContainerClient
|
|
233
233
|
return true if self.equal?(o)
|
234
234
|
self.class == o.class &&
|
235
235
|
base_path == o.base_path &&
|
236
|
-
name == o.name &&
|
237
|
-
content_guard == o.content_guard &&
|
238
|
-
repository == o.repository &&
|
239
236
|
pulp_labels == o.pulp_labels &&
|
237
|
+
repository == o.repository &&
|
238
|
+
content_guard == o.content_guard &&
|
239
|
+
name == o.name &&
|
240
240
|
hidden == o.hidden &&
|
241
241
|
remote == o.remote &&
|
242
242
|
distributions == o.distributions &&
|
@@ -253,7 +253,7 @@ module PulpContainerClient
|
|
253
253
|
# Calculates hash code according to all attributes.
|
254
254
|
# @return [Integer] Hash code
|
255
255
|
def hash
|
256
|
-
[base_path,
|
256
|
+
[base_path, pulp_labels, repository, content_guard, name, hidden, remote, distributions, private, description].hash
|
257
257
|
end
|
258
258
|
|
259
259
|
# Builds the object from hash
|
data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb
CHANGED
@@ -21,17 +21,24 @@ module PulpContainerClient
|
|
21
21
|
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
22
22
|
attr_accessor :base_path
|
23
23
|
|
24
|
+
attr_accessor :pulp_labels
|
25
|
+
|
26
|
+
# The latest RepositoryVersion for this Repository will be served.
|
27
|
+
attr_accessor :repository
|
28
|
+
|
29
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
30
|
+
attr_accessor :content_guard
|
31
|
+
|
24
32
|
# The Pulp Resource Name (PRN).
|
25
33
|
attr_accessor :prn
|
26
34
|
|
27
35
|
# A unique name. Ex, `rawhide` and `stable`.
|
28
36
|
attr_accessor :name
|
29
37
|
|
30
|
-
#
|
31
|
-
attr_accessor :
|
38
|
+
# Whether this distribution should be shown in the content app.
|
39
|
+
attr_accessor :hidden
|
32
40
|
|
33
|
-
|
34
|
-
attr_accessor :repository
|
41
|
+
attr_accessor :pulp_href
|
35
42
|
|
36
43
|
# Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
|
37
44
|
attr_accessor :no_content_change_since
|
@@ -39,13 +46,6 @@ module PulpContainerClient
|
|
39
46
|
# 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
47
|
attr_accessor :pulp_last_updated
|
41
48
|
|
42
|
-
attr_accessor :pulp_href
|
43
|
-
|
44
|
-
attr_accessor :pulp_labels
|
45
|
-
|
46
|
-
# Whether this distribution should be shown in the content app.
|
47
|
-
attr_accessor :hidden
|
48
|
-
|
49
49
|
# Remote that can be used to fetch content when using pull-through caching.
|
50
50
|
attr_accessor :remote
|
51
51
|
|
@@ -66,15 +66,15 @@ module PulpContainerClient
|
|
66
66
|
{
|
67
67
|
:'pulp_created' => :'pulp_created',
|
68
68
|
:'base_path' => :'base_path',
|
69
|
+
:'pulp_labels' => :'pulp_labels',
|
70
|
+
:'repository' => :'repository',
|
71
|
+
:'content_guard' => :'content_guard',
|
69
72
|
:'prn' => :'prn',
|
70
73
|
:'name' => :'name',
|
71
|
-
:'
|
72
|
-
:'
|
74
|
+
:'hidden' => :'hidden',
|
75
|
+
:'pulp_href' => :'pulp_href',
|
73
76
|
:'no_content_change_since' => :'no_content_change_since',
|
74
77
|
:'pulp_last_updated' => :'pulp_last_updated',
|
75
|
-
:'pulp_href' => :'pulp_href',
|
76
|
-
:'pulp_labels' => :'pulp_labels',
|
77
|
-
:'hidden' => :'hidden',
|
78
78
|
:'remote' => :'remote',
|
79
79
|
:'distributions' => :'distributions',
|
80
80
|
:'namespace' => :'namespace',
|
@@ -88,15 +88,15 @@ module PulpContainerClient
|
|
88
88
|
{
|
89
89
|
:'pulp_created' => :'DateTime',
|
90
90
|
:'base_path' => :'String',
|
91
|
+
:'pulp_labels' => :'Hash<String, String>',
|
92
|
+
:'repository' => :'String',
|
93
|
+
:'content_guard' => :'String',
|
91
94
|
:'prn' => :'String',
|
92
95
|
:'name' => :'String',
|
93
|
-
:'
|
94
|
-
:'
|
96
|
+
:'hidden' => :'Boolean',
|
97
|
+
:'pulp_href' => :'String',
|
95
98
|
:'no_content_change_since' => :'String',
|
96
99
|
:'pulp_last_updated' => :'DateTime',
|
97
|
-
:'pulp_href' => :'String',
|
98
|
-
:'pulp_labels' => :'Hash<String, String>',
|
99
|
-
:'hidden' => :'Boolean',
|
100
100
|
:'remote' => :'String',
|
101
101
|
:'distributions' => :'Array<String>',
|
102
102
|
:'namespace' => :'String',
|
@@ -136,44 +136,44 @@ module PulpContainerClient
|
|
136
136
|
self.base_path = attributes[:'base_path']
|
137
137
|
end
|
138
138
|
|
139
|
-
if attributes.key?(:'
|
140
|
-
|
139
|
+
if attributes.key?(:'pulp_labels')
|
140
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
141
|
+
self.pulp_labels = value
|
142
|
+
end
|
141
143
|
end
|
142
144
|
|
143
|
-
if attributes.key?(:'
|
144
|
-
self.
|
145
|
+
if attributes.key?(:'repository')
|
146
|
+
self.repository = attributes[:'repository']
|
145
147
|
end
|
146
148
|
|
147
149
|
if attributes.key?(:'content_guard')
|
148
150
|
self.content_guard = attributes[:'content_guard']
|
149
151
|
end
|
150
152
|
|
151
|
-
if attributes.key?(:'
|
152
|
-
self.
|
153
|
+
if attributes.key?(:'prn')
|
154
|
+
self.prn = attributes[:'prn']
|
153
155
|
end
|
154
156
|
|
155
|
-
if attributes.key?(:'
|
156
|
-
self.
|
157
|
+
if attributes.key?(:'name')
|
158
|
+
self.name = attributes[:'name']
|
157
159
|
end
|
158
160
|
|
159
|
-
if attributes.key?(:'
|
160
|
-
self.
|
161
|
+
if attributes.key?(:'hidden')
|
162
|
+
self.hidden = attributes[:'hidden']
|
163
|
+
else
|
164
|
+
self.hidden = false
|
161
165
|
end
|
162
166
|
|
163
167
|
if attributes.key?(:'pulp_href')
|
164
168
|
self.pulp_href = attributes[:'pulp_href']
|
165
169
|
end
|
166
170
|
|
167
|
-
if attributes.key?(:'
|
168
|
-
|
169
|
-
self.pulp_labels = value
|
170
|
-
end
|
171
|
+
if attributes.key?(:'no_content_change_since')
|
172
|
+
self.no_content_change_since = attributes[:'no_content_change_since']
|
171
173
|
end
|
172
174
|
|
173
|
-
if attributes.key?(:'
|
174
|
-
self.
|
175
|
-
else
|
176
|
-
self.hidden = false
|
175
|
+
if attributes.key?(:'pulp_last_updated')
|
176
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
177
177
|
end
|
178
178
|
|
179
179
|
if attributes.key?(:'remote')
|
@@ -234,15 +234,15 @@ module PulpContainerClient
|
|
234
234
|
self.class == o.class &&
|
235
235
|
pulp_created == o.pulp_created &&
|
236
236
|
base_path == o.base_path &&
|
237
|
+
pulp_labels == o.pulp_labels &&
|
238
|
+
repository == o.repository &&
|
239
|
+
content_guard == o.content_guard &&
|
237
240
|
prn == o.prn &&
|
238
241
|
name == o.name &&
|
239
|
-
|
240
|
-
|
242
|
+
hidden == o.hidden &&
|
243
|
+
pulp_href == o.pulp_href &&
|
241
244
|
no_content_change_since == o.no_content_change_since &&
|
242
245
|
pulp_last_updated == o.pulp_last_updated &&
|
243
|
-
pulp_href == o.pulp_href &&
|
244
|
-
pulp_labels == o.pulp_labels &&
|
245
|
-
hidden == o.hidden &&
|
246
246
|
remote == o.remote &&
|
247
247
|
distributions == o.distributions &&
|
248
248
|
namespace == o.namespace &&
|
@@ -259,7 +259,7 @@ module PulpContainerClient
|
|
259
259
|
# Calculates hash code according to all attributes.
|
260
260
|
# @return [Integer] Hash code
|
261
261
|
def hash
|
262
|
-
[pulp_created, base_path,
|
262
|
+
[pulp_created, base_path, pulp_labels, repository, content_guard, prn, name, hidden, pulp_href, no_content_change_since, pulp_last_updated, remote, distributions, namespace, private, description].hash
|
263
263
|
end
|
264
264
|
|
265
265
|
# Builds the object from hash
|
@@ -335,20 +335,20 @@ module PulpContainerClient
|
|
335
335
|
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
336
336
|
end
|
337
337
|
|
338
|
-
if !@total_timeout.nil? && @total_timeout < 0
|
339
|
-
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.
|
338
|
+
if !@total_timeout.nil? && @total_timeout < 0
|
339
|
+
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.')
|
340
340
|
end
|
341
341
|
|
342
|
-
if !@connect_timeout.nil? && @connect_timeout < 0
|
343
|
-
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.
|
342
|
+
if !@connect_timeout.nil? && @connect_timeout < 0
|
343
|
+
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.')
|
344
344
|
end
|
345
345
|
|
346
|
-
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
347
|
-
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.
|
346
|
+
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
347
|
+
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.')
|
348
348
|
end
|
349
349
|
|
350
|
-
if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
351
|
-
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.
|
350
|
+
if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
351
|
+
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.')
|
352
352
|
end
|
353
353
|
|
354
354
|
invalid_properties
|
@@ -370,10 +370,10 @@ module PulpContainerClient
|
|
370
370
|
return false if !@username.nil? && @username.to_s.length < 1
|
371
371
|
return false if !@password.nil? && @password.to_s.length < 1
|
372
372
|
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
373
|
-
return false if !@total_timeout.nil? && @total_timeout < 0
|
374
|
-
return false if !@connect_timeout.nil? && @connect_timeout < 0
|
375
|
-
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
376
|
-
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
373
|
+
return false if !@total_timeout.nil? && @total_timeout < 0
|
374
|
+
return false if !@connect_timeout.nil? && @connect_timeout < 0
|
375
|
+
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
376
|
+
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
377
377
|
true
|
378
378
|
end
|
379
379
|
|
@@ -498,8 +498,8 @@ module PulpContainerClient
|
|
498
498
|
# Custom attribute writer method with validation
|
499
499
|
# @param [Object] total_timeout Value to be assigned
|
500
500
|
def total_timeout=(total_timeout)
|
501
|
-
if !total_timeout.nil? && total_timeout < 0
|
502
|
-
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.
|
501
|
+
if !total_timeout.nil? && total_timeout < 0
|
502
|
+
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.'
|
503
503
|
end
|
504
504
|
|
505
505
|
@total_timeout = total_timeout
|
@@ -508,8 +508,8 @@ module PulpContainerClient
|
|
508
508
|
# Custom attribute writer method with validation
|
509
509
|
# @param [Object] connect_timeout Value to be assigned
|
510
510
|
def connect_timeout=(connect_timeout)
|
511
|
-
if !connect_timeout.nil? && connect_timeout < 0
|
512
|
-
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.
|
511
|
+
if !connect_timeout.nil? && connect_timeout < 0
|
512
|
+
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.'
|
513
513
|
end
|
514
514
|
|
515
515
|
@connect_timeout = connect_timeout
|
@@ -518,8 +518,8 @@ module PulpContainerClient
|
|
518
518
|
# Custom attribute writer method with validation
|
519
519
|
# @param [Object] sock_connect_timeout Value to be assigned
|
520
520
|
def sock_connect_timeout=(sock_connect_timeout)
|
521
|
-
if !sock_connect_timeout.nil? && sock_connect_timeout < 0
|
522
|
-
fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.
|
521
|
+
if !sock_connect_timeout.nil? && sock_connect_timeout < 0
|
522
|
+
fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.'
|
523
523
|
end
|
524
524
|
|
525
525
|
@sock_connect_timeout = sock_connect_timeout
|
@@ -528,8 +528,8 @@ module PulpContainerClient
|
|
528
528
|
# Custom attribute writer method with validation
|
529
529
|
# @param [Object] sock_read_timeout Value to be assigned
|
530
530
|
def sock_read_timeout=(sock_read_timeout)
|
531
|
-
if !sock_read_timeout.nil? && sock_read_timeout < 0
|
532
|
-
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.
|
531
|
+
if !sock_read_timeout.nil? && sock_read_timeout < 0
|
532
|
+
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.'
|
533
533
|
end
|
534
534
|
|
535
535
|
@sock_read_timeout = sock_read_timeout
|