pulp_container_client 2.17.0 → 2.18.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.
- checksums.yaml +4 -4
- data/README.md +40 -6
- data/docs/ContainerContainerDistribution.md +6 -6
- data/docs/ContainerContainerDistributionResponse.md +12 -10
- data/docs/ContainerContainerPullThroughDistribution.md +35 -0
- data/docs/ContainerContainerPullThroughDistributionResponse.md +41 -0
- data/docs/ContainerContainerPullThroughRemote.md +57 -0
- data/docs/ContainerContainerPullThroughRemoteResponse.md +55 -0
- data/docs/{ContainerContainerRemoteResponseHiddenFields.md → ContainerContainerPullThroughRemoteResponseHiddenFields.md} +2 -2
- data/docs/ContainerContainerPushRepository.md +3 -3
- data/docs/ContainerContainerPushRepositoryResponse.md +12 -12
- data/docs/ContainerContainerRemote.md +1 -1
- data/docs/ContainerContainerRemoteResponse.md +2 -2
- data/docs/ContentBlobsApi.md +2 -0
- data/docs/ContentManifestsApi.md +2 -0
- data/docs/ContentSignaturesApi.md +2 -0
- data/docs/ContentTagsApi.md +2 -0
- data/docs/DistributionsPullThroughApi.md +736 -0
- data/docs/PaginatedcontainerContainerPullThroughDistributionResponseList.md +23 -0
- data/docs/PaginatedcontainerContainerPullThroughRemoteResponseList.md +23 -0
- data/docs/PatchedcontainerContainerDistribution.md +6 -6
- data/docs/PatchedcontainerContainerPullThroughDistribution.md +35 -0
- data/docs/PatchedcontainerContainerPullThroughRemote.md +57 -0
- data/docs/PatchedcontainerContainerPushRepository.md +3 -3
- data/docs/PatchedcontainerContainerRemote.md +1 -1
- data/docs/{PolicyEnum.md → Policy762Enum.md} +2 -2
- data/docs/Policy8e2Enum.md +16 -0
- data/docs/RemotesPullThroughApi.md +734 -0
- data/lib/pulp_container_client/api/content_blobs_api.rb +3 -0
- data/lib/pulp_container_client/api/content_manifests_api.rb +3 -0
- data/lib/pulp_container_client/api/content_signatures_api.rb +3 -0
- data/lib/pulp_container_client/api/content_tags_api.rb +3 -0
- data/lib/pulp_container_client/api/distributions_pull_through_api.rb +907 -0
- data/lib/pulp_container_client/api/remotes_pull_through_api.rb +904 -0
- data/lib/pulp_container_client/models/container_container_distribution.rb +52 -52
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +60 -50
- data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +373 -0
- data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +349 -0
- data/lib/pulp_container_client/models/container_container_pull_through_remote.rb +668 -0
- data/lib/pulp_container_client/models/container_container_pull_through_remote_response.rb +496 -0
- data/lib/pulp_container_client/models/{container_container_remote_response_hidden_fields.rb → container_container_pull_through_remote_response_hidden_fields.rb} +3 -3
- data/lib/pulp_container_client/models/container_container_push_repository.rb +30 -30
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +47 -47
- data/lib/pulp_container_client/models/container_container_remote.rb +1 -1
- data/lib/pulp_container_client/models/container_container_remote_response.rb +2 -2
- data/lib/pulp_container_client/models/paginatedcontainer_container_pull_through_distribution_response_list.rb +237 -0
- data/lib/pulp_container_client/models/paginatedcontainer_container_pull_through_remote_response_list.rb +237 -0
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +43 -43
- data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +350 -0
- data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_remote.rb +650 -0
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +30 -30
- data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +1 -1
- data/lib/pulp_container_client/models/{policy_enum.rb → policy762_enum.rb} +3 -3
- data/lib/pulp_container_client/models/policy8e2_enum.rb +35 -0
- data/lib/pulp_container_client/version.rb +1 -1
- data/lib/pulp_container_client.rb +13 -2
- data/spec/api/content_blobs_api_spec.rb +1 -0
- data/spec/api/content_manifests_api_spec.rb +1 -0
- data/spec/api/content_signatures_api_spec.rb +1 -0
- data/spec/api/content_tags_api_spec.rb +1 -0
- data/spec/api/distributions_pull_through_api_spec.rb +215 -0
- data/spec/api/remotes_pull_through_api_spec.rb +214 -0
- data/spec/models/container_container_distribution_response_spec.rb +14 -8
- data/spec/models/container_container_distribution_spec.rb +5 -5
- data/spec/models/container_container_pull_through_distribution_response_spec.rb +113 -0
- data/spec/models/container_container_pull_through_distribution_spec.rb +95 -0
- data/spec/models/{container_container_remote_response_hidden_fields_spec.rb → container_container_pull_through_remote_response_hidden_fields_spec.rb} +6 -6
- data/spec/models/container_container_pull_through_remote_response_spec.rb +155 -0
- data/spec/models/container_container_pull_through_remote_spec.rb +161 -0
- data/spec/models/container_container_push_repository_response_spec.rb +8 -8
- data/spec/models/container_container_push_repository_spec.rb +3 -3
- data/spec/models/paginatedcontainer_container_pull_through_distribution_response_list_spec.rb +59 -0
- data/spec/models/paginatedcontainer_container_pull_through_remote_response_list_spec.rb +59 -0
- data/spec/models/patchedcontainer_container_distribution_spec.rb +5 -5
- data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +95 -0
- data/spec/models/patchedcontainer_container_pull_through_remote_spec.rb +161 -0
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +3 -3
- data/spec/models/{policy_enum_spec.rb → policy762_enum_spec.rb} +6 -6
- data/spec/models/policy8e2_enum_spec.rb +35 -0
- metadata +102 -58
|
@@ -15,23 +15,23 @@ require 'date'
|
|
|
15
15
|
module PulpContainerClient
|
|
16
16
|
# A serializer for ContainerDistribution.
|
|
17
17
|
class ContainerContainerDistribution
|
|
18
|
-
#
|
|
19
|
-
attr_accessor :
|
|
18
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
|
19
|
+
attr_accessor :content_guard
|
|
20
20
|
|
|
21
21
|
attr_accessor :pulp_labels
|
|
22
22
|
|
|
23
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
|
24
|
+
attr_accessor :name
|
|
25
|
+
|
|
26
|
+
# The latest RepositoryVersion for this Repository will be served.
|
|
27
|
+
attr_accessor :repository
|
|
28
|
+
|
|
23
29
|
# 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
30
|
attr_accessor :base_path
|
|
25
31
|
|
|
26
32
|
# Whether this distribution should be shown in the content app.
|
|
27
33
|
attr_accessor :hidden
|
|
28
34
|
|
|
29
|
-
# An optional content-guard. If none is specified, a default one will be used.
|
|
30
|
-
attr_accessor :content_guard
|
|
31
|
-
|
|
32
|
-
# A unique name. Ex, `rawhide` and `stable`.
|
|
33
|
-
attr_accessor :name
|
|
34
|
-
|
|
35
35
|
# RepositoryVersion to be served
|
|
36
36
|
attr_accessor :repository_version
|
|
37
37
|
|
|
@@ -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
|
-
:'
|
|
47
|
+
:'content_guard' => :'content_guard',
|
|
48
48
|
:'pulp_labels' => :'pulp_labels',
|
|
49
|
+
:'name' => :'name',
|
|
50
|
+
:'repository' => :'repository',
|
|
49
51
|
:'base_path' => :'base_path',
|
|
50
52
|
:'hidden' => :'hidden',
|
|
51
|
-
:'content_guard' => :'content_guard',
|
|
52
|
-
:'name' => :'name',
|
|
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
|
-
:'
|
|
62
|
+
:'content_guard' => :'String',
|
|
63
63
|
:'pulp_labels' => :'Hash<String, String>',
|
|
64
|
+
:'name' => :'String',
|
|
65
|
+
:'repository' => :'String',
|
|
64
66
|
:'base_path' => :'String',
|
|
65
67
|
:'hidden' => :'Boolean',
|
|
66
|
-
:'content_guard' => :'String',
|
|
67
|
-
:'name' => :'String',
|
|
68
68
|
:'repository_version' => :'String',
|
|
69
69
|
:'private' => :'Boolean',
|
|
70
70
|
:'description' => :'String'
|
|
@@ -95,8 +95,8 @@ module PulpContainerClient
|
|
|
95
95
|
h[k.to_sym] = v
|
|
96
96
|
}
|
|
97
97
|
|
|
98
|
-
if attributes.key?(:'
|
|
99
|
-
self.
|
|
98
|
+
if attributes.key?(:'content_guard')
|
|
99
|
+
self.content_guard = attributes[:'content_guard']
|
|
100
100
|
end
|
|
101
101
|
|
|
102
102
|
if attributes.key?(:'pulp_labels')
|
|
@@ -105,6 +105,14 @@ module PulpContainerClient
|
|
|
105
105
|
end
|
|
106
106
|
end
|
|
107
107
|
|
|
108
|
+
if attributes.key?(:'name')
|
|
109
|
+
self.name = attributes[:'name']
|
|
110
|
+
end
|
|
111
|
+
|
|
112
|
+
if attributes.key?(:'repository')
|
|
113
|
+
self.repository = attributes[:'repository']
|
|
114
|
+
end
|
|
115
|
+
|
|
108
116
|
if attributes.key?(:'base_path')
|
|
109
117
|
self.base_path = attributes[:'base_path']
|
|
110
118
|
end
|
|
@@ -115,14 +123,6 @@ module PulpContainerClient
|
|
|
115
123
|
self.hidden = false
|
|
116
124
|
end
|
|
117
125
|
|
|
118
|
-
if attributes.key?(:'content_guard')
|
|
119
|
-
self.content_guard = attributes[:'content_guard']
|
|
120
|
-
end
|
|
121
|
-
|
|
122
|
-
if attributes.key?(:'name')
|
|
123
|
-
self.name = attributes[:'name']
|
|
124
|
-
end
|
|
125
|
-
|
|
126
126
|
if attributes.key?(:'repository_version')
|
|
127
127
|
self.repository_version = attributes[:'repository_version']
|
|
128
128
|
end
|
|
@@ -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 @base_path.nil?
|
|
144
|
-
invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
|
|
145
|
-
end
|
|
146
|
-
|
|
147
|
-
if @base_path.to_s.length < 1
|
|
148
|
-
invalid_properties.push('invalid value for "base_path", the character length must be great than or equal to 1.')
|
|
149
|
-
end
|
|
150
|
-
|
|
151
143
|
if @name.nil?
|
|
152
144
|
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
|
153
145
|
end
|
|
@@ -156,6 +148,14 @@ module PulpContainerClient
|
|
|
156
148
|
invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
|
|
157
149
|
end
|
|
158
150
|
|
|
151
|
+
if @base_path.nil?
|
|
152
|
+
invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
|
|
153
|
+
end
|
|
154
|
+
|
|
155
|
+
if @base_path.to_s.length < 1
|
|
156
|
+
invalid_properties.push('invalid value for "base_path", 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 @base_path.nil?
|
|
170
|
-
return false if @base_path.to_s.length < 1
|
|
171
169
|
return false if @name.nil?
|
|
172
170
|
return false if @name.to_s.length < 1
|
|
171
|
+
return false if @base_path.nil?
|
|
172
|
+
return false if @base_path.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] base_path Value to be assigned
|
|
179
|
-
def base_path=(base_path)
|
|
180
|
-
if base_path.nil?
|
|
181
|
-
fail ArgumentError, 'base_path cannot be nil'
|
|
182
|
-
end
|
|
183
|
-
|
|
184
|
-
if base_path.to_s.length < 1
|
|
185
|
-
fail ArgumentError, 'invalid value for "base_path", the character length must be great than or equal to 1.'
|
|
186
|
-
end
|
|
187
|
-
|
|
188
|
-
@base_path = base_path
|
|
189
|
-
end
|
|
190
|
-
|
|
191
177
|
# Custom attribute writer method with validation
|
|
192
178
|
# @param [Object] name Value to be assigned
|
|
193
179
|
def name=(name)
|
|
@@ -202,6 +188,20 @@ module PulpContainerClient
|
|
|
202
188
|
@name = name
|
|
203
189
|
end
|
|
204
190
|
|
|
191
|
+
# Custom attribute writer method with validation
|
|
192
|
+
# @param [Object] base_path Value to be assigned
|
|
193
|
+
def base_path=(base_path)
|
|
194
|
+
if base_path.nil?
|
|
195
|
+
fail ArgumentError, 'base_path cannot be nil'
|
|
196
|
+
end
|
|
197
|
+
|
|
198
|
+
if base_path.to_s.length < 1
|
|
199
|
+
fail ArgumentError, 'invalid value for "base_path", the character length must be great than or equal to 1.'
|
|
200
|
+
end
|
|
201
|
+
|
|
202
|
+
@base_path = base_path
|
|
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
|
-
|
|
220
|
+
content_guard == o.content_guard &&
|
|
221
221
|
pulp_labels == o.pulp_labels &&
|
|
222
|
+
name == o.name &&
|
|
223
|
+
repository == o.repository &&
|
|
222
224
|
base_path == o.base_path &&
|
|
223
225
|
hidden == o.hidden &&
|
|
224
|
-
content_guard == o.content_guard &&
|
|
225
|
-
name == o.name &&
|
|
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
|
-
[
|
|
240
|
+
[content_guard, pulp_labels, name, repository, base_path, hidden, repository_version, private, description].hash
|
|
241
241
|
end
|
|
242
242
|
|
|
243
243
|
# Builds the object from hash
|
|
@@ -15,13 +15,21 @@ require 'date'
|
|
|
15
15
|
module PulpContainerClient
|
|
16
16
|
# A serializer for ContainerDistribution.
|
|
17
17
|
class ContainerContainerDistributionResponse
|
|
18
|
-
#
|
|
19
|
-
attr_accessor :
|
|
18
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
|
19
|
+
attr_accessor :content_guard
|
|
20
|
+
|
|
21
|
+
attr_accessor :pulp_labels
|
|
22
|
+
|
|
23
|
+
attr_accessor :pulp_href
|
|
24
|
+
|
|
25
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
|
26
|
+
attr_accessor :name
|
|
20
27
|
|
|
21
28
|
# The latest RepositoryVersion for this Repository will be served.
|
|
22
29
|
attr_accessor :repository
|
|
23
30
|
|
|
24
|
-
|
|
31
|
+
# Timestamp of creation.
|
|
32
|
+
attr_accessor :pulp_created
|
|
25
33
|
|
|
26
34
|
# 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
35
|
attr_accessor :base_path
|
|
@@ -29,20 +37,15 @@ module PulpContainerClient
|
|
|
29
37
|
# Whether this distribution should be shown in the content app.
|
|
30
38
|
attr_accessor :hidden
|
|
31
39
|
|
|
32
|
-
attr_accessor :pulp_href
|
|
33
|
-
|
|
34
|
-
# An optional content-guard. If none is specified, a default one will be used.
|
|
35
|
-
attr_accessor :content_guard
|
|
36
|
-
|
|
37
|
-
# A unique name. Ex, `rawhide` and `stable`.
|
|
38
|
-
attr_accessor :name
|
|
39
|
-
|
|
40
40
|
# RepositoryVersion to be served
|
|
41
41
|
attr_accessor :repository_version
|
|
42
42
|
|
|
43
43
|
# The Registry hostname/name/ to use with docker pull command defined by this distribution.
|
|
44
44
|
attr_accessor :registry_path
|
|
45
45
|
|
|
46
|
+
# Remote that can be used to fetch content when using pull-through caching.
|
|
47
|
+
attr_accessor :remote
|
|
48
|
+
|
|
46
49
|
# Namespace this distribution belongs to.
|
|
47
50
|
attr_accessor :namespace
|
|
48
51
|
|
|
@@ -55,16 +58,17 @@ module PulpContainerClient
|
|
|
55
58
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
56
59
|
def self.attribute_map
|
|
57
60
|
{
|
|
58
|
-
:'
|
|
59
|
-
:'repository' => :'repository',
|
|
61
|
+
:'content_guard' => :'content_guard',
|
|
60
62
|
:'pulp_labels' => :'pulp_labels',
|
|
61
|
-
:'base_path' => :'base_path',
|
|
62
|
-
:'hidden' => :'hidden',
|
|
63
63
|
:'pulp_href' => :'pulp_href',
|
|
64
|
-
:'content_guard' => :'content_guard',
|
|
65
64
|
:'name' => :'name',
|
|
65
|
+
:'repository' => :'repository',
|
|
66
|
+
:'pulp_created' => :'pulp_created',
|
|
67
|
+
:'base_path' => :'base_path',
|
|
68
|
+
:'hidden' => :'hidden',
|
|
66
69
|
:'repository_version' => :'repository_version',
|
|
67
70
|
:'registry_path' => :'registry_path',
|
|
71
|
+
:'remote' => :'remote',
|
|
68
72
|
:'namespace' => :'namespace',
|
|
69
73
|
:'private' => :'private',
|
|
70
74
|
:'description' => :'description'
|
|
@@ -74,16 +78,17 @@ module PulpContainerClient
|
|
|
74
78
|
# Attribute type mapping.
|
|
75
79
|
def self.openapi_types
|
|
76
80
|
{
|
|
77
|
-
:'
|
|
78
|
-
:'repository' => :'String',
|
|
81
|
+
:'content_guard' => :'String',
|
|
79
82
|
:'pulp_labels' => :'Hash<String, String>',
|
|
80
|
-
:'base_path' => :'String',
|
|
81
|
-
:'hidden' => :'Boolean',
|
|
82
83
|
:'pulp_href' => :'String',
|
|
83
|
-
:'content_guard' => :'String',
|
|
84
84
|
:'name' => :'String',
|
|
85
|
+
:'repository' => :'String',
|
|
86
|
+
:'pulp_created' => :'DateTime',
|
|
87
|
+
:'base_path' => :'String',
|
|
88
|
+
:'hidden' => :'Boolean',
|
|
85
89
|
:'repository_version' => :'String',
|
|
86
90
|
:'registry_path' => :'String',
|
|
91
|
+
:'remote' => :'String',
|
|
87
92
|
:'namespace' => :'String',
|
|
88
93
|
:'private' => :'Boolean',
|
|
89
94
|
:'description' => :'String'
|
|
@@ -114,12 +119,8 @@ module PulpContainerClient
|
|
|
114
119
|
h[k.to_sym] = v
|
|
115
120
|
}
|
|
116
121
|
|
|
117
|
-
if attributes.key?(:'
|
|
118
|
-
self.
|
|
119
|
-
end
|
|
120
|
-
|
|
121
|
-
if attributes.key?(:'repository')
|
|
122
|
-
self.repository = attributes[:'repository']
|
|
122
|
+
if attributes.key?(:'content_guard')
|
|
123
|
+
self.content_guard = attributes[:'content_guard']
|
|
123
124
|
end
|
|
124
125
|
|
|
125
126
|
if attributes.key?(:'pulp_labels')
|
|
@@ -128,26 +129,30 @@ module PulpContainerClient
|
|
|
128
129
|
end
|
|
129
130
|
end
|
|
130
131
|
|
|
131
|
-
if attributes.key?(:'
|
|
132
|
-
self.
|
|
132
|
+
if attributes.key?(:'pulp_href')
|
|
133
|
+
self.pulp_href = attributes[:'pulp_href']
|
|
133
134
|
end
|
|
134
135
|
|
|
135
|
-
if attributes.key?(:'
|
|
136
|
-
self.
|
|
137
|
-
else
|
|
138
|
-
self.hidden = false
|
|
136
|
+
if attributes.key?(:'name')
|
|
137
|
+
self.name = attributes[:'name']
|
|
139
138
|
end
|
|
140
139
|
|
|
141
|
-
if attributes.key?(:'
|
|
142
|
-
self.
|
|
140
|
+
if attributes.key?(:'repository')
|
|
141
|
+
self.repository = attributes[:'repository']
|
|
143
142
|
end
|
|
144
143
|
|
|
145
|
-
if attributes.key?(:'
|
|
146
|
-
self.
|
|
144
|
+
if attributes.key?(:'pulp_created')
|
|
145
|
+
self.pulp_created = attributes[:'pulp_created']
|
|
147
146
|
end
|
|
148
147
|
|
|
149
|
-
if attributes.key?(:'
|
|
150
|
-
self.
|
|
148
|
+
if attributes.key?(:'base_path')
|
|
149
|
+
self.base_path = attributes[:'base_path']
|
|
150
|
+
end
|
|
151
|
+
|
|
152
|
+
if attributes.key?(:'hidden')
|
|
153
|
+
self.hidden = attributes[:'hidden']
|
|
154
|
+
else
|
|
155
|
+
self.hidden = false
|
|
151
156
|
end
|
|
152
157
|
|
|
153
158
|
if attributes.key?(:'repository_version')
|
|
@@ -158,6 +163,10 @@ module PulpContainerClient
|
|
|
158
163
|
self.registry_path = attributes[:'registry_path']
|
|
159
164
|
end
|
|
160
165
|
|
|
166
|
+
if attributes.key?(:'remote')
|
|
167
|
+
self.remote = attributes[:'remote']
|
|
168
|
+
end
|
|
169
|
+
|
|
161
170
|
if attributes.key?(:'namespace')
|
|
162
171
|
self.namespace = attributes[:'namespace']
|
|
163
172
|
end
|
|
@@ -175,22 +184,22 @@ module PulpContainerClient
|
|
|
175
184
|
# @return Array for valid properties with the reasons
|
|
176
185
|
def list_invalid_properties
|
|
177
186
|
invalid_properties = Array.new
|
|
178
|
-
if @base_path.nil?
|
|
179
|
-
invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
|
|
180
|
-
end
|
|
181
|
-
|
|
182
187
|
if @name.nil?
|
|
183
188
|
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
|
184
189
|
end
|
|
185
190
|
|
|
191
|
+
if @base_path.nil?
|
|
192
|
+
invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
|
|
193
|
+
end
|
|
194
|
+
|
|
186
195
|
invalid_properties
|
|
187
196
|
end
|
|
188
197
|
|
|
189
198
|
# Check to see if the all the properties in the model are valid
|
|
190
199
|
# @return true if the model is valid
|
|
191
200
|
def valid?
|
|
192
|
-
return false if @base_path.nil?
|
|
193
201
|
return false if @name.nil?
|
|
202
|
+
return false if @base_path.nil?
|
|
194
203
|
true
|
|
195
204
|
end
|
|
196
205
|
|
|
@@ -199,16 +208,17 @@ module PulpContainerClient
|
|
|
199
208
|
def ==(o)
|
|
200
209
|
return true if self.equal?(o)
|
|
201
210
|
self.class == o.class &&
|
|
202
|
-
|
|
203
|
-
repository == o.repository &&
|
|
211
|
+
content_guard == o.content_guard &&
|
|
204
212
|
pulp_labels == o.pulp_labels &&
|
|
205
|
-
base_path == o.base_path &&
|
|
206
|
-
hidden == o.hidden &&
|
|
207
213
|
pulp_href == o.pulp_href &&
|
|
208
|
-
content_guard == o.content_guard &&
|
|
209
214
|
name == o.name &&
|
|
215
|
+
repository == o.repository &&
|
|
216
|
+
pulp_created == o.pulp_created &&
|
|
217
|
+
base_path == o.base_path &&
|
|
218
|
+
hidden == o.hidden &&
|
|
210
219
|
repository_version == o.repository_version &&
|
|
211
220
|
registry_path == o.registry_path &&
|
|
221
|
+
remote == o.remote &&
|
|
212
222
|
namespace == o.namespace &&
|
|
213
223
|
private == o.private &&
|
|
214
224
|
description == o.description
|
|
@@ -223,7 +233,7 @@ module PulpContainerClient
|
|
|
223
233
|
# Calculates hash code according to all attributes.
|
|
224
234
|
# @return [Integer] Hash code
|
|
225
235
|
def hash
|
|
226
|
-
[
|
|
236
|
+
[content_guard, pulp_labels, pulp_href, name, repository, pulp_created, base_path, hidden, repository_version, registry_path, remote, namespace, private, description].hash
|
|
227
237
|
end
|
|
228
238
|
|
|
229
239
|
# Builds the object from hash
|