pulp_container_client 2.19.5 → 2.20.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 +7 -5
- data/docs/ContainerBlobResponse.md +0 -2
- data/docs/ContainerContainerDistribution.md +5 -5
- data/docs/ContainerContainerDistributionResponse.md +9 -11
- data/docs/ContainerContainerNamespaceResponse.md +0 -2
- data/docs/ContainerContainerPullThroughDistribution.md +5 -5
- data/docs/ContainerContainerPullThroughDistributionResponse.md +9 -11
- data/docs/ContainerContainerPullThroughRemoteResponse.md +2 -2
- data/docs/ContainerContainerPullThroughRemoteResponseHiddenFields.md +2 -2
- data/docs/ContainerContainerPushRepository.md +5 -5
- data/docs/ContainerContainerPushRepositoryResponse.md +9 -11
- data/docs/ContainerContainerRemoteResponse.md +2 -2
- data/docs/ContainerContainerRepositoryResponse.md +0 -2
- data/docs/ContainerManifestResponse.md +0 -4
- data/docs/ContainerManifestSignatureResponse.md +0 -2
- data/docs/ContainerTagResponse.md +0 -2
- data/docs/ContentBlobsApi.md +1 -1
- data/docs/ContentManifestsApi.md +3 -3
- data/docs/ContentSignaturesApi.md +1 -1
- data/docs/ContentTagsApi.md +1 -1
- data/docs/DistributionsContainerApi.md +1 -1
- data/docs/DistributionsPullThroughApi.md +1 -1
- data/docs/IndexDynamicApi.md +50 -0
- data/docs/IndexStaticApi.md +50 -0
- data/docs/PaginatedRepositoryVersionResponseList.md +2 -2
- data/docs/PaginatedcontainerBlobResponseList.md +2 -2
- data/docs/PaginatedcontainerContainerDistributionResponseList.md +2 -2
- data/docs/PaginatedcontainerContainerNamespaceResponseList.md +2 -2
- data/docs/PaginatedcontainerContainerPullThroughDistributionResponseList.md +2 -2
- data/docs/PaginatedcontainerContainerPullThroughRemoteResponseList.md +2 -2
- data/docs/PaginatedcontainerContainerPushRepositoryResponseList.md +2 -2
- data/docs/PaginatedcontainerContainerRemoteResponseList.md +2 -2
- data/docs/PaginatedcontainerContainerRepositoryResponseList.md +2 -2
- data/docs/PaginatedcontainerManifestResponseList.md +2 -2
- data/docs/PaginatedcontainerManifestSignatureResponseList.md +2 -2
- data/docs/PaginatedcontainerTagResponseList.md +2 -2
- data/docs/PatchedcontainerContainerDistribution.md +5 -5
- data/docs/PatchedcontainerContainerPullThroughDistribution.md +5 -5
- data/docs/PatchedcontainerContainerPushRepository.md +5 -5
- data/docs/PulpContainerNamespacesApi.md +1 -1
- data/docs/RemotesContainerApi.md +1 -1
- data/docs/RemotesPullThroughApi.md +1 -1
- data/docs/RepositoriesContainerApi.md +1 -1
- data/docs/RepositoriesContainerPushApi.md +1 -1
- data/docs/RepositoriesContainerPushVersionsApi.md +1 -1
- data/docs/RepositoriesContainerVersionsApi.md +1 -1
- data/docs/RepositoryVersionResponse.md +0 -2
- data/docs/TokenApi.md +1 -1
- data/lib/pulp_container_client/api/content_manifests_api.rb +3 -3
- 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/configuration.rb +2 -2
- data/lib/pulp_container_client/models/container_blob_response.rb +1 -11
- data/lib/pulp_container_client/models/container_container_distribution.rb +22 -22
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +39 -49
- data/lib/pulp_container_client/models/container_container_namespace_response.rb +1 -11
- data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +22 -22
- data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +39 -49
- data/lib/pulp_container_client/models/container_container_pull_through_remote_response.rb +11 -11
- data/lib/pulp_container_client/models/container_container_pull_through_remote_response_hidden_fields.rb +0 -10
- data/lib/pulp_container_client/models/container_container_push_repository.rb +36 -36
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +40 -50
- data/lib/pulp_container_client/models/container_container_remote_response.rb +11 -11
- data/lib/pulp_container_client/models/container_container_repository_response.rb +1 -11
- data/lib/pulp_container_client/models/container_manifest_response.rb +1 -26
- data/lib/pulp_container_client/models/container_manifest_signature_response.rb +1 -11
- data/lib/pulp_container_client/models/container_tag_response.rb +1 -11
- data/lib/pulp_container_client/models/paginated_repository_version_response_list.rb +0 -10
- data/lib/pulp_container_client/models/paginatedcontainer_blob_response_list.rb +0 -10
- data/lib/pulp_container_client/models/paginatedcontainer_container_distribution_response_list.rb +0 -10
- data/lib/pulp_container_client/models/paginatedcontainer_container_namespace_response_list.rb +0 -10
- data/lib/pulp_container_client/models/paginatedcontainer_container_pull_through_distribution_response_list.rb +0 -10
- data/lib/pulp_container_client/models/paginatedcontainer_container_pull_through_remote_response_list.rb +0 -10
- data/lib/pulp_container_client/models/paginatedcontainer_container_push_repository_response_list.rb +0 -10
- data/lib/pulp_container_client/models/paginatedcontainer_container_remote_response_list.rb +0 -10
- data/lib/pulp_container_client/models/paginatedcontainer_container_repository_response_list.rb +0 -10
- data/lib/pulp_container_client/models/paginatedcontainer_manifest_response_list.rb +0 -10
- data/lib/pulp_container_client/models/paginatedcontainer_manifest_signature_response_list.rb +0 -10
- data/lib/pulp_container_client/models/paginatedcontainer_tag_response_list.rb +0 -10
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +22 -22
- data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +22 -22
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +36 -36
- data/lib/pulp_container_client/models/repository_version_response.rb +1 -11
- data/lib/pulp_container_client/version.rb +1 -1
- data/lib/pulp_container_client.rb +2 -0
- data/spec/api/content_manifests_api_spec.rb +1 -1
- data/spec/api/index_dynamic_api_spec.rb +45 -0
- data/spec/api/index_static_api_spec.rb +45 -0
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/container_blob_response_spec.rb +0 -6
- data/spec/models/container_container_distribution_response_spec.rb +6 -12
- data/spec/models/container_container_distribution_spec.rb +5 -5
- data/spec/models/container_container_namespace_response_spec.rb +0 -6
- data/spec/models/container_container_pull_through_distribution_response_spec.rb +6 -12
- data/spec/models/container_container_pull_through_distribution_spec.rb +5 -5
- data/spec/models/container_container_pull_through_remote_response_spec.rb +6 -6
- data/spec/models/container_container_push_repository_response_spec.rb +7 -13
- data/spec/models/container_container_push_repository_spec.rb +4 -4
- data/spec/models/container_container_remote_response_spec.rb +6 -6
- data/spec/models/container_container_repository_response_spec.rb +0 -6
- data/spec/models/container_manifest_response_spec.rb +0 -12
- data/spec/models/container_manifest_signature_response_spec.rb +0 -6
- data/spec/models/container_tag_response_spec.rb +0 -6
- data/spec/models/patchedcontainer_container_distribution_spec.rb +5 -5
- data/spec/models/patchedcontainer_container_pull_through_distribution_spec.rb +5 -5
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +4 -4
- data/spec/models/repository_version_response_spec.rb +0 -6
- metadata +85 -77
@@ -20,9 +20,6 @@ module PulpContainerClient
|
|
20
20
|
# Timestamp of creation.
|
21
21
|
attr_accessor :pulp_created
|
22
22
|
|
23
|
-
# Timestamp of the most recent update of the remote.
|
24
|
-
attr_accessor :pulp_last_updated
|
25
|
-
|
26
23
|
# A unique name for this remote.
|
27
24
|
attr_accessor :name
|
28
25
|
|
@@ -43,6 +40,9 @@ module PulpContainerClient
|
|
43
40
|
|
44
41
|
attr_accessor :pulp_labels
|
45
42
|
|
43
|
+
# Timestamp of the most recent update of the remote.
|
44
|
+
attr_accessor :pulp_last_updated
|
45
|
+
|
46
46
|
# Total number of simultaneous connections. If not set then the default value will be used.
|
47
47
|
attr_accessor :download_concurrency
|
48
48
|
|
@@ -77,7 +77,6 @@ module PulpContainerClient
|
|
77
77
|
{
|
78
78
|
:'pulp_href' => :'pulp_href',
|
79
79
|
:'pulp_created' => :'pulp_created',
|
80
|
-
:'pulp_last_updated' => :'pulp_last_updated',
|
81
80
|
:'name' => :'name',
|
82
81
|
:'url' => :'url',
|
83
82
|
:'ca_cert' => :'ca_cert',
|
@@ -85,6 +84,7 @@ module PulpContainerClient
|
|
85
84
|
:'tls_validation' => :'tls_validation',
|
86
85
|
:'proxy_url' => :'proxy_url',
|
87
86
|
:'pulp_labels' => :'pulp_labels',
|
87
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
88
88
|
:'download_concurrency' => :'download_concurrency',
|
89
89
|
:'max_retries' => :'max_retries',
|
90
90
|
:'policy' => :'policy',
|
@@ -103,7 +103,6 @@ module PulpContainerClient
|
|
103
103
|
{
|
104
104
|
:'pulp_href' => :'String',
|
105
105
|
:'pulp_created' => :'DateTime',
|
106
|
-
:'pulp_last_updated' => :'DateTime',
|
107
106
|
:'name' => :'String',
|
108
107
|
:'url' => :'String',
|
109
108
|
:'ca_cert' => :'String',
|
@@ -111,6 +110,7 @@ module PulpContainerClient
|
|
111
110
|
:'tls_validation' => :'Boolean',
|
112
111
|
:'proxy_url' => :'String',
|
113
112
|
:'pulp_labels' => :'Hash<String, String>',
|
113
|
+
:'pulp_last_updated' => :'DateTime',
|
114
114
|
:'download_concurrency' => :'Integer',
|
115
115
|
:'max_retries' => :'Integer',
|
116
116
|
:'policy' => :'Policy8e2Enum',
|
@@ -163,10 +163,6 @@ module PulpContainerClient
|
|
163
163
|
self.pulp_created = attributes[:'pulp_created']
|
164
164
|
end
|
165
165
|
|
166
|
-
if attributes.key?(:'pulp_last_updated')
|
167
|
-
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
168
|
-
end
|
169
|
-
|
170
166
|
if attributes.key?(:'name')
|
171
167
|
self.name = attributes[:'name']
|
172
168
|
end
|
@@ -197,6 +193,10 @@ module PulpContainerClient
|
|
197
193
|
end
|
198
194
|
end
|
199
195
|
|
196
|
+
if attributes.key?(:'pulp_last_updated')
|
197
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
198
|
+
end
|
199
|
+
|
200
200
|
if attributes.key?(:'download_concurrency')
|
201
201
|
self.download_concurrency = attributes[:'download_concurrency']
|
202
202
|
end
|
@@ -347,7 +347,6 @@ module PulpContainerClient
|
|
347
347
|
self.class == o.class &&
|
348
348
|
pulp_href == o.pulp_href &&
|
349
349
|
pulp_created == o.pulp_created &&
|
350
|
-
pulp_last_updated == o.pulp_last_updated &&
|
351
350
|
name == o.name &&
|
352
351
|
url == o.url &&
|
353
352
|
ca_cert == o.ca_cert &&
|
@@ -355,6 +354,7 @@ module PulpContainerClient
|
|
355
354
|
tls_validation == o.tls_validation &&
|
356
355
|
proxy_url == o.proxy_url &&
|
357
356
|
pulp_labels == o.pulp_labels &&
|
357
|
+
pulp_last_updated == o.pulp_last_updated &&
|
358
358
|
download_concurrency == o.download_concurrency &&
|
359
359
|
max_retries == o.max_retries &&
|
360
360
|
policy == o.policy &&
|
@@ -376,7 +376,7 @@ module PulpContainerClient
|
|
376
376
|
# Calculates hash code according to all attributes.
|
377
377
|
# @return [Integer] Hash code
|
378
378
|
def hash
|
379
|
-
[pulp_href, pulp_created,
|
379
|
+
[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, hidden_fields].hash
|
380
380
|
end
|
381
381
|
|
382
382
|
# Builds the object from hash
|
@@ -68,22 +68,12 @@ module PulpContainerClient
|
|
68
68
|
# @return Array for valid properties with the reasons
|
69
69
|
def list_invalid_properties
|
70
70
|
invalid_properties = Array.new
|
71
|
-
if @name.nil?
|
72
|
-
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
73
|
-
end
|
74
|
-
|
75
|
-
if @is_set.nil?
|
76
|
-
invalid_properties.push('invalid value for "is_set", is_set cannot be nil.')
|
77
|
-
end
|
78
|
-
|
79
71
|
invalid_properties
|
80
72
|
end
|
81
73
|
|
82
74
|
# Check to see if the all the properties in the model are valid
|
83
75
|
# @return true if the model is valid
|
84
76
|
def valid?
|
85
|
-
return false if @name.nil?
|
86
|
-
return false if @is_set.nil?
|
87
77
|
true
|
88
78
|
end
|
89
79
|
|
@@ -18,25 +18,25 @@ module PulpContainerClient
|
|
18
18
|
# Retain X versions of the repository. Default is null which retains all versions.
|
19
19
|
attr_accessor :retain_repo_versions
|
20
20
|
|
21
|
-
attr_accessor :pulp_labels
|
22
|
-
|
23
21
|
# A reference to an associated signing service.
|
24
22
|
attr_accessor :manifest_signing_service
|
25
23
|
|
26
|
-
|
27
|
-
attr_accessor :description
|
24
|
+
attr_accessor :pulp_labels
|
28
25
|
|
29
26
|
# A unique name for this repository.
|
30
27
|
attr_accessor :name
|
31
28
|
|
29
|
+
# An optional description.
|
30
|
+
attr_accessor :description
|
31
|
+
|
32
32
|
# Attribute mapping from ruby-style variable name to JSON key.
|
33
33
|
def self.attribute_map
|
34
34
|
{
|
35
35
|
:'retain_repo_versions' => :'retain_repo_versions',
|
36
|
-
:'pulp_labels' => :'pulp_labels',
|
37
36
|
:'manifest_signing_service' => :'manifest_signing_service',
|
38
|
-
:'
|
39
|
-
:'name' => :'name'
|
37
|
+
:'pulp_labels' => :'pulp_labels',
|
38
|
+
:'name' => :'name',
|
39
|
+
:'description' => :'description'
|
40
40
|
}
|
41
41
|
end
|
42
42
|
|
@@ -44,10 +44,10 @@ module PulpContainerClient
|
|
44
44
|
def self.openapi_types
|
45
45
|
{
|
46
46
|
:'retain_repo_versions' => :'Integer',
|
47
|
-
:'pulp_labels' => :'Hash<String, String>',
|
48
47
|
:'manifest_signing_service' => :'String',
|
49
|
-
:'
|
50
|
-
:'name' => :'String'
|
48
|
+
:'pulp_labels' => :'Hash<String, String>',
|
49
|
+
:'name' => :'String',
|
50
|
+
:'description' => :'String'
|
51
51
|
}
|
52
52
|
end
|
53
53
|
|
@@ -56,7 +56,7 @@ module PulpContainerClient
|
|
56
56
|
Set.new([
|
57
57
|
:'retain_repo_versions',
|
58
58
|
:'manifest_signing_service',
|
59
|
-
:'description'
|
59
|
+
:'description'
|
60
60
|
])
|
61
61
|
end
|
62
62
|
|
@@ -79,23 +79,23 @@ module PulpContainerClient
|
|
79
79
|
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
80
80
|
end
|
81
81
|
|
82
|
+
if attributes.key?(:'manifest_signing_service')
|
83
|
+
self.manifest_signing_service = attributes[:'manifest_signing_service']
|
84
|
+
end
|
85
|
+
|
82
86
|
if attributes.key?(:'pulp_labels')
|
83
87
|
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
84
88
|
self.pulp_labels = value
|
85
89
|
end
|
86
90
|
end
|
87
91
|
|
88
|
-
if attributes.key?(:'
|
89
|
-
self.
|
92
|
+
if attributes.key?(:'name')
|
93
|
+
self.name = attributes[:'name']
|
90
94
|
end
|
91
95
|
|
92
96
|
if attributes.key?(:'description')
|
93
97
|
self.description = attributes[:'description']
|
94
98
|
end
|
95
|
-
|
96
|
-
if attributes.key?(:'name')
|
97
|
-
self.name = attributes[:'name']
|
98
|
-
end
|
99
99
|
end
|
100
100
|
|
101
101
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -106,10 +106,6 @@ module PulpContainerClient
|
|
106
106
|
invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
|
107
107
|
end
|
108
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
109
|
if @name.nil?
|
114
110
|
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
115
111
|
end
|
@@ -118,6 +114,10 @@ module PulpContainerClient
|
|
118
114
|
invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
|
119
115
|
end
|
120
116
|
|
117
|
+
if !@description.nil? && @description.to_s.length < 1
|
118
|
+
invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
|
119
|
+
end
|
120
|
+
|
121
121
|
invalid_properties
|
122
122
|
end
|
123
123
|
|
@@ -125,9 +125,9 @@ module PulpContainerClient
|
|
125
125
|
# @return true if the model is valid
|
126
126
|
def valid?
|
127
127
|
return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
128
|
-
return false if !@description.nil? && @description.to_s.length < 1
|
129
128
|
return false if @name.nil?
|
130
129
|
return false if @name.to_s.length < 1
|
130
|
+
return false if !@description.nil? && @description.to_s.length < 1
|
131
131
|
true
|
132
132
|
end
|
133
133
|
|
@@ -141,16 +141,6 @@ module PulpContainerClient
|
|
141
141
|
@retain_repo_versions = retain_repo_versions
|
142
142
|
end
|
143
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
144
|
# Custom attribute writer method with validation
|
155
145
|
# @param [Object] name Value to be assigned
|
156
146
|
def name=(name)
|
@@ -165,16 +155,26 @@ module PulpContainerClient
|
|
165
155
|
@name = name
|
166
156
|
end
|
167
157
|
|
158
|
+
# Custom attribute writer method with validation
|
159
|
+
# @param [Object] description Value to be assigned
|
160
|
+
def description=(description)
|
161
|
+
if !description.nil? && description.to_s.length < 1
|
162
|
+
fail ArgumentError, 'invalid value for "description", the character length must be great than or equal to 1.'
|
163
|
+
end
|
164
|
+
|
165
|
+
@description = description
|
166
|
+
end
|
167
|
+
|
168
168
|
# Checks equality by comparing each attribute.
|
169
169
|
# @param [Object] Object to be compared
|
170
170
|
def ==(o)
|
171
171
|
return true if self.equal?(o)
|
172
172
|
self.class == o.class &&
|
173
173
|
retain_repo_versions == o.retain_repo_versions &&
|
174
|
-
pulp_labels == o.pulp_labels &&
|
175
174
|
manifest_signing_service == o.manifest_signing_service &&
|
176
|
-
|
177
|
-
name == o.name
|
175
|
+
pulp_labels == o.pulp_labels &&
|
176
|
+
name == o.name &&
|
177
|
+
description == o.description
|
178
178
|
end
|
179
179
|
|
180
180
|
# @see the `==` method
|
@@ -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
|
-
[retain_repo_versions, pulp_labels,
|
189
|
+
[retain_repo_versions, manifest_signing_service, pulp_labels, name, description].hash
|
190
190
|
end
|
191
191
|
|
192
192
|
# Builds the object from hash
|
@@ -18,42 +18,38 @@ module PulpContainerClient
|
|
18
18
|
# Retain X versions of the repository. Default is null which retains all versions.
|
19
19
|
attr_accessor :retain_repo_versions
|
20
20
|
|
21
|
-
# Timestamp of creation.
|
22
|
-
attr_accessor :pulp_created
|
23
|
-
|
24
|
-
# 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.
|
25
|
-
attr_accessor :pulp_last_updated
|
26
|
-
|
27
|
-
attr_accessor :versions_href
|
28
|
-
|
29
|
-
attr_accessor :pulp_labels
|
30
|
-
|
31
21
|
attr_accessor :pulp_href
|
32
22
|
|
33
23
|
# A reference to an associated signing service.
|
34
24
|
attr_accessor :manifest_signing_service
|
35
25
|
|
26
|
+
# Timestamp of creation.
|
27
|
+
attr_accessor :pulp_created
|
28
|
+
|
36
29
|
attr_accessor :latest_version_href
|
37
30
|
|
38
|
-
|
39
|
-
attr_accessor :description
|
31
|
+
attr_accessor :pulp_labels
|
40
32
|
|
41
33
|
# A unique name for this repository.
|
42
34
|
attr_accessor :name
|
43
35
|
|
36
|
+
attr_accessor :versions_href
|
37
|
+
|
38
|
+
# An optional description.
|
39
|
+
attr_accessor :description
|
40
|
+
|
44
41
|
# Attribute mapping from ruby-style variable name to JSON key.
|
45
42
|
def self.attribute_map
|
46
43
|
{
|
47
44
|
:'retain_repo_versions' => :'retain_repo_versions',
|
48
|
-
:'pulp_created' => :'pulp_created',
|
49
|
-
:'pulp_last_updated' => :'pulp_last_updated',
|
50
|
-
:'versions_href' => :'versions_href',
|
51
|
-
:'pulp_labels' => :'pulp_labels',
|
52
45
|
:'pulp_href' => :'pulp_href',
|
53
46
|
:'manifest_signing_service' => :'manifest_signing_service',
|
47
|
+
:'pulp_created' => :'pulp_created',
|
54
48
|
:'latest_version_href' => :'latest_version_href',
|
55
|
-
:'
|
56
|
-
:'name' => :'name'
|
49
|
+
:'pulp_labels' => :'pulp_labels',
|
50
|
+
:'name' => :'name',
|
51
|
+
:'versions_href' => :'versions_href',
|
52
|
+
:'description' => :'description'
|
57
53
|
}
|
58
54
|
end
|
59
55
|
|
@@ -61,15 +57,14 @@ module PulpContainerClient
|
|
61
57
|
def self.openapi_types
|
62
58
|
{
|
63
59
|
:'retain_repo_versions' => :'Integer',
|
64
|
-
:'pulp_created' => :'DateTime',
|
65
|
-
:'pulp_last_updated' => :'DateTime',
|
66
|
-
:'versions_href' => :'String',
|
67
|
-
:'pulp_labels' => :'Hash<String, String>',
|
68
60
|
:'pulp_href' => :'String',
|
69
61
|
:'manifest_signing_service' => :'String',
|
62
|
+
:'pulp_created' => :'DateTime',
|
70
63
|
:'latest_version_href' => :'String',
|
71
|
-
:'
|
72
|
-
:'name' => :'String'
|
64
|
+
:'pulp_labels' => :'Hash<String, String>',
|
65
|
+
:'name' => :'String',
|
66
|
+
:'versions_href' => :'String',
|
67
|
+
:'description' => :'String'
|
73
68
|
}
|
74
69
|
end
|
75
70
|
|
@@ -78,7 +73,7 @@ module PulpContainerClient
|
|
78
73
|
Set.new([
|
79
74
|
:'retain_repo_versions',
|
80
75
|
:'manifest_signing_service',
|
81
|
-
:'description'
|
76
|
+
:'description'
|
82
77
|
])
|
83
78
|
end
|
84
79
|
|
@@ -101,16 +96,20 @@ module PulpContainerClient
|
|
101
96
|
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
102
97
|
end
|
103
98
|
|
104
|
-
if attributes.key?(:'
|
105
|
-
self.
|
99
|
+
if attributes.key?(:'pulp_href')
|
100
|
+
self.pulp_href = attributes[:'pulp_href']
|
106
101
|
end
|
107
102
|
|
108
|
-
if attributes.key?(:'
|
109
|
-
self.
|
103
|
+
if attributes.key?(:'manifest_signing_service')
|
104
|
+
self.manifest_signing_service = attributes[:'manifest_signing_service']
|
110
105
|
end
|
111
106
|
|
112
|
-
if attributes.key?(:'
|
113
|
-
self.
|
107
|
+
if attributes.key?(:'pulp_created')
|
108
|
+
self.pulp_created = attributes[:'pulp_created']
|
109
|
+
end
|
110
|
+
|
111
|
+
if attributes.key?(:'latest_version_href')
|
112
|
+
self.latest_version_href = attributes[:'latest_version_href']
|
114
113
|
end
|
115
114
|
|
116
115
|
if attributes.key?(:'pulp_labels')
|
@@ -119,25 +118,17 @@ module PulpContainerClient
|
|
119
118
|
end
|
120
119
|
end
|
121
120
|
|
122
|
-
if attributes.key?(:'
|
123
|
-
self.
|
124
|
-
end
|
125
|
-
|
126
|
-
if attributes.key?(:'manifest_signing_service')
|
127
|
-
self.manifest_signing_service = attributes[:'manifest_signing_service']
|
121
|
+
if attributes.key?(:'name')
|
122
|
+
self.name = attributes[:'name']
|
128
123
|
end
|
129
124
|
|
130
|
-
if attributes.key?(:'
|
131
|
-
self.
|
125
|
+
if attributes.key?(:'versions_href')
|
126
|
+
self.versions_href = attributes[:'versions_href']
|
132
127
|
end
|
133
128
|
|
134
129
|
if attributes.key?(:'description')
|
135
130
|
self.description = attributes[:'description']
|
136
131
|
end
|
137
|
-
|
138
|
-
if attributes.key?(:'name')
|
139
|
-
self.name = attributes[:'name']
|
140
|
-
end
|
141
132
|
end
|
142
133
|
|
143
134
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -179,15 +170,14 @@ module PulpContainerClient
|
|
179
170
|
return true if self.equal?(o)
|
180
171
|
self.class == o.class &&
|
181
172
|
retain_repo_versions == o.retain_repo_versions &&
|
182
|
-
pulp_created == o.pulp_created &&
|
183
|
-
pulp_last_updated == o.pulp_last_updated &&
|
184
|
-
versions_href == o.versions_href &&
|
185
|
-
pulp_labels == o.pulp_labels &&
|
186
173
|
pulp_href == o.pulp_href &&
|
187
174
|
manifest_signing_service == o.manifest_signing_service &&
|
175
|
+
pulp_created == o.pulp_created &&
|
188
176
|
latest_version_href == o.latest_version_href &&
|
189
|
-
|
190
|
-
name == o.name
|
177
|
+
pulp_labels == o.pulp_labels &&
|
178
|
+
name == o.name &&
|
179
|
+
versions_href == o.versions_href &&
|
180
|
+
description == o.description
|
191
181
|
end
|
192
182
|
|
193
183
|
# @see the `==` method
|
@@ -199,7 +189,7 @@ module PulpContainerClient
|
|
199
189
|
# Calculates hash code according to all attributes.
|
200
190
|
# @return [Integer] Hash code
|
201
191
|
def hash
|
202
|
-
[retain_repo_versions,
|
192
|
+
[retain_repo_versions, pulp_href, manifest_signing_service, pulp_created, latest_version_href, pulp_labels, name, versions_href, description].hash
|
203
193
|
end
|
204
194
|
|
205
195
|
# Builds the object from hash
|
@@ -20,9 +20,6 @@ module PulpContainerClient
|
|
20
20
|
# Timestamp of creation.
|
21
21
|
attr_accessor :pulp_created
|
22
22
|
|
23
|
-
# Timestamp of the most recent update of the remote.
|
24
|
-
attr_accessor :pulp_last_updated
|
25
|
-
|
26
23
|
# A unique name for this remote.
|
27
24
|
attr_accessor :name
|
28
25
|
|
@@ -43,6 +40,9 @@ module PulpContainerClient
|
|
43
40
|
|
44
41
|
attr_accessor :pulp_labels
|
45
42
|
|
43
|
+
# Timestamp of the most recent update of the remote.
|
44
|
+
attr_accessor :pulp_last_updated
|
45
|
+
|
46
46
|
# Total number of simultaneous connections. If not set then the default value will be used.
|
47
47
|
attr_accessor :download_concurrency
|
48
48
|
|
@@ -90,7 +90,6 @@ module PulpContainerClient
|
|
90
90
|
{
|
91
91
|
:'pulp_href' => :'pulp_href',
|
92
92
|
:'pulp_created' => :'pulp_created',
|
93
|
-
:'pulp_last_updated' => :'pulp_last_updated',
|
94
93
|
:'name' => :'name',
|
95
94
|
:'url' => :'url',
|
96
95
|
:'ca_cert' => :'ca_cert',
|
@@ -98,6 +97,7 @@ module PulpContainerClient
|
|
98
97
|
:'tls_validation' => :'tls_validation',
|
99
98
|
:'proxy_url' => :'proxy_url',
|
100
99
|
:'pulp_labels' => :'pulp_labels',
|
100
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
101
101
|
:'download_concurrency' => :'download_concurrency',
|
102
102
|
:'max_retries' => :'max_retries',
|
103
103
|
:'policy' => :'policy',
|
@@ -120,7 +120,6 @@ module PulpContainerClient
|
|
120
120
|
{
|
121
121
|
:'pulp_href' => :'String',
|
122
122
|
:'pulp_created' => :'DateTime',
|
123
|
-
:'pulp_last_updated' => :'DateTime',
|
124
123
|
:'name' => :'String',
|
125
124
|
:'url' => :'String',
|
126
125
|
:'ca_cert' => :'String',
|
@@ -128,6 +127,7 @@ module PulpContainerClient
|
|
128
127
|
:'tls_validation' => :'Boolean',
|
129
128
|
:'proxy_url' => :'String',
|
130
129
|
:'pulp_labels' => :'Hash<String, String>',
|
130
|
+
:'pulp_last_updated' => :'DateTime',
|
131
131
|
:'download_concurrency' => :'Integer',
|
132
132
|
:'max_retries' => :'Integer',
|
133
133
|
:'policy' => :'Policy762Enum',
|
@@ -186,10 +186,6 @@ module PulpContainerClient
|
|
186
186
|
self.pulp_created = attributes[:'pulp_created']
|
187
187
|
end
|
188
188
|
|
189
|
-
if attributes.key?(:'pulp_last_updated')
|
190
|
-
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
191
|
-
end
|
192
|
-
|
193
189
|
if attributes.key?(:'name')
|
194
190
|
self.name = attributes[:'name']
|
195
191
|
end
|
@@ -220,6 +216,10 @@ module PulpContainerClient
|
|
220
216
|
end
|
221
217
|
end
|
222
218
|
|
219
|
+
if attributes.key?(:'pulp_last_updated')
|
220
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
221
|
+
end
|
222
|
+
|
223
223
|
if attributes.key?(:'download_concurrency')
|
224
224
|
self.download_concurrency = attributes[:'download_concurrency']
|
225
225
|
end
|
@@ -395,7 +395,6 @@ module PulpContainerClient
|
|
395
395
|
self.class == o.class &&
|
396
396
|
pulp_href == o.pulp_href &&
|
397
397
|
pulp_created == o.pulp_created &&
|
398
|
-
pulp_last_updated == o.pulp_last_updated &&
|
399
398
|
name == o.name &&
|
400
399
|
url == o.url &&
|
401
400
|
ca_cert == o.ca_cert &&
|
@@ -403,6 +402,7 @@ module PulpContainerClient
|
|
403
402
|
tls_validation == o.tls_validation &&
|
404
403
|
proxy_url == o.proxy_url &&
|
405
404
|
pulp_labels == o.pulp_labels &&
|
405
|
+
pulp_last_updated == o.pulp_last_updated &&
|
406
406
|
download_concurrency == o.download_concurrency &&
|
407
407
|
max_retries == o.max_retries &&
|
408
408
|
policy == o.policy &&
|
@@ -428,7 +428,7 @@ module PulpContainerClient
|
|
428
428
|
# Calculates hash code according to all attributes.
|
429
429
|
# @return [Integer] Hash code
|
430
430
|
def hash
|
431
|
-
[pulp_href, pulp_created,
|
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, hidden_fields, upstream_name, include_tags, exclude_tags, sigstore].hash
|
432
432
|
end
|
433
433
|
|
434
434
|
# Builds the object from hash
|
@@ -20,9 +20,6 @@ module PulpContainerClient
|
|
20
20
|
# Timestamp of creation.
|
21
21
|
attr_accessor :pulp_created
|
22
22
|
|
23
|
-
# 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.
|
24
|
-
attr_accessor :pulp_last_updated
|
25
|
-
|
26
23
|
attr_accessor :versions_href
|
27
24
|
|
28
25
|
attr_accessor :pulp_labels
|
@@ -49,7 +46,6 @@ module PulpContainerClient
|
|
49
46
|
{
|
50
47
|
:'pulp_href' => :'pulp_href',
|
51
48
|
:'pulp_created' => :'pulp_created',
|
52
|
-
:'pulp_last_updated' => :'pulp_last_updated',
|
53
49
|
:'versions_href' => :'versions_href',
|
54
50
|
:'pulp_labels' => :'pulp_labels',
|
55
51
|
:'latest_version_href' => :'latest_version_href',
|
@@ -66,7 +62,6 @@ module PulpContainerClient
|
|
66
62
|
{
|
67
63
|
:'pulp_href' => :'String',
|
68
64
|
:'pulp_created' => :'DateTime',
|
69
|
-
:'pulp_last_updated' => :'DateTime',
|
70
65
|
:'versions_href' => :'String',
|
71
66
|
:'pulp_labels' => :'Hash<String, String>',
|
72
67
|
:'latest_version_href' => :'String',
|
@@ -111,10 +106,6 @@ module PulpContainerClient
|
|
111
106
|
self.pulp_created = attributes[:'pulp_created']
|
112
107
|
end
|
113
108
|
|
114
|
-
if attributes.key?(:'pulp_last_updated')
|
115
|
-
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
116
|
-
end
|
117
|
-
|
118
109
|
if attributes.key?(:'versions_href')
|
119
110
|
self.versions_href = attributes[:'versions_href']
|
120
111
|
end
|
@@ -190,7 +181,6 @@ module PulpContainerClient
|
|
190
181
|
self.class == o.class &&
|
191
182
|
pulp_href == o.pulp_href &&
|
192
183
|
pulp_created == o.pulp_created &&
|
193
|
-
pulp_last_updated == o.pulp_last_updated &&
|
194
184
|
versions_href == o.versions_href &&
|
195
185
|
pulp_labels == o.pulp_labels &&
|
196
186
|
latest_version_href == o.latest_version_href &&
|
@@ -210,7 +200,7 @@ module PulpContainerClient
|
|
210
200
|
# Calculates hash code according to all attributes.
|
211
201
|
# @return [Integer] Hash code
|
212
202
|
def hash
|
213
|
-
[pulp_href, pulp_created,
|
203
|
+
[pulp_href, pulp_created, versions_href, pulp_labels, latest_version_href, name, description, retain_repo_versions, remote, manifest_signing_service].hash
|
214
204
|
end
|
215
205
|
|
216
206
|
# Builds the object from hash
|