pulp_container_client 2.19.3 → 2.19.4
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 +5 -7
- data/docs/ContainerBlobResponse.md +2 -0
- data/docs/ContainerContainerDistribution.md +9 -9
- data/docs/ContainerContainerDistributionResponse.md +12 -10
- data/docs/ContainerContainerNamespaceResponse.md +2 -0
- data/docs/ContainerContainerPullThroughDistribution.md +9 -9
- data/docs/ContainerContainerPullThroughDistributionResponse.md +12 -10
- data/docs/ContainerContainerPullThroughRemoteResponse.md +2 -2
- data/docs/ContainerContainerPullThroughRemoteResponseHiddenFields.md +2 -2
- data/docs/ContainerContainerPushRepository.md +5 -5
- data/docs/ContainerContainerPushRepositoryResponse.md +12 -10
- data/docs/ContainerContainerRemoteResponse.md +2 -2
- data/docs/ContainerContainerRepositoryResponse.md +2 -0
- data/docs/ContainerManifestResponse.md +2 -0
- data/docs/ContainerManifestSignatureResponse.md +2 -0
- data/docs/ContainerTagResponse.md +2 -0
- data/docs/ContentBlobsApi.md +1 -1
- data/docs/ContentManifestsApi.md +1 -1
- 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/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 +9 -9
- data/docs/PatchedcontainerContainerPullThroughDistribution.md +9 -9
- 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 +2 -0
- data/docs/TokenApi.md +1 -1
- data/lib/pulp_container_client/configuration.rb +2 -2
- data/lib/pulp_container_client/models/container_blob_response.rb +11 -1
- data/lib/pulp_container_client/models/container_container_distribution.rb +36 -36
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +52 -42
- data/lib/pulp_container_client/models/container_container_namespace_response.rb +11 -1
- data/lib/pulp_container_client/models/container_container_pull_through_distribution.rb +36 -36
- data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb +52 -42
- 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 +10 -0
- data/lib/pulp_container_client/models/container_container_push_repository.rb +39 -39
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +49 -39
- data/lib/pulp_container_client/models/container_container_remote_response.rb +11 -11
- data/lib/pulp_container_client/models/container_container_repository_response.rb +11 -1
- data/lib/pulp_container_client/models/container_manifest_response.rb +11 -1
- data/lib/pulp_container_client/models/container_manifest_signature_response.rb +11 -1
- data/lib/pulp_container_client/models/container_tag_response.rb +11 -1
- data/lib/pulp_container_client/models/paginated_repository_version_response_list.rb +10 -0
- data/lib/pulp_container_client/models/paginatedcontainer_blob_response_list.rb +10 -0
- data/lib/pulp_container_client/models/paginatedcontainer_container_distribution_response_list.rb +10 -0
- data/lib/pulp_container_client/models/paginatedcontainer_container_namespace_response_list.rb +10 -0
- data/lib/pulp_container_client/models/paginatedcontainer_container_pull_through_distribution_response_list.rb +10 -0
- data/lib/pulp_container_client/models/paginatedcontainer_container_pull_through_remote_response_list.rb +10 -0
- data/lib/pulp_container_client/models/paginatedcontainer_container_push_repository_response_list.rb +10 -0
- data/lib/pulp_container_client/models/paginatedcontainer_container_remote_response_list.rb +10 -0
- data/lib/pulp_container_client/models/paginatedcontainer_container_repository_response_list.rb +10 -0
- data/lib/pulp_container_client/models/paginatedcontainer_manifest_response_list.rb +10 -0
- data/lib/pulp_container_client/models/paginatedcontainer_manifest_signature_response_list.rb +10 -0
- data/lib/pulp_container_client/models/paginatedcontainer_tag_response_list.rb +10 -0
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +36 -36
- data/lib/pulp_container_client/models/patchedcontainer_container_pull_through_distribution.rb +36 -36
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +39 -39
- data/lib/pulp_container_client/models/repository_version_response.rb +11 -1
- data/lib/pulp_container_client/version.rb +1 -1
- data/lib/pulp_container_client.rb +0 -2
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/container_blob_response_spec.rb +6 -0
- data/spec/models/container_container_distribution_response_spec.rb +12 -6
- data/spec/models/container_container_distribution_spec.rb +5 -5
- data/spec/models/container_container_namespace_response_spec.rb +6 -0
- data/spec/models/container_container_pull_through_distribution_response_spec.rb +12 -6
- 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 +12 -6
- 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 +6 -0
- data/spec/models/container_manifest_response_spec.rb +6 -0
- data/spec/models/container_manifest_signature_response_spec.rb +6 -0
- data/spec/models/container_tag_response_spec.rb +6 -0
- 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 +6 -0
- metadata +76 -84
- data/docs/IndexDynamicApi.md +0 -50
- data/docs/IndexStaticApi.md +0 -50
- data/lib/pulp_container_client/api/index_dynamic_api.rb +0 -74
- data/lib/pulp_container_client/api/index_static_api.rb +0 -74
- data/spec/api/index_dynamic_api_spec.rb +0 -45
- data/spec/api/index_static_api_spec.rb +0 -45
|
@@ -20,6 +20,9 @@ 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
|
+
|
|
23
26
|
attr_accessor :name
|
|
24
27
|
|
|
25
28
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
@@ -27,6 +30,7 @@ module PulpContainerClient
|
|
|
27
30
|
{
|
|
28
31
|
:'pulp_href' => :'pulp_href',
|
|
29
32
|
:'pulp_created' => :'pulp_created',
|
|
33
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
|
30
34
|
:'name' => :'name'
|
|
31
35
|
}
|
|
32
36
|
end
|
|
@@ -36,6 +40,7 @@ module PulpContainerClient
|
|
|
36
40
|
{
|
|
37
41
|
:'pulp_href' => :'String',
|
|
38
42
|
:'pulp_created' => :'DateTime',
|
|
43
|
+
:'pulp_last_updated' => :'DateTime',
|
|
39
44
|
:'name' => :'String'
|
|
40
45
|
}
|
|
41
46
|
end
|
|
@@ -69,6 +74,10 @@ module PulpContainerClient
|
|
|
69
74
|
self.pulp_created = attributes[:'pulp_created']
|
|
70
75
|
end
|
|
71
76
|
|
|
77
|
+
if attributes.key?(:'pulp_last_updated')
|
|
78
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
79
|
+
end
|
|
80
|
+
|
|
72
81
|
if attributes.key?(:'name')
|
|
73
82
|
self.name = attributes[:'name']
|
|
74
83
|
end
|
|
@@ -99,6 +108,7 @@ module PulpContainerClient
|
|
|
99
108
|
self.class == o.class &&
|
|
100
109
|
pulp_href == o.pulp_href &&
|
|
101
110
|
pulp_created == o.pulp_created &&
|
|
111
|
+
pulp_last_updated == o.pulp_last_updated &&
|
|
102
112
|
name == o.name
|
|
103
113
|
end
|
|
104
114
|
|
|
@@ -111,7 +121,7 @@ module PulpContainerClient
|
|
|
111
121
|
# Calculates hash code according to all attributes.
|
|
112
122
|
# @return [Integer] Hash code
|
|
113
123
|
def hash
|
|
114
|
-
[pulp_href, pulp_created, name].hash
|
|
124
|
+
[pulp_href, pulp_created, pulp_last_updated, name].hash
|
|
115
125
|
end
|
|
116
126
|
|
|
117
127
|
# Builds the object from hash
|
|
@@ -15,22 +15,22 @@ require 'date'
|
|
|
15
15
|
module PulpContainerClient
|
|
16
16
|
# A serializer for a specialized pull-through distribution referencing sub-distributions.
|
|
17
17
|
class ContainerContainerPullThroughDistribution
|
|
18
|
-
#
|
|
19
|
-
attr_accessor :
|
|
18
|
+
# Whether this distribution should be shown in the content app.
|
|
19
|
+
attr_accessor :hidden
|
|
20
20
|
|
|
21
|
-
|
|
22
|
-
attr_accessor :name
|
|
21
|
+
attr_accessor :pulp_labels
|
|
23
22
|
|
|
24
|
-
#
|
|
25
|
-
attr_accessor :
|
|
23
|
+
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
24
|
+
attr_accessor :base_path
|
|
26
25
|
|
|
27
26
|
# The latest RepositoryVersion for this Repository will be served.
|
|
28
27
|
attr_accessor :repository
|
|
29
28
|
|
|
30
|
-
#
|
|
31
|
-
attr_accessor :
|
|
29
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
|
30
|
+
attr_accessor :content_guard
|
|
32
31
|
|
|
33
|
-
|
|
32
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
|
33
|
+
attr_accessor :name
|
|
34
34
|
|
|
35
35
|
# Remote that can be used to fetch content when using pull-through caching.
|
|
36
36
|
attr_accessor :remote
|
|
@@ -47,12 +47,12 @@ module PulpContainerClient
|
|
|
47
47
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
48
48
|
def self.attribute_map
|
|
49
49
|
{
|
|
50
|
-
:'base_path' => :'base_path',
|
|
51
|
-
:'name' => :'name',
|
|
52
|
-
:'content_guard' => :'content_guard',
|
|
53
|
-
:'repository' => :'repository',
|
|
54
50
|
:'hidden' => :'hidden',
|
|
55
51
|
:'pulp_labels' => :'pulp_labels',
|
|
52
|
+
:'base_path' => :'base_path',
|
|
53
|
+
:'repository' => :'repository',
|
|
54
|
+
:'content_guard' => :'content_guard',
|
|
55
|
+
:'name' => :'name',
|
|
56
56
|
:'remote' => :'remote',
|
|
57
57
|
:'distributions' => :'distributions',
|
|
58
58
|
:'private' => :'private',
|
|
@@ -63,12 +63,12 @@ module PulpContainerClient
|
|
|
63
63
|
# Attribute type mapping.
|
|
64
64
|
def self.openapi_types
|
|
65
65
|
{
|
|
66
|
-
:'base_path' => :'String',
|
|
67
|
-
:'name' => :'String',
|
|
68
|
-
:'content_guard' => :'String',
|
|
69
|
-
:'repository' => :'String',
|
|
70
66
|
:'hidden' => :'Boolean',
|
|
71
67
|
:'pulp_labels' => :'Hash<String, String>',
|
|
68
|
+
:'base_path' => :'String',
|
|
69
|
+
:'repository' => :'String',
|
|
70
|
+
:'content_guard' => :'String',
|
|
71
|
+
:'name' => :'String',
|
|
72
72
|
:'remote' => :'String',
|
|
73
73
|
:'distributions' => :'Array<String>',
|
|
74
74
|
:'private' => :'Boolean',
|
|
@@ -99,32 +99,32 @@ module PulpContainerClient
|
|
|
99
99
|
h[k.to_sym] = v
|
|
100
100
|
}
|
|
101
101
|
|
|
102
|
-
if attributes.key?(:'
|
|
103
|
-
self.
|
|
102
|
+
if attributes.key?(:'hidden')
|
|
103
|
+
self.hidden = attributes[:'hidden']
|
|
104
|
+
else
|
|
105
|
+
self.hidden = false
|
|
104
106
|
end
|
|
105
107
|
|
|
106
|
-
if attributes.key?(:'
|
|
107
|
-
|
|
108
|
+
if attributes.key?(:'pulp_labels')
|
|
109
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
110
|
+
self.pulp_labels = value
|
|
111
|
+
end
|
|
108
112
|
end
|
|
109
113
|
|
|
110
|
-
if attributes.key?(:'
|
|
111
|
-
self.
|
|
114
|
+
if attributes.key?(:'base_path')
|
|
115
|
+
self.base_path = attributes[:'base_path']
|
|
112
116
|
end
|
|
113
117
|
|
|
114
118
|
if attributes.key?(:'repository')
|
|
115
119
|
self.repository = attributes[:'repository']
|
|
116
120
|
end
|
|
117
121
|
|
|
118
|
-
if attributes.key?(:'
|
|
119
|
-
self.
|
|
120
|
-
else
|
|
121
|
-
self.hidden = false
|
|
122
|
+
if attributes.key?(:'content_guard')
|
|
123
|
+
self.content_guard = attributes[:'content_guard']
|
|
122
124
|
end
|
|
123
125
|
|
|
124
|
-
if attributes.key?(:'
|
|
125
|
-
|
|
126
|
-
self.pulp_labels = value
|
|
127
|
-
end
|
|
126
|
+
if attributes.key?(:'name')
|
|
127
|
+
self.name = attributes[:'name']
|
|
128
128
|
end
|
|
129
129
|
|
|
130
130
|
if attributes.key?(:'remote')
|
|
@@ -232,12 +232,12 @@ module PulpContainerClient
|
|
|
232
232
|
def ==(o)
|
|
233
233
|
return true if self.equal?(o)
|
|
234
234
|
self.class == o.class &&
|
|
235
|
-
base_path == o.base_path &&
|
|
236
|
-
name == o.name &&
|
|
237
|
-
content_guard == o.content_guard &&
|
|
238
|
-
repository == o.repository &&
|
|
239
235
|
hidden == o.hidden &&
|
|
240
236
|
pulp_labels == o.pulp_labels &&
|
|
237
|
+
base_path == o.base_path &&
|
|
238
|
+
repository == o.repository &&
|
|
239
|
+
content_guard == o.content_guard &&
|
|
240
|
+
name == o.name &&
|
|
241
241
|
remote == o.remote &&
|
|
242
242
|
distributions == o.distributions &&
|
|
243
243
|
private == o.private &&
|
|
@@ -253,7 +253,7 @@ module PulpContainerClient
|
|
|
253
253
|
# Calculates hash code according to all attributes.
|
|
254
254
|
# @return [Integer] Hash code
|
|
255
255
|
def hash
|
|
256
|
-
[
|
|
256
|
+
[hidden, pulp_labels, base_path, repository, content_guard, name, remote, distributions, private, description].hash
|
|
257
257
|
end
|
|
258
258
|
|
|
259
259
|
# Builds the object from hash
|
data/lib/pulp_container_client/models/container_container_pull_through_distribution_response.rb
CHANGED
|
@@ -15,16 +15,18 @@ 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
|
-
attr_accessor :
|
|
20
|
-
|
|
21
|
-
# A unique name. Ex, `rawhide` and `stable`.
|
|
22
|
-
attr_accessor :name
|
|
18
|
+
# 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.
|
|
19
|
+
attr_accessor :pulp_last_updated
|
|
23
20
|
|
|
24
21
|
attr_accessor :pulp_href
|
|
25
22
|
|
|
26
|
-
#
|
|
27
|
-
attr_accessor :
|
|
23
|
+
# Whether this distribution should be shown in the content app.
|
|
24
|
+
attr_accessor :hidden
|
|
25
|
+
|
|
26
|
+
attr_accessor :pulp_labels
|
|
27
|
+
|
|
28
|
+
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
29
|
+
attr_accessor :base_path
|
|
28
30
|
|
|
29
31
|
# The latest RepositoryVersion for this Repository will be served.
|
|
30
32
|
attr_accessor :repository
|
|
@@ -32,10 +34,11 @@ module PulpContainerClient
|
|
|
32
34
|
# Timestamp of creation.
|
|
33
35
|
attr_accessor :pulp_created
|
|
34
36
|
|
|
35
|
-
#
|
|
36
|
-
attr_accessor :
|
|
37
|
+
# An optional content-guard. If none is specified, a default one will be used.
|
|
38
|
+
attr_accessor :content_guard
|
|
37
39
|
|
|
38
|
-
|
|
40
|
+
# A unique name. Ex, `rawhide` and `stable`.
|
|
41
|
+
attr_accessor :name
|
|
39
42
|
|
|
40
43
|
# Remote that can be used to fetch content when using pull-through caching.
|
|
41
44
|
attr_accessor :remote
|
|
@@ -55,14 +58,15 @@ module PulpContainerClient
|
|
|
55
58
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
56
59
|
def self.attribute_map
|
|
57
60
|
{
|
|
58
|
-
:'
|
|
59
|
-
:'name' => :'name',
|
|
61
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
|
60
62
|
:'pulp_href' => :'pulp_href',
|
|
61
|
-
:'content_guard' => :'content_guard',
|
|
62
|
-
:'repository' => :'repository',
|
|
63
|
-
:'pulp_created' => :'pulp_created',
|
|
64
63
|
:'hidden' => :'hidden',
|
|
65
64
|
:'pulp_labels' => :'pulp_labels',
|
|
65
|
+
:'base_path' => :'base_path',
|
|
66
|
+
:'repository' => :'repository',
|
|
67
|
+
:'pulp_created' => :'pulp_created',
|
|
68
|
+
:'content_guard' => :'content_guard',
|
|
69
|
+
:'name' => :'name',
|
|
66
70
|
:'remote' => :'remote',
|
|
67
71
|
:'distributions' => :'distributions',
|
|
68
72
|
:'namespace' => :'namespace',
|
|
@@ -74,14 +78,15 @@ module PulpContainerClient
|
|
|
74
78
|
# Attribute type mapping.
|
|
75
79
|
def self.openapi_types
|
|
76
80
|
{
|
|
77
|
-
:'
|
|
78
|
-
:'name' => :'String',
|
|
81
|
+
:'pulp_last_updated' => :'DateTime',
|
|
79
82
|
:'pulp_href' => :'String',
|
|
80
|
-
:'content_guard' => :'String',
|
|
81
|
-
:'repository' => :'String',
|
|
82
|
-
:'pulp_created' => :'DateTime',
|
|
83
83
|
:'hidden' => :'Boolean',
|
|
84
84
|
:'pulp_labels' => :'Hash<String, String>',
|
|
85
|
+
:'base_path' => :'String',
|
|
86
|
+
:'repository' => :'String',
|
|
87
|
+
:'pulp_created' => :'DateTime',
|
|
88
|
+
:'content_guard' => :'String',
|
|
89
|
+
:'name' => :'String',
|
|
85
90
|
:'remote' => :'String',
|
|
86
91
|
:'distributions' => :'Array<String>',
|
|
87
92
|
:'namespace' => :'String',
|
|
@@ -113,20 +118,28 @@ module PulpContainerClient
|
|
|
113
118
|
h[k.to_sym] = v
|
|
114
119
|
}
|
|
115
120
|
|
|
116
|
-
if attributes.key?(:'
|
|
117
|
-
self.
|
|
118
|
-
end
|
|
119
|
-
|
|
120
|
-
if attributes.key?(:'name')
|
|
121
|
-
self.name = attributes[:'name']
|
|
121
|
+
if attributes.key?(:'pulp_last_updated')
|
|
122
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
122
123
|
end
|
|
123
124
|
|
|
124
125
|
if attributes.key?(:'pulp_href')
|
|
125
126
|
self.pulp_href = attributes[:'pulp_href']
|
|
126
127
|
end
|
|
127
128
|
|
|
128
|
-
if attributes.key?(:'
|
|
129
|
-
self.
|
|
129
|
+
if attributes.key?(:'hidden')
|
|
130
|
+
self.hidden = attributes[:'hidden']
|
|
131
|
+
else
|
|
132
|
+
self.hidden = false
|
|
133
|
+
end
|
|
134
|
+
|
|
135
|
+
if attributes.key?(:'pulp_labels')
|
|
136
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
137
|
+
self.pulp_labels = value
|
|
138
|
+
end
|
|
139
|
+
end
|
|
140
|
+
|
|
141
|
+
if attributes.key?(:'base_path')
|
|
142
|
+
self.base_path = attributes[:'base_path']
|
|
130
143
|
end
|
|
131
144
|
|
|
132
145
|
if attributes.key?(:'repository')
|
|
@@ -137,16 +150,12 @@ module PulpContainerClient
|
|
|
137
150
|
self.pulp_created = attributes[:'pulp_created']
|
|
138
151
|
end
|
|
139
152
|
|
|
140
|
-
if attributes.key?(:'
|
|
141
|
-
self.
|
|
142
|
-
else
|
|
143
|
-
self.hidden = false
|
|
153
|
+
if attributes.key?(:'content_guard')
|
|
154
|
+
self.content_guard = attributes[:'content_guard']
|
|
144
155
|
end
|
|
145
156
|
|
|
146
|
-
if attributes.key?(:'
|
|
147
|
-
|
|
148
|
-
self.pulp_labels = value
|
|
149
|
-
end
|
|
157
|
+
if attributes.key?(:'name')
|
|
158
|
+
self.name = attributes[:'name']
|
|
150
159
|
end
|
|
151
160
|
|
|
152
161
|
if attributes.key?(:'remote')
|
|
@@ -205,14 +214,15 @@ module PulpContainerClient
|
|
|
205
214
|
def ==(o)
|
|
206
215
|
return true if self.equal?(o)
|
|
207
216
|
self.class == o.class &&
|
|
208
|
-
|
|
209
|
-
name == o.name &&
|
|
217
|
+
pulp_last_updated == o.pulp_last_updated &&
|
|
210
218
|
pulp_href == o.pulp_href &&
|
|
211
|
-
content_guard == o.content_guard &&
|
|
212
|
-
repository == o.repository &&
|
|
213
|
-
pulp_created == o.pulp_created &&
|
|
214
219
|
hidden == o.hidden &&
|
|
215
220
|
pulp_labels == o.pulp_labels &&
|
|
221
|
+
base_path == o.base_path &&
|
|
222
|
+
repository == o.repository &&
|
|
223
|
+
pulp_created == o.pulp_created &&
|
|
224
|
+
content_guard == o.content_guard &&
|
|
225
|
+
name == o.name &&
|
|
216
226
|
remote == o.remote &&
|
|
217
227
|
distributions == o.distributions &&
|
|
218
228
|
namespace == o.namespace &&
|
|
@@ -229,7 +239,7 @@ module PulpContainerClient
|
|
|
229
239
|
# Calculates hash code according to all attributes.
|
|
230
240
|
# @return [Integer] Hash code
|
|
231
241
|
def hash
|
|
232
|
-
[
|
|
242
|
+
[pulp_last_updated, pulp_href, hidden, pulp_labels, base_path, repository, pulp_created, content_guard, name, remote, distributions, namespace, private, description].hash
|
|
233
243
|
end
|
|
234
244
|
|
|
235
245
|
# Builds the object from hash
|
|
@@ -20,6 +20,9 @@ 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
|
+
|
|
23
26
|
# A unique name for this remote.
|
|
24
27
|
attr_accessor :name
|
|
25
28
|
|
|
@@ -40,9 +43,6 @@ module PulpContainerClient
|
|
|
40
43
|
|
|
41
44
|
attr_accessor :pulp_labels
|
|
42
45
|
|
|
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,6 +77,7 @@ module PulpContainerClient
|
|
|
77
77
|
{
|
|
78
78
|
:'pulp_href' => :'pulp_href',
|
|
79
79
|
:'pulp_created' => :'pulp_created',
|
|
80
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
|
80
81
|
:'name' => :'name',
|
|
81
82
|
:'url' => :'url',
|
|
82
83
|
:'ca_cert' => :'ca_cert',
|
|
@@ -84,7 +85,6 @@ module PulpContainerClient
|
|
|
84
85
|
:'tls_validation' => :'tls_validation',
|
|
85
86
|
:'proxy_url' => :'proxy_url',
|
|
86
87
|
:'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,6 +103,7 @@ module PulpContainerClient
|
|
|
103
103
|
{
|
|
104
104
|
:'pulp_href' => :'String',
|
|
105
105
|
:'pulp_created' => :'DateTime',
|
|
106
|
+
:'pulp_last_updated' => :'DateTime',
|
|
106
107
|
:'name' => :'String',
|
|
107
108
|
:'url' => :'String',
|
|
108
109
|
:'ca_cert' => :'String',
|
|
@@ -110,7 +111,6 @@ module PulpContainerClient
|
|
|
110
111
|
:'tls_validation' => :'Boolean',
|
|
111
112
|
:'proxy_url' => :'String',
|
|
112
113
|
:'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,6 +163,10 @@ 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
|
+
|
|
166
170
|
if attributes.key?(:'name')
|
|
167
171
|
self.name = attributes[:'name']
|
|
168
172
|
end
|
|
@@ -193,10 +197,6 @@ module PulpContainerClient
|
|
|
193
197
|
end
|
|
194
198
|
end
|
|
195
199
|
|
|
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,6 +347,7 @@ 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 &&
|
|
350
351
|
name == o.name &&
|
|
351
352
|
url == o.url &&
|
|
352
353
|
ca_cert == o.ca_cert &&
|
|
@@ -354,7 +355,6 @@ module PulpContainerClient
|
|
|
354
355
|
tls_validation == o.tls_validation &&
|
|
355
356
|
proxy_url == o.proxy_url &&
|
|
356
357
|
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, name, url, ca_cert, client_cert, tls_validation, proxy_url, pulp_labels,
|
|
379
|
+
[pulp_href, pulp_created, pulp_last_updated, name, url, ca_cert, client_cert, tls_validation, proxy_url, pulp_labels, 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,12 +68,22 @@ 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
|
+
|
|
71
79
|
invalid_properties
|
|
72
80
|
end
|
|
73
81
|
|
|
74
82
|
# Check to see if the all the properties in the model are valid
|
|
75
83
|
# @return true if the model is valid
|
|
76
84
|
def valid?
|
|
85
|
+
return false if @name.nil?
|
|
86
|
+
return false if @is_set.nil?
|
|
77
87
|
true
|
|
78
88
|
end
|
|
79
89
|
|
|
@@ -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
|
+
# An optional description.
|
|
22
|
+
attr_accessor :description
|
|
23
|
+
|
|
21
24
|
# A reference to an associated signing service.
|
|
22
25
|
attr_accessor :manifest_signing_service
|
|
23
26
|
|
|
27
|
+
attr_accessor :pulp_labels
|
|
28
|
+
|
|
24
29
|
# A unique name for this repository.
|
|
25
30
|
attr_accessor :name
|
|
26
31
|
|
|
27
|
-
# An optional description.
|
|
28
|
-
attr_accessor :description
|
|
29
|
-
|
|
30
|
-
attr_accessor :pulp_labels
|
|
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
|
-
:'manifest_signing_service' => :'manifest_signing_service',
|
|
37
|
-
:'name' => :'name',
|
|
38
36
|
:'description' => :'description',
|
|
39
|
-
:'
|
|
37
|
+
:'manifest_signing_service' => :'manifest_signing_service',
|
|
38
|
+
:'pulp_labels' => :'pulp_labels',
|
|
39
|
+
:'name' => :'name'
|
|
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
|
-
:'manifest_signing_service' => :'String',
|
|
48
|
-
:'name' => :'String',
|
|
49
47
|
:'description' => :'String',
|
|
50
|
-
:'
|
|
48
|
+
:'manifest_signing_service' => :'String',
|
|
49
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
50
|
+
:'name' => :'String'
|
|
51
51
|
}
|
|
52
52
|
end
|
|
53
53
|
|
|
@@ -55,8 +55,8 @@ module PulpContainerClient
|
|
|
55
55
|
def self.openapi_nullable
|
|
56
56
|
Set.new([
|
|
57
57
|
:'retain_repo_versions',
|
|
58
|
-
:'manifest_signing_service',
|
|
59
58
|
:'description',
|
|
59
|
+
:'manifest_signing_service',
|
|
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
|
-
|
|
86
|
-
if attributes.key?(:'name')
|
|
87
|
-
self.name = attributes[:'name']
|
|
88
|
-
end
|
|
89
|
-
|
|
90
82
|
if attributes.key?(:'description')
|
|
91
83
|
self.description = attributes[:'description']
|
|
92
84
|
end
|
|
93
85
|
|
|
86
|
+
if attributes.key?(:'manifest_signing_service')
|
|
87
|
+
self.manifest_signing_service = attributes[:'manifest_signing_service']
|
|
88
|
+
end
|
|
89
|
+
|
|
94
90
|
if attributes.key?(:'pulp_labels')
|
|
95
91
|
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
96
92
|
self.pulp_labels = value
|
|
97
93
|
end
|
|
98
94
|
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,6 +106,10 @@ 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
|
+
|
|
109
113
|
if @name.nil?
|
|
110
114
|
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
|
111
115
|
end
|
|
@@ -114,10 +118,6 @@ module PulpContainerClient
|
|
|
114
118
|
invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
|
|
115
119
|
end
|
|
116
120
|
|
|
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
|
|
128
129
|
return false if @name.nil?
|
|
129
130
|
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,6 +141,16 @@ 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
|
+
|
|
144
154
|
# Custom attribute writer method with validation
|
|
145
155
|
# @param [Object] name Value to be assigned
|
|
146
156
|
def name=(name)
|
|
@@ -155,26 +165,16 @@ module PulpContainerClient
|
|
|
155
165
|
@name = name
|
|
156
166
|
end
|
|
157
167
|
|
|
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
|
-
manifest_signing_service == o.manifest_signing_service &&
|
|
175
|
-
name == o.name &&
|
|
176
174
|
description == o.description &&
|
|
177
|
-
|
|
175
|
+
manifest_signing_service == o.manifest_signing_service &&
|
|
176
|
+
pulp_labels == o.pulp_labels &&
|
|
177
|
+
name == o.name
|
|
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,
|
|
189
|
+
[retain_repo_versions, description, manifest_signing_service, pulp_labels, name].hash
|
|
190
190
|
end
|
|
191
191
|
|
|
192
192
|
# Builds the object from hash
|