pulp_container_client 2.20.5 → 2.20.7
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 +7 -6
- data/docs/ContainerContainerDistribution.md +6 -6
- data/docs/ContainerContainerDistributionResponse.md +12 -12
- data/docs/ContainerContainerPullThroughDistribution.md +6 -6
- data/docs/ContainerContainerPullThroughDistributionResponse.md +12 -12
- data/docs/ContainerContainerPullThroughRemote.md +1 -1
- data/docs/ContainerContainerPullThroughRemoteResponse.md +1 -1
- data/docs/ContainerContainerPushRepository.md +4 -4
- data/docs/ContainerContainerPushRepositoryResponse.md +12 -12
- data/docs/ContainerContainerRemote.md +1 -1
- data/docs/ContainerContainerRemoteResponse.md +1 -1
- data/docs/ContentBlobsApi.md +4 -0
- data/docs/ContentManifestsApi.md +4 -0
- data/docs/ContentSignaturesApi.md +4 -0
- data/docs/ContentTagsApi.md +4 -0
- data/docs/DistributionsContainerApi.md +56 -16
- data/docs/DistributionsPullThroughApi.md +56 -16
- data/docs/OCIBuildImage.md +1 -1
- data/docs/PatchedcontainerContainerDistribution.md +6 -6
- data/docs/PatchedcontainerContainerPullThroughDistribution.md +6 -6
- data/docs/PatchedcontainerContainerPullThroughRemote.md +1 -1
- data/docs/PatchedcontainerContainerPushRepository.md +4 -4
- data/docs/PatchedcontainerContainerRemote.md +1 -1
- data/docs/{Policy762Enum.md → Policy692Enum.md} +2 -2
- data/docs/{Policy8e2Enum.md → Policy7e0Enum.md} +2 -2
- data/docs/PulpContainerNamespacesApi.md +32 -8
- data/docs/RemotesContainerApi.md +56 -16
- data/docs/RemotesPullThroughApi.md +56 -16
- data/docs/RepositoriesContainerApi.md +108 -34
- data/docs/RepositoriesContainerPushApi.md +62 -18
- data/docs/RepositoriesContainerPushVersionsApi.md +16 -4
- data/docs/RepositoriesContainerVersionsApi.md +16 -4
- data/docs/TokenApi.md +13 -3
- data/lib/pulp_container_client/api/content_blobs_api.rb +6 -0
- data/lib/pulp_container_client/api/content_manifests_api.rb +6 -0
- data/lib/pulp_container_client/api/content_signatures_api.rb +6 -0
- data/lib/pulp_container_client/api/content_tags_api.rb +6 -0
- data/lib/pulp_container_client/api/distributions_container_api.rb +36 -0
- data/lib/pulp_container_client/api/distributions_pull_through_api.rb +36 -0
- data/lib/pulp_container_client/api/pulp_container_namespaces_api.rb +24 -0
- data/lib/pulp_container_client/api/remotes_container_api.rb +36 -0
- data/lib/pulp_container_client/api/remotes_pull_through_api.rb +36 -0
- data/lib/pulp_container_client/api/repositories_container_api.rb +65 -2
- data/lib/pulp_container_client/api/repositories_container_push_api.rb +39 -0
- data/lib/pulp_container_client/api/repositories_container_push_versions_api.rb +12 -0
- data/lib/pulp_container_client/api/repositories_container_versions_api.rb +12 -0
- data/lib/pulp_container_client/api/token_api.rb +9 -0
- data/lib/pulp_container_client/models/container_container_distribution.rb +55 -55
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +57 -57
- data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +55 -55
- data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +57 -57
- data/lib/pulp_container_client/models/container_container_pull_through_remote.rb +1 -1
- data/lib/pulp_container_client/models/container_container_pull_through_remote_response.rb +1 -1
- data/lib/pulp_container_client/models/container_container_push_repository.rb +17 -17
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +50 -50
- data/lib/pulp_container_client/models/container_container_remote.rb +1 -1
- data/lib/pulp_container_client/models/container_container_remote_response.rb +1 -1
- data/lib/pulp_container_client/models/oci_build_image.rb +1 -1
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +46 -46
- data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +46 -46
- data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_remote.rb +1 -1
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +17 -17
- data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +1 -1
- data/lib/pulp_container_client/models/{policy762_enum.rb → policy692_enum.rb} +3 -3
- data/lib/pulp_container_client/models/{policy8e2_enum.rb → policy7e0_enum.rb} +3 -3
- data/lib/pulp_container_client/version.rb +1 -1
- data/lib/pulp_container_client.rb +2 -2
- data/spec/api/content_blobs_api_spec.rb +2 -0
- data/spec/api/content_manifests_api_spec.rb +2 -0
- data/spec/api/content_signatures_api_spec.rb +2 -0
- data/spec/api/content_tags_api_spec.rb +2 -0
- data/spec/api/distributions_container_api_spec.rb +12 -0
- data/spec/api/distributions_pull_through_api_spec.rb +12 -0
- data/spec/api/pulp_container_namespaces_api_spec.rb +8 -0
- data/spec/api/remotes_container_api_spec.rb +12 -0
- data/spec/api/remotes_pull_through_api_spec.rb +12 -0
- data/spec/api/repositories_container_api_spec.rb +22 -1
- data/spec/api/repositories_container_push_api_spec.rb +13 -0
- data/spec/api/repositories_container_push_versions_api_spec.rb +4 -0
- data/spec/api/repositories_container_versions_api_spec.rb +4 -0
- data/spec/api/token_api_spec.rb +3 -0
- data/spec/models/container_container_distribution_response_spec.rb +9 -9
- data/spec/models/container_container_distribution_spec.rb +6 -6
- data/spec/models/container_container_pull_through_distribution_response_spec.rb +9 -9
- data/spec/models/container_container_pull_through_distribution_spec.rb +6 -6
- 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 +6 -6
- data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +6 -6
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +2 -2
- data/spec/models/{policy762_enum_spec.rb → policy692_enum_spec.rb} +6 -6
- data/spec/models/{policy8e2_enum_spec.rb → policy7e0_enum_spec.rb} +6 -6
- metadata +69 -69
data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb
CHANGED
|
@@ -15,30 +15,30 @@ require 'date'
|
|
|
15
15
|
module PulpContainerClient
|
|
16
16
|
# A serializer for a specialized pull-through distribution referencing sub-distributions.
|
|
17
17
|
class ContainerContainerPullThroughDistributionResponse
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
21
|
-
attr_accessor :base_path
|
|
18
|
+
# Whether this distribution should be shown in the content app.
|
|
19
|
+
attr_accessor :hidden
|
|
22
20
|
|
|
23
21
|
# An optional content-guard. If none is specified, a default one will be used.
|
|
24
22
|
attr_accessor :content_guard
|
|
25
23
|
|
|
26
|
-
#
|
|
27
|
-
attr_accessor :
|
|
24
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
|
25
|
+
attr_accessor :name
|
|
28
26
|
|
|
29
27
|
# Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.
|
|
30
28
|
attr_accessor :pulp_last_updated
|
|
31
29
|
|
|
32
|
-
|
|
30
|
+
# The latest RepositoryVersion for this Repository will be served.
|
|
31
|
+
attr_accessor :repository
|
|
33
32
|
|
|
34
|
-
#
|
|
35
|
-
attr_accessor :
|
|
33
|
+
# Timestamp of creation.
|
|
34
|
+
attr_accessor :pulp_created
|
|
36
35
|
|
|
37
|
-
|
|
38
|
-
attr_accessor :name
|
|
36
|
+
attr_accessor :pulp_labels
|
|
39
37
|
|
|
40
|
-
# The
|
|
41
|
-
attr_accessor :
|
|
38
|
+
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
39
|
+
attr_accessor :base_path
|
|
40
|
+
|
|
41
|
+
attr_accessor :pulp_href
|
|
42
42
|
|
|
43
43
|
# Remote that can be used to fetch content when using pull-through caching.
|
|
44
44
|
attr_accessor :remote
|
|
@@ -58,15 +58,15 @@ module PulpContainerClient
|
|
|
58
58
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
59
59
|
def self.attribute_map
|
|
60
60
|
{
|
|
61
|
-
:'pulp_labels' => :'pulp_labels',
|
|
62
|
-
:'base_path' => :'base_path',
|
|
63
|
-
:'content_guard' => :'content_guard',
|
|
64
|
-
:'pulp_created' => :'pulp_created',
|
|
65
|
-
:'pulp_last_updated' => :'pulp_last_updated',
|
|
66
|
-
:'pulp_href' => :'pulp_href',
|
|
67
61
|
:'hidden' => :'hidden',
|
|
62
|
+
:'content_guard' => :'content_guard',
|
|
68
63
|
:'name' => :'name',
|
|
64
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
|
69
65
|
:'repository' => :'repository',
|
|
66
|
+
:'pulp_created' => :'pulp_created',
|
|
67
|
+
:'pulp_labels' => :'pulp_labels',
|
|
68
|
+
:'base_path' => :'base_path',
|
|
69
|
+
:'pulp_href' => :'pulp_href',
|
|
70
70
|
:'remote' => :'remote',
|
|
71
71
|
:'distributions' => :'distributions',
|
|
72
72
|
:'namespace' => :'namespace',
|
|
@@ -78,15 +78,15 @@ module PulpContainerClient
|
|
|
78
78
|
# Attribute type mapping.
|
|
79
79
|
def self.openapi_types
|
|
80
80
|
{
|
|
81
|
-
:'pulp_labels' => :'Hash<String, String>',
|
|
82
|
-
:'base_path' => :'String',
|
|
83
|
-
:'content_guard' => :'String',
|
|
84
|
-
:'pulp_created' => :'DateTime',
|
|
85
|
-
:'pulp_last_updated' => :'DateTime',
|
|
86
|
-
:'pulp_href' => :'String',
|
|
87
81
|
:'hidden' => :'Boolean',
|
|
82
|
+
:'content_guard' => :'String',
|
|
88
83
|
:'name' => :'String',
|
|
84
|
+
:'pulp_last_updated' => :'DateTime',
|
|
89
85
|
:'repository' => :'String',
|
|
86
|
+
:'pulp_created' => :'DateTime',
|
|
87
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
88
|
+
:'base_path' => :'String',
|
|
89
|
+
:'pulp_href' => :'String',
|
|
90
90
|
:'remote' => :'String',
|
|
91
91
|
:'distributions' => :'Array<String>',
|
|
92
92
|
:'namespace' => :'String',
|
|
@@ -118,44 +118,44 @@ module PulpContainerClient
|
|
|
118
118
|
h[k.to_sym] = v
|
|
119
119
|
}
|
|
120
120
|
|
|
121
|
-
if attributes.key?(:'
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
end
|
|
126
|
-
|
|
127
|
-
if attributes.key?(:'base_path')
|
|
128
|
-
self.base_path = attributes[:'base_path']
|
|
121
|
+
if attributes.key?(:'hidden')
|
|
122
|
+
self.hidden = attributes[:'hidden']
|
|
123
|
+
else
|
|
124
|
+
self.hidden = false
|
|
129
125
|
end
|
|
130
126
|
|
|
131
127
|
if attributes.key?(:'content_guard')
|
|
132
128
|
self.content_guard = attributes[:'content_guard']
|
|
133
129
|
end
|
|
134
130
|
|
|
135
|
-
if attributes.key?(:'
|
|
136
|
-
self.
|
|
131
|
+
if attributes.key?(:'name')
|
|
132
|
+
self.name = attributes[:'name']
|
|
137
133
|
end
|
|
138
134
|
|
|
139
135
|
if attributes.key?(:'pulp_last_updated')
|
|
140
136
|
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
141
137
|
end
|
|
142
138
|
|
|
143
|
-
if attributes.key?(:'
|
|
144
|
-
self.
|
|
139
|
+
if attributes.key?(:'repository')
|
|
140
|
+
self.repository = attributes[:'repository']
|
|
145
141
|
end
|
|
146
142
|
|
|
147
|
-
if attributes.key?(:'
|
|
148
|
-
self.
|
|
149
|
-
else
|
|
150
|
-
self.hidden = false
|
|
143
|
+
if attributes.key?(:'pulp_created')
|
|
144
|
+
self.pulp_created = attributes[:'pulp_created']
|
|
151
145
|
end
|
|
152
146
|
|
|
153
|
-
if attributes.key?(:'
|
|
154
|
-
|
|
147
|
+
if attributes.key?(:'pulp_labels')
|
|
148
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
149
|
+
self.pulp_labels = value
|
|
150
|
+
end
|
|
155
151
|
end
|
|
156
152
|
|
|
157
|
-
if attributes.key?(:'
|
|
158
|
-
self.
|
|
153
|
+
if attributes.key?(:'base_path')
|
|
154
|
+
self.base_path = attributes[:'base_path']
|
|
155
|
+
end
|
|
156
|
+
|
|
157
|
+
if attributes.key?(:'pulp_href')
|
|
158
|
+
self.pulp_href = attributes[:'pulp_href']
|
|
159
159
|
end
|
|
160
160
|
|
|
161
161
|
if attributes.key?(:'remote')
|
|
@@ -185,14 +185,14 @@ module PulpContainerClient
|
|
|
185
185
|
# @return Array for valid properties with the reasons
|
|
186
186
|
def list_invalid_properties
|
|
187
187
|
invalid_properties = Array.new
|
|
188
|
-
if @base_path.nil?
|
|
189
|
-
invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
|
|
190
|
-
end
|
|
191
|
-
|
|
192
188
|
if @name.nil?
|
|
193
189
|
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
|
194
190
|
end
|
|
195
191
|
|
|
192
|
+
if @base_path.nil?
|
|
193
|
+
invalid_properties.push('invalid value for "base_path", base_path cannot be nil.')
|
|
194
|
+
end
|
|
195
|
+
|
|
196
196
|
if @remote.nil?
|
|
197
197
|
invalid_properties.push('invalid value for "remote", remote cannot be nil.')
|
|
198
198
|
end
|
|
@@ -203,8 +203,8 @@ module PulpContainerClient
|
|
|
203
203
|
# Check to see if the all the properties in the model are valid
|
|
204
204
|
# @return true if the model is valid
|
|
205
205
|
def valid?
|
|
206
|
-
return false if @base_path.nil?
|
|
207
206
|
return false if @name.nil?
|
|
207
|
+
return false if @base_path.nil?
|
|
208
208
|
return false if @remote.nil?
|
|
209
209
|
true
|
|
210
210
|
end
|
|
@@ -214,15 +214,15 @@ module PulpContainerClient
|
|
|
214
214
|
def ==(o)
|
|
215
215
|
return true if self.equal?(o)
|
|
216
216
|
self.class == o.class &&
|
|
217
|
-
pulp_labels == o.pulp_labels &&
|
|
218
|
-
base_path == o.base_path &&
|
|
219
|
-
content_guard == o.content_guard &&
|
|
220
|
-
pulp_created == o.pulp_created &&
|
|
221
|
-
pulp_last_updated == o.pulp_last_updated &&
|
|
222
|
-
pulp_href == o.pulp_href &&
|
|
223
217
|
hidden == o.hidden &&
|
|
218
|
+
content_guard == o.content_guard &&
|
|
224
219
|
name == o.name &&
|
|
220
|
+
pulp_last_updated == o.pulp_last_updated &&
|
|
225
221
|
repository == o.repository &&
|
|
222
|
+
pulp_created == o.pulp_created &&
|
|
223
|
+
pulp_labels == o.pulp_labels &&
|
|
224
|
+
base_path == o.base_path &&
|
|
225
|
+
pulp_href == o.pulp_href &&
|
|
226
226
|
remote == o.remote &&
|
|
227
227
|
distributions == o.distributions &&
|
|
228
228
|
namespace == o.namespace &&
|
|
@@ -239,7 +239,7 @@ module PulpContainerClient
|
|
|
239
239
|
# Calculates hash code according to all attributes.
|
|
240
240
|
# @return [Integer] Hash code
|
|
241
241
|
def hash
|
|
242
|
-
[
|
|
242
|
+
[hidden, content_guard, name, pulp_last_updated, repository, pulp_created, pulp_labels, base_path, pulp_href, remote, distributions, namespace, private, description].hash
|
|
243
243
|
end
|
|
244
244
|
|
|
245
245
|
# Builds the object from hash
|
|
@@ -120,7 +120,7 @@ module PulpContainerClient
|
|
|
120
120
|
:'pulp_labels' => :'Hash<String, String>',
|
|
121
121
|
:'download_concurrency' => :'Integer',
|
|
122
122
|
:'max_retries' => :'Integer',
|
|
123
|
-
:'policy' => :'
|
|
123
|
+
:'policy' => :'Policy7e0Enum',
|
|
124
124
|
:'total_timeout' => :'Float',
|
|
125
125
|
:'connect_timeout' => :'Float',
|
|
126
126
|
:'sock_connect_timeout' => :'Float',
|
|
@@ -113,7 +113,7 @@ module PulpContainerClient
|
|
|
113
113
|
:'pulp_labels' => :'Hash<String, String>',
|
|
114
114
|
:'download_concurrency' => :'Integer',
|
|
115
115
|
:'max_retries' => :'Integer',
|
|
116
|
-
:'policy' => :'
|
|
116
|
+
:'policy' => :'Policy7e0Enum',
|
|
117
117
|
:'total_timeout' => :'Float',
|
|
118
118
|
:'connect_timeout' => :'Float',
|
|
119
119
|
:'sock_connect_timeout' => :'Float',
|
|
@@ -15,7 +15,8 @@ require 'date'
|
|
|
15
15
|
module PulpContainerClient
|
|
16
16
|
# Serializer for Container Push Repositories.
|
|
17
17
|
class ContainerContainerPushRepository
|
|
18
|
-
|
|
18
|
+
# A reference to an associated signing service.
|
|
19
|
+
attr_accessor :manifest_signing_service
|
|
19
20
|
|
|
20
21
|
# An optional description.
|
|
21
22
|
attr_accessor :description
|
|
@@ -23,8 +24,7 @@ module PulpContainerClient
|
|
|
23
24
|
# A unique name for this repository.
|
|
24
25
|
attr_accessor :name
|
|
25
26
|
|
|
26
|
-
|
|
27
|
-
attr_accessor :manifest_signing_service
|
|
27
|
+
attr_accessor :pulp_labels
|
|
28
28
|
|
|
29
29
|
# Retain X versions of the repository. Default is null which retains all versions.
|
|
30
30
|
attr_accessor :retain_repo_versions
|
|
@@ -32,10 +32,10 @@ module PulpContainerClient
|
|
|
32
32
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
33
33
|
def self.attribute_map
|
|
34
34
|
{
|
|
35
|
-
:'
|
|
35
|
+
:'manifest_signing_service' => :'manifest_signing_service',
|
|
36
36
|
:'description' => :'description',
|
|
37
37
|
:'name' => :'name',
|
|
38
|
-
:'
|
|
38
|
+
:'pulp_labels' => :'pulp_labels',
|
|
39
39
|
:'retain_repo_versions' => :'retain_repo_versions'
|
|
40
40
|
}
|
|
41
41
|
end
|
|
@@ -43,10 +43,10 @@ module PulpContainerClient
|
|
|
43
43
|
# Attribute type mapping.
|
|
44
44
|
def self.openapi_types
|
|
45
45
|
{
|
|
46
|
-
:'
|
|
46
|
+
:'manifest_signing_service' => :'String',
|
|
47
47
|
:'description' => :'String',
|
|
48
48
|
:'name' => :'String',
|
|
49
|
-
:'
|
|
49
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
50
50
|
:'retain_repo_versions' => :'Integer'
|
|
51
51
|
}
|
|
52
52
|
end
|
|
@@ -54,8 +54,8 @@ module PulpContainerClient
|
|
|
54
54
|
# List of attributes with nullable: true
|
|
55
55
|
def self.openapi_nullable
|
|
56
56
|
Set.new([
|
|
57
|
-
:'description',
|
|
58
57
|
:'manifest_signing_service',
|
|
58
|
+
:'description',
|
|
59
59
|
:'retain_repo_versions'
|
|
60
60
|
])
|
|
61
61
|
end
|
|
@@ -75,10 +75,8 @@ module PulpContainerClient
|
|
|
75
75
|
h[k.to_sym] = v
|
|
76
76
|
}
|
|
77
77
|
|
|
78
|
-
if attributes.key?(:'
|
|
79
|
-
|
|
80
|
-
self.pulp_labels = value
|
|
81
|
-
end
|
|
78
|
+
if attributes.key?(:'manifest_signing_service')
|
|
79
|
+
self.manifest_signing_service = attributes[:'manifest_signing_service']
|
|
82
80
|
end
|
|
83
81
|
|
|
84
82
|
if attributes.key?(:'description')
|
|
@@ -89,8 +87,10 @@ module PulpContainerClient
|
|
|
89
87
|
self.name = attributes[:'name']
|
|
90
88
|
end
|
|
91
89
|
|
|
92
|
-
if attributes.key?(:'
|
|
93
|
-
|
|
90
|
+
if attributes.key?(:'pulp_labels')
|
|
91
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
92
|
+
self.pulp_labels = value
|
|
93
|
+
end
|
|
94
94
|
end
|
|
95
95
|
|
|
96
96
|
if attributes.key?(:'retain_repo_versions')
|
|
@@ -170,10 +170,10 @@ module PulpContainerClient
|
|
|
170
170
|
def ==(o)
|
|
171
171
|
return true if self.equal?(o)
|
|
172
172
|
self.class == o.class &&
|
|
173
|
-
|
|
173
|
+
manifest_signing_service == o.manifest_signing_service &&
|
|
174
174
|
description == o.description &&
|
|
175
175
|
name == o.name &&
|
|
176
|
-
|
|
176
|
+
pulp_labels == o.pulp_labels &&
|
|
177
177
|
retain_repo_versions == o.retain_repo_versions
|
|
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
|
-
[
|
|
189
|
+
[manifest_signing_service, description, name, pulp_labels, retain_repo_versions].hash
|
|
190
190
|
end
|
|
191
191
|
|
|
192
192
|
# Builds the object from hash
|
|
@@ -17,43 +17,43 @@ module PulpContainerClient
|
|
|
17
17
|
class ContainerContainerPushRepositoryResponse
|
|
18
18
|
attr_accessor :versions_href
|
|
19
19
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
# Timestamp of creation.
|
|
23
|
-
attr_accessor :pulp_created
|
|
24
|
-
|
|
25
|
-
# Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.
|
|
26
|
-
attr_accessor :pulp_last_updated
|
|
27
|
-
|
|
28
|
-
attr_accessor :pulp_href
|
|
20
|
+
# A reference to an associated signing service.
|
|
21
|
+
attr_accessor :manifest_signing_service
|
|
29
22
|
|
|
30
23
|
# An optional description.
|
|
31
24
|
attr_accessor :description
|
|
32
25
|
|
|
26
|
+
attr_accessor :latest_version_href
|
|
27
|
+
|
|
33
28
|
# A unique name for this repository.
|
|
34
29
|
attr_accessor :name
|
|
35
30
|
|
|
36
|
-
#
|
|
37
|
-
attr_accessor :
|
|
31
|
+
# Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.
|
|
32
|
+
attr_accessor :pulp_last_updated
|
|
33
|
+
|
|
34
|
+
# Timestamp of creation.
|
|
35
|
+
attr_accessor :pulp_created
|
|
36
|
+
|
|
37
|
+
attr_accessor :pulp_labels
|
|
38
38
|
|
|
39
39
|
# Retain X versions of the repository. Default is null which retains all versions.
|
|
40
40
|
attr_accessor :retain_repo_versions
|
|
41
41
|
|
|
42
|
-
attr_accessor :
|
|
42
|
+
attr_accessor :pulp_href
|
|
43
43
|
|
|
44
44
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
45
45
|
def self.attribute_map
|
|
46
46
|
{
|
|
47
47
|
:'versions_href' => :'versions_href',
|
|
48
|
-
:'
|
|
49
|
-
:'pulp_created' => :'pulp_created',
|
|
50
|
-
:'pulp_last_updated' => :'pulp_last_updated',
|
|
51
|
-
:'pulp_href' => :'pulp_href',
|
|
48
|
+
:'manifest_signing_service' => :'manifest_signing_service',
|
|
52
49
|
:'description' => :'description',
|
|
50
|
+
:'latest_version_href' => :'latest_version_href',
|
|
53
51
|
:'name' => :'name',
|
|
54
|
-
:'
|
|
52
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
|
53
|
+
:'pulp_created' => :'pulp_created',
|
|
54
|
+
:'pulp_labels' => :'pulp_labels',
|
|
55
55
|
:'retain_repo_versions' => :'retain_repo_versions',
|
|
56
|
-
:'
|
|
56
|
+
:'pulp_href' => :'pulp_href'
|
|
57
57
|
}
|
|
58
58
|
end
|
|
59
59
|
|
|
@@ -61,23 +61,23 @@ module PulpContainerClient
|
|
|
61
61
|
def self.openapi_types
|
|
62
62
|
{
|
|
63
63
|
:'versions_href' => :'String',
|
|
64
|
-
:'
|
|
65
|
-
:'pulp_created' => :'DateTime',
|
|
66
|
-
:'pulp_last_updated' => :'DateTime',
|
|
67
|
-
:'pulp_href' => :'String',
|
|
64
|
+
:'manifest_signing_service' => :'String',
|
|
68
65
|
:'description' => :'String',
|
|
66
|
+
:'latest_version_href' => :'String',
|
|
69
67
|
:'name' => :'String',
|
|
70
|
-
:'
|
|
68
|
+
:'pulp_last_updated' => :'DateTime',
|
|
69
|
+
:'pulp_created' => :'DateTime',
|
|
70
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
71
71
|
:'retain_repo_versions' => :'Integer',
|
|
72
|
-
:'
|
|
72
|
+
:'pulp_href' => :'String'
|
|
73
73
|
}
|
|
74
74
|
end
|
|
75
75
|
|
|
76
76
|
# List of attributes with nullable: true
|
|
77
77
|
def self.openapi_nullable
|
|
78
78
|
Set.new([
|
|
79
|
-
:'description',
|
|
80
79
|
:'manifest_signing_service',
|
|
80
|
+
:'description',
|
|
81
81
|
:'retain_repo_versions',
|
|
82
82
|
])
|
|
83
83
|
end
|
|
@@ -101,42 +101,42 @@ module PulpContainerClient
|
|
|
101
101
|
self.versions_href = attributes[:'versions_href']
|
|
102
102
|
end
|
|
103
103
|
|
|
104
|
-
if attributes.key?(:'
|
|
105
|
-
|
|
106
|
-
self.pulp_labels = value
|
|
107
|
-
end
|
|
104
|
+
if attributes.key?(:'manifest_signing_service')
|
|
105
|
+
self.manifest_signing_service = attributes[:'manifest_signing_service']
|
|
108
106
|
end
|
|
109
107
|
|
|
110
|
-
if attributes.key?(:'
|
|
111
|
-
self.
|
|
108
|
+
if attributes.key?(:'description')
|
|
109
|
+
self.description = attributes[:'description']
|
|
112
110
|
end
|
|
113
111
|
|
|
114
|
-
if attributes.key?(:'
|
|
115
|
-
self.
|
|
112
|
+
if attributes.key?(:'latest_version_href')
|
|
113
|
+
self.latest_version_href = attributes[:'latest_version_href']
|
|
116
114
|
end
|
|
117
115
|
|
|
118
|
-
if attributes.key?(:'
|
|
119
|
-
self.
|
|
116
|
+
if attributes.key?(:'name')
|
|
117
|
+
self.name = attributes[:'name']
|
|
120
118
|
end
|
|
121
119
|
|
|
122
|
-
if attributes.key?(:'
|
|
123
|
-
self.
|
|
120
|
+
if attributes.key?(:'pulp_last_updated')
|
|
121
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
124
122
|
end
|
|
125
123
|
|
|
126
|
-
if attributes.key?(:'
|
|
127
|
-
self.
|
|
124
|
+
if attributes.key?(:'pulp_created')
|
|
125
|
+
self.pulp_created = attributes[:'pulp_created']
|
|
128
126
|
end
|
|
129
127
|
|
|
130
|
-
if attributes.key?(:'
|
|
131
|
-
|
|
128
|
+
if attributes.key?(:'pulp_labels')
|
|
129
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
130
|
+
self.pulp_labels = value
|
|
131
|
+
end
|
|
132
132
|
end
|
|
133
133
|
|
|
134
134
|
if attributes.key?(:'retain_repo_versions')
|
|
135
135
|
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
|
136
136
|
end
|
|
137
137
|
|
|
138
|
-
if attributes.key?(:'
|
|
139
|
-
self.
|
|
138
|
+
if attributes.key?(:'pulp_href')
|
|
139
|
+
self.pulp_href = attributes[:'pulp_href']
|
|
140
140
|
end
|
|
141
141
|
end
|
|
142
142
|
|
|
@@ -179,15 +179,15 @@ module PulpContainerClient
|
|
|
179
179
|
return true if self.equal?(o)
|
|
180
180
|
self.class == o.class &&
|
|
181
181
|
versions_href == o.versions_href &&
|
|
182
|
-
|
|
183
|
-
pulp_created == o.pulp_created &&
|
|
184
|
-
pulp_last_updated == o.pulp_last_updated &&
|
|
185
|
-
pulp_href == o.pulp_href &&
|
|
182
|
+
manifest_signing_service == o.manifest_signing_service &&
|
|
186
183
|
description == o.description &&
|
|
184
|
+
latest_version_href == o.latest_version_href &&
|
|
187
185
|
name == o.name &&
|
|
188
|
-
|
|
186
|
+
pulp_last_updated == o.pulp_last_updated &&
|
|
187
|
+
pulp_created == o.pulp_created &&
|
|
188
|
+
pulp_labels == o.pulp_labels &&
|
|
189
189
|
retain_repo_versions == o.retain_repo_versions &&
|
|
190
|
-
|
|
190
|
+
pulp_href == o.pulp_href
|
|
191
191
|
end
|
|
192
192
|
|
|
193
193
|
# @see the `==` method
|
|
@@ -199,7 +199,7 @@ module PulpContainerClient
|
|
|
199
199
|
# Calculates hash code according to all attributes.
|
|
200
200
|
# @return [Integer] Hash code
|
|
201
201
|
def hash
|
|
202
|
-
[versions_href,
|
|
202
|
+
[versions_href, manifest_signing_service, description, latest_version_href, name, pulp_last_updated, pulp_created, pulp_labels, retain_repo_versions, pulp_href].hash
|
|
203
203
|
end
|
|
204
204
|
|
|
205
205
|
# Builds the object from hash
|
|
@@ -137,7 +137,7 @@ module PulpContainerClient
|
|
|
137
137
|
:'pulp_labels' => :'Hash<String, String>',
|
|
138
138
|
:'download_concurrency' => :'Integer',
|
|
139
139
|
:'max_retries' => :'Integer',
|
|
140
|
-
:'policy' => :'
|
|
140
|
+
:'policy' => :'Policy692Enum',
|
|
141
141
|
:'total_timeout' => :'Float',
|
|
142
142
|
:'connect_timeout' => :'Float',
|
|
143
143
|
:'sock_connect_timeout' => :'Float',
|
|
@@ -130,7 +130,7 @@ module PulpContainerClient
|
|
|
130
130
|
:'pulp_labels' => :'Hash<String, String>',
|
|
131
131
|
:'download_concurrency' => :'Integer',
|
|
132
132
|
:'max_retries' => :'Integer',
|
|
133
|
-
:'policy' => :'
|
|
133
|
+
:'policy' => :'Policy692Enum',
|
|
134
134
|
:'total_timeout' => :'Float',
|
|
135
135
|
:'connect_timeout' => :'Float',
|
|
136
136
|
:'sock_connect_timeout' => :'Float',
|