pulp_container_client 2.3.0.dev01611547658 → 2.3.0.dev01612063510
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 +10 -10
- data/docs/ContainerContainerDistribution.md +7 -5
- data/docs/ContainerContainerDistributionResponse.md +8 -6
- data/docs/ContainerContainerPushRepositoryResponse.md +2 -0
- data/docs/ContainerContainerRemote.md +4 -0
- data/docs/ContainerContainerRemoteResponse.md +4 -0
- data/docs/ContainerContainerRepository.md +3 -1
- data/docs/ContainerContainerRepositoryResponse.md +2 -0
- data/docs/{ContentguardsContentRedirectApi.md → ContentGuardsContentRedirectApi.md} +19 -19
- data/docs/PatchedcontainerContainerDistribution.md +7 -5
- data/docs/PatchedcontainerContainerRemote.md +4 -0
- data/docs/PatchedcontainerContainerRepository.md +3 -1
- data/lib/pulp_container_client.rb +1 -1
- data/lib/pulp_container_client/api/{contentguards_content_redirect_api.rb → content_guards_content_redirect_api.rb} +22 -22
- data/lib/pulp_container_client/models/container_container_distribution.rb +28 -19
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +35 -26
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +10 -1
- data/lib/pulp_container_client/models/container_container_remote.rb +21 -1
- data/lib/pulp_container_client/models/container_container_remote_response.rb +21 -1
- data/lib/pulp_container_client/models/container_container_repository.rb +10 -1
- data/lib/pulp_container_client/models/container_container_repository_response.rb +10 -1
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +28 -19
- data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +21 -1
- data/lib/pulp_container_client/models/patchedcontainer_container_repository.rb +10 -1
- data/lib/pulp_container_client/version.rb +1 -1
- data/spec/api/{contentguards_content_redirect_api_spec.rb → content_guards_content_redirect_api_spec.rb} +6 -6
- data/spec/models/container_container_distribution_response_spec.rb +10 -4
- data/spec/models/container_container_distribution_spec.rb +8 -2
- data/spec/models/container_container_push_repository_response_spec.rb +6 -0
- data/spec/models/container_container_remote_response_spec.rb +12 -0
- data/spec/models/container_container_remote_spec.rb +12 -0
- data/spec/models/container_container_repository_response_spec.rb +6 -0
- data/spec/models/container_container_repository_spec.rb +6 -0
- data/spec/models/patchedcontainer_container_distribution_spec.rb +8 -2
- data/spec/models/patchedcontainer_container_remote_spec.rb +12 -0
- data/spec/models/patchedcontainer_container_repository_spec.rb +6 -0
- metadata +43 -43
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.2.3
|
|
13
13
|
require 'cgi'
|
14
14
|
|
15
15
|
module PulpContainerClient
|
16
|
-
class
|
16
|
+
class ContentGuardsContentRedirectApi
|
17
17
|
attr_accessor :api_client
|
18
18
|
|
19
19
|
def initialize(api_client = ApiClient.default)
|
@@ -36,14 +36,14 @@ module PulpContainerClient
|
|
36
36
|
# @return [Array<(ContainerContentRedirectContentGuardResponse, Integer, Hash)>] ContainerContentRedirectContentGuardResponse data, response status code and response headers
|
37
37
|
def create_with_http_info(container_content_redirect_content_guard, opts = {})
|
38
38
|
if @api_client.config.debugging
|
39
|
-
@api_client.config.logger.debug 'Calling API:
|
39
|
+
@api_client.config.logger.debug 'Calling API: ContentGuardsContentRedirectApi.create ...'
|
40
40
|
end
|
41
41
|
# verify the required parameter 'container_content_redirect_content_guard' is set
|
42
42
|
if @api_client.config.client_side_validation && container_content_redirect_content_guard.nil?
|
43
|
-
fail ArgumentError, "Missing the required parameter 'container_content_redirect_content_guard' when calling
|
43
|
+
fail ArgumentError, "Missing the required parameter 'container_content_redirect_content_guard' when calling ContentGuardsContentRedirectApi.create"
|
44
44
|
end
|
45
45
|
# resource path
|
46
|
-
local_var_path = '/pulp/api/v3/
|
46
|
+
local_var_path = '/pulp/api/v3/content_guards/container/content_redirect/'
|
47
47
|
|
48
48
|
# query parameters
|
49
49
|
query_params = opts[:query_params] || {}
|
@@ -78,7 +78,7 @@ module PulpContainerClient
|
|
78
78
|
|
79
79
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
80
80
|
if @api_client.config.debugging
|
81
|
-
@api_client.config.logger.debug "API called:
|
81
|
+
@api_client.config.logger.debug "API called: ContentGuardsContentRedirectApi#create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
82
82
|
end
|
83
83
|
return data, status_code, headers
|
84
84
|
end
|
@@ -100,11 +100,11 @@ module PulpContainerClient
|
|
100
100
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
101
101
|
def delete_with_http_info(container_content_redirect_content_guard_href, opts = {})
|
102
102
|
if @api_client.config.debugging
|
103
|
-
@api_client.config.logger.debug 'Calling API:
|
103
|
+
@api_client.config.logger.debug 'Calling API: ContentGuardsContentRedirectApi.delete ...'
|
104
104
|
end
|
105
105
|
# verify the required parameter 'container_content_redirect_content_guard_href' is set
|
106
106
|
if @api_client.config.client_side_validation && container_content_redirect_content_guard_href.nil?
|
107
|
-
fail ArgumentError, "Missing the required parameter 'container_content_redirect_content_guard_href' when calling
|
107
|
+
fail ArgumentError, "Missing the required parameter 'container_content_redirect_content_guard_href' when calling ContentGuardsContentRedirectApi.delete"
|
108
108
|
end
|
109
109
|
# resource path
|
110
110
|
local_var_path = '{container_content_redirect_content_guard_href}'.sub('{' + 'container_content_redirect_content_guard_href' + '}', CGI.escape(container_content_redirect_content_guard_href.to_s).gsub('%2F', '/'))
|
@@ -138,7 +138,7 @@ module PulpContainerClient
|
|
138
138
|
|
139
139
|
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
140
140
|
if @api_client.config.debugging
|
141
|
-
@api_client.config.logger.debug "API called:
|
141
|
+
@api_client.config.logger.debug "API called: ContentGuardsContentRedirectApi#delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
142
142
|
end
|
143
143
|
return data, status_code, headers
|
144
144
|
end
|
@@ -178,10 +178,10 @@ module PulpContainerClient
|
|
178
178
|
# @return [Array<(PaginatedcontainerContentRedirectContentGuardResponseList, Integer, Hash)>] PaginatedcontainerContentRedirectContentGuardResponseList data, response status code and response headers
|
179
179
|
def list_with_http_info(opts = {})
|
180
180
|
if @api_client.config.debugging
|
181
|
-
@api_client.config.logger.debug 'Calling API:
|
181
|
+
@api_client.config.logger.debug 'Calling API: ContentGuardsContentRedirectApi.list ...'
|
182
182
|
end
|
183
183
|
# resource path
|
184
|
-
local_var_path = '/pulp/api/v3/
|
184
|
+
local_var_path = '/pulp/api/v3/content_guards/container/content_redirect/'
|
185
185
|
|
186
186
|
# query parameters
|
187
187
|
query_params = opts[:query_params] || {}
|
@@ -224,7 +224,7 @@ module PulpContainerClient
|
|
224
224
|
|
225
225
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
226
226
|
if @api_client.config.debugging
|
227
|
-
@api_client.config.logger.debug "API called:
|
227
|
+
@api_client.config.logger.debug "API called: ContentGuardsContentRedirectApi#list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
228
228
|
end
|
229
229
|
return data, status_code, headers
|
230
230
|
end
|
@@ -248,15 +248,15 @@ module PulpContainerClient
|
|
248
248
|
# @return [Array<(ContainerContentRedirectContentGuardResponse, Integer, Hash)>] ContainerContentRedirectContentGuardResponse data, response status code and response headers
|
249
249
|
def partial_update_with_http_info(container_content_redirect_content_guard_href, patchedcontainer_content_redirect_content_guard, opts = {})
|
250
250
|
if @api_client.config.debugging
|
251
|
-
@api_client.config.logger.debug 'Calling API:
|
251
|
+
@api_client.config.logger.debug 'Calling API: ContentGuardsContentRedirectApi.partial_update ...'
|
252
252
|
end
|
253
253
|
# verify the required parameter 'container_content_redirect_content_guard_href' is set
|
254
254
|
if @api_client.config.client_side_validation && container_content_redirect_content_guard_href.nil?
|
255
|
-
fail ArgumentError, "Missing the required parameter 'container_content_redirect_content_guard_href' when calling
|
255
|
+
fail ArgumentError, "Missing the required parameter 'container_content_redirect_content_guard_href' when calling ContentGuardsContentRedirectApi.partial_update"
|
256
256
|
end
|
257
257
|
# verify the required parameter 'patchedcontainer_content_redirect_content_guard' is set
|
258
258
|
if @api_client.config.client_side_validation && patchedcontainer_content_redirect_content_guard.nil?
|
259
|
-
fail ArgumentError, "Missing the required parameter 'patchedcontainer_content_redirect_content_guard' when calling
|
259
|
+
fail ArgumentError, "Missing the required parameter 'patchedcontainer_content_redirect_content_guard' when calling ContentGuardsContentRedirectApi.partial_update"
|
260
260
|
end
|
261
261
|
# resource path
|
262
262
|
local_var_path = '{container_content_redirect_content_guard_href}'.sub('{' + 'container_content_redirect_content_guard_href' + '}', CGI.escape(container_content_redirect_content_guard_href.to_s).gsub('%2F', '/'))
|
@@ -294,7 +294,7 @@ module PulpContainerClient
|
|
294
294
|
|
295
295
|
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
|
296
296
|
if @api_client.config.debugging
|
297
|
-
@api_client.config.logger.debug "API called:
|
297
|
+
@api_client.config.logger.debug "API called: ContentGuardsContentRedirectApi#partial_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
298
298
|
end
|
299
299
|
return data, status_code, headers
|
300
300
|
end
|
@@ -320,11 +320,11 @@ module PulpContainerClient
|
|
320
320
|
# @return [Array<(ContainerContentRedirectContentGuardResponse, Integer, Hash)>] ContainerContentRedirectContentGuardResponse data, response status code and response headers
|
321
321
|
def read_with_http_info(container_content_redirect_content_guard_href, opts = {})
|
322
322
|
if @api_client.config.debugging
|
323
|
-
@api_client.config.logger.debug 'Calling API:
|
323
|
+
@api_client.config.logger.debug 'Calling API: ContentGuardsContentRedirectApi.read ...'
|
324
324
|
end
|
325
325
|
# verify the required parameter 'container_content_redirect_content_guard_href' is set
|
326
326
|
if @api_client.config.client_side_validation && container_content_redirect_content_guard_href.nil?
|
327
|
-
fail ArgumentError, "Missing the required parameter 'container_content_redirect_content_guard_href' when calling
|
327
|
+
fail ArgumentError, "Missing the required parameter 'container_content_redirect_content_guard_href' when calling ContentGuardsContentRedirectApi.read"
|
328
328
|
end
|
329
329
|
# resource path
|
330
330
|
local_var_path = '{container_content_redirect_content_guard_href}'.sub('{' + 'container_content_redirect_content_guard_href' + '}', CGI.escape(container_content_redirect_content_guard_href.to_s).gsub('%2F', '/'))
|
@@ -362,7 +362,7 @@ module PulpContainerClient
|
|
362
362
|
|
363
363
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
364
364
|
if @api_client.config.debugging
|
365
|
-
@api_client.config.logger.debug "API called:
|
365
|
+
@api_client.config.logger.debug "API called: ContentGuardsContentRedirectApi#read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
366
366
|
end
|
367
367
|
return data, status_code, headers
|
368
368
|
end
|
@@ -386,15 +386,15 @@ module PulpContainerClient
|
|
386
386
|
# @return [Array<(ContainerContentRedirectContentGuardResponse, Integer, Hash)>] ContainerContentRedirectContentGuardResponse data, response status code and response headers
|
387
387
|
def update_with_http_info(container_content_redirect_content_guard_href, container_content_redirect_content_guard, opts = {})
|
388
388
|
if @api_client.config.debugging
|
389
|
-
@api_client.config.logger.debug 'Calling API:
|
389
|
+
@api_client.config.logger.debug 'Calling API: ContentGuardsContentRedirectApi.update ...'
|
390
390
|
end
|
391
391
|
# verify the required parameter 'container_content_redirect_content_guard_href' is set
|
392
392
|
if @api_client.config.client_side_validation && container_content_redirect_content_guard_href.nil?
|
393
|
-
fail ArgumentError, "Missing the required parameter 'container_content_redirect_content_guard_href' when calling
|
393
|
+
fail ArgumentError, "Missing the required parameter 'container_content_redirect_content_guard_href' when calling ContentGuardsContentRedirectApi.update"
|
394
394
|
end
|
395
395
|
# verify the required parameter 'container_content_redirect_content_guard' is set
|
396
396
|
if @api_client.config.client_side_validation && container_content_redirect_content_guard.nil?
|
397
|
-
fail ArgumentError, "Missing the required parameter 'container_content_redirect_content_guard' when calling
|
397
|
+
fail ArgumentError, "Missing the required parameter 'container_content_redirect_content_guard' when calling ContentGuardsContentRedirectApi.update"
|
398
398
|
end
|
399
399
|
# resource path
|
400
400
|
local_var_path = '{container_content_redirect_content_guard_href}'.sub('{' + 'container_content_redirect_content_guard_href' + '}', CGI.escape(container_content_redirect_content_guard_href.to_s).gsub('%2F', '/'))
|
@@ -432,7 +432,7 @@ module PulpContainerClient
|
|
432
432
|
|
433
433
|
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
434
434
|
if @api_client.config.debugging
|
435
|
-
@api_client.config.logger.debug "API called:
|
435
|
+
@api_client.config.logger.debug "API called: ContentGuardsContentRedirectApi#update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
436
436
|
end
|
437
437
|
return data, status_code, headers
|
438
438
|
end
|
@@ -18,26 +18,29 @@ 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 :
|
21
|
+
# The latest RepositoryVersion for this Repository will be served.
|
22
|
+
attr_accessor :repository
|
23
23
|
|
24
24
|
# RepositoryVersion to be served
|
25
25
|
attr_accessor :repository_version
|
26
26
|
|
27
|
-
#
|
28
|
-
attr_accessor :
|
27
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
28
|
+
attr_accessor :content_guard
|
29
29
|
|
30
30
|
# A unique name. Ex, `rawhide` and `stable`.
|
31
31
|
attr_accessor :name
|
32
32
|
|
33
|
+
attr_accessor :pulp_labels
|
34
|
+
|
33
35
|
# Attribute mapping from ruby-style variable name to JSON key.
|
34
36
|
def self.attribute_map
|
35
37
|
{
|
36
38
|
:'base_path' => :'base_path',
|
37
|
-
:'content_guard' => :'content_guard',
|
38
|
-
:'repository_version' => :'repository_version',
|
39
39
|
:'repository' => :'repository',
|
40
|
-
:'
|
40
|
+
:'repository_version' => :'repository_version',
|
41
|
+
:'content_guard' => :'content_guard',
|
42
|
+
:'name' => :'name',
|
43
|
+
:'pulp_labels' => :'pulp_labels'
|
41
44
|
}
|
42
45
|
end
|
43
46
|
|
@@ -45,18 +48,19 @@ module PulpContainerClient
|
|
45
48
|
def self.openapi_types
|
46
49
|
{
|
47
50
|
:'base_path' => :'String',
|
48
|
-
:'content_guard' => :'String',
|
49
|
-
:'repository_version' => :'String',
|
50
51
|
:'repository' => :'String',
|
51
|
-
:'
|
52
|
+
:'repository_version' => :'String',
|
53
|
+
:'content_guard' => :'String',
|
54
|
+
:'name' => :'String',
|
55
|
+
:'pulp_labels' => :'Object'
|
52
56
|
}
|
53
57
|
end
|
54
58
|
|
55
59
|
# List of attributes with nullable: true
|
56
60
|
def self.openapi_nullable
|
57
61
|
Set.new([
|
58
|
-
:'repository_version',
|
59
62
|
:'repository',
|
63
|
+
:'repository_version',
|
60
64
|
])
|
61
65
|
end
|
62
66
|
|
@@ -79,21 +83,25 @@ module PulpContainerClient
|
|
79
83
|
self.base_path = attributes[:'base_path']
|
80
84
|
end
|
81
85
|
|
82
|
-
if attributes.key?(:'
|
83
|
-
self.
|
86
|
+
if attributes.key?(:'repository')
|
87
|
+
self.repository = attributes[:'repository']
|
84
88
|
end
|
85
89
|
|
86
90
|
if attributes.key?(:'repository_version')
|
87
91
|
self.repository_version = attributes[:'repository_version']
|
88
92
|
end
|
89
93
|
|
90
|
-
if attributes.key?(:'
|
91
|
-
self.
|
94
|
+
if attributes.key?(:'content_guard')
|
95
|
+
self.content_guard = attributes[:'content_guard']
|
92
96
|
end
|
93
97
|
|
94
98
|
if attributes.key?(:'name')
|
95
99
|
self.name = attributes[:'name']
|
96
100
|
end
|
101
|
+
|
102
|
+
if attributes.key?(:'pulp_labels')
|
103
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
104
|
+
end
|
97
105
|
end
|
98
106
|
|
99
107
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -125,10 +133,11 @@ module PulpContainerClient
|
|
125
133
|
return true if self.equal?(o)
|
126
134
|
self.class == o.class &&
|
127
135
|
base_path == o.base_path &&
|
128
|
-
content_guard == o.content_guard &&
|
129
|
-
repository_version == o.repository_version &&
|
130
136
|
repository == o.repository &&
|
131
|
-
|
137
|
+
repository_version == o.repository_version &&
|
138
|
+
content_guard == o.content_guard &&
|
139
|
+
name == o.name &&
|
140
|
+
pulp_labels == o.pulp_labels
|
132
141
|
end
|
133
142
|
|
134
143
|
# @see the `==` method
|
@@ -140,7 +149,7 @@ module PulpContainerClient
|
|
140
149
|
# Calculates hash code according to all attributes.
|
141
150
|
# @return [Integer] Hash code
|
142
151
|
def hash
|
143
|
-
[base_path,
|
152
|
+
[base_path, repository, repository_version, content_guard, name, pulp_labels].hash
|
144
153
|
end
|
145
154
|
|
146
155
|
# Builds the object from hash
|
@@ -18,23 +18,25 @@ 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 :
|
21
|
+
# The latest RepositoryVersion for this Repository will be served.
|
22
|
+
attr_accessor :repository
|
23
23
|
|
24
|
-
|
24
|
+
# Timestamp of creation.
|
25
|
+
attr_accessor :pulp_created
|
25
26
|
|
26
27
|
# RepositoryVersion to be served
|
27
28
|
attr_accessor :repository_version
|
28
29
|
|
29
|
-
#
|
30
|
-
attr_accessor :
|
30
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
31
|
+
attr_accessor :content_guard
|
31
32
|
|
32
|
-
|
33
|
-
attr_accessor :repository
|
33
|
+
attr_accessor :pulp_href
|
34
34
|
|
35
35
|
# A unique name. Ex, `rawhide` and `stable`.
|
36
36
|
attr_accessor :name
|
37
37
|
|
38
|
+
attr_accessor :pulp_labels
|
39
|
+
|
38
40
|
# The Registry hostame/name/ to use with docker pull command defined by this distribution.
|
39
41
|
attr_accessor :registry_path
|
40
42
|
|
@@ -45,12 +47,13 @@ module PulpContainerClient
|
|
45
47
|
def self.attribute_map
|
46
48
|
{
|
47
49
|
:'base_path' => :'base_path',
|
50
|
+
:'repository' => :'repository',
|
51
|
+
:'pulp_created' => :'pulp_created',
|
52
|
+
:'repository_version' => :'repository_version',
|
48
53
|
:'content_guard' => :'content_guard',
|
49
54
|
:'pulp_href' => :'pulp_href',
|
50
|
-
:'repository_version' => :'repository_version',
|
51
|
-
:'pulp_created' => :'pulp_created',
|
52
|
-
:'repository' => :'repository',
|
53
55
|
:'name' => :'name',
|
56
|
+
:'pulp_labels' => :'pulp_labels',
|
54
57
|
:'registry_path' => :'registry_path',
|
55
58
|
:'namespace' => :'namespace'
|
56
59
|
}
|
@@ -60,12 +63,13 @@ module PulpContainerClient
|
|
60
63
|
def self.openapi_types
|
61
64
|
{
|
62
65
|
:'base_path' => :'String',
|
66
|
+
:'repository' => :'String',
|
67
|
+
:'pulp_created' => :'DateTime',
|
68
|
+
:'repository_version' => :'String',
|
63
69
|
:'content_guard' => :'String',
|
64
70
|
:'pulp_href' => :'String',
|
65
|
-
:'repository_version' => :'String',
|
66
|
-
:'pulp_created' => :'DateTime',
|
67
|
-
:'repository' => :'String',
|
68
71
|
:'name' => :'String',
|
72
|
+
:'pulp_labels' => :'Object',
|
69
73
|
:'registry_path' => :'String',
|
70
74
|
:'namespace' => :'String'
|
71
75
|
}
|
@@ -74,8 +78,8 @@ module PulpContainerClient
|
|
74
78
|
# List of attributes with nullable: true
|
75
79
|
def self.openapi_nullable
|
76
80
|
Set.new([
|
77
|
-
:'repository_version',
|
78
81
|
:'repository',
|
82
|
+
:'repository_version',
|
79
83
|
])
|
80
84
|
end
|
81
85
|
|
@@ -98,30 +102,34 @@ module PulpContainerClient
|
|
98
102
|
self.base_path = attributes[:'base_path']
|
99
103
|
end
|
100
104
|
|
101
|
-
if attributes.key?(:'
|
102
|
-
self.
|
105
|
+
if attributes.key?(:'repository')
|
106
|
+
self.repository = attributes[:'repository']
|
103
107
|
end
|
104
108
|
|
105
|
-
if attributes.key?(:'
|
106
|
-
self.
|
109
|
+
if attributes.key?(:'pulp_created')
|
110
|
+
self.pulp_created = attributes[:'pulp_created']
|
107
111
|
end
|
108
112
|
|
109
113
|
if attributes.key?(:'repository_version')
|
110
114
|
self.repository_version = attributes[:'repository_version']
|
111
115
|
end
|
112
116
|
|
113
|
-
if attributes.key?(:'
|
114
|
-
self.
|
117
|
+
if attributes.key?(:'content_guard')
|
118
|
+
self.content_guard = attributes[:'content_guard']
|
115
119
|
end
|
116
120
|
|
117
|
-
if attributes.key?(:'
|
118
|
-
self.
|
121
|
+
if attributes.key?(:'pulp_href')
|
122
|
+
self.pulp_href = attributes[:'pulp_href']
|
119
123
|
end
|
120
124
|
|
121
125
|
if attributes.key?(:'name')
|
122
126
|
self.name = attributes[:'name']
|
123
127
|
end
|
124
128
|
|
129
|
+
if attributes.key?(:'pulp_labels')
|
130
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
131
|
+
end
|
132
|
+
|
125
133
|
if attributes.key?(:'registry_path')
|
126
134
|
self.registry_path = attributes[:'registry_path']
|
127
135
|
end
|
@@ -160,12 +168,13 @@ module PulpContainerClient
|
|
160
168
|
return true if self.equal?(o)
|
161
169
|
self.class == o.class &&
|
162
170
|
base_path == o.base_path &&
|
171
|
+
repository == o.repository &&
|
172
|
+
pulp_created == o.pulp_created &&
|
173
|
+
repository_version == o.repository_version &&
|
163
174
|
content_guard == o.content_guard &&
|
164
175
|
pulp_href == o.pulp_href &&
|
165
|
-
repository_version == o.repository_version &&
|
166
|
-
pulp_created == o.pulp_created &&
|
167
|
-
repository == o.repository &&
|
168
176
|
name == o.name &&
|
177
|
+
pulp_labels == o.pulp_labels &&
|
169
178
|
registry_path == o.registry_path &&
|
170
179
|
namespace == o.namespace
|
171
180
|
end
|
@@ -179,7 +188,7 @@ module PulpContainerClient
|
|
179
188
|
# Calculates hash code according to all attributes.
|
180
189
|
# @return [Integer] Hash code
|
181
190
|
def hash
|
182
|
-
[base_path,
|
191
|
+
[base_path, repository, pulp_created, repository_version, content_guard, pulp_href, name, pulp_labels, registry_path, namespace].hash
|
183
192
|
end
|
184
193
|
|
185
194
|
# Builds the object from hash
|
@@ -22,6 +22,8 @@ module PulpContainerClient
|
|
22
22
|
|
23
23
|
attr_accessor :versions_href
|
24
24
|
|
25
|
+
attr_accessor :pulp_labels
|
26
|
+
|
25
27
|
attr_accessor :latest_version_href
|
26
28
|
|
27
29
|
# A unique name for this repository.
|
@@ -38,6 +40,7 @@ module PulpContainerClient
|
|
38
40
|
:'pulp_href' => :'pulp_href',
|
39
41
|
:'pulp_created' => :'pulp_created',
|
40
42
|
:'versions_href' => :'versions_href',
|
43
|
+
:'pulp_labels' => :'pulp_labels',
|
41
44
|
:'latest_version_href' => :'latest_version_href',
|
42
45
|
:'name' => :'name',
|
43
46
|
:'description' => :'description',
|
@@ -51,6 +54,7 @@ module PulpContainerClient
|
|
51
54
|
:'pulp_href' => :'String',
|
52
55
|
:'pulp_created' => :'DateTime',
|
53
56
|
:'versions_href' => :'String',
|
57
|
+
:'pulp_labels' => :'Object',
|
54
58
|
:'latest_version_href' => :'String',
|
55
59
|
:'name' => :'String',
|
56
60
|
:'description' => :'String',
|
@@ -93,6 +97,10 @@ module PulpContainerClient
|
|
93
97
|
self.versions_href = attributes[:'versions_href']
|
94
98
|
end
|
95
99
|
|
100
|
+
if attributes.key?(:'pulp_labels')
|
101
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
102
|
+
end
|
103
|
+
|
96
104
|
if attributes.key?(:'latest_version_href')
|
97
105
|
self.latest_version_href = attributes[:'latest_version_href']
|
98
106
|
end
|
@@ -136,6 +144,7 @@ module PulpContainerClient
|
|
136
144
|
pulp_href == o.pulp_href &&
|
137
145
|
pulp_created == o.pulp_created &&
|
138
146
|
versions_href == o.versions_href &&
|
147
|
+
pulp_labels == o.pulp_labels &&
|
139
148
|
latest_version_href == o.latest_version_href &&
|
140
149
|
name == o.name &&
|
141
150
|
description == o.description &&
|
@@ -151,7 +160,7 @@ module PulpContainerClient
|
|
151
160
|
# Calculates hash code according to all attributes.
|
152
161
|
# @return [Integer] Hash code
|
153
162
|
def hash
|
154
|
-
[pulp_href, pulp_created, versions_href, latest_version_href, name, description, remote].hash
|
163
|
+
[pulp_href, pulp_created, versions_href, pulp_labels, latest_version_href, name, description, remote].hash
|
155
164
|
end
|
156
165
|
|
157
166
|
# Builds the object from hash
|