pulp_container_client 2.15.3 → 2.16.0
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.
- checksums.yaml +4 -4
- data/README.md +27 -36
- data/docs/ContainerContainerDistribution.md +4 -4
- data/docs/ContainerContainerDistributionResponse.md +9 -9
- data/docs/ContainerContainerPushRepository.md +4 -4
- data/docs/ContainerContainerPushRepositoryResponse.md +11 -11
- data/docs/ContentBlobsApi.md +1 -3
- data/docs/ContentManifestsApi.md +1 -3
- data/docs/ContentSignaturesApi.md +1 -11
- data/docs/ContentTagsApi.md +1 -3
- data/docs/DistributionsContainerApi.md +10 -136
- data/docs/IndexDynamicApi.md +50 -0
- data/docs/IndexStaticApi.md +50 -0
- data/docs/PatchedcontainerContainerDistribution.md +4 -4
- data/docs/PatchedcontainerContainerPushRepository.md +4 -4
- data/docs/PulpContainerNamespacesApi.md +9 -23
- data/docs/RemotesContainerApi.md +9 -135
- data/docs/RepositoriesContainerApi.md +11 -137
- data/docs/RepositoriesContainerPushApi.md +10 -24
- data/docs/RepositoriesContainerPushVersionsApi.md +1 -3
- data/docs/RepositoriesContainerVersionsApi.md +1 -3
- data/docs/TokenApi.md +1 -1
- data/lib/pulp_container_client/api/content_blobs_api.rb +0 -3
- data/lib/pulp_container_client/api/content_manifests_api.rb +0 -3
- data/lib/pulp_container_client/api/content_signatures_api.rb +0 -15
- data/lib/pulp_container_client/api/content_tags_api.rb +0 -3
- data/lib/pulp_container_client/api/distributions_container_api.rb +0 -163
- data/lib/pulp_container_client/api/index_dynamic_api.rb +74 -0
- data/lib/pulp_container_client/api/index_static_api.rb +74 -0
- data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +0 -23
- data/lib/pulp_container_client/api/remotes_container_api.rb +0 -163
- data/lib/pulp_container_client/api/repositories_container_api.rb +2 -165
- data/lib/pulp_container_client/api/repositories_container_push_api.rb +0 -23
- data/lib/pulp_container_client/api/repositories_container_push_versions_api.rb +0 -3
- data/lib/pulp_container_client/api/repositories_container_versions_api.rb +0 -3
- data/lib/pulp_container_client/configuration.rb +2 -2
- data/lib/pulp_container_client/models/container_container_distribution.rb +19 -19
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +32 -32
- data/lib/pulp_container_client/models/container_container_push_repository.rb +32 -32
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +45 -45
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +19 -19
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +32 -32
- data/lib/pulp_container_client/version.rb +1 -1
- data/lib/pulp_container_client.rb +2 -4
- data/spec/api/content_blobs_api_spec.rb +0 -1
- data/spec/api/content_manifests_api_spec.rb +0 -1
- data/spec/api/content_signatures_api_spec.rb +0 -5
- data/spec/api/content_tags_api_spec.rb +0 -1
- data/spec/api/distributions_container_api_spec.rb +0 -35
- data/spec/{models/set_label_spec.rb → api/index_dynamic_api_spec.rb} +11 -13
- data/spec/{models/unset_label_spec.rb → api/index_static_api_spec.rb} +12 -8
- data/spec/api/pulp_container_namespaces_api_spec.rb +0 -9
- data/spec/api/remotes_container_api_spec.rb +0 -35
- data/spec/api/repositories_container_api_spec.rb +1 -36
- data/spec/api/repositories_container_push_api_spec.rb +0 -9
- data/spec/api/repositories_container_push_versions_api_spec.rb +0 -1
- data/spec/api/repositories_container_versions_api_spec.rb +0 -1
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/container_container_distribution_response_spec.rb +7 -7
- data/spec/models/container_container_distribution_spec.rb +3 -3
- data/spec/models/container_container_push_repository_response_spec.rb +8 -8
- data/spec/models/container_container_push_repository_spec.rb +2 -2
- data/spec/models/patchedcontainer_container_distribution_spec.rb +3 -3
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +2 -2
- metadata +55 -63
- data/docs/SetLabel.md +0 -19
- data/docs/SetLabelResponse.md +0 -19
- data/docs/UnsetLabel.md +0 -17
- data/docs/UnsetLabelResponse.md +0 -19
- data/lib/pulp_container_client/models/set_label.rb +0 -252
- data/lib/pulp_container_client/models/set_label_response.rb +0 -243
- data/lib/pulp_container_client/models/unset_label.rb +0 -242
- data/lib/pulp_container_client/models/unset_label_response.rb +0 -242
- data/spec/models/set_label_response_spec.rb +0 -47
- data/spec/models/unset_label_response_spec.rb +0 -47
|
@@ -15,24 +15,24 @@ require 'date'
|
|
|
15
15
|
module PulpContainerClient
|
|
16
16
|
# A serializer for ContainerDistribution.
|
|
17
17
|
class ContainerContainerDistributionResponse
|
|
18
|
+
# Timestamp of creation.
|
|
19
|
+
attr_accessor :pulp_created
|
|
20
|
+
|
|
18
21
|
# Whether this distribution should be shown in the content app.
|
|
19
22
|
attr_accessor :hidden
|
|
20
23
|
|
|
21
|
-
attr_accessor :
|
|
24
|
+
attr_accessor :pulp_labels
|
|
22
25
|
|
|
23
26
|
# The latest RepositoryVersion for this Repository will be served.
|
|
24
27
|
attr_accessor :repository
|
|
25
28
|
|
|
26
|
-
|
|
27
|
-
attr_accessor :base_path
|
|
29
|
+
attr_accessor :pulp_href
|
|
28
30
|
|
|
29
31
|
# An optional content-guard. If none is specified, a default one will be used.
|
|
30
32
|
attr_accessor :content_guard
|
|
31
33
|
|
|
32
|
-
#
|
|
33
|
-
attr_accessor :
|
|
34
|
-
|
|
35
|
-
attr_accessor :pulp_labels
|
|
34
|
+
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
35
|
+
attr_accessor :base_path
|
|
36
36
|
|
|
37
37
|
# A unique name. Ex, `rawhide` and `stable`.
|
|
38
38
|
attr_accessor :name
|
|
@@ -55,13 +55,13 @@ module PulpContainerClient
|
|
|
55
55
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
56
56
|
def self.attribute_map
|
|
57
57
|
{
|
|
58
|
+
:'pulp_created' => :'pulp_created',
|
|
58
59
|
:'hidden' => :'hidden',
|
|
59
|
-
:'
|
|
60
|
+
:'pulp_labels' => :'pulp_labels',
|
|
60
61
|
:'repository' => :'repository',
|
|
61
|
-
:'
|
|
62
|
+
:'pulp_href' => :'pulp_href',
|
|
62
63
|
:'content_guard' => :'content_guard',
|
|
63
|
-
:'
|
|
64
|
-
:'pulp_labels' => :'pulp_labels',
|
|
64
|
+
:'base_path' => :'base_path',
|
|
65
65
|
:'name' => :'name',
|
|
66
66
|
:'repository_version' => :'repository_version',
|
|
67
67
|
:'registry_path' => :'registry_path',
|
|
@@ -74,13 +74,13 @@ module PulpContainerClient
|
|
|
74
74
|
# Attribute type mapping.
|
|
75
75
|
def self.openapi_types
|
|
76
76
|
{
|
|
77
|
+
:'pulp_created' => :'DateTime',
|
|
77
78
|
:'hidden' => :'Boolean',
|
|
78
|
-
:'
|
|
79
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
79
80
|
:'repository' => :'String',
|
|
80
|
-
:'
|
|
81
|
+
:'pulp_href' => :'String',
|
|
81
82
|
:'content_guard' => :'String',
|
|
82
|
-
:'
|
|
83
|
-
:'pulp_labels' => :'Hash<String, String>',
|
|
83
|
+
:'base_path' => :'String',
|
|
84
84
|
:'name' => :'String',
|
|
85
85
|
:'repository_version' => :'String',
|
|
86
86
|
:'registry_path' => :'String',
|
|
@@ -114,36 +114,36 @@ module PulpContainerClient
|
|
|
114
114
|
h[k.to_sym] = v
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
+
if attributes.key?(:'pulp_created')
|
|
118
|
+
self.pulp_created = attributes[:'pulp_created']
|
|
119
|
+
end
|
|
120
|
+
|
|
117
121
|
if attributes.key?(:'hidden')
|
|
118
122
|
self.hidden = attributes[:'hidden']
|
|
119
123
|
else
|
|
120
124
|
self.hidden = false
|
|
121
125
|
end
|
|
122
126
|
|
|
123
|
-
if attributes.key?(:'
|
|
124
|
-
|
|
127
|
+
if attributes.key?(:'pulp_labels')
|
|
128
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
129
|
+
self.pulp_labels = value
|
|
130
|
+
end
|
|
125
131
|
end
|
|
126
132
|
|
|
127
133
|
if attributes.key?(:'repository')
|
|
128
134
|
self.repository = attributes[:'repository']
|
|
129
135
|
end
|
|
130
136
|
|
|
131
|
-
if attributes.key?(:'
|
|
132
|
-
self.
|
|
137
|
+
if attributes.key?(:'pulp_href')
|
|
138
|
+
self.pulp_href = attributes[:'pulp_href']
|
|
133
139
|
end
|
|
134
140
|
|
|
135
141
|
if attributes.key?(:'content_guard')
|
|
136
142
|
self.content_guard = attributes[:'content_guard']
|
|
137
143
|
end
|
|
138
144
|
|
|
139
|
-
if attributes.key?(:'
|
|
140
|
-
self.
|
|
141
|
-
end
|
|
142
|
-
|
|
143
|
-
if attributes.key?(:'pulp_labels')
|
|
144
|
-
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
145
|
-
self.pulp_labels = value
|
|
146
|
-
end
|
|
145
|
+
if attributes.key?(:'base_path')
|
|
146
|
+
self.base_path = attributes[:'base_path']
|
|
147
147
|
end
|
|
148
148
|
|
|
149
149
|
if attributes.key?(:'name')
|
|
@@ -199,13 +199,13 @@ module PulpContainerClient
|
|
|
199
199
|
def ==(o)
|
|
200
200
|
return true if self.equal?(o)
|
|
201
201
|
self.class == o.class &&
|
|
202
|
+
pulp_created == o.pulp_created &&
|
|
202
203
|
hidden == o.hidden &&
|
|
203
|
-
|
|
204
|
+
pulp_labels == o.pulp_labels &&
|
|
204
205
|
repository == o.repository &&
|
|
205
|
-
|
|
206
|
+
pulp_href == o.pulp_href &&
|
|
206
207
|
content_guard == o.content_guard &&
|
|
207
|
-
|
|
208
|
-
pulp_labels == o.pulp_labels &&
|
|
208
|
+
base_path == o.base_path &&
|
|
209
209
|
name == o.name &&
|
|
210
210
|
repository_version == o.repository_version &&
|
|
211
211
|
registry_path == o.registry_path &&
|
|
@@ -223,7 +223,7 @@ module PulpContainerClient
|
|
|
223
223
|
# Calculates hash code according to all attributes.
|
|
224
224
|
# @return [Integer] Hash code
|
|
225
225
|
def hash
|
|
226
|
-
[hidden,
|
|
226
|
+
[pulp_created, hidden, pulp_labels, repository, pulp_href, content_guard, base_path, name, repository_version, registry_path, namespace, private, description].hash
|
|
227
227
|
end
|
|
228
228
|
|
|
229
229
|
# Builds the object from hash
|
|
@@ -18,13 +18,13 @@ module PulpContainerClient
|
|
|
18
18
|
# A reference to an associated signing service.
|
|
19
19
|
attr_accessor :manifest_signing_service
|
|
20
20
|
|
|
21
|
-
|
|
22
|
-
attr_accessor :description
|
|
21
|
+
attr_accessor :pulp_labels
|
|
23
22
|
|
|
24
23
|
# Retain X versions of the repository. Default is null which retains all versions.
|
|
25
24
|
attr_accessor :retain_repo_versions
|
|
26
25
|
|
|
27
|
-
|
|
26
|
+
# An optional description.
|
|
27
|
+
attr_accessor :description
|
|
28
28
|
|
|
29
29
|
# A unique name for this repository.
|
|
30
30
|
attr_accessor :name
|
|
@@ -33,9 +33,9 @@ module PulpContainerClient
|
|
|
33
33
|
def self.attribute_map
|
|
34
34
|
{
|
|
35
35
|
:'manifest_signing_service' => :'manifest_signing_service',
|
|
36
|
-
:'description' => :'description',
|
|
37
|
-
:'retain_repo_versions' => :'retain_repo_versions',
|
|
38
36
|
:'pulp_labels' => :'pulp_labels',
|
|
37
|
+
:'retain_repo_versions' => :'retain_repo_versions',
|
|
38
|
+
:'description' => :'description',
|
|
39
39
|
:'name' => :'name'
|
|
40
40
|
}
|
|
41
41
|
end
|
|
@@ -44,9 +44,9 @@ module PulpContainerClient
|
|
|
44
44
|
def self.openapi_types
|
|
45
45
|
{
|
|
46
46
|
:'manifest_signing_service' => :'String',
|
|
47
|
-
:'description' => :'String',
|
|
48
|
-
:'retain_repo_versions' => :'Integer',
|
|
49
47
|
:'pulp_labels' => :'Hash<String, String>',
|
|
48
|
+
:'retain_repo_versions' => :'Integer',
|
|
49
|
+
:'description' => :'String',
|
|
50
50
|
:'name' => :'String'
|
|
51
51
|
}
|
|
52
52
|
end
|
|
@@ -55,8 +55,8 @@ module PulpContainerClient
|
|
|
55
55
|
def self.openapi_nullable
|
|
56
56
|
Set.new([
|
|
57
57
|
:'manifest_signing_service',
|
|
58
|
-
:'description',
|
|
59
58
|
:'retain_repo_versions',
|
|
59
|
+
:'description',
|
|
60
60
|
])
|
|
61
61
|
end
|
|
62
62
|
|
|
@@ -79,18 +79,18 @@ module PulpContainerClient
|
|
|
79
79
|
self.manifest_signing_service = attributes[:'manifest_signing_service']
|
|
80
80
|
end
|
|
81
81
|
|
|
82
|
-
if attributes.key?(:'
|
|
83
|
-
|
|
82
|
+
if attributes.key?(:'pulp_labels')
|
|
83
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
84
|
+
self.pulp_labels = value
|
|
85
|
+
end
|
|
84
86
|
end
|
|
85
87
|
|
|
86
88
|
if attributes.key?(:'retain_repo_versions')
|
|
87
89
|
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
|
88
90
|
end
|
|
89
91
|
|
|
90
|
-
if attributes.key?(:'
|
|
91
|
-
|
|
92
|
-
self.pulp_labels = value
|
|
93
|
-
end
|
|
92
|
+
if attributes.key?(:'description')
|
|
93
|
+
self.description = attributes[:'description']
|
|
94
94
|
end
|
|
95
95
|
|
|
96
96
|
if attributes.key?(:'name')
|
|
@@ -102,14 +102,14 @@ module PulpContainerClient
|
|
|
102
102
|
# @return Array for valid properties with the reasons
|
|
103
103
|
def list_invalid_properties
|
|
104
104
|
invalid_properties = Array.new
|
|
105
|
-
if !@description.nil? && @description.to_s.length < 1
|
|
106
|
-
invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
|
|
107
|
-
end
|
|
108
|
-
|
|
109
105
|
if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
|
110
106
|
invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
|
|
111
107
|
end
|
|
112
108
|
|
|
109
|
+
if !@description.nil? && @description.to_s.length < 1
|
|
110
|
+
invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
|
|
111
|
+
end
|
|
112
|
+
|
|
113
113
|
if @name.nil?
|
|
114
114
|
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
|
115
115
|
end
|
|
@@ -124,23 +124,13 @@ module PulpContainerClient
|
|
|
124
124
|
# Check to see if the all the properties in the model are valid
|
|
125
125
|
# @return true if the model is valid
|
|
126
126
|
def valid?
|
|
127
|
-
return false if !@description.nil? && @description.to_s.length < 1
|
|
128
127
|
return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
|
128
|
+
return false if !@description.nil? && @description.to_s.length < 1
|
|
129
129
|
return false if @name.nil?
|
|
130
130
|
return false if @name.to_s.length < 1
|
|
131
131
|
true
|
|
132
132
|
end
|
|
133
133
|
|
|
134
|
-
# Custom attribute writer method with validation
|
|
135
|
-
# @param [Object] description Value to be assigned
|
|
136
|
-
def description=(description)
|
|
137
|
-
if !description.nil? && description.to_s.length < 1
|
|
138
|
-
fail ArgumentError, 'invalid value for "description", the character length must be great than or equal to 1.'
|
|
139
|
-
end
|
|
140
|
-
|
|
141
|
-
@description = description
|
|
142
|
-
end
|
|
143
|
-
|
|
144
134
|
# Custom attribute writer method with validation
|
|
145
135
|
# @param [Object] retain_repo_versions Value to be assigned
|
|
146
136
|
def retain_repo_versions=(retain_repo_versions)
|
|
@@ -151,6 +141,16 @@ module PulpContainerClient
|
|
|
151
141
|
@retain_repo_versions = retain_repo_versions
|
|
152
142
|
end
|
|
153
143
|
|
|
144
|
+
# Custom attribute writer method with validation
|
|
145
|
+
# @param [Object] description Value to be assigned
|
|
146
|
+
def description=(description)
|
|
147
|
+
if !description.nil? && description.to_s.length < 1
|
|
148
|
+
fail ArgumentError, 'invalid value for "description", the character length must be great than or equal to 1.'
|
|
149
|
+
end
|
|
150
|
+
|
|
151
|
+
@description = description
|
|
152
|
+
end
|
|
153
|
+
|
|
154
154
|
# Custom attribute writer method with validation
|
|
155
155
|
# @param [Object] name Value to be assigned
|
|
156
156
|
def name=(name)
|
|
@@ -171,9 +171,9 @@ module PulpContainerClient
|
|
|
171
171
|
return true if self.equal?(o)
|
|
172
172
|
self.class == o.class &&
|
|
173
173
|
manifest_signing_service == o.manifest_signing_service &&
|
|
174
|
-
description == o.description &&
|
|
175
|
-
retain_repo_versions == o.retain_repo_versions &&
|
|
176
174
|
pulp_labels == o.pulp_labels &&
|
|
175
|
+
retain_repo_versions == o.retain_repo_versions &&
|
|
176
|
+
description == o.description &&
|
|
177
177
|
name == o.name
|
|
178
178
|
end
|
|
179
179
|
|
|
@@ -186,7 +186,7 @@ module PulpContainerClient
|
|
|
186
186
|
# Calculates hash code according to all attributes.
|
|
187
187
|
# @return [Integer] Hash code
|
|
188
188
|
def hash
|
|
189
|
-
[manifest_signing_service,
|
|
189
|
+
[manifest_signing_service, pulp_labels, retain_repo_versions, description, name].hash
|
|
190
190
|
end
|
|
191
191
|
|
|
192
192
|
# Builds the object from hash
|
|
@@ -15,40 +15,40 @@ require 'date'
|
|
|
15
15
|
module PulpContainerClient
|
|
16
16
|
# Serializer for Container Push Repositories.
|
|
17
17
|
class ContainerContainerPushRepositoryResponse
|
|
18
|
+
# Timestamp of creation.
|
|
19
|
+
attr_accessor :pulp_created
|
|
20
|
+
|
|
18
21
|
# A reference to an associated signing service.
|
|
19
22
|
attr_accessor :manifest_signing_service
|
|
20
23
|
|
|
21
|
-
|
|
22
|
-
attr_accessor :description
|
|
23
|
-
|
|
24
|
-
attr_accessor :pulp_href
|
|
25
|
-
|
|
26
|
-
attr_accessor :versions_href
|
|
24
|
+
attr_accessor :pulp_labels
|
|
27
25
|
|
|
28
26
|
# Retain X versions of the repository. Default is null which retains all versions.
|
|
29
27
|
attr_accessor :retain_repo_versions
|
|
30
28
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
# Timestamp of creation.
|
|
34
|
-
attr_accessor :pulp_created
|
|
29
|
+
# An optional description.
|
|
30
|
+
attr_accessor :description
|
|
35
31
|
|
|
36
32
|
attr_accessor :latest_version_href
|
|
37
33
|
|
|
34
|
+
attr_accessor :versions_href
|
|
35
|
+
|
|
36
|
+
attr_accessor :pulp_href
|
|
37
|
+
|
|
38
38
|
# A unique name for this repository.
|
|
39
39
|
attr_accessor :name
|
|
40
40
|
|
|
41
41
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
42
42
|
def self.attribute_map
|
|
43
43
|
{
|
|
44
|
+
:'pulp_created' => :'pulp_created',
|
|
44
45
|
:'manifest_signing_service' => :'manifest_signing_service',
|
|
45
|
-
:'description' => :'description',
|
|
46
|
-
:'pulp_href' => :'pulp_href',
|
|
47
|
-
:'versions_href' => :'versions_href',
|
|
48
|
-
:'retain_repo_versions' => :'retain_repo_versions',
|
|
49
46
|
:'pulp_labels' => :'pulp_labels',
|
|
50
|
-
:'
|
|
47
|
+
:'retain_repo_versions' => :'retain_repo_versions',
|
|
48
|
+
:'description' => :'description',
|
|
51
49
|
:'latest_version_href' => :'latest_version_href',
|
|
50
|
+
:'versions_href' => :'versions_href',
|
|
51
|
+
:'pulp_href' => :'pulp_href',
|
|
52
52
|
:'name' => :'name'
|
|
53
53
|
}
|
|
54
54
|
end
|
|
@@ -56,14 +56,14 @@ module PulpContainerClient
|
|
|
56
56
|
# Attribute type mapping.
|
|
57
57
|
def self.openapi_types
|
|
58
58
|
{
|
|
59
|
+
:'pulp_created' => :'DateTime',
|
|
59
60
|
:'manifest_signing_service' => :'String',
|
|
60
|
-
:'description' => :'String',
|
|
61
|
-
:'pulp_href' => :'String',
|
|
62
|
-
:'versions_href' => :'String',
|
|
63
|
-
:'retain_repo_versions' => :'Integer',
|
|
64
61
|
:'pulp_labels' => :'Hash<String, String>',
|
|
65
|
-
:'
|
|
62
|
+
:'retain_repo_versions' => :'Integer',
|
|
63
|
+
:'description' => :'String',
|
|
66
64
|
:'latest_version_href' => :'String',
|
|
65
|
+
:'versions_href' => :'String',
|
|
66
|
+
:'pulp_href' => :'String',
|
|
67
67
|
:'name' => :'String'
|
|
68
68
|
}
|
|
69
69
|
end
|
|
@@ -72,8 +72,8 @@ module PulpContainerClient
|
|
|
72
72
|
def self.openapi_nullable
|
|
73
73
|
Set.new([
|
|
74
74
|
:'manifest_signing_service',
|
|
75
|
-
:'description',
|
|
76
75
|
:'retain_repo_versions',
|
|
76
|
+
:'description',
|
|
77
77
|
])
|
|
78
78
|
end
|
|
79
79
|
|
|
@@ -92,24 +92,12 @@ module PulpContainerClient
|
|
|
92
92
|
h[k.to_sym] = v
|
|
93
93
|
}
|
|
94
94
|
|
|
95
|
-
if attributes.key?(:'
|
|
96
|
-
self.
|
|
97
|
-
end
|
|
98
|
-
|
|
99
|
-
if attributes.key?(:'description')
|
|
100
|
-
self.description = attributes[:'description']
|
|
101
|
-
end
|
|
102
|
-
|
|
103
|
-
if attributes.key?(:'pulp_href')
|
|
104
|
-
self.pulp_href = attributes[:'pulp_href']
|
|
105
|
-
end
|
|
106
|
-
|
|
107
|
-
if attributes.key?(:'versions_href')
|
|
108
|
-
self.versions_href = attributes[:'versions_href']
|
|
95
|
+
if attributes.key?(:'pulp_created')
|
|
96
|
+
self.pulp_created = attributes[:'pulp_created']
|
|
109
97
|
end
|
|
110
98
|
|
|
111
|
-
if attributes.key?(:'
|
|
112
|
-
self.
|
|
99
|
+
if attributes.key?(:'manifest_signing_service')
|
|
100
|
+
self.manifest_signing_service = attributes[:'manifest_signing_service']
|
|
113
101
|
end
|
|
114
102
|
|
|
115
103
|
if attributes.key?(:'pulp_labels')
|
|
@@ -118,14 +106,26 @@ module PulpContainerClient
|
|
|
118
106
|
end
|
|
119
107
|
end
|
|
120
108
|
|
|
121
|
-
if attributes.key?(:'
|
|
122
|
-
self.
|
|
109
|
+
if attributes.key?(:'retain_repo_versions')
|
|
110
|
+
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
|
111
|
+
end
|
|
112
|
+
|
|
113
|
+
if attributes.key?(:'description')
|
|
114
|
+
self.description = attributes[:'description']
|
|
123
115
|
end
|
|
124
116
|
|
|
125
117
|
if attributes.key?(:'latest_version_href')
|
|
126
118
|
self.latest_version_href = attributes[:'latest_version_href']
|
|
127
119
|
end
|
|
128
120
|
|
|
121
|
+
if attributes.key?(:'versions_href')
|
|
122
|
+
self.versions_href = attributes[:'versions_href']
|
|
123
|
+
end
|
|
124
|
+
|
|
125
|
+
if attributes.key?(:'pulp_href')
|
|
126
|
+
self.pulp_href = attributes[:'pulp_href']
|
|
127
|
+
end
|
|
128
|
+
|
|
129
129
|
if attributes.key?(:'name')
|
|
130
130
|
self.name = attributes[:'name']
|
|
131
131
|
end
|
|
@@ -169,14 +169,14 @@ module PulpContainerClient
|
|
|
169
169
|
def ==(o)
|
|
170
170
|
return true if self.equal?(o)
|
|
171
171
|
self.class == o.class &&
|
|
172
|
+
pulp_created == o.pulp_created &&
|
|
172
173
|
manifest_signing_service == o.manifest_signing_service &&
|
|
173
|
-
description == o.description &&
|
|
174
|
-
pulp_href == o.pulp_href &&
|
|
175
|
-
versions_href == o.versions_href &&
|
|
176
|
-
retain_repo_versions == o.retain_repo_versions &&
|
|
177
174
|
pulp_labels == o.pulp_labels &&
|
|
178
|
-
|
|
175
|
+
retain_repo_versions == o.retain_repo_versions &&
|
|
176
|
+
description == o.description &&
|
|
179
177
|
latest_version_href == o.latest_version_href &&
|
|
178
|
+
versions_href == o.versions_href &&
|
|
179
|
+
pulp_href == o.pulp_href &&
|
|
180
180
|
name == o.name
|
|
181
181
|
end
|
|
182
182
|
|
|
@@ -189,7 +189,7 @@ module PulpContainerClient
|
|
|
189
189
|
# Calculates hash code according to all attributes.
|
|
190
190
|
# @return [Integer] Hash code
|
|
191
191
|
def hash
|
|
192
|
-
[
|
|
192
|
+
[pulp_created, manifest_signing_service, pulp_labels, retain_repo_versions, description, latest_version_href, versions_href, pulp_href, name].hash
|
|
193
193
|
end
|
|
194
194
|
|
|
195
195
|
# Builds the object from hash
|
|
@@ -18,16 +18,16 @@ module PulpContainerClient
|
|
|
18
18
|
# Whether this distribution should be shown in the content app.
|
|
19
19
|
attr_accessor :hidden
|
|
20
20
|
|
|
21
|
+
attr_accessor :pulp_labels
|
|
22
|
+
|
|
21
23
|
# The latest RepositoryVersion for this Repository will be served.
|
|
22
24
|
attr_accessor :repository
|
|
23
25
|
|
|
24
|
-
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
25
|
-
attr_accessor :base_path
|
|
26
|
-
|
|
27
26
|
# An optional content-guard. If none is specified, a default one will be used.
|
|
28
27
|
attr_accessor :content_guard
|
|
29
28
|
|
|
30
|
-
|
|
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
31
|
|
|
32
32
|
# A unique name. Ex, `rawhide` and `stable`.
|
|
33
33
|
attr_accessor :name
|
|
@@ -45,10 +45,10 @@ module PulpContainerClient
|
|
|
45
45
|
def self.attribute_map
|
|
46
46
|
{
|
|
47
47
|
:'hidden' => :'hidden',
|
|
48
|
+
:'pulp_labels' => :'pulp_labels',
|
|
48
49
|
:'repository' => :'repository',
|
|
49
|
-
:'base_path' => :'base_path',
|
|
50
50
|
:'content_guard' => :'content_guard',
|
|
51
|
-
:'
|
|
51
|
+
:'base_path' => :'base_path',
|
|
52
52
|
:'name' => :'name',
|
|
53
53
|
:'repository_version' => :'repository_version',
|
|
54
54
|
:'private' => :'private',
|
|
@@ -60,10 +60,10 @@ module PulpContainerClient
|
|
|
60
60
|
def self.openapi_types
|
|
61
61
|
{
|
|
62
62
|
:'hidden' => :'Boolean',
|
|
63
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
63
64
|
:'repository' => :'String',
|
|
64
|
-
:'base_path' => :'String',
|
|
65
65
|
:'content_guard' => :'String',
|
|
66
|
-
:'
|
|
66
|
+
:'base_path' => :'String',
|
|
67
67
|
:'name' => :'String',
|
|
68
68
|
:'repository_version' => :'String',
|
|
69
69
|
:'private' => :'Boolean',
|
|
@@ -101,22 +101,22 @@ module PulpContainerClient
|
|
|
101
101
|
self.hidden = false
|
|
102
102
|
end
|
|
103
103
|
|
|
104
|
-
if attributes.key?(:'
|
|
105
|
-
|
|
104
|
+
if attributes.key?(:'pulp_labels')
|
|
105
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
106
|
+
self.pulp_labels = value
|
|
107
|
+
end
|
|
106
108
|
end
|
|
107
109
|
|
|
108
|
-
if attributes.key?(:'
|
|
109
|
-
self.
|
|
110
|
+
if attributes.key?(:'repository')
|
|
111
|
+
self.repository = attributes[:'repository']
|
|
110
112
|
end
|
|
111
113
|
|
|
112
114
|
if attributes.key?(:'content_guard')
|
|
113
115
|
self.content_guard = attributes[:'content_guard']
|
|
114
116
|
end
|
|
115
117
|
|
|
116
|
-
if attributes.key?(:'
|
|
117
|
-
|
|
118
|
-
self.pulp_labels = value
|
|
119
|
-
end
|
|
118
|
+
if attributes.key?(:'base_path')
|
|
119
|
+
self.base_path = attributes[:'base_path']
|
|
120
120
|
end
|
|
121
121
|
|
|
122
122
|
if attributes.key?(:'name')
|
|
@@ -200,10 +200,10 @@ module PulpContainerClient
|
|
|
200
200
|
return true if self.equal?(o)
|
|
201
201
|
self.class == o.class &&
|
|
202
202
|
hidden == o.hidden &&
|
|
203
|
+
pulp_labels == o.pulp_labels &&
|
|
203
204
|
repository == o.repository &&
|
|
204
|
-
base_path == o.base_path &&
|
|
205
205
|
content_guard == o.content_guard &&
|
|
206
|
-
|
|
206
|
+
base_path == o.base_path &&
|
|
207
207
|
name == o.name &&
|
|
208
208
|
repository_version == o.repository_version &&
|
|
209
209
|
private == o.private &&
|
|
@@ -219,7 +219,7 @@ module PulpContainerClient
|
|
|
219
219
|
# Calculates hash code according to all attributes.
|
|
220
220
|
# @return [Integer] Hash code
|
|
221
221
|
def hash
|
|
222
|
-
[hidden,
|
|
222
|
+
[hidden, pulp_labels, repository, content_guard, base_path, name, repository_version, private, description].hash
|
|
223
223
|
end
|
|
224
224
|
|
|
225
225
|
# Builds the object from hash
|