pulp_container_client 2.19.10 → 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 +9 -8
- data/docs/ContainerBlobResponse.md +0 -2
- data/docs/ContainerContainerDistribution.md +5 -5
- data/docs/ContainerContainerDistributionResponse.md +8 -10
- data/docs/ContainerContainerNamespaceResponse.md +0 -2
- data/docs/ContainerContainerPullThroughDistribution.md +5 -5
- data/docs/ContainerContainerPullThroughDistributionResponse.md +8 -10
- data/docs/ContainerContainerPullThroughRemote.md +1 -1
- data/docs/ContainerContainerPullThroughRemoteResponse.md +3 -3
- data/docs/ContainerContainerPullThroughRemoteResponseHiddenFields.md +2 -2
- data/docs/ContainerContainerPushRepository.md +4 -4
- data/docs/ContainerContainerPushRepositoryResponse.md +10 -12
- data/docs/ContainerContainerRemote.md +1 -1
- data/docs/ContainerContainerRemoteResponse.md +3 -3
- data/docs/ContainerContainerRepositoryResponse.md +0 -2
- data/docs/ContainerManifestResponse.md +2 -6
- data/docs/ContainerManifestSignatureResponse.md +0 -2
- data/docs/ContainerTagResponse.md +0 -2
- data/docs/ContentBlobsApi.md +1 -5
- data/docs/ContentManifestsApi.md +3 -7
- data/docs/ContentSignaturesApi.md +1 -5
- data/docs/ContentTagsApi.md +1 -5
- data/docs/DistributionsContainerApi.md +17 -57
- data/docs/DistributionsPullThroughApi.md +17 -57
- data/docs/IndexDynamicApi.md +50 -0
- data/docs/IndexStaticApi.md +50 -0
- data/docs/OCIBuildImage.md +1 -1
- 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/PatchedcontainerContainerPullThroughRemote.md +1 -1
- data/docs/PatchedcontainerContainerPushRepository.md +4 -4
- data/docs/PatchedcontainerContainerRemote.md +1 -1
- data/docs/{Policy692Enum.md → Policy762Enum.md} +2 -2
- data/docs/{Policy7e0Enum.md → Policy8e2Enum.md} +2 -2
- data/docs/PulpContainerNamespacesApi.md +9 -33
- data/docs/RemotesContainerApi.md +17 -57
- data/docs/RemotesPullThroughApi.md +17 -57
- data/docs/RepositoriesContainerApi.md +35 -109
- data/docs/RepositoriesContainerPushApi.md +19 -63
- data/docs/RepositoriesContainerPushVersionsApi.md +5 -17
- data/docs/RepositoriesContainerVersionsApi.md +5 -17
- data/docs/RepositoryVersionResponse.md +0 -2
- data/docs/TokenApi.md +4 -14
- data/lib/pulp_container_client/api/content_blobs_api.rb +0 -6
- data/lib/pulp_container_client/api/content_manifests_api.rb +3 -9
- data/lib/pulp_container_client/api/content_signatures_api.rb +0 -6
- data/lib/pulp_container_client/api/content_tags_api.rb +0 -6
- data/lib/pulp_container_client/api/distributions_container_api.rb +0 -36
- data/lib/pulp_container_client/api/distributions_pull_through_api.rb +0 -36
- 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 -24
- data/lib/pulp_container_client/api/remotes_container_api.rb +0 -36
- data/lib/pulp_container_client/api/remotes_pull_through_api.rb +0 -36
- data/lib/pulp_container_client/api/repositories_container_api.rb +2 -65
- data/lib/pulp_container_client/api/repositories_container_push_api.rb +0 -39
- data/lib/pulp_container_client/api/repositories_container_push_versions_api.rb +0 -12
- data/lib/pulp_container_client/api/repositories_container_versions_api.rb +0 -12
- data/lib/pulp_container_client/api/token_api.rb +0 -9
- 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 +46 -46
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +43 -53
- 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 +46 -46
- data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +43 -53
- 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 +12 -12
- 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 +34 -34
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +44 -54
- data/lib/pulp_container_client/models/container_container_remote.rb +1 -1
- data/lib/pulp_container_client/models/container_container_remote_response.rb +12 -12
- data/lib/pulp_container_client/models/container_container_repository_response.rb +1 -11
- data/lib/pulp_container_client/models/container_manifest_response.rb +3 -28
- 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/oci_build_image.rb +1 -1
- 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 +37 -37
- data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +37 -37
- 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 +34 -34
- data/lib/pulp_container_client/models/patchedcontainer_container_remote.rb +1 -1
- data/lib/pulp_container_client/models/{policy692_enum.rb → policy762_enum.rb} +3 -3
- data/lib/pulp_container_client/models/{policy7e0_enum.rb → policy8e2_enum.rb} +3 -3
- 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 +4 -2
- data/spec/api/content_blobs_api_spec.rb +0 -2
- data/spec/api/content_manifests_api_spec.rb +1 -3
- data/spec/api/content_signatures_api_spec.rb +0 -2
- data/spec/api/content_tags_api_spec.rb +0 -2
- data/spec/api/distributions_container_api_spec.rb +0 -12
- data/spec/api/distributions_pull_through_api_spec.rb +0 -12
- data/spec/api/index_dynamic_api_spec.rb +45 -0
- data/spec/api/index_static_api_spec.rb +45 -0
- data/spec/api/pulp_container_namespaces_api_spec.rb +0 -8
- data/spec/api/remotes_container_api_spec.rb +0 -12
- data/spec/api/remotes_pull_through_api_spec.rb +0 -12
- data/spec/api/repositories_container_api_spec.rb +1 -22
- data/spec/api/repositories_container_push_api_spec.rb +0 -13
- data/spec/api/repositories_container_push_versions_api_spec.rb +0 -4
- data/spec/api/repositories_container_versions_api_spec.rb +0 -4
- data/spec/api/token_api_spec.rb +0 -3
- 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 +7 -13
- 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 +7 -13
- 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 +8 -14
- data/spec/models/container_container_push_repository_spec.rb +3 -3
- 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 +3 -3
- data/spec/models/{policy692_enum_spec.rb → policy762_enum_spec.rb} +6 -6
- data/spec/models/{policy7e0_enum_spec.rb → policy8e2_enum_spec.rb} +6 -6
- data/spec/models/repository_version_response_spec.rb +0 -6
- metadata +90 -82
|
@@ -15,8 +15,10 @@ require 'date'
|
|
|
15
15
|
module PulpContainerClient
|
|
16
16
|
# Serializer for Container Push Repositories.
|
|
17
17
|
class ContainerContainerPushRepositoryResponse
|
|
18
|
-
#
|
|
19
|
-
attr_accessor :
|
|
18
|
+
# Retain X versions of the repository. Default is null which retains all versions.
|
|
19
|
+
attr_accessor :retain_repo_versions
|
|
20
|
+
|
|
21
|
+
attr_accessor :pulp_href
|
|
20
22
|
|
|
21
23
|
# A reference to an associated signing service.
|
|
22
24
|
attr_accessor :manifest_signing_service
|
|
@@ -24,61 +26,54 @@ module PulpContainerClient
|
|
|
24
26
|
# Timestamp of creation.
|
|
25
27
|
attr_accessor :pulp_created
|
|
26
28
|
|
|
27
|
-
|
|
28
|
-
attr_accessor :retain_repo_versions
|
|
29
|
+
attr_accessor :latest_version_href
|
|
29
30
|
|
|
30
31
|
attr_accessor :pulp_labels
|
|
31
32
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
# An optional description.
|
|
35
|
-
attr_accessor :description
|
|
33
|
+
# A unique name for this repository.
|
|
34
|
+
attr_accessor :name
|
|
36
35
|
|
|
37
36
|
attr_accessor :versions_href
|
|
38
37
|
|
|
39
|
-
#
|
|
40
|
-
attr_accessor :
|
|
41
|
-
|
|
42
|
-
attr_accessor :pulp_href
|
|
38
|
+
# An optional description.
|
|
39
|
+
attr_accessor :description
|
|
43
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',
|
|
45
|
+
:'pulp_href' => :'pulp_href',
|
|
48
46
|
:'manifest_signing_service' => :'manifest_signing_service',
|
|
49
47
|
:'pulp_created' => :'pulp_created',
|
|
50
|
-
:'retain_repo_versions' => :'retain_repo_versions',
|
|
51
|
-
:'pulp_labels' => :'pulp_labels',
|
|
52
48
|
:'latest_version_href' => :'latest_version_href',
|
|
53
|
-
:'
|
|
49
|
+
:'pulp_labels' => :'pulp_labels',
|
|
50
|
+
:'name' => :'name',
|
|
54
51
|
:'versions_href' => :'versions_href',
|
|
55
|
-
:'
|
|
56
|
-
:'pulp_href' => :'pulp_href'
|
|
52
|
+
:'description' => :'description'
|
|
57
53
|
}
|
|
58
54
|
end
|
|
59
55
|
|
|
60
56
|
# Attribute type mapping.
|
|
61
57
|
def self.openapi_types
|
|
62
58
|
{
|
|
63
|
-
:'
|
|
59
|
+
:'retain_repo_versions' => :'Integer',
|
|
60
|
+
:'pulp_href' => :'String',
|
|
64
61
|
:'manifest_signing_service' => :'String',
|
|
65
62
|
:'pulp_created' => :'DateTime',
|
|
66
|
-
:'retain_repo_versions' => :'Integer',
|
|
67
|
-
:'pulp_labels' => :'Hash<String, String>',
|
|
68
63
|
:'latest_version_href' => :'String',
|
|
69
|
-
:'
|
|
64
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
65
|
+
:'name' => :'String',
|
|
70
66
|
:'versions_href' => :'String',
|
|
71
|
-
:'
|
|
72
|
-
:'pulp_href' => :'String'
|
|
67
|
+
:'description' => :'String'
|
|
73
68
|
}
|
|
74
69
|
end
|
|
75
70
|
|
|
76
71
|
# List of attributes with nullable: true
|
|
77
72
|
def self.openapi_nullable
|
|
78
73
|
Set.new([
|
|
79
|
-
:'manifest_signing_service',
|
|
80
74
|
:'retain_repo_versions',
|
|
81
|
-
:'
|
|
75
|
+
:'manifest_signing_service',
|
|
76
|
+
:'description'
|
|
82
77
|
])
|
|
83
78
|
end
|
|
84
79
|
|
|
@@ -97,8 +92,12 @@ module PulpContainerClient
|
|
|
97
92
|
h[k.to_sym] = v
|
|
98
93
|
}
|
|
99
94
|
|
|
100
|
-
if attributes.key?(:'
|
|
101
|
-
self.
|
|
95
|
+
if attributes.key?(:'retain_repo_versions')
|
|
96
|
+
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
|
97
|
+
end
|
|
98
|
+
|
|
99
|
+
if attributes.key?(:'pulp_href')
|
|
100
|
+
self.pulp_href = attributes[:'pulp_href']
|
|
102
101
|
end
|
|
103
102
|
|
|
104
103
|
if attributes.key?(:'manifest_signing_service')
|
|
@@ -109,8 +108,8 @@ module PulpContainerClient
|
|
|
109
108
|
self.pulp_created = attributes[:'pulp_created']
|
|
110
109
|
end
|
|
111
110
|
|
|
112
|
-
if attributes.key?(:'
|
|
113
|
-
self.
|
|
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,24 +118,16 @@ module PulpContainerClient
|
|
|
119
118
|
end
|
|
120
119
|
end
|
|
121
120
|
|
|
122
|
-
if attributes.key?(:'
|
|
123
|
-
self.
|
|
124
|
-
end
|
|
125
|
-
|
|
126
|
-
if attributes.key?(:'description')
|
|
127
|
-
self.description = attributes[:'description']
|
|
121
|
+
if attributes.key?(:'name')
|
|
122
|
+
self.name = attributes[:'name']
|
|
128
123
|
end
|
|
129
124
|
|
|
130
125
|
if attributes.key?(:'versions_href')
|
|
131
126
|
self.versions_href = attributes[:'versions_href']
|
|
132
127
|
end
|
|
133
128
|
|
|
134
|
-
if attributes.key?(:'
|
|
135
|
-
self.
|
|
136
|
-
end
|
|
137
|
-
|
|
138
|
-
if attributes.key?(:'pulp_href')
|
|
139
|
-
self.pulp_href = attributes[:'pulp_href']
|
|
129
|
+
if attributes.key?(:'description')
|
|
130
|
+
self.description = attributes[:'description']
|
|
140
131
|
end
|
|
141
132
|
end
|
|
142
133
|
|
|
@@ -144,22 +135,22 @@ module PulpContainerClient
|
|
|
144
135
|
# @return Array for valid properties with the reasons
|
|
145
136
|
def list_invalid_properties
|
|
146
137
|
invalid_properties = Array.new
|
|
147
|
-
if @name.nil?
|
|
148
|
-
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
|
149
|
-
end
|
|
150
|
-
|
|
151
138
|
if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
|
152
139
|
invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
|
|
153
140
|
end
|
|
154
141
|
|
|
142
|
+
if @name.nil?
|
|
143
|
+
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
|
144
|
+
end
|
|
145
|
+
|
|
155
146
|
invalid_properties
|
|
156
147
|
end
|
|
157
148
|
|
|
158
149
|
# Check to see if the all the properties in the model are valid
|
|
159
150
|
# @return true if the model is valid
|
|
160
151
|
def valid?
|
|
161
|
-
return false if @name.nil?
|
|
162
152
|
return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
|
153
|
+
return false if @name.nil?
|
|
163
154
|
true
|
|
164
155
|
end
|
|
165
156
|
|
|
@@ -178,16 +169,15 @@ module PulpContainerClient
|
|
|
178
169
|
def ==(o)
|
|
179
170
|
return true if self.equal?(o)
|
|
180
171
|
self.class == o.class &&
|
|
181
|
-
|
|
172
|
+
retain_repo_versions == o.retain_repo_versions &&
|
|
173
|
+
pulp_href == o.pulp_href &&
|
|
182
174
|
manifest_signing_service == o.manifest_signing_service &&
|
|
183
175
|
pulp_created == o.pulp_created &&
|
|
184
|
-
retain_repo_versions == o.retain_repo_versions &&
|
|
185
|
-
pulp_labels == o.pulp_labels &&
|
|
186
176
|
latest_version_href == o.latest_version_href &&
|
|
187
|
-
|
|
177
|
+
pulp_labels == o.pulp_labels &&
|
|
178
|
+
name == o.name &&
|
|
188
179
|
versions_href == o.versions_href &&
|
|
189
|
-
|
|
190
|
-
pulp_href == o.pulp_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
|
-
[
|
|
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
|
|
@@ -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' => :'Policy762Enum',
|
|
141
141
|
:'total_timeout' => :'Float',
|
|
142
142
|
:'connect_timeout' => :'Float',
|
|
143
143
|
:'sock_connect_timeout' => :'Float',
|
|
@@ -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,9 +127,10 @@ 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
|
-
:'policy' => :'
|
|
133
|
+
:'policy' => :'Policy762Enum',
|
|
134
134
|
:'total_timeout' => :'Float',
|
|
135
135
|
:'connect_timeout' => :'Float',
|
|
136
136
|
:'sock_connect_timeout' => :'Float',
|
|
@@ -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
|
|
@@ -20,12 +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
|
-
# Artifact file representing the physical content
|
|
27
|
-
attr_accessor :artifact
|
|
28
|
-
|
|
29
23
|
# sha256 of the Manifest file
|
|
30
24
|
attr_accessor :digest
|
|
31
25
|
|
|
@@ -61,8 +55,6 @@ module PulpContainerClient
|
|
|
61
55
|
{
|
|
62
56
|
:'pulp_href' => :'pulp_href',
|
|
63
57
|
:'pulp_created' => :'pulp_created',
|
|
64
|
-
:'pulp_last_updated' => :'pulp_last_updated',
|
|
65
|
-
:'artifact' => :'artifact',
|
|
66
58
|
:'digest' => :'digest',
|
|
67
59
|
:'schema_version' => :'schema_version',
|
|
68
60
|
:'media_type' => :'media_type',
|
|
@@ -81,16 +73,14 @@ module PulpContainerClient
|
|
|
81
73
|
{
|
|
82
74
|
:'pulp_href' => :'String',
|
|
83
75
|
:'pulp_created' => :'DateTime',
|
|
84
|
-
:'pulp_last_updated' => :'DateTime',
|
|
85
|
-
:'artifact' => :'String',
|
|
86
76
|
:'digest' => :'String',
|
|
87
77
|
:'schema_version' => :'Integer',
|
|
88
78
|
:'media_type' => :'String',
|
|
89
79
|
:'listed_manifests' => :'Array<String>',
|
|
90
80
|
:'config_blob' => :'String',
|
|
91
81
|
:'blobs' => :'Array<String>',
|
|
92
|
-
:'annotations' => :'
|
|
93
|
-
:'labels' => :'
|
|
82
|
+
:'annotations' => :'Object',
|
|
83
|
+
:'labels' => :'Object',
|
|
94
84
|
:'is_bootable' => :'Boolean',
|
|
95
85
|
:'is_flatpak' => :'Boolean'
|
|
96
86
|
}
|
|
@@ -125,14 +115,6 @@ module PulpContainerClient
|
|
|
125
115
|
self.pulp_created = attributes[:'pulp_created']
|
|
126
116
|
end
|
|
127
117
|
|
|
128
|
-
if attributes.key?(:'pulp_last_updated')
|
|
129
|
-
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
130
|
-
end
|
|
131
|
-
|
|
132
|
-
if attributes.key?(:'artifact')
|
|
133
|
-
self.artifact = attributes[:'artifact']
|
|
134
|
-
end
|
|
135
|
-
|
|
136
118
|
if attributes.key?(:'digest')
|
|
137
119
|
self.digest = attributes[:'digest']
|
|
138
120
|
end
|
|
@@ -186,10 +168,6 @@ module PulpContainerClient
|
|
|
186
168
|
# @return Array for valid properties with the reasons
|
|
187
169
|
def list_invalid_properties
|
|
188
170
|
invalid_properties = Array.new
|
|
189
|
-
if @artifact.nil?
|
|
190
|
-
invalid_properties.push('invalid value for "artifact", artifact cannot be nil.')
|
|
191
|
-
end
|
|
192
|
-
|
|
193
171
|
if @digest.nil?
|
|
194
172
|
invalid_properties.push('invalid value for "digest", digest cannot be nil.')
|
|
195
173
|
end
|
|
@@ -216,7 +194,6 @@ module PulpContainerClient
|
|
|
216
194
|
# Check to see if the all the properties in the model are valid
|
|
217
195
|
# @return true if the model is valid
|
|
218
196
|
def valid?
|
|
219
|
-
return false if @artifact.nil?
|
|
220
197
|
return false if @digest.nil?
|
|
221
198
|
return false if @schema_version.nil?
|
|
222
199
|
return false if @media_type.nil?
|
|
@@ -232,8 +209,6 @@ module PulpContainerClient
|
|
|
232
209
|
self.class == o.class &&
|
|
233
210
|
pulp_href == o.pulp_href &&
|
|
234
211
|
pulp_created == o.pulp_created &&
|
|
235
|
-
pulp_last_updated == o.pulp_last_updated &&
|
|
236
|
-
artifact == o.artifact &&
|
|
237
212
|
digest == o.digest &&
|
|
238
213
|
schema_version == o.schema_version &&
|
|
239
214
|
media_type == o.media_type &&
|
|
@@ -255,7 +230,7 @@ module PulpContainerClient
|
|
|
255
230
|
# Calculates hash code according to all attributes.
|
|
256
231
|
# @return [Integer] Hash code
|
|
257
232
|
def hash
|
|
258
|
-
[pulp_href, pulp_created,
|
|
233
|
+
[pulp_href, pulp_created, digest, schema_version, media_type, listed_manifests, config_blob, blobs, annotations, labels, is_bootable, is_flatpak].hash
|
|
259
234
|
end
|
|
260
235
|
|
|
261
236
|
# 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
|
# Signature name in the format of `digest_algo:manifest_digest@random_32_chars`
|
|
27
24
|
attr_accessor :name
|
|
28
25
|
|
|
@@ -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
|
:'name' => :'name',
|
|
54
50
|
:'digest' => :'digest',
|
|
55
51
|
:'type' => :'type',
|
|
@@ -65,7 +61,6 @@ module PulpContainerClient
|
|
|
65
61
|
{
|
|
66
62
|
:'pulp_href' => :'String',
|
|
67
63
|
:'pulp_created' => :'DateTime',
|
|
68
|
-
:'pulp_last_updated' => :'DateTime',
|
|
69
64
|
:'name' => :'String',
|
|
70
65
|
:'digest' => :'String',
|
|
71
66
|
:'type' => :'String',
|
|
@@ -105,10 +100,6 @@ module PulpContainerClient
|
|
|
105
100
|
self.pulp_created = attributes[:'pulp_created']
|
|
106
101
|
end
|
|
107
102
|
|
|
108
|
-
if attributes.key?(:'pulp_last_updated')
|
|
109
|
-
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
110
|
-
end
|
|
111
|
-
|
|
112
103
|
if attributes.key?(:'name')
|
|
113
104
|
self.name = attributes[:'name']
|
|
114
105
|
end
|
|
@@ -193,7 +184,6 @@ module PulpContainerClient
|
|
|
193
184
|
self.class == o.class &&
|
|
194
185
|
pulp_href == o.pulp_href &&
|
|
195
186
|
pulp_created == o.pulp_created &&
|
|
196
|
-
pulp_last_updated == o.pulp_last_updated &&
|
|
197
187
|
name == o.name &&
|
|
198
188
|
digest == o.digest &&
|
|
199
189
|
type == o.type &&
|
|
@@ -212,7 +202,7 @@ module PulpContainerClient
|
|
|
212
202
|
# Calculates hash code according to all attributes.
|
|
213
203
|
# @return [Integer] Hash code
|
|
214
204
|
def hash
|
|
215
|
-
[pulp_href, pulp_created,
|
|
205
|
+
[pulp_href, pulp_created, name, digest, type, key_id, timestamp, creator, signed_manifest].hash
|
|
216
206
|
end
|
|
217
207
|
|
|
218
208
|
# 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
|
# Tag name
|
|
27
24
|
attr_accessor :name
|
|
28
25
|
|
|
@@ -34,7 +31,6 @@ module PulpContainerClient
|
|
|
34
31
|
{
|
|
35
32
|
:'pulp_href' => :'pulp_href',
|
|
36
33
|
:'pulp_created' => :'pulp_created',
|
|
37
|
-
:'pulp_last_updated' => :'pulp_last_updated',
|
|
38
34
|
:'name' => :'name',
|
|
39
35
|
:'tagged_manifest' => :'tagged_manifest'
|
|
40
36
|
}
|
|
@@ -45,7 +41,6 @@ module PulpContainerClient
|
|
|
45
41
|
{
|
|
46
42
|
:'pulp_href' => :'String',
|
|
47
43
|
:'pulp_created' => :'DateTime',
|
|
48
|
-
:'pulp_last_updated' => :'DateTime',
|
|
49
44
|
:'name' => :'String',
|
|
50
45
|
:'tagged_manifest' => :'String'
|
|
51
46
|
}
|
|
@@ -80,10 +75,6 @@ module PulpContainerClient
|
|
|
80
75
|
self.pulp_created = attributes[:'pulp_created']
|
|
81
76
|
end
|
|
82
77
|
|
|
83
|
-
if attributes.key?(:'pulp_last_updated')
|
|
84
|
-
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
85
|
-
end
|
|
86
|
-
|
|
87
78
|
if attributes.key?(:'name')
|
|
88
79
|
self.name = attributes[:'name']
|
|
89
80
|
end
|
|
@@ -123,7 +114,6 @@ module PulpContainerClient
|
|
|
123
114
|
self.class == o.class &&
|
|
124
115
|
pulp_href == o.pulp_href &&
|
|
125
116
|
pulp_created == o.pulp_created &&
|
|
126
|
-
pulp_last_updated == o.pulp_last_updated &&
|
|
127
117
|
name == o.name &&
|
|
128
118
|
tagged_manifest == o.tagged_manifest
|
|
129
119
|
end
|
|
@@ -137,7 +127,7 @@ module PulpContainerClient
|
|
|
137
127
|
# Calculates hash code according to all attributes.
|
|
138
128
|
# @return [Integer] Hash code
|
|
139
129
|
def hash
|
|
140
|
-
[pulp_href, pulp_created,
|
|
130
|
+
[pulp_href, pulp_created, name, tagged_manifest].hash
|
|
141
131
|
end
|
|
142
132
|
|
|
143
133
|
# Builds the object from hash
|
|
@@ -88,22 +88,12 @@ module PulpContainerClient
|
|
|
88
88
|
# @return Array for valid properties with the reasons
|
|
89
89
|
def list_invalid_properties
|
|
90
90
|
invalid_properties = Array.new
|
|
91
|
-
if @count.nil?
|
|
92
|
-
invalid_properties.push('invalid value for "count", count cannot be nil.')
|
|
93
|
-
end
|
|
94
|
-
|
|
95
|
-
if @results.nil?
|
|
96
|
-
invalid_properties.push('invalid value for "results", results cannot be nil.')
|
|
97
|
-
end
|
|
98
|
-
|
|
99
91
|
invalid_properties
|
|
100
92
|
end
|
|
101
93
|
|
|
102
94
|
# Check to see if the all the properties in the model are valid
|
|
103
95
|
# @return true if the model is valid
|
|
104
96
|
def valid?
|
|
105
|
-
return false if @count.nil?
|
|
106
|
-
return false if @results.nil?
|
|
107
97
|
true
|
|
108
98
|
end
|
|
109
99
|
|
|
@@ -88,22 +88,12 @@ module PulpContainerClient
|
|
|
88
88
|
# @return Array for valid properties with the reasons
|
|
89
89
|
def list_invalid_properties
|
|
90
90
|
invalid_properties = Array.new
|
|
91
|
-
if @count.nil?
|
|
92
|
-
invalid_properties.push('invalid value for "count", count cannot be nil.')
|
|
93
|
-
end
|
|
94
|
-
|
|
95
|
-
if @results.nil?
|
|
96
|
-
invalid_properties.push('invalid value for "results", results cannot be nil.')
|
|
97
|
-
end
|
|
98
|
-
|
|
99
91
|
invalid_properties
|
|
100
92
|
end
|
|
101
93
|
|
|
102
94
|
# Check to see if the all the properties in the model are valid
|
|
103
95
|
# @return true if the model is valid
|
|
104
96
|
def valid?
|
|
105
|
-
return false if @count.nil?
|
|
106
|
-
return false if @results.nil?
|
|
107
97
|
true
|
|
108
98
|
end
|
|
109
99
|
|
data/lib/pulp_container_client/models/paginatedcontainer_container_distribution_response_list.rb
CHANGED
|
@@ -88,22 +88,12 @@ module PulpContainerClient
|
|
|
88
88
|
# @return Array for valid properties with the reasons
|
|
89
89
|
def list_invalid_properties
|
|
90
90
|
invalid_properties = Array.new
|
|
91
|
-
if @count.nil?
|
|
92
|
-
invalid_properties.push('invalid value for "count", count cannot be nil.')
|
|
93
|
-
end
|
|
94
|
-
|
|
95
|
-
if @results.nil?
|
|
96
|
-
invalid_properties.push('invalid value for "results", results cannot be nil.')
|
|
97
|
-
end
|
|
98
|
-
|
|
99
91
|
invalid_properties
|
|
100
92
|
end
|
|
101
93
|
|
|
102
94
|
# Check to see if the all the properties in the model are valid
|
|
103
95
|
# @return true if the model is valid
|
|
104
96
|
def valid?
|
|
105
|
-
return false if @count.nil?
|
|
106
|
-
return false if @results.nil?
|
|
107
97
|
true
|
|
108
98
|
end
|
|
109
99
|
|
data/lib/pulp_container_client/models/paginatedcontainer_container_namespace_response_list.rb
CHANGED
|
@@ -88,22 +88,12 @@ module PulpContainerClient
|
|
|
88
88
|
# @return Array for valid properties with the reasons
|
|
89
89
|
def list_invalid_properties
|
|
90
90
|
invalid_properties = Array.new
|
|
91
|
-
if @count.nil?
|
|
92
|
-
invalid_properties.push('invalid value for "count", count cannot be nil.')
|
|
93
|
-
end
|
|
94
|
-
|
|
95
|
-
if @results.nil?
|
|
96
|
-
invalid_properties.push('invalid value for "results", results cannot be nil.')
|
|
97
|
-
end
|
|
98
|
-
|
|
99
91
|
invalid_properties
|
|
100
92
|
end
|
|
101
93
|
|
|
102
94
|
# Check to see if the all the properties in the model are valid
|
|
103
95
|
# @return true if the model is valid
|
|
104
96
|
def valid?
|
|
105
|
-
return false if @count.nil?
|
|
106
|
-
return false if @results.nil?
|
|
107
97
|
true
|
|
108
98
|
end
|
|
109
99
|
|