pulp_container_client 2.3.0.dev01611717997 → 2.3.0.dev01612322499
Sign up to get free protection for your applications and to get access to all the features.
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 +5 -3
- 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/DistributionsContainerApi.md +2 -0
- data/docs/PatchedcontainerContainerDistribution.md +5 -3
- data/docs/PatchedcontainerContainerRemote.md +4 -0
- data/docs/PatchedcontainerContainerRepository.md +3 -1
- data/docs/RemotesContainerApi.md +2 -0
- data/docs/RepositoriesContainerApi.md +2 -0
- data/docs/RepositoriesContainerPushApi.md +2 -0
- 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/api/distributions_container_api.rb +3 -0
- data/lib/pulp_container_client/api/remotes_container_api.rb +3 -0
- data/lib/pulp_container_client/api/repositories_container_api.rb +3 -0
- data/lib/pulp_container_client/api/repositories_container_push_api.rb +3 -0
- data/lib/pulp_container_client/models/container_container_distribution.rb +24 -15
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +30 -21
- 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 +24 -15
- 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/api/distributions_container_api_spec.rb +1 -0
- data/spec/api/remotes_container_api_spec.rb +1 -0
- data/spec/api/repositories_container_api_spec.rb +1 -0
- data/spec/api/repositories_container_push_api_spec.rb +1 -0
- data/spec/models/container_container_distribution_response_spec.rb +9 -3
- data/spec/models/container_container_distribution_spec.rb +9 -3
- 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 +9 -3
- data/spec/models/patchedcontainer_container_remote_spec.rb +12 -0
- data/spec/models/patchedcontainer_container_repository_spec.rb +6 -0
- metadata +43 -43
@@ -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
|
@@ -42,6 +42,8 @@ module PulpContainerClient
|
|
42
42
|
# The password to be used for authentication when syncing.
|
43
43
|
attr_accessor :password
|
44
44
|
|
45
|
+
attr_accessor :pulp_labels
|
46
|
+
|
45
47
|
# Total number of simultaneous connections.
|
46
48
|
attr_accessor :download_concurrency
|
47
49
|
|
@@ -60,6 +62,9 @@ module PulpContainerClient
|
|
60
62
|
# aiohttp.ClientTimeout.sock_read (q.v.) for download-connections.
|
61
63
|
attr_accessor :sock_read_timeout
|
62
64
|
|
65
|
+
# Limits total download rate in requests per second
|
66
|
+
attr_accessor :rate_limit
|
67
|
+
|
63
68
|
# Name of the upstream repository
|
64
69
|
attr_accessor :upstream_name
|
65
70
|
|
@@ -81,12 +86,14 @@ module PulpContainerClient
|
|
81
86
|
:'proxy_url' => :'proxy_url',
|
82
87
|
:'username' => :'username',
|
83
88
|
:'password' => :'password',
|
89
|
+
:'pulp_labels' => :'pulp_labels',
|
84
90
|
:'download_concurrency' => :'download_concurrency',
|
85
91
|
:'policy' => :'policy',
|
86
92
|
:'total_timeout' => :'total_timeout',
|
87
93
|
:'connect_timeout' => :'connect_timeout',
|
88
94
|
:'sock_connect_timeout' => :'sock_connect_timeout',
|
89
95
|
:'sock_read_timeout' => :'sock_read_timeout',
|
96
|
+
:'rate_limit' => :'rate_limit',
|
90
97
|
:'upstream_name' => :'upstream_name',
|
91
98
|
:'include_tags' => :'include_tags',
|
92
99
|
:'exclude_tags' => :'exclude_tags'
|
@@ -105,12 +112,14 @@ module PulpContainerClient
|
|
105
112
|
:'proxy_url' => :'String',
|
106
113
|
:'username' => :'String',
|
107
114
|
:'password' => :'String',
|
115
|
+
:'pulp_labels' => :'Object',
|
108
116
|
:'download_concurrency' => :'Integer',
|
109
117
|
:'policy' => :'PolicyEnum',
|
110
118
|
:'total_timeout' => :'Float',
|
111
119
|
:'connect_timeout' => :'Float',
|
112
120
|
:'sock_connect_timeout' => :'Float',
|
113
121
|
:'sock_read_timeout' => :'Float',
|
122
|
+
:'rate_limit' => :'Integer',
|
114
123
|
:'upstream_name' => :'String',
|
115
124
|
:'include_tags' => :'Array<String>',
|
116
125
|
:'exclude_tags' => :'Array<String>'
|
@@ -130,6 +139,7 @@ module PulpContainerClient
|
|
130
139
|
:'connect_timeout',
|
131
140
|
:'sock_connect_timeout',
|
132
141
|
:'sock_read_timeout',
|
142
|
+
:'rate_limit',
|
133
143
|
:'include_tags',
|
134
144
|
:'exclude_tags'
|
135
145
|
])
|
@@ -186,6 +196,10 @@ module PulpContainerClient
|
|
186
196
|
self.password = attributes[:'password']
|
187
197
|
end
|
188
198
|
|
199
|
+
if attributes.key?(:'pulp_labels')
|
200
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
201
|
+
end
|
202
|
+
|
189
203
|
if attributes.key?(:'download_concurrency')
|
190
204
|
self.download_concurrency = attributes[:'download_concurrency']
|
191
205
|
end
|
@@ -210,6 +224,10 @@ module PulpContainerClient
|
|
210
224
|
self.sock_read_timeout = attributes[:'sock_read_timeout']
|
211
225
|
end
|
212
226
|
|
227
|
+
if attributes.key?(:'rate_limit')
|
228
|
+
self.rate_limit = attributes[:'rate_limit']
|
229
|
+
end
|
230
|
+
|
213
231
|
if attributes.key?(:'upstream_name')
|
214
232
|
self.upstream_name = attributes[:'upstream_name']
|
215
233
|
end
|
@@ -344,12 +362,14 @@ module PulpContainerClient
|
|
344
362
|
proxy_url == o.proxy_url &&
|
345
363
|
username == o.username &&
|
346
364
|
password == o.password &&
|
365
|
+
pulp_labels == o.pulp_labels &&
|
347
366
|
download_concurrency == o.download_concurrency &&
|
348
367
|
policy == o.policy &&
|
349
368
|
total_timeout == o.total_timeout &&
|
350
369
|
connect_timeout == o.connect_timeout &&
|
351
370
|
sock_connect_timeout == o.sock_connect_timeout &&
|
352
371
|
sock_read_timeout == o.sock_read_timeout &&
|
372
|
+
rate_limit == o.rate_limit &&
|
353
373
|
upstream_name == o.upstream_name &&
|
354
374
|
include_tags == o.include_tags &&
|
355
375
|
exclude_tags == o.exclude_tags
|
@@ -364,7 +384,7 @@ module PulpContainerClient
|
|
364
384
|
# Calculates hash code according to all attributes.
|
365
385
|
# @return [Integer] Hash code
|
366
386
|
def hash
|
367
|
-
[name, url, ca_cert, client_cert, client_key, tls_validation, proxy_url, username, password, download_concurrency, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, upstream_name, include_tags, exclude_tags].hash
|
387
|
+
[name, url, ca_cert, client_cert, client_key, tls_validation, proxy_url, username, password, pulp_labels, download_concurrency, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, rate_limit, upstream_name, include_tags, exclude_tags].hash
|
368
388
|
end
|
369
389
|
|
370
390
|
# Builds the object from hash
|
@@ -47,6 +47,8 @@ module PulpContainerClient
|
|
47
47
|
# The password to be used for authentication when syncing.
|
48
48
|
attr_accessor :password
|
49
49
|
|
50
|
+
attr_accessor :pulp_labels
|
51
|
+
|
50
52
|
# Timestamp of the most recent update of the remote.
|
51
53
|
attr_accessor :pulp_last_updated
|
52
54
|
|
@@ -68,6 +70,9 @@ module PulpContainerClient
|
|
68
70
|
# aiohttp.ClientTimeout.sock_read (q.v.) for download-connections.
|
69
71
|
attr_accessor :sock_read_timeout
|
70
72
|
|
73
|
+
# Limits total download rate in requests per second
|
74
|
+
attr_accessor :rate_limit
|
75
|
+
|
71
76
|
# Name of the upstream repository
|
72
77
|
attr_accessor :upstream_name
|
73
78
|
|
@@ -91,6 +96,7 @@ module PulpContainerClient
|
|
91
96
|
:'proxy_url' => :'proxy_url',
|
92
97
|
:'username' => :'username',
|
93
98
|
:'password' => :'password',
|
99
|
+
:'pulp_labels' => :'pulp_labels',
|
94
100
|
:'pulp_last_updated' => :'pulp_last_updated',
|
95
101
|
:'download_concurrency' => :'download_concurrency',
|
96
102
|
:'policy' => :'policy',
|
@@ -98,6 +104,7 @@ module PulpContainerClient
|
|
98
104
|
:'connect_timeout' => :'connect_timeout',
|
99
105
|
:'sock_connect_timeout' => :'sock_connect_timeout',
|
100
106
|
:'sock_read_timeout' => :'sock_read_timeout',
|
107
|
+
:'rate_limit' => :'rate_limit',
|
101
108
|
:'upstream_name' => :'upstream_name',
|
102
109
|
:'include_tags' => :'include_tags',
|
103
110
|
:'exclude_tags' => :'exclude_tags'
|
@@ -118,6 +125,7 @@ module PulpContainerClient
|
|
118
125
|
:'proxy_url' => :'String',
|
119
126
|
:'username' => :'String',
|
120
127
|
:'password' => :'String',
|
128
|
+
:'pulp_labels' => :'Object',
|
121
129
|
:'pulp_last_updated' => :'DateTime',
|
122
130
|
:'download_concurrency' => :'Integer',
|
123
131
|
:'policy' => :'PolicyEnum',
|
@@ -125,6 +133,7 @@ module PulpContainerClient
|
|
125
133
|
:'connect_timeout' => :'Float',
|
126
134
|
:'sock_connect_timeout' => :'Float',
|
127
135
|
:'sock_read_timeout' => :'Float',
|
136
|
+
:'rate_limit' => :'Integer',
|
128
137
|
:'upstream_name' => :'String',
|
129
138
|
:'include_tags' => :'Array<String>',
|
130
139
|
:'exclude_tags' => :'Array<String>'
|
@@ -144,6 +153,7 @@ module PulpContainerClient
|
|
144
153
|
:'connect_timeout',
|
145
154
|
:'sock_connect_timeout',
|
146
155
|
:'sock_read_timeout',
|
156
|
+
:'rate_limit',
|
147
157
|
:'include_tags',
|
148
158
|
:'exclude_tags'
|
149
159
|
])
|
@@ -208,6 +218,10 @@ module PulpContainerClient
|
|
208
218
|
self.password = attributes[:'password']
|
209
219
|
end
|
210
220
|
|
221
|
+
if attributes.key?(:'pulp_labels')
|
222
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
223
|
+
end
|
224
|
+
|
211
225
|
if attributes.key?(:'pulp_last_updated')
|
212
226
|
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
213
227
|
end
|
@@ -236,6 +250,10 @@ module PulpContainerClient
|
|
236
250
|
self.sock_read_timeout = attributes[:'sock_read_timeout']
|
237
251
|
end
|
238
252
|
|
253
|
+
if attributes.key?(:'rate_limit')
|
254
|
+
self.rate_limit = attributes[:'rate_limit']
|
255
|
+
end
|
256
|
+
|
239
257
|
if attributes.key?(:'upstream_name')
|
240
258
|
self.upstream_name = attributes[:'upstream_name']
|
241
259
|
end
|
@@ -372,6 +390,7 @@ module PulpContainerClient
|
|
372
390
|
proxy_url == o.proxy_url &&
|
373
391
|
username == o.username &&
|
374
392
|
password == o.password &&
|
393
|
+
pulp_labels == o.pulp_labels &&
|
375
394
|
pulp_last_updated == o.pulp_last_updated &&
|
376
395
|
download_concurrency == o.download_concurrency &&
|
377
396
|
policy == o.policy &&
|
@@ -379,6 +398,7 @@ module PulpContainerClient
|
|
379
398
|
connect_timeout == o.connect_timeout &&
|
380
399
|
sock_connect_timeout == o.sock_connect_timeout &&
|
381
400
|
sock_read_timeout == o.sock_read_timeout &&
|
401
|
+
rate_limit == o.rate_limit &&
|
382
402
|
upstream_name == o.upstream_name &&
|
383
403
|
include_tags == o.include_tags &&
|
384
404
|
exclude_tags == o.exclude_tags
|
@@ -393,7 +413,7 @@ module PulpContainerClient
|
|
393
413
|
# Calculates hash code according to all attributes.
|
394
414
|
# @return [Integer] Hash code
|
395
415
|
def hash
|
396
|
-
[pulp_href, pulp_created, name, url, ca_cert, client_cert, client_key, tls_validation, proxy_url, username, password, pulp_last_updated, download_concurrency, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, upstream_name, include_tags, exclude_tags].hash
|
416
|
+
[pulp_href, pulp_created, name, url, ca_cert, client_cert, client_key, tls_validation, proxy_url, username, password, pulp_labels, pulp_last_updated, download_concurrency, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, rate_limit, upstream_name, include_tags, exclude_tags].hash
|
397
417
|
end
|
398
418
|
|
399
419
|
# Builds the object from hash
|
@@ -15,6 +15,8 @@ require 'date'
|
|
15
15
|
module PulpContainerClient
|
16
16
|
# Serializer for Container Repositories.
|
17
17
|
class ContainerContainerRepository
|
18
|
+
attr_accessor :pulp_labels
|
19
|
+
|
18
20
|
# A unique name for this repository.
|
19
21
|
attr_accessor :name
|
20
22
|
|
@@ -26,6 +28,7 @@ module PulpContainerClient
|
|
26
28
|
# Attribute mapping from ruby-style variable name to JSON key.
|
27
29
|
def self.attribute_map
|
28
30
|
{
|
31
|
+
:'pulp_labels' => :'pulp_labels',
|
29
32
|
:'name' => :'name',
|
30
33
|
:'description' => :'description',
|
31
34
|
:'remote' => :'remote'
|
@@ -35,6 +38,7 @@ module PulpContainerClient
|
|
35
38
|
# Attribute type mapping.
|
36
39
|
def self.openapi_types
|
37
40
|
{
|
41
|
+
:'pulp_labels' => :'Object',
|
38
42
|
:'name' => :'String',
|
39
43
|
:'description' => :'String',
|
40
44
|
:'remote' => :'String'
|
@@ -64,6 +68,10 @@ module PulpContainerClient
|
|
64
68
|
h[k.to_sym] = v
|
65
69
|
}
|
66
70
|
|
71
|
+
if attributes.key?(:'pulp_labels')
|
72
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
73
|
+
end
|
74
|
+
|
67
75
|
if attributes.key?(:'name')
|
68
76
|
self.name = attributes[:'name']
|
69
77
|
end
|
@@ -100,6 +108,7 @@ module PulpContainerClient
|
|
100
108
|
def ==(o)
|
101
109
|
return true if self.equal?(o)
|
102
110
|
self.class == o.class &&
|
111
|
+
pulp_labels == o.pulp_labels &&
|
103
112
|
name == o.name &&
|
104
113
|
description == o.description &&
|
105
114
|
remote == o.remote
|
@@ -114,7 +123,7 @@ module PulpContainerClient
|
|
114
123
|
# Calculates hash code according to all attributes.
|
115
124
|
# @return [Integer] Hash code
|
116
125
|
def hash
|
117
|
-
[name, description, remote].hash
|
126
|
+
[pulp_labels, name, description, remote].hash
|
118
127
|
end
|
119
128
|
|
120
129
|
# 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
|
@@ -18,26 +18,29 @@ module PulpContainerClient
|
|
18
18
|
# The latest RepositoryVersion for this Repository will be served.
|
19
19
|
attr_accessor :repository
|
20
20
|
|
21
|
+
attr_accessor :pulp_labels
|
22
|
+
|
21
23
|
# A unique name. Ex, `rawhide` and `stable`.
|
22
24
|
attr_accessor :name
|
23
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
|
+
|
24
29
|
# An optional content-guard. If none is specified, a default one will be used.
|
25
30
|
attr_accessor :content_guard
|
26
31
|
|
27
32
|
# RepositoryVersion to be served
|
28
33
|
attr_accessor :repository_version
|
29
34
|
|
30
|
-
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
31
|
-
attr_accessor :base_path
|
32
|
-
|
33
35
|
# Attribute mapping from ruby-style variable name to JSON key.
|
34
36
|
def self.attribute_map
|
35
37
|
{
|
36
38
|
:'repository' => :'repository',
|
39
|
+
:'pulp_labels' => :'pulp_labels',
|
37
40
|
:'name' => :'name',
|
41
|
+
:'base_path' => :'base_path',
|
38
42
|
:'content_guard' => :'content_guard',
|
39
|
-
:'repository_version' => :'repository_version'
|
40
|
-
:'base_path' => :'base_path'
|
43
|
+
:'repository_version' => :'repository_version'
|
41
44
|
}
|
42
45
|
end
|
43
46
|
|
@@ -45,10 +48,11 @@ module PulpContainerClient
|
|
45
48
|
def self.openapi_types
|
46
49
|
{
|
47
50
|
:'repository' => :'String',
|
51
|
+
:'pulp_labels' => :'Object',
|
48
52
|
:'name' => :'String',
|
53
|
+
:'base_path' => :'String',
|
49
54
|
:'content_guard' => :'String',
|
50
|
-
:'repository_version' => :'String'
|
51
|
-
:'base_path' => :'String'
|
55
|
+
:'repository_version' => :'String'
|
52
56
|
}
|
53
57
|
end
|
54
58
|
|
@@ -56,7 +60,7 @@ module PulpContainerClient
|
|
56
60
|
def self.openapi_nullable
|
57
61
|
Set.new([
|
58
62
|
:'repository',
|
59
|
-
:'repository_version'
|
63
|
+
:'repository_version'
|
60
64
|
])
|
61
65
|
end
|
62
66
|
|
@@ -79,10 +83,18 @@ module PulpContainerClient
|
|
79
83
|
self.repository = attributes[:'repository']
|
80
84
|
end
|
81
85
|
|
86
|
+
if attributes.key?(:'pulp_labels')
|
87
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
88
|
+
end
|
89
|
+
|
82
90
|
if attributes.key?(:'name')
|
83
91
|
self.name = attributes[:'name']
|
84
92
|
end
|
85
93
|
|
94
|
+
if attributes.key?(:'base_path')
|
95
|
+
self.base_path = attributes[:'base_path']
|
96
|
+
end
|
97
|
+
|
86
98
|
if attributes.key?(:'content_guard')
|
87
99
|
self.content_guard = attributes[:'content_guard']
|
88
100
|
end
|
@@ -90,10 +102,6 @@ module PulpContainerClient
|
|
90
102
|
if attributes.key?(:'repository_version')
|
91
103
|
self.repository_version = attributes[:'repository_version']
|
92
104
|
end
|
93
|
-
|
94
|
-
if attributes.key?(:'base_path')
|
95
|
-
self.base_path = attributes[:'base_path']
|
96
|
-
end
|
97
105
|
end
|
98
106
|
|
99
107
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -115,10 +123,11 @@ module PulpContainerClient
|
|
115
123
|
return true if self.equal?(o)
|
116
124
|
self.class == o.class &&
|
117
125
|
repository == o.repository &&
|
126
|
+
pulp_labels == o.pulp_labels &&
|
118
127
|
name == o.name &&
|
128
|
+
base_path == o.base_path &&
|
119
129
|
content_guard == o.content_guard &&
|
120
|
-
repository_version == o.repository_version
|
121
|
-
base_path == o.base_path
|
130
|
+
repository_version == o.repository_version
|
122
131
|
end
|
123
132
|
|
124
133
|
# @see the `==` method
|
@@ -130,7 +139,7 @@ module PulpContainerClient
|
|
130
139
|
# Calculates hash code according to all attributes.
|
131
140
|
# @return [Integer] Hash code
|
132
141
|
def hash
|
133
|
-
[repository, name, content_guard, repository_version
|
142
|
+
[repository, pulp_labels, name, base_path, content_guard, repository_version].hash
|
134
143
|
end
|
135
144
|
|
136
145
|
# Builds the object from hash
|