pulp_container_client 2.14.18 → 2.15.0.dev1675998739
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.
Potentially problematic release.
This version of pulp_container_client might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/README.md +5 -5
- data/docs/ContainerContainerDistribution.md +6 -6
- data/docs/ContainerContainerDistributionResponse.md +8 -8
- data/docs/ContainerContainerPushRepository.md +5 -5
- data/docs/ContainerContainerPushRepositoryResponse.md +10 -10
- data/docs/ContainerContainerRemoteResponseHiddenFields.md +2 -2
- data/docs/ContentBlobsApi.md +1 -1
- data/docs/ContentManifestsApi.md +1 -1
- data/docs/ContentSignaturesApi.md +1 -1
- data/docs/ContentTagsApi.md +1 -1
- data/docs/DistributionsContainerApi.md +5 -1
- data/docs/PatchedcontainerContainerDistribution.md +6 -6
- data/docs/PatchedcontainerContainerPushRepository.md +5 -5
- data/docs/PulpContainerNamespacesApi.md +1 -1
- data/docs/RemotesContainerApi.md +1 -1
- data/docs/RepositoriesContainerApi.md +17 -1
- data/docs/RepositoriesContainerPushApi.md +17 -1
- data/docs/RepositoriesContainerPushVersionsApi.md +1 -1
- data/docs/RepositoriesContainerVersionsApi.md +1 -1
- data/docs/TokenApi.md +1 -1
- data/lib/pulp_container_client/api/distributions_container_api.rb +6 -0
- data/lib/pulp_container_client/api/repositories_container_api.rb +24 -0
- data/lib/pulp_container_client/api/repositories_container_push_api.rb +24 -0
- data/lib/pulp_container_client/configuration.rb +3 -3
- data/lib/pulp_container_client/models/container_container_distribution.rb +26 -26
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +32 -32
- data/lib/pulp_container_client/models/container_container_push_repository.rb +21 -21
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +42 -42
- data/lib/pulp_container_client/models/container_container_remote_response_hidden_fields.rb +0 -10
- data/lib/pulp_container_client/models/nested_role.rb +19 -0
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +26 -26
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +21 -21
- data/lib/pulp_container_client/version.rb +1 -1
- data/spec/api/distributions_container_api_spec.rb +2 -0
- data/spec/api/repositories_container_api_spec.rb +8 -0
- data/spec/api/repositories_container_push_api_spec.rb +8 -0
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/container_container_distribution_response_spec.rb +6 -6
- data/spec/models/container_container_distribution_spec.rb +4 -4
- data/spec/models/container_container_push_repository_response_spec.rb +7 -7
- data/spec/models/container_container_push_repository_spec.rb +4 -4
- data/spec/models/patchedcontainer_container_distribution_spec.rb +4 -4
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +4 -4
- metadata +63 -63
@@ -15,20 +15,20 @@ require 'date'
|
|
15
15
|
module PulpContainerClient
|
16
16
|
# A serializer for ContainerDistribution.
|
17
17
|
class ContainerContainerDistribution
|
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
|
-
attr_accessor :base_path
|
20
|
-
|
21
|
-
attr_accessor :pulp_labels
|
22
|
-
|
23
|
-
# A unique name. Ex, `rawhide` and `stable`.
|
24
|
-
attr_accessor :name
|
25
|
-
|
26
18
|
# An optional content-guard. If none is specified, a default one will be used.
|
27
19
|
attr_accessor :content_guard
|
28
20
|
|
21
|
+
attr_accessor :pulp_labels
|
22
|
+
|
29
23
|
# The latest RepositoryVersion for this Repository will be served.
|
30
24
|
attr_accessor :repository
|
31
25
|
|
26
|
+
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
27
|
+
attr_accessor :base_path
|
28
|
+
|
29
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
30
|
+
attr_accessor :name
|
31
|
+
|
32
32
|
# RepositoryVersion to be served
|
33
33
|
attr_accessor :repository_version
|
34
34
|
|
@@ -41,11 +41,11 @@ module PulpContainerClient
|
|
41
41
|
# Attribute mapping from ruby-style variable name to JSON key.
|
42
42
|
def self.attribute_map
|
43
43
|
{
|
44
|
-
:'base_path' => :'base_path',
|
45
|
-
:'pulp_labels' => :'pulp_labels',
|
46
|
-
:'name' => :'name',
|
47
44
|
:'content_guard' => :'content_guard',
|
45
|
+
:'pulp_labels' => :'pulp_labels',
|
48
46
|
:'repository' => :'repository',
|
47
|
+
:'base_path' => :'base_path',
|
48
|
+
:'name' => :'name',
|
49
49
|
:'repository_version' => :'repository_version',
|
50
50
|
:'private' => :'private',
|
51
51
|
:'description' => :'description'
|
@@ -55,11 +55,11 @@ module PulpContainerClient
|
|
55
55
|
# Attribute type mapping.
|
56
56
|
def self.openapi_types
|
57
57
|
{
|
58
|
-
:'base_path' => :'String',
|
59
|
-
:'pulp_labels' => :'Hash<String, String>',
|
60
|
-
:'name' => :'String',
|
61
58
|
:'content_guard' => :'String',
|
59
|
+
:'pulp_labels' => :'Hash<String, String>',
|
62
60
|
:'repository' => :'String',
|
61
|
+
:'base_path' => :'String',
|
62
|
+
:'name' => :'String',
|
63
63
|
:'repository_version' => :'String',
|
64
64
|
:'private' => :'Boolean',
|
65
65
|
:'description' => :'String'
|
@@ -90,8 +90,8 @@ module PulpContainerClient
|
|
90
90
|
h[k.to_sym] = v
|
91
91
|
}
|
92
92
|
|
93
|
-
if attributes.key?(:'
|
94
|
-
self.
|
93
|
+
if attributes.key?(:'content_guard')
|
94
|
+
self.content_guard = attributes[:'content_guard']
|
95
95
|
end
|
96
96
|
|
97
97
|
if attributes.key?(:'pulp_labels')
|
@@ -100,16 +100,16 @@ module PulpContainerClient
|
|
100
100
|
end
|
101
101
|
end
|
102
102
|
|
103
|
-
if attributes.key?(:'
|
104
|
-
self.
|
103
|
+
if attributes.key?(:'repository')
|
104
|
+
self.repository = attributes[:'repository']
|
105
105
|
end
|
106
106
|
|
107
|
-
if attributes.key?(:'
|
108
|
-
self.
|
107
|
+
if attributes.key?(:'base_path')
|
108
|
+
self.base_path = attributes[:'base_path']
|
109
109
|
end
|
110
110
|
|
111
|
-
if attributes.key?(:'
|
112
|
-
self.
|
111
|
+
if attributes.key?(:'name')
|
112
|
+
self.name = attributes[:'name']
|
113
113
|
end
|
114
114
|
|
115
115
|
if attributes.key?(:'repository_version')
|
@@ -206,11 +206,11 @@ module PulpContainerClient
|
|
206
206
|
def ==(o)
|
207
207
|
return true if self.equal?(o)
|
208
208
|
self.class == o.class &&
|
209
|
-
base_path == o.base_path &&
|
210
|
-
pulp_labels == o.pulp_labels &&
|
211
|
-
name == o.name &&
|
212
209
|
content_guard == o.content_guard &&
|
210
|
+
pulp_labels == o.pulp_labels &&
|
213
211
|
repository == o.repository &&
|
212
|
+
base_path == o.base_path &&
|
213
|
+
name == o.name &&
|
214
214
|
repository_version == o.repository_version &&
|
215
215
|
private == o.private &&
|
216
216
|
description == o.description
|
@@ -225,7 +225,7 @@ module PulpContainerClient
|
|
225
225
|
# Calculates hash code according to all attributes.
|
226
226
|
# @return [Integer] Hash code
|
227
227
|
def hash
|
228
|
-
[
|
228
|
+
[content_guard, pulp_labels, repository, base_path, name, repository_version, private, description].hash
|
229
229
|
end
|
230
230
|
|
231
231
|
# Builds the object from hash
|
@@ -15,24 +15,24 @@ 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
20
|
|
21
21
|
attr_accessor :pulp_labels
|
22
22
|
|
23
|
+
# The latest RepositoryVersion for this Repository will be served.
|
24
|
+
attr_accessor :repository
|
25
|
+
|
23
26
|
attr_accessor :pulp_href
|
24
27
|
|
25
|
-
#
|
26
|
-
attr_accessor :
|
28
|
+
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
29
|
+
attr_accessor :base_path
|
27
30
|
|
28
31
|
# Timestamp of creation.
|
29
32
|
attr_accessor :pulp_created
|
30
33
|
|
31
|
-
#
|
32
|
-
attr_accessor :
|
33
|
-
|
34
|
-
# The latest RepositoryVersion for this Repository will be served.
|
35
|
-
attr_accessor :repository
|
34
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
35
|
+
attr_accessor :name
|
36
36
|
|
37
37
|
# RepositoryVersion to be served
|
38
38
|
attr_accessor :repository_version
|
@@ -52,13 +52,13 @@ module PulpContainerClient
|
|
52
52
|
# Attribute mapping from ruby-style variable name to JSON key.
|
53
53
|
def self.attribute_map
|
54
54
|
{
|
55
|
-
:'
|
55
|
+
:'content_guard' => :'content_guard',
|
56
56
|
:'pulp_labels' => :'pulp_labels',
|
57
|
+
:'repository' => :'repository',
|
57
58
|
:'pulp_href' => :'pulp_href',
|
58
|
-
:'
|
59
|
+
:'base_path' => :'base_path',
|
59
60
|
:'pulp_created' => :'pulp_created',
|
60
|
-
:'
|
61
|
-
:'repository' => :'repository',
|
61
|
+
:'name' => :'name',
|
62
62
|
:'repository_version' => :'repository_version',
|
63
63
|
:'registry_path' => :'registry_path',
|
64
64
|
:'namespace' => :'namespace',
|
@@ -70,13 +70,13 @@ module PulpContainerClient
|
|
70
70
|
# Attribute type mapping.
|
71
71
|
def self.openapi_types
|
72
72
|
{
|
73
|
-
:'
|
73
|
+
:'content_guard' => :'String',
|
74
74
|
:'pulp_labels' => :'Hash<String, String>',
|
75
|
+
:'repository' => :'String',
|
75
76
|
:'pulp_href' => :'String',
|
76
|
-
:'
|
77
|
+
:'base_path' => :'String',
|
77
78
|
:'pulp_created' => :'DateTime',
|
78
|
-
:'
|
79
|
-
:'repository' => :'String',
|
79
|
+
:'name' => :'String',
|
80
80
|
:'repository_version' => :'String',
|
81
81
|
:'registry_path' => :'String',
|
82
82
|
:'namespace' => :'String',
|
@@ -109,8 +109,8 @@ module PulpContainerClient
|
|
109
109
|
h[k.to_sym] = v
|
110
110
|
}
|
111
111
|
|
112
|
-
if attributes.key?(:'
|
113
|
-
self.
|
112
|
+
if attributes.key?(:'content_guard')
|
113
|
+
self.content_guard = attributes[:'content_guard']
|
114
114
|
end
|
115
115
|
|
116
116
|
if attributes.key?(:'pulp_labels')
|
@@ -119,24 +119,24 @@ module PulpContainerClient
|
|
119
119
|
end
|
120
120
|
end
|
121
121
|
|
122
|
+
if attributes.key?(:'repository')
|
123
|
+
self.repository = attributes[:'repository']
|
124
|
+
end
|
125
|
+
|
122
126
|
if attributes.key?(:'pulp_href')
|
123
127
|
self.pulp_href = attributes[:'pulp_href']
|
124
128
|
end
|
125
129
|
|
126
|
-
if attributes.key?(:'
|
127
|
-
self.
|
130
|
+
if attributes.key?(:'base_path')
|
131
|
+
self.base_path = attributes[:'base_path']
|
128
132
|
end
|
129
133
|
|
130
134
|
if attributes.key?(:'pulp_created')
|
131
135
|
self.pulp_created = attributes[:'pulp_created']
|
132
136
|
end
|
133
137
|
|
134
|
-
if attributes.key?(:'
|
135
|
-
self.
|
136
|
-
end
|
137
|
-
|
138
|
-
if attributes.key?(:'repository')
|
139
|
-
self.repository = attributes[:'repository']
|
138
|
+
if attributes.key?(:'name')
|
139
|
+
self.name = attributes[:'name']
|
140
140
|
end
|
141
141
|
|
142
142
|
if attributes.key?(:'repository_version')
|
@@ -188,13 +188,13 @@ module PulpContainerClient
|
|
188
188
|
def ==(o)
|
189
189
|
return true if self.equal?(o)
|
190
190
|
self.class == o.class &&
|
191
|
-
|
191
|
+
content_guard == o.content_guard &&
|
192
192
|
pulp_labels == o.pulp_labels &&
|
193
|
+
repository == o.repository &&
|
193
194
|
pulp_href == o.pulp_href &&
|
194
|
-
|
195
|
+
base_path == o.base_path &&
|
195
196
|
pulp_created == o.pulp_created &&
|
196
|
-
|
197
|
-
repository == o.repository &&
|
197
|
+
name == o.name &&
|
198
198
|
repository_version == o.repository_version &&
|
199
199
|
registry_path == o.registry_path &&
|
200
200
|
namespace == o.namespace &&
|
@@ -211,7 +211,7 @@ module PulpContainerClient
|
|
211
211
|
# Calculates hash code according to all attributes.
|
212
212
|
# @return [Integer] Hash code
|
213
213
|
def hash
|
214
|
-
[
|
214
|
+
[content_guard, pulp_labels, repository, pulp_href, base_path, pulp_created, name, repository_version, registry_path, namespace, private, description].hash
|
215
215
|
end
|
216
216
|
|
217
217
|
# Builds the object from hash
|
@@ -18,25 +18,25 @@ module PulpContainerClient
|
|
18
18
|
# Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future.
|
19
19
|
attr_accessor :retain_repo_versions
|
20
20
|
|
21
|
+
attr_accessor :pulp_labels
|
22
|
+
|
21
23
|
# An optional description.
|
22
24
|
attr_accessor :description
|
23
25
|
|
24
|
-
|
26
|
+
# A reference to an associated signing service.
|
27
|
+
attr_accessor :manifest_signing_service
|
25
28
|
|
26
29
|
# A unique name for this repository.
|
27
30
|
attr_accessor :name
|
28
31
|
|
29
|
-
# A reference to an associated signing service.
|
30
|
-
attr_accessor :manifest_signing_service
|
31
|
-
|
32
32
|
# Attribute mapping from ruby-style variable name to JSON key.
|
33
33
|
def self.attribute_map
|
34
34
|
{
|
35
35
|
:'retain_repo_versions' => :'retain_repo_versions',
|
36
|
-
:'description' => :'description',
|
37
36
|
:'pulp_labels' => :'pulp_labels',
|
38
|
-
:'
|
39
|
-
:'manifest_signing_service' => :'manifest_signing_service'
|
37
|
+
:'description' => :'description',
|
38
|
+
:'manifest_signing_service' => :'manifest_signing_service',
|
39
|
+
:'name' => :'name'
|
40
40
|
}
|
41
41
|
end
|
42
42
|
|
@@ -44,10 +44,10 @@ module PulpContainerClient
|
|
44
44
|
def self.openapi_types
|
45
45
|
{
|
46
46
|
:'retain_repo_versions' => :'Integer',
|
47
|
-
:'description' => :'String',
|
48
47
|
:'pulp_labels' => :'Hash<String, String>',
|
49
|
-
:'
|
50
|
-
:'manifest_signing_service' => :'String'
|
48
|
+
:'description' => :'String',
|
49
|
+
:'manifest_signing_service' => :'String',
|
50
|
+
:'name' => :'String'
|
51
51
|
}
|
52
52
|
end
|
53
53
|
|
@@ -56,7 +56,7 @@ module PulpContainerClient
|
|
56
56
|
Set.new([
|
57
57
|
:'retain_repo_versions',
|
58
58
|
:'description',
|
59
|
-
:'manifest_signing_service'
|
59
|
+
:'manifest_signing_service',
|
60
60
|
])
|
61
61
|
end
|
62
62
|
|
@@ -79,23 +79,23 @@ module PulpContainerClient
|
|
79
79
|
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
80
80
|
end
|
81
81
|
|
82
|
-
if attributes.key?(:'description')
|
83
|
-
self.description = attributes[:'description']
|
84
|
-
end
|
85
|
-
|
86
82
|
if attributes.key?(:'pulp_labels')
|
87
83
|
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
88
84
|
self.pulp_labels = value
|
89
85
|
end
|
90
86
|
end
|
91
87
|
|
92
|
-
if attributes.key?(:'
|
93
|
-
self.
|
88
|
+
if attributes.key?(:'description')
|
89
|
+
self.description = attributes[:'description']
|
94
90
|
end
|
95
91
|
|
96
92
|
if attributes.key?(:'manifest_signing_service')
|
97
93
|
self.manifest_signing_service = attributes[:'manifest_signing_service']
|
98
94
|
end
|
95
|
+
|
96
|
+
if attributes.key?(:'name')
|
97
|
+
self.name = attributes[:'name']
|
98
|
+
end
|
99
99
|
end
|
100
100
|
|
101
101
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -171,10 +171,10 @@ module PulpContainerClient
|
|
171
171
|
return true if self.equal?(o)
|
172
172
|
self.class == o.class &&
|
173
173
|
retain_repo_versions == o.retain_repo_versions &&
|
174
|
-
description == o.description &&
|
175
174
|
pulp_labels == o.pulp_labels &&
|
176
|
-
|
177
|
-
manifest_signing_service == o.manifest_signing_service
|
175
|
+
description == o.description &&
|
176
|
+
manifest_signing_service == o.manifest_signing_service &&
|
177
|
+
name == o.name
|
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
|
-
[retain_repo_versions, description,
|
189
|
+
[retain_repo_versions, pulp_labels, description, manifest_signing_service, name].hash
|
190
190
|
end
|
191
191
|
|
192
192
|
# Builds the object from hash
|
@@ -18,38 +18,38 @@ module PulpContainerClient
|
|
18
18
|
# Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future.
|
19
19
|
attr_accessor :retain_repo_versions
|
20
20
|
|
21
|
-
|
22
|
-
attr_accessor :description
|
21
|
+
attr_accessor :pulp_labels
|
23
22
|
|
24
|
-
attr_accessor :
|
23
|
+
attr_accessor :versions_href
|
25
24
|
|
26
|
-
attr_accessor :
|
25
|
+
attr_accessor :latest_version_href
|
27
26
|
|
28
27
|
attr_accessor :pulp_href
|
29
28
|
|
30
|
-
#
|
31
|
-
attr_accessor :
|
32
|
-
|
33
|
-
# Timestamp of creation.
|
34
|
-
attr_accessor :pulp_created
|
29
|
+
# An optional description.
|
30
|
+
attr_accessor :description
|
35
31
|
|
36
32
|
# A reference to an associated signing service.
|
37
33
|
attr_accessor :manifest_signing_service
|
38
34
|
|
39
|
-
|
35
|
+
# Timestamp of creation.
|
36
|
+
attr_accessor :pulp_created
|
37
|
+
|
38
|
+
# A unique name for this repository.
|
39
|
+
attr_accessor :name
|
40
40
|
|
41
41
|
# Attribute mapping from ruby-style variable name to JSON key.
|
42
42
|
def self.attribute_map
|
43
43
|
{
|
44
44
|
:'retain_repo_versions' => :'retain_repo_versions',
|
45
|
-
:'description' => :'description',
|
46
|
-
:'latest_version_href' => :'latest_version_href',
|
47
45
|
:'pulp_labels' => :'pulp_labels',
|
46
|
+
:'versions_href' => :'versions_href',
|
47
|
+
:'latest_version_href' => :'latest_version_href',
|
48
48
|
:'pulp_href' => :'pulp_href',
|
49
|
-
:'
|
50
|
-
:'pulp_created' => :'pulp_created',
|
49
|
+
:'description' => :'description',
|
51
50
|
:'manifest_signing_service' => :'manifest_signing_service',
|
52
|
-
:'
|
51
|
+
:'pulp_created' => :'pulp_created',
|
52
|
+
:'name' => :'name'
|
53
53
|
}
|
54
54
|
end
|
55
55
|
|
@@ -57,14 +57,14 @@ module PulpContainerClient
|
|
57
57
|
def self.openapi_types
|
58
58
|
{
|
59
59
|
:'retain_repo_versions' => :'Integer',
|
60
|
-
:'description' => :'String',
|
61
|
-
:'latest_version_href' => :'String',
|
62
60
|
:'pulp_labels' => :'Hash<String, String>',
|
61
|
+
:'versions_href' => :'String',
|
62
|
+
:'latest_version_href' => :'String',
|
63
63
|
:'pulp_href' => :'String',
|
64
|
-
:'
|
65
|
-
:'pulp_created' => :'DateTime',
|
64
|
+
:'description' => :'String',
|
66
65
|
:'manifest_signing_service' => :'String',
|
67
|
-
:'
|
66
|
+
:'pulp_created' => :'DateTime',
|
67
|
+
:'name' => :'String'
|
68
68
|
}
|
69
69
|
end
|
70
70
|
|
@@ -96,38 +96,38 @@ module PulpContainerClient
|
|
96
96
|
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
97
97
|
end
|
98
98
|
|
99
|
-
if attributes.key?(:'description')
|
100
|
-
self.description = attributes[:'description']
|
101
|
-
end
|
102
|
-
|
103
|
-
if attributes.key?(:'latest_version_href')
|
104
|
-
self.latest_version_href = attributes[:'latest_version_href']
|
105
|
-
end
|
106
|
-
|
107
99
|
if attributes.key?(:'pulp_labels')
|
108
100
|
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
109
101
|
self.pulp_labels = value
|
110
102
|
end
|
111
103
|
end
|
112
104
|
|
113
|
-
if attributes.key?(:'
|
114
|
-
self.
|
105
|
+
if attributes.key?(:'versions_href')
|
106
|
+
self.versions_href = attributes[:'versions_href']
|
115
107
|
end
|
116
108
|
|
117
|
-
if attributes.key?(:'
|
118
|
-
self.
|
109
|
+
if attributes.key?(:'latest_version_href')
|
110
|
+
self.latest_version_href = attributes[:'latest_version_href']
|
119
111
|
end
|
120
112
|
|
121
|
-
if attributes.key?(:'
|
122
|
-
self.
|
113
|
+
if attributes.key?(:'pulp_href')
|
114
|
+
self.pulp_href = attributes[:'pulp_href']
|
115
|
+
end
|
116
|
+
|
117
|
+
if attributes.key?(:'description')
|
118
|
+
self.description = attributes[:'description']
|
123
119
|
end
|
124
120
|
|
125
121
|
if attributes.key?(:'manifest_signing_service')
|
126
122
|
self.manifest_signing_service = attributes[:'manifest_signing_service']
|
127
123
|
end
|
128
124
|
|
129
|
-
if attributes.key?(:'
|
130
|
-
self.
|
125
|
+
if attributes.key?(:'pulp_created')
|
126
|
+
self.pulp_created = attributes[:'pulp_created']
|
127
|
+
end
|
128
|
+
|
129
|
+
if attributes.key?(:'name')
|
130
|
+
self.name = attributes[:'name']
|
131
131
|
end
|
132
132
|
end
|
133
133
|
|
@@ -170,14 +170,14 @@ module PulpContainerClient
|
|
170
170
|
return true if self.equal?(o)
|
171
171
|
self.class == o.class &&
|
172
172
|
retain_repo_versions == o.retain_repo_versions &&
|
173
|
-
description == o.description &&
|
174
|
-
latest_version_href == o.latest_version_href &&
|
175
173
|
pulp_labels == o.pulp_labels &&
|
174
|
+
versions_href == o.versions_href &&
|
175
|
+
latest_version_href == o.latest_version_href &&
|
176
176
|
pulp_href == o.pulp_href &&
|
177
|
-
|
178
|
-
pulp_created == o.pulp_created &&
|
177
|
+
description == o.description &&
|
179
178
|
manifest_signing_service == o.manifest_signing_service &&
|
180
|
-
|
179
|
+
pulp_created == o.pulp_created &&
|
180
|
+
name == o.name
|
181
181
|
end
|
182
182
|
|
183
183
|
# @see the `==` method
|
@@ -189,7 +189,7 @@ module PulpContainerClient
|
|
189
189
|
# Calculates hash code according to all attributes.
|
190
190
|
# @return [Integer] Hash code
|
191
191
|
def hash
|
192
|
-
[retain_repo_versions,
|
192
|
+
[retain_repo_versions, pulp_labels, versions_href, latest_version_href, pulp_href, description, manifest_signing_service, pulp_created, name].hash
|
193
193
|
end
|
194
194
|
|
195
195
|
# Builds the object from hash
|
@@ -68,22 +68,12 @@ module PulpContainerClient
|
|
68
68
|
# @return Array for valid properties with the reasons
|
69
69
|
def list_invalid_properties
|
70
70
|
invalid_properties = Array.new
|
71
|
-
if @name.nil?
|
72
|
-
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
73
|
-
end
|
74
|
-
|
75
|
-
if @is_set.nil?
|
76
|
-
invalid_properties.push('invalid value for "is_set", is_set cannot be nil.')
|
77
|
-
end
|
78
|
-
|
79
71
|
invalid_properties
|
80
72
|
end
|
81
73
|
|
82
74
|
# Check to see if the all the properties in the model are valid
|
83
75
|
# @return true if the model is valid
|
84
76
|
def valid?
|
85
|
-
return false if @name.nil?
|
86
|
-
return false if @is_set.nil?
|
87
77
|
true
|
88
78
|
end
|
89
79
|
|
@@ -85,6 +85,10 @@ module PulpContainerClient
|
|
85
85
|
invalid_properties.push('invalid value for "role", role cannot be nil.')
|
86
86
|
end
|
87
87
|
|
88
|
+
if @role.to_s.length < 1
|
89
|
+
invalid_properties.push('invalid value for "role", the character length must be great than or equal to 1.')
|
90
|
+
end
|
91
|
+
|
88
92
|
invalid_properties
|
89
93
|
end
|
90
94
|
|
@@ -92,9 +96,24 @@ module PulpContainerClient
|
|
92
96
|
# @return true if the model is valid
|
93
97
|
def valid?
|
94
98
|
return false if @role.nil?
|
99
|
+
return false if @role.to_s.length < 1
|
95
100
|
true
|
96
101
|
end
|
97
102
|
|
103
|
+
# Custom attribute writer method with validation
|
104
|
+
# @param [Object] role Value to be assigned
|
105
|
+
def role=(role)
|
106
|
+
if role.nil?
|
107
|
+
fail ArgumentError, 'role cannot be nil'
|
108
|
+
end
|
109
|
+
|
110
|
+
if role.to_s.length < 1
|
111
|
+
fail ArgumentError, 'invalid value for "role", the character length must be great than or equal to 1.'
|
112
|
+
end
|
113
|
+
|
114
|
+
@role = role
|
115
|
+
end
|
116
|
+
|
98
117
|
# Checks equality by comparing each attribute.
|
99
118
|
# @param [Object] Object to be compared
|
100
119
|
def ==(o)
|