pulp_ansible_client 0.28.7 → 0.28.9
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 +4 -4
- data/docs/AnsibleCollectionVersionResponse.md +8 -8
- data/docs/AnsibleGitRemote.md +28 -28
- data/docs/AnsibleGitRemoteResponse.md +28 -28
- data/docs/AnsibleRole.md +2 -2
- data/docs/AnsibleRoleResponse.md +8 -8
- data/docs/ContentCollectionVersionsApi.md +6 -6
- data/docs/PatchedansibleGitRemote.md +28 -28
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +9 -9
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api.rb +2 -2
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api.rb +2 -2
- data/lib/pulp_ansible_client/models/ansible_ansible_namespace_metadata.rb +3 -3
- data/lib/pulp_ansible_client/models/ansible_ansible_namespace_metadata_response.rb +3 -3
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +37 -37
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +237 -237
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +162 -162
- data/lib/pulp_ansible_client/models/ansible_role.rb +13 -13
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +39 -39
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +231 -231
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/spec/api/content_collection_versions_api_spec.rb +3 -3
- data/spec/models/ansible_collection_version_response_spec.rb +6 -6
- data/spec/models/ansible_git_remote_response_spec.rb +20 -20
- data/spec/models/ansible_git_remote_spec.rb +20 -20
- data/spec/models/ansible_role_response_spec.rb +6 -6
- data/spec/models/ansible_role_spec.rb +3 -3
- data/spec/models/patchedansible_git_remote_spec.rb +20 -20
- metadata +118 -118
|
@@ -16,25 +16,25 @@ require 'time'
|
|
|
16
16
|
module PulpAnsibleClient
|
|
17
17
|
# A serializer for CollectionVersion Content.
|
|
18
18
|
class AnsibleCollectionVersionResponse
|
|
19
|
+
# 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.
|
|
20
|
+
attr_accessor :pulp_last_updated
|
|
21
|
+
|
|
22
|
+
attr_accessor :pulp_href
|
|
23
|
+
|
|
24
|
+
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
25
|
+
attr_accessor :pulp_labels
|
|
26
|
+
|
|
19
27
|
# Artifact file representing the physical content
|
|
20
28
|
attr_accessor :artifact
|
|
21
29
|
|
|
30
|
+
attr_accessor :vuln_report
|
|
31
|
+
|
|
22
32
|
# Timestamp of creation.
|
|
23
33
|
attr_accessor :pulp_created
|
|
24
34
|
|
|
25
|
-
attr_accessor :pulp_href
|
|
26
|
-
|
|
27
35
|
# The Pulp Resource Name (PRN).
|
|
28
36
|
attr_accessor :prn
|
|
29
37
|
|
|
30
|
-
attr_accessor :vuln_report
|
|
31
|
-
|
|
32
|
-
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
33
|
-
attr_accessor :pulp_labels
|
|
34
|
-
|
|
35
|
-
# 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.
|
|
36
|
-
attr_accessor :pulp_last_updated
|
|
37
|
-
|
|
38
38
|
# The SHA-256 checksum if available.
|
|
39
39
|
attr_accessor :sha256
|
|
40
40
|
|
|
@@ -97,13 +97,13 @@ module PulpAnsibleClient
|
|
|
97
97
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
98
98
|
def self.attribute_map
|
|
99
99
|
{
|
|
100
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
|
101
|
+
:'pulp_href' => :'pulp_href',
|
|
102
|
+
:'pulp_labels' => :'pulp_labels',
|
|
100
103
|
:'artifact' => :'artifact',
|
|
104
|
+
:'vuln_report' => :'vuln_report',
|
|
101
105
|
:'pulp_created' => :'pulp_created',
|
|
102
|
-
:'pulp_href' => :'pulp_href',
|
|
103
106
|
:'prn' => :'prn',
|
|
104
|
-
:'vuln_report' => :'vuln_report',
|
|
105
|
-
:'pulp_labels' => :'pulp_labels',
|
|
106
|
-
:'pulp_last_updated' => :'pulp_last_updated',
|
|
107
107
|
:'sha256' => :'sha256',
|
|
108
108
|
:'md5' => :'md5',
|
|
109
109
|
:'sha1' => :'sha1',
|
|
@@ -135,13 +135,13 @@ module PulpAnsibleClient
|
|
|
135
135
|
# Attribute type mapping.
|
|
136
136
|
def self.openapi_types
|
|
137
137
|
{
|
|
138
|
+
:'pulp_last_updated' => :'Time',
|
|
139
|
+
:'pulp_href' => :'String',
|
|
140
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
138
141
|
:'artifact' => :'String',
|
|
142
|
+
:'vuln_report' => :'String',
|
|
139
143
|
:'pulp_created' => :'Time',
|
|
140
|
-
:'pulp_href' => :'String',
|
|
141
144
|
:'prn' => :'String',
|
|
142
|
-
:'vuln_report' => :'String',
|
|
143
|
-
:'pulp_labels' => :'Hash<String, String>',
|
|
144
|
-
:'pulp_last_updated' => :'Time',
|
|
145
145
|
:'sha256' => :'String',
|
|
146
146
|
:'md5' => :'String',
|
|
147
147
|
:'sha1' => :'String',
|
|
@@ -187,34 +187,34 @@ module PulpAnsibleClient
|
|
|
187
187
|
h[k.to_sym] = v
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
if attributes.key?(:'
|
|
191
|
-
self.
|
|
192
|
-
end
|
|
193
|
-
|
|
194
|
-
if attributes.key?(:'pulp_created')
|
|
195
|
-
self.pulp_created = attributes[:'pulp_created']
|
|
190
|
+
if attributes.key?(:'pulp_last_updated')
|
|
191
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
196
192
|
end
|
|
197
193
|
|
|
198
194
|
if attributes.key?(:'pulp_href')
|
|
199
195
|
self.pulp_href = attributes[:'pulp_href']
|
|
200
196
|
end
|
|
201
197
|
|
|
202
|
-
if attributes.key?(:'
|
|
203
|
-
|
|
198
|
+
if attributes.key?(:'pulp_labels')
|
|
199
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
200
|
+
self.pulp_labels = value
|
|
201
|
+
end
|
|
202
|
+
end
|
|
203
|
+
|
|
204
|
+
if attributes.key?(:'artifact')
|
|
205
|
+
self.artifact = attributes[:'artifact']
|
|
204
206
|
end
|
|
205
207
|
|
|
206
208
|
if attributes.key?(:'vuln_report')
|
|
207
209
|
self.vuln_report = attributes[:'vuln_report']
|
|
208
210
|
end
|
|
209
211
|
|
|
210
|
-
if attributes.key?(:'
|
|
211
|
-
|
|
212
|
-
self.pulp_labels = value
|
|
213
|
-
end
|
|
212
|
+
if attributes.key?(:'pulp_created')
|
|
213
|
+
self.pulp_created = attributes[:'pulp_created']
|
|
214
214
|
end
|
|
215
215
|
|
|
216
|
-
if attributes.key?(:'
|
|
217
|
-
self.
|
|
216
|
+
if attributes.key?(:'prn')
|
|
217
|
+
self.prn = attributes[:'prn']
|
|
218
218
|
end
|
|
219
219
|
|
|
220
220
|
if attributes.key?(:'sha256')
|
|
@@ -457,13 +457,13 @@ module PulpAnsibleClient
|
|
|
457
457
|
def ==(o)
|
|
458
458
|
return true if self.equal?(o)
|
|
459
459
|
self.class == o.class &&
|
|
460
|
+
pulp_last_updated == o.pulp_last_updated &&
|
|
461
|
+
pulp_href == o.pulp_href &&
|
|
462
|
+
pulp_labels == o.pulp_labels &&
|
|
460
463
|
artifact == o.artifact &&
|
|
464
|
+
vuln_report == o.vuln_report &&
|
|
461
465
|
pulp_created == o.pulp_created &&
|
|
462
|
-
pulp_href == o.pulp_href &&
|
|
463
466
|
prn == o.prn &&
|
|
464
|
-
vuln_report == o.vuln_report &&
|
|
465
|
-
pulp_labels == o.pulp_labels &&
|
|
466
|
-
pulp_last_updated == o.pulp_last_updated &&
|
|
467
467
|
sha256 == o.sha256 &&
|
|
468
468
|
md5 == o.md5 &&
|
|
469
469
|
sha1 == o.sha1 &&
|
|
@@ -495,7 +495,7 @@ module PulpAnsibleClient
|
|
|
495
495
|
# Calculates hash code according to all attributes.
|
|
496
496
|
# @return [Integer] Hash code
|
|
497
497
|
def hash
|
|
498
|
-
[
|
|
498
|
+
[pulp_last_updated, pulp_href, pulp_labels, artifact, vuln_report, pulp_created, prn, sha256, md5, sha1, sha224, sha384, sha512, id, authors, dependencies, description, documentation, homepage, issues, license, name, namespace, origin_repository, tags, version, requires_ansible].hash
|
|
499
499
|
end
|
|
500
500
|
|
|
501
501
|
# Builds the object from hash
|