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,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,8 +73,6 @@ 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',
|
@@ -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
|
|
@@ -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_push_repository_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
|
|
@@ -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_repository_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
|
|
@@ -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_manifest_signature_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
|
|
@@ -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
|
|
@@ -15,20 +15,20 @@ require 'date'
|
|
15
15
|
module PulpContainerClient
|
16
16
|
# A serializer for ContainerDistribution.
|
17
17
|
class PatchedcontainerContainerDistribution
|
18
|
-
attr_accessor :pulp_labels
|
19
|
-
|
20
18
|
# An optional content-guard. If none is specified, a default one will be used.
|
21
19
|
attr_accessor :content_guard
|
22
20
|
|
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
|
25
|
-
|
26
21
|
# Whether this distribution should be shown in the content app.
|
27
22
|
attr_accessor :hidden
|
28
23
|
|
24
|
+
attr_accessor :pulp_labels
|
25
|
+
|
29
26
|
# The latest RepositoryVersion for this Repository will be served.
|
30
27
|
attr_accessor :repository
|
31
28
|
|
29
|
+
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
30
|
+
attr_accessor :base_path
|
31
|
+
|
32
32
|
# A unique name. Ex, `rawhide` and `stable`.
|
33
33
|
attr_accessor :name
|
34
34
|
|
@@ -44,11 +44,11 @@ module PulpContainerClient
|
|
44
44
|
# Attribute mapping from ruby-style variable name to JSON key.
|
45
45
|
def self.attribute_map
|
46
46
|
{
|
47
|
-
:'pulp_labels' => :'pulp_labels',
|
48
47
|
:'content_guard' => :'content_guard',
|
49
|
-
:'base_path' => :'base_path',
|
50
48
|
:'hidden' => :'hidden',
|
49
|
+
:'pulp_labels' => :'pulp_labels',
|
51
50
|
:'repository' => :'repository',
|
51
|
+
:'base_path' => :'base_path',
|
52
52
|
:'name' => :'name',
|
53
53
|
:'repository_version' => :'repository_version',
|
54
54
|
:'private' => :'private',
|
@@ -59,11 +59,11 @@ module PulpContainerClient
|
|
59
59
|
# Attribute type mapping.
|
60
60
|
def self.openapi_types
|
61
61
|
{
|
62
|
-
:'pulp_labels' => :'Hash<String, String>',
|
63
62
|
:'content_guard' => :'String',
|
64
|
-
:'base_path' => :'String',
|
65
63
|
:'hidden' => :'Boolean',
|
64
|
+
:'pulp_labels' => :'Hash<String, String>',
|
66
65
|
:'repository' => :'String',
|
66
|
+
:'base_path' => :'String',
|
67
67
|
:'name' => :'String',
|
68
68
|
:'repository_version' => :'String',
|
69
69
|
:'private' => :'Boolean',
|
@@ -95,30 +95,30 @@ module PulpContainerClient
|
|
95
95
|
h[k.to_sym] = v
|
96
96
|
}
|
97
97
|
|
98
|
-
if attributes.key?(:'pulp_labels')
|
99
|
-
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
100
|
-
self.pulp_labels = value
|
101
|
-
end
|
102
|
-
end
|
103
|
-
|
104
98
|
if attributes.key?(:'content_guard')
|
105
99
|
self.content_guard = attributes[:'content_guard']
|
106
100
|
end
|
107
101
|
|
108
|
-
if attributes.key?(:'base_path')
|
109
|
-
self.base_path = attributes[:'base_path']
|
110
|
-
end
|
111
|
-
|
112
102
|
if attributes.key?(:'hidden')
|
113
103
|
self.hidden = attributes[:'hidden']
|
114
104
|
else
|
115
105
|
self.hidden = false
|
116
106
|
end
|
117
107
|
|
108
|
+
if attributes.key?(:'pulp_labels')
|
109
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
110
|
+
self.pulp_labels = value
|
111
|
+
end
|
112
|
+
end
|
113
|
+
|
118
114
|
if attributes.key?(:'repository')
|
119
115
|
self.repository = attributes[:'repository']
|
120
116
|
end
|
121
117
|
|
118
|
+
if attributes.key?(:'base_path')
|
119
|
+
self.base_path = attributes[:'base_path']
|
120
|
+
end
|
121
|
+
|
122
122
|
if attributes.key?(:'name')
|
123
123
|
self.name = attributes[:'name']
|
124
124
|
end
|
@@ -199,11 +199,11 @@ module PulpContainerClient
|
|
199
199
|
def ==(o)
|
200
200
|
return true if self.equal?(o)
|
201
201
|
self.class == o.class &&
|
202
|
-
pulp_labels == o.pulp_labels &&
|
203
202
|
content_guard == o.content_guard &&
|
204
|
-
base_path == o.base_path &&
|
205
203
|
hidden == o.hidden &&
|
204
|
+
pulp_labels == o.pulp_labels &&
|
206
205
|
repository == o.repository &&
|
206
|
+
base_path == o.base_path &&
|
207
207
|
name == o.name &&
|
208
208
|
repository_version == o.repository_version &&
|
209
209
|
private == o.private &&
|
@@ -219,7 +219,7 @@ module PulpContainerClient
|
|
219
219
|
# Calculates hash code according to all attributes.
|
220
220
|
# @return [Integer] Hash code
|
221
221
|
def hash
|
222
|
-
[
|
222
|
+
[content_guard, hidden, pulp_labels, repository, base_path, name, repository_version, private, description].hash
|
223
223
|
end
|
224
224
|
|
225
225
|
# Builds the object from hash
|