pulp_container_client 2.5.3 → 2.5.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/README.md +4 -4
- data/docs/ContainerContainerDistribution.md +8 -8
- data/docs/ContainerContainerDistributionResponse.md +10 -10
- data/docs/ManifestCopy.md +1 -1
- data/docs/PatchedcontainerContainerDistribution.md +8 -8
- data/docs/RecursiveManage.md +1 -1
- data/docs/TagCopy.md +1 -1
- data/lib/pulp_container_client/api/content_blobs_api.rb +1 -1
- data/lib/pulp_container_client/api/content_manifests_api.rb +1 -1
- data/lib/pulp_container_client/api/content_tags_api.rb +1 -1
- data/lib/pulp_container_client/api/contentguards_content_redirect_api.rb +1 -1
- data/lib/pulp_container_client/api/distributions_container_api.rb +1 -1
- data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +1 -1
- data/lib/pulp_container_client/api/remotes_container_api.rb +1 -1
- data/lib/pulp_container_client/api/repositories_container_api.rb +1 -1
- data/lib/pulp_container_client/api/repositories_container_push_api.rb +1 -1
- data/lib/pulp_container_client/api/repositories_container_versions_api.rb +1 -1
- data/lib/pulp_container_client/api/token_api.rb +1 -1
- data/lib/pulp_container_client/api_client.rb +12 -8
- data/lib/pulp_container_client/api_error.rb +1 -1
- data/lib/pulp_container_client/configuration.rb +8 -1
- data/lib/pulp_container_client/models/async_operation_response.rb +1 -1
- data/lib/pulp_container_client/models/container_blob_response.rb +1 -1
- data/lib/pulp_container_client/models/container_container_distribution.rb +41 -41
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +52 -52
- data/lib/pulp_container_client/models/container_container_namespace.rb +1 -1
- data/lib/pulp_container_client/models/container_container_namespace_response.rb +1 -1
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +1 -1
- data/lib/pulp_container_client/models/container_container_remote.rb +1 -1
- data/lib/pulp_container_client/models/container_container_remote_response.rb +1 -1
- data/lib/pulp_container_client/models/container_container_repository.rb +1 -1
- data/lib/pulp_container_client/models/container_container_repository_response.rb +1 -1
- data/lib/pulp_container_client/models/container_content_redirect_content_guard.rb +1 -1
- data/lib/pulp_container_client/models/container_content_redirect_content_guard_response.rb +1 -1
- data/lib/pulp_container_client/models/container_manifest_response.rb +1 -1
- data/lib/pulp_container_client/models/container_tag_response.rb +1 -1
- data/lib/pulp_container_client/models/content_summary.rb +1 -1
- data/lib/pulp_container_client/models/content_summary_response.rb +1 -1
- data/lib/pulp_container_client/models/manifest_copy.rb +2 -2
- data/lib/pulp_container_client/models/media_types_enum.rb +1 -1
- data/lib/pulp_container_client/models/oci_build_image.rb +1 -1
- data/lib/pulp_container_client/models/paginated_repository_version_response_list.rb +1 -1
- data/lib/pulp_container_client/models/paginatedcontainer_blob_response_list.rb +1 -1
- data/lib/pulp_container_client/models/paginatedcontainer_container_distribution_response_list.rb +1 -1
- data/lib/pulp_container_client/models/paginatedcontainer_container_namespace_response_list.rb +1 -1
- data/lib/pulp_container_client/models/paginatedcontainer_container_push_repository_response_list.rb +1 -1
- data/lib/pulp_container_client/models/paginatedcontainer_container_remote_response_list.rb +1 -1
- data/lib/pulp_container_client/models/paginatedcontainer_container_repository_response_list.rb +1 -1
- data/lib/pulp_container_client/models/paginatedcontainer_content_redirect_content_guard_response_list.rb +1 -1
- data/lib/pulp_container_client/models/paginatedcontainer_manifest_response_list.rb +1 -1
- data/lib/pulp_container_client/models/paginatedcontainer_tag_response_list.rb +1 -1
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +36 -36
- data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +1 -1
- data/lib/pulp_container_client/models/patchedcontainer_container_repository.rb +1 -1
- data/lib/pulp_container_client/models/patchedcontainer_content_redirect_content_guard.rb +1 -1
- data/lib/pulp_container_client/models/policy_enum.rb +1 -1
- data/lib/pulp_container_client/models/recursive_manage.rb +2 -2
- data/lib/pulp_container_client/models/remove_image.rb +1 -1
- data/lib/pulp_container_client/models/repository_sync_url.rb +1 -1
- data/lib/pulp_container_client/models/repository_version.rb +1 -1
- data/lib/pulp_container_client/models/repository_version_response.rb +1 -1
- data/lib/pulp_container_client/models/tag_copy.rb +2 -2
- data/lib/pulp_container_client/models/tag_image.rb +1 -1
- data/lib/pulp_container_client/models/un_tag_image.rb +1 -1
- data/lib/pulp_container_client/version.rb +2 -2
- data/lib/pulp_container_client.rb +1 -1
- data/pulp_container_client.gemspec +1 -1
- data/spec/api/content_blobs_api_spec.rb +1 -1
- data/spec/api/content_manifests_api_spec.rb +1 -1
- data/spec/api/content_tags_api_spec.rb +1 -1
- data/spec/api/contentguards_content_redirect_api_spec.rb +1 -1
- data/spec/api/distributions_container_api_spec.rb +1 -1
- data/spec/api/pulp_container_namespaces_api_spec.rb +1 -1
- data/spec/api/remotes_container_api_spec.rb +1 -1
- data/spec/api/repositories_container_api_spec.rb +1 -1
- data/spec/api/repositories_container_push_api_spec.rb +1 -1
- data/spec/api/repositories_container_versions_api_spec.rb +1 -1
- data/spec/api/token_api_spec.rb +1 -1
- data/spec/api_client_spec.rb +2 -2
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/async_operation_response_spec.rb +1 -1
- data/spec/models/container_blob_response_spec.rb +1 -1
- data/spec/models/container_container_distribution_response_spec.rb +9 -9
- data/spec/models/container_container_distribution_spec.rb +7 -7
- data/spec/models/container_container_namespace_response_spec.rb +1 -1
- data/spec/models/container_container_namespace_spec.rb +1 -1
- data/spec/models/container_container_push_repository_response_spec.rb +1 -1
- data/spec/models/container_container_remote_response_spec.rb +1 -1
- data/spec/models/container_container_remote_spec.rb +1 -1
- data/spec/models/container_container_repository_response_spec.rb +1 -1
- data/spec/models/container_container_repository_spec.rb +1 -1
- data/spec/models/container_content_redirect_content_guard_response_spec.rb +1 -1
- data/spec/models/container_content_redirect_content_guard_spec.rb +1 -1
- data/spec/models/container_manifest_response_spec.rb +1 -1
- data/spec/models/container_tag_response_spec.rb +1 -1
- data/spec/models/content_summary_response_spec.rb +1 -1
- data/spec/models/content_summary_spec.rb +1 -1
- data/spec/models/manifest_copy_spec.rb +1 -1
- data/spec/models/media_types_enum_spec.rb +1 -1
- data/spec/models/oci_build_image_spec.rb +1 -1
- data/spec/models/paginated_repository_version_response_list_spec.rb +1 -1
- data/spec/models/paginatedcontainer_blob_response_list_spec.rb +1 -1
- data/spec/models/paginatedcontainer_container_distribution_response_list_spec.rb +1 -1
- data/spec/models/paginatedcontainer_container_namespace_response_list_spec.rb +1 -1
- data/spec/models/paginatedcontainer_container_push_repository_response_list_spec.rb +1 -1
- data/spec/models/paginatedcontainer_container_remote_response_list_spec.rb +1 -1
- data/spec/models/paginatedcontainer_container_repository_response_list_spec.rb +1 -1
- data/spec/models/paginatedcontainer_content_redirect_content_guard_response_list_spec.rb +1 -1
- data/spec/models/paginatedcontainer_manifest_response_list_spec.rb +1 -1
- data/spec/models/paginatedcontainer_tag_response_list_spec.rb +1 -1
- data/spec/models/patchedcontainer_container_distribution_spec.rb +7 -7
- data/spec/models/patchedcontainer_container_remote_spec.rb +1 -1
- data/spec/models/patchedcontainer_container_repository_spec.rb +1 -1
- data/spec/models/patchedcontainer_content_redirect_content_guard_spec.rb +1 -1
- data/spec/models/policy_enum_spec.rb +1 -1
- data/spec/models/recursive_manage_spec.rb +1 -1
- data/spec/models/remove_image_spec.rb +1 -1
- data/spec/models/repository_sync_url_spec.rb +1 -1
- data/spec/models/repository_version_response_spec.rb +1 -1
- data/spec/models/repository_version_spec.rb +1 -1
- data/spec/models/tag_copy_spec.rb +1 -1
- data/spec/models/tag_image_spec.rb +1 -1
- data/spec/models/un_tag_image_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +42 -42
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -15,28 +15,28 @@ require 'date'
|
|
15
15
|
module PulpContainerClient
|
16
16
|
# A serializer for ContainerDistribution.
|
17
17
|
class ContainerContainerDistributionResponse
|
18
|
-
# An optional content-guard. If none is specified, a default one will be used.
|
19
|
-
attr_accessor :content_guard
|
20
|
-
|
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
|
-
attr_accessor :base_path
|
23
|
-
|
24
|
-
attr_accessor :pulp_href
|
25
|
-
|
26
|
-
attr_accessor :pulp_labels
|
27
|
-
|
28
|
-
# RepositoryVersion to be served
|
29
|
-
attr_accessor :repository_version
|
30
|
-
|
31
18
|
# The latest RepositoryVersion for this Repository will be served.
|
32
19
|
attr_accessor :repository
|
33
20
|
|
21
|
+
attr_accessor :pulp_labels
|
22
|
+
|
34
23
|
# A unique name. Ex, `rawhide` and `stable`.
|
35
24
|
attr_accessor :name
|
36
25
|
|
37
26
|
# Timestamp of creation.
|
38
27
|
attr_accessor :pulp_created
|
39
28
|
|
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\")
|
30
|
+
attr_accessor :base_path
|
31
|
+
|
32
|
+
# RepositoryVersion to be served
|
33
|
+
attr_accessor :repository_version
|
34
|
+
|
35
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
36
|
+
attr_accessor :content_guard
|
37
|
+
|
38
|
+
attr_accessor :pulp_href
|
39
|
+
|
40
40
|
# The Registry hostame/name/ to use with docker pull command defined by this distribution.
|
41
41
|
attr_accessor :registry_path
|
42
42
|
|
@@ -52,14 +52,14 @@ module PulpContainerClient
|
|
52
52
|
# Attribute mapping from ruby-style variable name to JSON key.
|
53
53
|
def self.attribute_map
|
54
54
|
{
|
55
|
-
:'content_guard' => :'content_guard',
|
56
|
-
:'base_path' => :'base_path',
|
57
|
-
:'pulp_href' => :'pulp_href',
|
58
|
-
:'pulp_labels' => :'pulp_labels',
|
59
|
-
:'repository_version' => :'repository_version',
|
60
55
|
:'repository' => :'repository',
|
56
|
+
:'pulp_labels' => :'pulp_labels',
|
61
57
|
:'name' => :'name',
|
62
58
|
:'pulp_created' => :'pulp_created',
|
59
|
+
:'base_path' => :'base_path',
|
60
|
+
:'repository_version' => :'repository_version',
|
61
|
+
:'content_guard' => :'content_guard',
|
62
|
+
:'pulp_href' => :'pulp_href',
|
63
63
|
:'registry_path' => :'registry_path',
|
64
64
|
:'namespace' => :'namespace',
|
65
65
|
:'private' => :'private',
|
@@ -70,14 +70,14 @@ module PulpContainerClient
|
|
70
70
|
# Attribute type mapping.
|
71
71
|
def self.openapi_types
|
72
72
|
{
|
73
|
-
:'content_guard' => :'String',
|
74
|
-
:'base_path' => :'String',
|
75
|
-
:'pulp_href' => :'String',
|
76
|
-
:'pulp_labels' => :'Object',
|
77
|
-
:'repository_version' => :'String',
|
78
73
|
:'repository' => :'String',
|
74
|
+
:'pulp_labels' => :'Object',
|
79
75
|
:'name' => :'String',
|
80
76
|
:'pulp_created' => :'DateTime',
|
77
|
+
:'base_path' => :'String',
|
78
|
+
:'repository_version' => :'String',
|
79
|
+
:'content_guard' => :'String',
|
80
|
+
:'pulp_href' => :'String',
|
81
81
|
:'registry_path' => :'String',
|
82
82
|
:'namespace' => :'String',
|
83
83
|
:'private' => :'Boolean',
|
@@ -88,8 +88,8 @@ module PulpContainerClient
|
|
88
88
|
# List of attributes with nullable: true
|
89
89
|
def self.openapi_nullable
|
90
90
|
Set.new([
|
91
|
-
:'repository_version',
|
92
91
|
:'repository',
|
92
|
+
:'repository_version',
|
93
93
|
:'description'
|
94
94
|
])
|
95
95
|
end
|
@@ -109,36 +109,36 @@ module PulpContainerClient
|
|
109
109
|
h[k.to_sym] = v
|
110
110
|
}
|
111
111
|
|
112
|
-
if attributes.key?(:'
|
113
|
-
self.
|
112
|
+
if attributes.key?(:'repository')
|
113
|
+
self.repository = attributes[:'repository']
|
114
114
|
end
|
115
115
|
|
116
|
-
if attributes.key?(:'
|
117
|
-
self.
|
116
|
+
if attributes.key?(:'pulp_labels')
|
117
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
118
118
|
end
|
119
119
|
|
120
|
-
if attributes.key?(:'
|
121
|
-
self.
|
120
|
+
if attributes.key?(:'name')
|
121
|
+
self.name = attributes[:'name']
|
122
122
|
end
|
123
123
|
|
124
|
-
if attributes.key?(:'
|
125
|
-
self.
|
124
|
+
if attributes.key?(:'pulp_created')
|
125
|
+
self.pulp_created = attributes[:'pulp_created']
|
126
126
|
end
|
127
127
|
|
128
|
-
if attributes.key?(:'
|
129
|
-
self.
|
128
|
+
if attributes.key?(:'base_path')
|
129
|
+
self.base_path = attributes[:'base_path']
|
130
130
|
end
|
131
131
|
|
132
|
-
if attributes.key?(:'
|
133
|
-
self.
|
132
|
+
if attributes.key?(:'repository_version')
|
133
|
+
self.repository_version = attributes[:'repository_version']
|
134
134
|
end
|
135
135
|
|
136
|
-
if attributes.key?(:'
|
137
|
-
self.
|
136
|
+
if attributes.key?(:'content_guard')
|
137
|
+
self.content_guard = attributes[:'content_guard']
|
138
138
|
end
|
139
139
|
|
140
|
-
if attributes.key?(:'
|
141
|
-
self.
|
140
|
+
if attributes.key?(:'pulp_href')
|
141
|
+
self.pulp_href = attributes[:'pulp_href']
|
142
142
|
end
|
143
143
|
|
144
144
|
if attributes.key?(:'registry_path')
|
@@ -162,22 +162,22 @@ module PulpContainerClient
|
|
162
162
|
# @return Array for valid properties with the reasons
|
163
163
|
def list_invalid_properties
|
164
164
|
invalid_properties = Array.new
|
165
|
-
if @base_path.nil?
|
166
|
-
invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
|
167
|
-
end
|
168
|
-
|
169
165
|
if @name.nil?
|
170
166
|
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
171
167
|
end
|
172
168
|
|
169
|
+
if @base_path.nil?
|
170
|
+
invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
|
171
|
+
end
|
172
|
+
|
173
173
|
invalid_properties
|
174
174
|
end
|
175
175
|
|
176
176
|
# Check to see if the all the properties in the model are valid
|
177
177
|
# @return true if the model is valid
|
178
178
|
def valid?
|
179
|
-
return false if @base_path.nil?
|
180
179
|
return false if @name.nil?
|
180
|
+
return false if @base_path.nil?
|
181
181
|
true
|
182
182
|
end
|
183
183
|
|
@@ -186,14 +186,14 @@ module PulpContainerClient
|
|
186
186
|
def ==(o)
|
187
187
|
return true if self.equal?(o)
|
188
188
|
self.class == o.class &&
|
189
|
-
content_guard == o.content_guard &&
|
190
|
-
base_path == o.base_path &&
|
191
|
-
pulp_href == o.pulp_href &&
|
192
|
-
pulp_labels == o.pulp_labels &&
|
193
|
-
repository_version == o.repository_version &&
|
194
189
|
repository == o.repository &&
|
190
|
+
pulp_labels == o.pulp_labels &&
|
195
191
|
name == o.name &&
|
196
192
|
pulp_created == o.pulp_created &&
|
193
|
+
base_path == o.base_path &&
|
194
|
+
repository_version == o.repository_version &&
|
195
|
+
content_guard == o.content_guard &&
|
196
|
+
pulp_href == o.pulp_href &&
|
197
197
|
registry_path == o.registry_path &&
|
198
198
|
namespace == o.namespace &&
|
199
199
|
private == o.private &&
|
@@ -209,7 +209,7 @@ module PulpContainerClient
|
|
209
209
|
# Calculates hash code according to all attributes.
|
210
210
|
# @return [Integer] Hash code
|
211
211
|
def hash
|
212
|
-
[
|
212
|
+
[repository, pulp_labels, name, pulp_created, base_path, repository_version, content_guard, pulp_href, registry_path, namespace, private, description].hash
|
213
213
|
end
|
214
214
|
|
215
215
|
# Builds the object from hash
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -42,7 +42,7 @@ module PulpContainerClient
|
|
42
42
|
{
|
43
43
|
:'source_repository' => :'String',
|
44
44
|
:'source_repository_version' => :'String',
|
45
|
-
:'digests' => :'Array<
|
45
|
+
:'digests' => :'Array<AnyType>',
|
46
46
|
:'media_types' => :'Array<MediaTypesEnum>'
|
47
47
|
}
|
48
48
|
end
|
@@ -6,7 +6,7 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
OpenAPI Generator version: 4.
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -15,22 +15,22 @@ require 'date'
|
|
15
15
|
module PulpContainerClient
|
16
16
|
# A serializer for ContainerDistribution.
|
17
17
|
class PatchedcontainerContainerDistribution
|
18
|
-
#
|
19
|
-
attr_accessor :
|
18
|
+
# The latest RepositoryVersion for this Repository will be served.
|
19
|
+
attr_accessor :repository
|
20
|
+
|
21
|
+
attr_accessor :pulp_labels
|
22
|
+
|
23
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
24
|
+
attr_accessor :name
|
20
25
|
|
21
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\")
|
22
27
|
attr_accessor :base_path
|
23
28
|
|
24
|
-
attr_accessor :pulp_labels
|
25
|
-
|
26
29
|
# RepositoryVersion to be served
|
27
30
|
attr_accessor :repository_version
|
28
31
|
|
29
|
-
#
|
30
|
-
attr_accessor :
|
31
|
-
|
32
|
-
# A unique name. Ex, `rawhide` and `stable`.
|
33
|
-
attr_accessor :name
|
32
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
33
|
+
attr_accessor :content_guard
|
34
34
|
|
35
35
|
# Restrict pull access to explicitly authorized users. Defaults to unrestricted pull access.
|
36
36
|
attr_accessor :private
|
@@ -41,12 +41,12 @@ module PulpContainerClient
|
|
41
41
|
# Attribute mapping from ruby-style variable name to JSON key.
|
42
42
|
def self.attribute_map
|
43
43
|
{
|
44
|
-
:'content_guard' => :'content_guard',
|
45
|
-
:'base_path' => :'base_path',
|
46
|
-
:'pulp_labels' => :'pulp_labels',
|
47
|
-
:'repository_version' => :'repository_version',
|
48
44
|
:'repository' => :'repository',
|
45
|
+
:'pulp_labels' => :'pulp_labels',
|
49
46
|
:'name' => :'name',
|
47
|
+
:'base_path' => :'base_path',
|
48
|
+
:'repository_version' => :'repository_version',
|
49
|
+
:'content_guard' => :'content_guard',
|
50
50
|
:'private' => :'private',
|
51
51
|
:'description' => :'description'
|
52
52
|
}
|
@@ -55,12 +55,12 @@ module PulpContainerClient
|
|
55
55
|
# Attribute type mapping.
|
56
56
|
def self.openapi_types
|
57
57
|
{
|
58
|
-
:'content_guard' => :'String',
|
59
|
-
:'base_path' => :'String',
|
60
|
-
:'pulp_labels' => :'Object',
|
61
|
-
:'repository_version' => :'String',
|
62
58
|
:'repository' => :'String',
|
59
|
+
:'pulp_labels' => :'Object',
|
63
60
|
:'name' => :'String',
|
61
|
+
:'base_path' => :'String',
|
62
|
+
:'repository_version' => :'String',
|
63
|
+
:'content_guard' => :'String',
|
64
64
|
:'private' => :'Boolean',
|
65
65
|
:'description' => :'String'
|
66
66
|
}
|
@@ -69,8 +69,8 @@ module PulpContainerClient
|
|
69
69
|
# List of attributes with nullable: true
|
70
70
|
def self.openapi_nullable
|
71
71
|
Set.new([
|
72
|
-
:'repository_version',
|
73
72
|
:'repository',
|
73
|
+
:'repository_version',
|
74
74
|
:'description'
|
75
75
|
])
|
76
76
|
end
|
@@ -90,28 +90,28 @@ module PulpContainerClient
|
|
90
90
|
h[k.to_sym] = v
|
91
91
|
}
|
92
92
|
|
93
|
-
if attributes.key?(:'
|
94
|
-
self.
|
95
|
-
end
|
96
|
-
|
97
|
-
if attributes.key?(:'base_path')
|
98
|
-
self.base_path = attributes[:'base_path']
|
93
|
+
if attributes.key?(:'repository')
|
94
|
+
self.repository = attributes[:'repository']
|
99
95
|
end
|
100
96
|
|
101
97
|
if attributes.key?(:'pulp_labels')
|
102
98
|
self.pulp_labels = attributes[:'pulp_labels']
|
103
99
|
end
|
104
100
|
|
105
|
-
if attributes.key?(:'
|
106
|
-
self.
|
101
|
+
if attributes.key?(:'name')
|
102
|
+
self.name = attributes[:'name']
|
107
103
|
end
|
108
104
|
|
109
|
-
if attributes.key?(:'
|
110
|
-
self.
|
105
|
+
if attributes.key?(:'base_path')
|
106
|
+
self.base_path = attributes[:'base_path']
|
111
107
|
end
|
112
108
|
|
113
|
-
if attributes.key?(:'
|
114
|
-
self.
|
109
|
+
if attributes.key?(:'repository_version')
|
110
|
+
self.repository_version = attributes[:'repository_version']
|
111
|
+
end
|
112
|
+
|
113
|
+
if attributes.key?(:'content_guard')
|
114
|
+
self.content_guard = attributes[:'content_guard']
|
115
115
|
end
|
116
116
|
|
117
117
|
if attributes.key?(:'private')
|
@@ -141,12 +141,12 @@ module PulpContainerClient
|
|
141
141
|
def ==(o)
|
142
142
|
return true if self.equal?(o)
|
143
143
|
self.class == o.class &&
|
144
|
-
content_guard == o.content_guard &&
|
145
|
-
base_path == o.base_path &&
|
146
|
-
pulp_labels == o.pulp_labels &&
|
147
|
-
repository_version == o.repository_version &&
|
148
144
|
repository == o.repository &&
|
145
|
+
pulp_labels == o.pulp_labels &&
|
149
146
|
name == o.name &&
|
147
|
+
base_path == o.base_path &&
|
148
|
+
repository_version == o.repository_version &&
|
149
|
+
content_guard == o.content_guard &&
|
150
150
|
private == o.private &&
|
151
151
|
description == o.description
|
152
152
|
end
|
@@ -160,7 +160,7 @@ module PulpContainerClient
|
|
160
160
|
# Calculates hash code according to all attributes.
|
161
161
|
# @return [Integer] Hash code
|
162
162
|
def hash
|
163
|
-
[
|
163
|
+
[repository, pulp_labels, name, base_path, repository_version, content_guard, private, description].hash
|
164
164
|
end
|
165
165
|
|
166
166
|
# Builds the object from hash
|