pulp_container_client 2.14.18 → 2.15.0.dev1661401897
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 +7 -8
- data/docs/ContainerContainerDistribution.md +3 -3
- data/docs/ContainerContainerDistributionResponse.md +7 -7
- data/docs/ContainerContainerPushRepository.md +6 -6
- data/docs/ContainerContainerPushRepositoryResponse.md +10 -10
- data/docs/ContainerContainerRemote.md +1 -1
- data/docs/ContainerContainerRemoteResponse.md +1 -3
- data/docs/ContainerContainerRepository.md +1 -1
- data/docs/ContainerContainerRepositoryResponse.md +1 -1
- data/docs/ContentBlobsApi.md +9 -9
- data/docs/ContentManifestsApi.md +9 -9
- data/docs/ContentSignaturesApi.md +9 -9
- data/docs/ContentTagsApi.md +9 -9
- data/docs/DistributionsContainerApi.md +21 -21
- data/docs/PatchedcontainerContainerDistribution.md +3 -3
- data/docs/PatchedcontainerContainerPushRepository.md +6 -6
- data/docs/PatchedcontainerContainerRemote.md +1 -1
- data/docs/PatchedcontainerContainerRepository.md +1 -1
- data/docs/PulpContainerNamespacesApi.md +17 -17
- data/docs/RemotesContainerApi.md +21 -21
- data/docs/RepositoriesContainerApi.md +20 -20
- data/docs/RepositoriesContainerPushApi.md +20 -20
- data/docs/RepositoriesContainerPushVersionsApi.md +13 -13
- data/docs/RepositoriesContainerVersionsApi.md +13 -13
- data/docs/TokenApi.md +1 -1
- data/lib/pulp_container_client/api/content_blobs_api.rb +13 -13
- data/lib/pulp_container_client/api/content_manifests_api.rb +13 -13
- data/lib/pulp_container_client/api/content_signatures_api.rb +13 -13
- data/lib/pulp_container_client/api/content_tags_api.rb +13 -13
- data/lib/pulp_container_client/api/distributions_container_api.rb +29 -29
- data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +25 -25
- data/lib/pulp_container_client/api/remotes_container_api.rb +29 -29
- data/lib/pulp_container_client/api/repositories_container_api.rb +27 -27
- data/lib/pulp_container_client/api/repositories_container_push_api.rb +27 -27
- data/lib/pulp_container_client/api/repositories_container_push_versions_api.rb +17 -17
- data/lib/pulp_container_client/api/repositories_container_versions_api.rb +17 -17
- data/lib/pulp_container_client/configuration.rb +3 -3
- data/lib/pulp_container_client/models/container_container_distribution.rb +13 -15
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +29 -31
- data/lib/pulp_container_client/models/container_container_push_repository.rb +24 -26
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +42 -44
- data/lib/pulp_container_client/models/container_container_remote.rb +2 -4
- data/lib/pulp_container_client/models/container_container_remote_response.rb +3 -17
- data/lib/pulp_container_client/models/container_container_repository.rb +2 -4
- data/lib/pulp_container_client/models/container_container_repository_response.rb +2 -4
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +13 -15
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +24 -26
- data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +2 -4
- data/lib/pulp_container_client/models/patchedcontainer_container_repository.rb +2 -4
- data/lib/pulp_container_client/version.rb +1 -1
- data/lib/pulp_container_client.rb +0 -1
- data/spec/api/content_blobs_api_spec.rb +4 -4
- data/spec/api/content_manifests_api_spec.rb +4 -4
- data/spec/api/content_signatures_api_spec.rb +4 -4
- data/spec/api/content_tags_api_spec.rb +4 -4
- data/spec/api/distributions_container_api_spec.rb +10 -10
- data/spec/api/pulp_container_namespaces_api_spec.rb +8 -8
- data/spec/api/remotes_container_api_spec.rb +10 -10
- data/spec/api/repositories_container_api_spec.rb +9 -9
- data/spec/api/repositories_container_push_api_spec.rb +9 -9
- data/spec/api/repositories_container_push_versions_api_spec.rb +6 -6
- data/spec/api/repositories_container_versions_api_spec.rb +6 -6
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/container_container_distribution_response_spec.rb +5 -5
- data/spec/models/container_container_distribution_spec.rb +3 -3
- 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/container_container_remote_response_spec.rb +0 -6
- data/spec/models/patchedcontainer_container_distribution_spec.rb +3 -3
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +4 -4
- metadata +64 -68
- data/docs/ContainerContainerRemoteResponseHiddenFields.md +0 -19
- data/lib/pulp_container_client/models/container_container_remote_response_hidden_fields.rb +0 -225
- data/spec/models/container_container_remote_response_hidden_fields_spec.rb +0 -47
@@ -15,48 +15,48 @@ require 'date'
|
|
15
15
|
module PulpContainerClient
|
16
16
|
# Serializer for Container Push Repositories.
|
17
17
|
class ContainerContainerPushRepository
|
18
|
+
# A reference to an associated signing service.
|
19
|
+
attr_accessor :manifest_signing_service
|
20
|
+
|
18
21
|
# 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
22
|
attr_accessor :retain_repo_versions
|
20
23
|
|
24
|
+
attr_accessor :pulp_labels
|
25
|
+
|
21
26
|
# An optional description.
|
22
27
|
attr_accessor :description
|
23
28
|
|
24
|
-
attr_accessor :pulp_labels
|
25
|
-
|
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
|
+
:'manifest_signing_service' => :'manifest_signing_service',
|
35
36
|
:'retain_repo_versions' => :'retain_repo_versions',
|
36
|
-
:'description' => :'description',
|
37
37
|
:'pulp_labels' => :'pulp_labels',
|
38
|
-
:'
|
39
|
-
:'
|
38
|
+
:'description' => :'description',
|
39
|
+
:'name' => :'name'
|
40
40
|
}
|
41
41
|
end
|
42
42
|
|
43
43
|
# Attribute type mapping.
|
44
44
|
def self.openapi_types
|
45
45
|
{
|
46
|
+
:'manifest_signing_service' => :'String',
|
46
47
|
:'retain_repo_versions' => :'Integer',
|
48
|
+
:'pulp_labels' => :'Object',
|
47
49
|
:'description' => :'String',
|
48
|
-
:'
|
49
|
-
:'name' => :'String',
|
50
|
-
:'manifest_signing_service' => :'String'
|
50
|
+
:'name' => :'String'
|
51
51
|
}
|
52
52
|
end
|
53
53
|
|
54
54
|
# List of attributes with nullable: true
|
55
55
|
def self.openapi_nullable
|
56
56
|
Set.new([
|
57
|
+
:'manifest_signing_service',
|
57
58
|
:'retain_repo_versions',
|
58
59
|
:'description',
|
59
|
-
:'manifest_signing_service'
|
60
60
|
])
|
61
61
|
end
|
62
62
|
|
@@ -75,27 +75,25 @@ module PulpContainerClient
|
|
75
75
|
h[k.to_sym] = v
|
76
76
|
}
|
77
77
|
|
78
|
+
if attributes.key?(:'manifest_signing_service')
|
79
|
+
self.manifest_signing_service = attributes[:'manifest_signing_service']
|
80
|
+
end
|
81
|
+
|
78
82
|
if attributes.key?(:'retain_repo_versions')
|
79
83
|
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
80
84
|
end
|
81
85
|
|
82
|
-
if attributes.key?(:'
|
83
|
-
self.
|
86
|
+
if attributes.key?(:'pulp_labels')
|
87
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
84
88
|
end
|
85
89
|
|
86
|
-
if attributes.key?(:'
|
87
|
-
|
88
|
-
self.pulp_labels = value
|
89
|
-
end
|
90
|
+
if attributes.key?(:'description')
|
91
|
+
self.description = attributes[:'description']
|
90
92
|
end
|
91
93
|
|
92
94
|
if attributes.key?(:'name')
|
93
95
|
self.name = attributes[:'name']
|
94
96
|
end
|
95
|
-
|
96
|
-
if attributes.key?(:'manifest_signing_service')
|
97
|
-
self.manifest_signing_service = attributes[:'manifest_signing_service']
|
98
|
-
end
|
99
97
|
end
|
100
98
|
|
101
99
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -170,11 +168,11 @@ module PulpContainerClient
|
|
170
168
|
def ==(o)
|
171
169
|
return true if self.equal?(o)
|
172
170
|
self.class == o.class &&
|
171
|
+
manifest_signing_service == o.manifest_signing_service &&
|
173
172
|
retain_repo_versions == o.retain_repo_versions &&
|
174
|
-
description == o.description &&
|
175
173
|
pulp_labels == o.pulp_labels &&
|
176
|
-
|
177
|
-
|
174
|
+
description == o.description &&
|
175
|
+
name == o.name
|
178
176
|
end
|
179
177
|
|
180
178
|
# @see the `==` method
|
@@ -186,7 +184,7 @@ module PulpContainerClient
|
|
186
184
|
# Calculates hash code according to all attributes.
|
187
185
|
# @return [Integer] Hash code
|
188
186
|
def hash
|
189
|
-
[
|
187
|
+
[manifest_signing_service, retain_repo_versions, pulp_labels, description, name].hash
|
190
188
|
end
|
191
189
|
|
192
190
|
# Builds the object from hash
|
@@ -15,65 +15,65 @@ require 'date'
|
|
15
15
|
module PulpContainerClient
|
16
16
|
# Serializer for Container Push Repositories.
|
17
17
|
class ContainerContainerPushRepositoryResponse
|
18
|
+
# A reference to an associated signing service.
|
19
|
+
attr_accessor :manifest_signing_service
|
20
|
+
|
18
21
|
# 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
22
|
attr_accessor :retain_repo_versions
|
20
23
|
|
21
|
-
|
22
|
-
attr_accessor :description
|
23
|
-
|
24
|
-
attr_accessor :latest_version_href
|
24
|
+
attr_accessor :versions_href
|
25
25
|
|
26
26
|
attr_accessor :pulp_labels
|
27
27
|
|
28
|
-
|
28
|
+
# An optional description.
|
29
|
+
attr_accessor :description
|
29
30
|
|
30
31
|
# A unique name for this repository.
|
31
32
|
attr_accessor :name
|
32
33
|
|
33
|
-
|
34
|
-
attr_accessor :pulp_created
|
34
|
+
attr_accessor :latest_version_href
|
35
35
|
|
36
|
-
|
37
|
-
attr_accessor :manifest_signing_service
|
36
|
+
attr_accessor :pulp_href
|
38
37
|
|
39
|
-
|
38
|
+
# Timestamp of creation.
|
39
|
+
attr_accessor :pulp_created
|
40
40
|
|
41
41
|
# Attribute mapping from ruby-style variable name to JSON key.
|
42
42
|
def self.attribute_map
|
43
43
|
{
|
44
|
+
:'manifest_signing_service' => :'manifest_signing_service',
|
44
45
|
:'retain_repo_versions' => :'retain_repo_versions',
|
46
|
+
:'versions_href' => :'versions_href',
|
47
|
+
:'pulp_labels' => :'pulp_labels',
|
45
48
|
:'description' => :'description',
|
49
|
+
:'name' => :'name',
|
46
50
|
:'latest_version_href' => :'latest_version_href',
|
47
|
-
:'pulp_labels' => :'pulp_labels',
|
48
51
|
:'pulp_href' => :'pulp_href',
|
49
|
-
:'
|
50
|
-
:'pulp_created' => :'pulp_created',
|
51
|
-
:'manifest_signing_service' => :'manifest_signing_service',
|
52
|
-
:'versions_href' => :'versions_href'
|
52
|
+
:'pulp_created' => :'pulp_created'
|
53
53
|
}
|
54
54
|
end
|
55
55
|
|
56
56
|
# Attribute type mapping.
|
57
57
|
def self.openapi_types
|
58
58
|
{
|
59
|
+
:'manifest_signing_service' => :'String',
|
59
60
|
:'retain_repo_versions' => :'Integer',
|
61
|
+
:'versions_href' => :'String',
|
62
|
+
:'pulp_labels' => :'Object',
|
60
63
|
:'description' => :'String',
|
64
|
+
:'name' => :'String',
|
61
65
|
:'latest_version_href' => :'String',
|
62
|
-
:'pulp_labels' => :'Hash<String, String>',
|
63
66
|
:'pulp_href' => :'String',
|
64
|
-
:'
|
65
|
-
:'pulp_created' => :'DateTime',
|
66
|
-
:'manifest_signing_service' => :'String',
|
67
|
-
:'versions_href' => :'String'
|
67
|
+
:'pulp_created' => :'DateTime'
|
68
68
|
}
|
69
69
|
end
|
70
70
|
|
71
71
|
# List of attributes with nullable: true
|
72
72
|
def self.openapi_nullable
|
73
73
|
Set.new([
|
74
|
+
:'manifest_signing_service',
|
74
75
|
:'retain_repo_versions',
|
75
76
|
:'description',
|
76
|
-
:'manifest_signing_service',
|
77
77
|
])
|
78
78
|
end
|
79
79
|
|
@@ -92,42 +92,40 @@ module PulpContainerClient
|
|
92
92
|
h[k.to_sym] = v
|
93
93
|
}
|
94
94
|
|
95
|
-
if attributes.key?(:'
|
96
|
-
self.
|
95
|
+
if attributes.key?(:'manifest_signing_service')
|
96
|
+
self.manifest_signing_service = attributes[:'manifest_signing_service']
|
97
97
|
end
|
98
98
|
|
99
|
-
if attributes.key?(:'
|
100
|
-
self.
|
99
|
+
if attributes.key?(:'retain_repo_versions')
|
100
|
+
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
101
101
|
end
|
102
102
|
|
103
|
-
if attributes.key?(:'
|
104
|
-
self.
|
103
|
+
if attributes.key?(:'versions_href')
|
104
|
+
self.versions_href = attributes[:'versions_href']
|
105
105
|
end
|
106
106
|
|
107
107
|
if attributes.key?(:'pulp_labels')
|
108
|
-
|
109
|
-
self.pulp_labels = value
|
110
|
-
end
|
108
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
111
109
|
end
|
112
110
|
|
113
|
-
if attributes.key?(:'
|
114
|
-
self.
|
111
|
+
if attributes.key?(:'description')
|
112
|
+
self.description = attributes[:'description']
|
115
113
|
end
|
116
114
|
|
117
115
|
if attributes.key?(:'name')
|
118
116
|
self.name = attributes[:'name']
|
119
117
|
end
|
120
118
|
|
121
|
-
if attributes.key?(:'
|
122
|
-
self.
|
119
|
+
if attributes.key?(:'latest_version_href')
|
120
|
+
self.latest_version_href = attributes[:'latest_version_href']
|
123
121
|
end
|
124
122
|
|
125
|
-
if attributes.key?(:'
|
126
|
-
self.
|
123
|
+
if attributes.key?(:'pulp_href')
|
124
|
+
self.pulp_href = attributes[:'pulp_href']
|
127
125
|
end
|
128
126
|
|
129
|
-
if attributes.key?(:'
|
130
|
-
self.
|
127
|
+
if attributes.key?(:'pulp_created')
|
128
|
+
self.pulp_created = attributes[:'pulp_created']
|
131
129
|
end
|
132
130
|
end
|
133
131
|
|
@@ -169,15 +167,15 @@ module PulpContainerClient
|
|
169
167
|
def ==(o)
|
170
168
|
return true if self.equal?(o)
|
171
169
|
self.class == o.class &&
|
170
|
+
manifest_signing_service == o.manifest_signing_service &&
|
172
171
|
retain_repo_versions == o.retain_repo_versions &&
|
172
|
+
versions_href == o.versions_href &&
|
173
|
+
pulp_labels == o.pulp_labels &&
|
173
174
|
description == o.description &&
|
175
|
+
name == o.name &&
|
174
176
|
latest_version_href == o.latest_version_href &&
|
175
|
-
pulp_labels == o.pulp_labels &&
|
176
177
|
pulp_href == o.pulp_href &&
|
177
|
-
|
178
|
-
pulp_created == o.pulp_created &&
|
179
|
-
manifest_signing_service == o.manifest_signing_service &&
|
180
|
-
versions_href == o.versions_href
|
178
|
+
pulp_created == o.pulp_created
|
181
179
|
end
|
182
180
|
|
183
181
|
# @see the `==` method
|
@@ -189,7 +187,7 @@ module PulpContainerClient
|
|
189
187
|
# Calculates hash code according to all attributes.
|
190
188
|
# @return [Integer] Hash code
|
191
189
|
def hash
|
192
|
-
[
|
190
|
+
[manifest_signing_service, retain_repo_versions, versions_href, pulp_labels, description, name, latest_version_href, pulp_href, pulp_created].hash
|
193
191
|
end
|
194
192
|
|
195
193
|
# Builds the object from hash
|
@@ -134,7 +134,7 @@ module PulpContainerClient
|
|
134
134
|
:'proxy_password' => :'String',
|
135
135
|
:'username' => :'String',
|
136
136
|
:'password' => :'String',
|
137
|
-
:'pulp_labels' => :'
|
137
|
+
:'pulp_labels' => :'Object',
|
138
138
|
:'download_concurrency' => :'Integer',
|
139
139
|
:'max_retries' => :'Integer',
|
140
140
|
:'policy' => :'PolicyEnum',
|
@@ -234,9 +234,7 @@ module PulpContainerClient
|
|
234
234
|
end
|
235
235
|
|
236
236
|
if attributes.key?(:'pulp_labels')
|
237
|
-
|
238
|
-
self.pulp_labels = value
|
239
|
-
end
|
237
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
240
238
|
end
|
241
239
|
|
242
240
|
if attributes.key?(:'download_concurrency')
|
@@ -70,9 +70,6 @@ module PulpContainerClient
|
|
70
70
|
# Limits requests per second for each concurrent downloader
|
71
71
|
attr_accessor :rate_limit
|
72
72
|
|
73
|
-
# List of hidden (write only) fields
|
74
|
-
attr_accessor :hidden_fields
|
75
|
-
|
76
73
|
# Name of the upstream repository
|
77
74
|
attr_accessor :upstream_name
|
78
75
|
|
@@ -107,7 +104,6 @@ module PulpContainerClient
|
|
107
104
|
:'sock_read_timeout' => :'sock_read_timeout',
|
108
105
|
:'headers' => :'headers',
|
109
106
|
:'rate_limit' => :'rate_limit',
|
110
|
-
:'hidden_fields' => :'hidden_fields',
|
111
107
|
:'upstream_name' => :'upstream_name',
|
112
108
|
:'include_tags' => :'include_tags',
|
113
109
|
:'exclude_tags' => :'exclude_tags',
|
@@ -126,7 +122,7 @@ module PulpContainerClient
|
|
126
122
|
:'client_cert' => :'String',
|
127
123
|
:'tls_validation' => :'Boolean',
|
128
124
|
:'proxy_url' => :'String',
|
129
|
-
:'pulp_labels' => :'
|
125
|
+
:'pulp_labels' => :'Object',
|
130
126
|
:'pulp_last_updated' => :'DateTime',
|
131
127
|
:'download_concurrency' => :'Integer',
|
132
128
|
:'max_retries' => :'Integer',
|
@@ -137,7 +133,6 @@ module PulpContainerClient
|
|
137
133
|
:'sock_read_timeout' => :'Float',
|
138
134
|
:'headers' => :'Array<Object>',
|
139
135
|
:'rate_limit' => :'Integer',
|
140
|
-
:'hidden_fields' => :'Array<ContainerContainerRemoteResponseHiddenFields>',
|
141
136
|
:'upstream_name' => :'String',
|
142
137
|
:'include_tags' => :'Array<String>',
|
143
138
|
:'exclude_tags' => :'Array<String>',
|
@@ -211,9 +206,7 @@ module PulpContainerClient
|
|
211
206
|
end
|
212
207
|
|
213
208
|
if attributes.key?(:'pulp_labels')
|
214
|
-
|
215
|
-
self.pulp_labels = value
|
216
|
-
end
|
209
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
217
210
|
end
|
218
211
|
|
219
212
|
if attributes.key?(:'pulp_last_updated')
|
@@ -258,12 +251,6 @@ module PulpContainerClient
|
|
258
251
|
self.rate_limit = attributes[:'rate_limit']
|
259
252
|
end
|
260
253
|
|
261
|
-
if attributes.key?(:'hidden_fields')
|
262
|
-
if (value = attributes[:'hidden_fields']).is_a?(Array)
|
263
|
-
self.hidden_fields = value
|
264
|
-
end
|
265
|
-
end
|
266
|
-
|
267
254
|
if attributes.key?(:'upstream_name')
|
268
255
|
self.upstream_name = attributes[:'upstream_name']
|
269
256
|
end
|
@@ -412,7 +399,6 @@ module PulpContainerClient
|
|
412
399
|
sock_read_timeout == o.sock_read_timeout &&
|
413
400
|
headers == o.headers &&
|
414
401
|
rate_limit == o.rate_limit &&
|
415
|
-
hidden_fields == o.hidden_fields &&
|
416
402
|
upstream_name == o.upstream_name &&
|
417
403
|
include_tags == o.include_tags &&
|
418
404
|
exclude_tags == o.exclude_tags &&
|
@@ -428,7 +414,7 @@ module PulpContainerClient
|
|
428
414
|
# Calculates hash code according to all attributes.
|
429
415
|
# @return [Integer] Hash code
|
430
416
|
def hash
|
431
|
-
[pulp_href, pulp_created, name, url, ca_cert, client_cert, tls_validation, proxy_url, pulp_labels, pulp_last_updated, download_concurrency, max_retries, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, rate_limit,
|
417
|
+
[pulp_href, pulp_created, name, url, ca_cert, client_cert, tls_validation, proxy_url, pulp_labels, pulp_last_updated, download_concurrency, max_retries, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, rate_limit, upstream_name, include_tags, exclude_tags, sigstore].hash
|
432
418
|
end
|
433
419
|
|
434
420
|
# Builds the object from hash
|
@@ -47,7 +47,7 @@ module PulpContainerClient
|
|
47
47
|
# Attribute type mapping.
|
48
48
|
def self.openapi_types
|
49
49
|
{
|
50
|
-
:'pulp_labels' => :'
|
50
|
+
:'pulp_labels' => :'Object',
|
51
51
|
:'name' => :'String',
|
52
52
|
:'description' => :'String',
|
53
53
|
:'retain_repo_versions' => :'Integer',
|
@@ -82,9 +82,7 @@ module PulpContainerClient
|
|
82
82
|
}
|
83
83
|
|
84
84
|
if attributes.key?(:'pulp_labels')
|
85
|
-
|
86
|
-
self.pulp_labels = value
|
87
|
-
end
|
85
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
88
86
|
end
|
89
87
|
|
90
88
|
if attributes.key?(:'name')
|
@@ -63,7 +63,7 @@ module PulpContainerClient
|
|
63
63
|
:'pulp_href' => :'String',
|
64
64
|
:'pulp_created' => :'DateTime',
|
65
65
|
:'versions_href' => :'String',
|
66
|
-
:'pulp_labels' => :'
|
66
|
+
:'pulp_labels' => :'Object',
|
67
67
|
:'latest_version_href' => :'String',
|
68
68
|
:'name' => :'String',
|
69
69
|
:'description' => :'String',
|
@@ -111,9 +111,7 @@ module PulpContainerClient
|
|
111
111
|
end
|
112
112
|
|
113
113
|
if attributes.key?(:'pulp_labels')
|
114
|
-
|
115
|
-
self.pulp_labels = value
|
116
|
-
end
|
114
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
117
115
|
end
|
118
116
|
|
119
117
|
if attributes.key?(:'latest_version_href')
|
@@ -18,14 +18,14 @@ 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
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
22
|
+
attr_accessor :content_guard
|
23
|
+
|
21
24
|
attr_accessor :pulp_labels
|
22
25
|
|
23
26
|
# A unique name. Ex, `rawhide` and `stable`.
|
24
27
|
attr_accessor :name
|
25
28
|
|
26
|
-
# An optional content-guard. If none is specified, a default one will be used.
|
27
|
-
attr_accessor :content_guard
|
28
|
-
|
29
29
|
# The latest RepositoryVersion for this Repository will be served.
|
30
30
|
attr_accessor :repository
|
31
31
|
|
@@ -42,9 +42,9 @@ module PulpContainerClient
|
|
42
42
|
def self.attribute_map
|
43
43
|
{
|
44
44
|
:'base_path' => :'base_path',
|
45
|
+
:'content_guard' => :'content_guard',
|
45
46
|
:'pulp_labels' => :'pulp_labels',
|
46
47
|
:'name' => :'name',
|
47
|
-
:'content_guard' => :'content_guard',
|
48
48
|
:'repository' => :'repository',
|
49
49
|
:'repository_version' => :'repository_version',
|
50
50
|
:'private' => :'private',
|
@@ -56,9 +56,9 @@ module PulpContainerClient
|
|
56
56
|
def self.openapi_types
|
57
57
|
{
|
58
58
|
:'base_path' => :'String',
|
59
|
-
:'pulp_labels' => :'Hash<String, String>',
|
60
|
-
:'name' => :'String',
|
61
59
|
:'content_guard' => :'String',
|
60
|
+
:'pulp_labels' => :'Object',
|
61
|
+
:'name' => :'String',
|
62
62
|
:'repository' => :'String',
|
63
63
|
:'repository_version' => :'String',
|
64
64
|
:'private' => :'Boolean',
|
@@ -94,20 +94,18 @@ module PulpContainerClient
|
|
94
94
|
self.base_path = attributes[:'base_path']
|
95
95
|
end
|
96
96
|
|
97
|
+
if attributes.key?(:'content_guard')
|
98
|
+
self.content_guard = attributes[:'content_guard']
|
99
|
+
end
|
100
|
+
|
97
101
|
if attributes.key?(:'pulp_labels')
|
98
|
-
|
99
|
-
self.pulp_labels = value
|
100
|
-
end
|
102
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
101
103
|
end
|
102
104
|
|
103
105
|
if attributes.key?(:'name')
|
104
106
|
self.name = attributes[:'name']
|
105
107
|
end
|
106
108
|
|
107
|
-
if attributes.key?(:'content_guard')
|
108
|
-
self.content_guard = attributes[:'content_guard']
|
109
|
-
end
|
110
|
-
|
111
109
|
if attributes.key?(:'repository')
|
112
110
|
self.repository = attributes[:'repository']
|
113
111
|
end
|
@@ -189,9 +187,9 @@ module PulpContainerClient
|
|
189
187
|
return true if self.equal?(o)
|
190
188
|
self.class == o.class &&
|
191
189
|
base_path == o.base_path &&
|
190
|
+
content_guard == o.content_guard &&
|
192
191
|
pulp_labels == o.pulp_labels &&
|
193
192
|
name == o.name &&
|
194
|
-
content_guard == o.content_guard &&
|
195
193
|
repository == o.repository &&
|
196
194
|
repository_version == o.repository_version &&
|
197
195
|
private == o.private &&
|
@@ -207,7 +205,7 @@ module PulpContainerClient
|
|
207
205
|
# Calculates hash code according to all attributes.
|
208
206
|
# @return [Integer] Hash code
|
209
207
|
def hash
|
210
|
-
[base_path, pulp_labels, name,
|
208
|
+
[base_path, content_guard, pulp_labels, name, repository, repository_version, private, description].hash
|
211
209
|
end
|
212
210
|
|
213
211
|
# Builds the object from hash
|
@@ -15,48 +15,48 @@ require 'date'
|
|
15
15
|
module PulpContainerClient
|
16
16
|
# Serializer for Container Push Repositories.
|
17
17
|
class PatchedcontainerContainerPushRepository
|
18
|
+
# A reference to an associated signing service.
|
19
|
+
attr_accessor :manifest_signing_service
|
20
|
+
|
18
21
|
# 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
22
|
attr_accessor :retain_repo_versions
|
20
23
|
|
24
|
+
attr_accessor :pulp_labels
|
25
|
+
|
21
26
|
# An optional description.
|
22
27
|
attr_accessor :description
|
23
28
|
|
24
|
-
attr_accessor :pulp_labels
|
25
|
-
|
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
|
+
:'manifest_signing_service' => :'manifest_signing_service',
|
35
36
|
:'retain_repo_versions' => :'retain_repo_versions',
|
36
|
-
:'description' => :'description',
|
37
37
|
:'pulp_labels' => :'pulp_labels',
|
38
|
-
:'
|
39
|
-
:'
|
38
|
+
:'description' => :'description',
|
39
|
+
:'name' => :'name'
|
40
40
|
}
|
41
41
|
end
|
42
42
|
|
43
43
|
# Attribute type mapping.
|
44
44
|
def self.openapi_types
|
45
45
|
{
|
46
|
+
:'manifest_signing_service' => :'String',
|
46
47
|
:'retain_repo_versions' => :'Integer',
|
48
|
+
:'pulp_labels' => :'Object',
|
47
49
|
:'description' => :'String',
|
48
|
-
:'
|
49
|
-
:'name' => :'String',
|
50
|
-
:'manifest_signing_service' => :'String'
|
50
|
+
:'name' => :'String'
|
51
51
|
}
|
52
52
|
end
|
53
53
|
|
54
54
|
# List of attributes with nullable: true
|
55
55
|
def self.openapi_nullable
|
56
56
|
Set.new([
|
57
|
+
:'manifest_signing_service',
|
57
58
|
:'retain_repo_versions',
|
58
59
|
:'description',
|
59
|
-
:'manifest_signing_service'
|
60
60
|
])
|
61
61
|
end
|
62
62
|
|
@@ -75,27 +75,25 @@ module PulpContainerClient
|
|
75
75
|
h[k.to_sym] = v
|
76
76
|
}
|
77
77
|
|
78
|
+
if attributes.key?(:'manifest_signing_service')
|
79
|
+
self.manifest_signing_service = attributes[:'manifest_signing_service']
|
80
|
+
end
|
81
|
+
|
78
82
|
if attributes.key?(:'retain_repo_versions')
|
79
83
|
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
80
84
|
end
|
81
85
|
|
82
|
-
if attributes.key?(:'
|
83
|
-
self.
|
86
|
+
if attributes.key?(:'pulp_labels')
|
87
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
84
88
|
end
|
85
89
|
|
86
|
-
if attributes.key?(:'
|
87
|
-
|
88
|
-
self.pulp_labels = value
|
89
|
-
end
|
90
|
+
if attributes.key?(:'description')
|
91
|
+
self.description = attributes[:'description']
|
90
92
|
end
|
91
93
|
|
92
94
|
if attributes.key?(:'name')
|
93
95
|
self.name = attributes[:'name']
|
94
96
|
end
|
95
|
-
|
96
|
-
if attributes.key?(:'manifest_signing_service')
|
97
|
-
self.manifest_signing_service = attributes[:'manifest_signing_service']
|
98
|
-
end
|
99
97
|
end
|
100
98
|
|
101
99
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -161,11 +159,11 @@ module PulpContainerClient
|
|
161
159
|
def ==(o)
|
162
160
|
return true if self.equal?(o)
|
163
161
|
self.class == o.class &&
|
162
|
+
manifest_signing_service == o.manifest_signing_service &&
|
164
163
|
retain_repo_versions == o.retain_repo_versions &&
|
165
|
-
description == o.description &&
|
166
164
|
pulp_labels == o.pulp_labels &&
|
167
|
-
|
168
|
-
|
165
|
+
description == o.description &&
|
166
|
+
name == o.name
|
169
167
|
end
|
170
168
|
|
171
169
|
# @see the `==` method
|
@@ -177,7 +175,7 @@ module PulpContainerClient
|
|
177
175
|
# Calculates hash code according to all attributes.
|
178
176
|
# @return [Integer] Hash code
|
179
177
|
def hash
|
180
|
-
[
|
178
|
+
[manifest_signing_service, retain_repo_versions, pulp_labels, description, name].hash
|
181
179
|
end
|
182
180
|
|
183
181
|
# Builds the object from hash
|
@@ -134,7 +134,7 @@ module PulpContainerClient
|
|
134
134
|
:'proxy_password' => :'String',
|
135
135
|
:'username' => :'String',
|
136
136
|
:'password' => :'String',
|
137
|
-
:'pulp_labels' => :'
|
137
|
+
:'pulp_labels' => :'Object',
|
138
138
|
:'download_concurrency' => :'Integer',
|
139
139
|
:'max_retries' => :'Integer',
|
140
140
|
:'policy' => :'PolicyEnum',
|
@@ -234,9 +234,7 @@ module PulpContainerClient
|
|
234
234
|
end
|
235
235
|
|
236
236
|
if attributes.key?(:'pulp_labels')
|
237
|
-
|
238
|
-
self.pulp_labels = value
|
239
|
-
end
|
237
|
+
self.pulp_labels = attributes[:'pulp_labels']
|
240
238
|
end
|
241
239
|
|
242
240
|
if attributes.key?(:'download_concurrency')
|