pulp_ansible_client 0.28.7 → 0.28.8
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 +6 -6
- data/docs/AnsibleGitRemote.md +24 -24
- data/docs/AnsibleGitRemoteResponse.md +26 -26
- data/docs/AnsibleRoleResponse.md +6 -6
- data/docs/ContentCollectionVersionsApi.md +2 -2
- data/docs/PatchedansibleGitRemote.md +24 -24
- data/docs/RemotesGitApi.md +2 -2
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +3 -3
- 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 +29 -29
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +217 -217
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +139 -139
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +29 -29
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +209 -209
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/spec/api/content_collection_versions_api_spec.rb +1 -1
- data/spec/models/ansible_collection_version_response_spec.rb +7 -7
- data/spec/models/ansible_git_remote_response_spec.rb +19 -19
- data/spec/models/ansible_git_remote_spec.rb +20 -20
- data/spec/models/ansible_role_response_spec.rb +7 -7
- data/spec/models/patchedansible_git_remote_spec.rb +20 -20
- metadata +120 -120
|
@@ -16,25 +16,25 @@ require 'time'
|
|
|
16
16
|
module PulpAnsibleClient
|
|
17
17
|
# A serializer for CollectionVersion Content.
|
|
18
18
|
class AnsibleCollectionVersionResponse
|
|
19
|
+
attr_accessor :pulp_href
|
|
20
|
+
|
|
21
|
+
# 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.
|
|
22
|
+
attr_accessor :pulp_last_updated
|
|
23
|
+
|
|
19
24
|
# Artifact file representing the physical content
|
|
20
25
|
attr_accessor :artifact
|
|
21
26
|
|
|
22
27
|
# Timestamp of creation.
|
|
23
28
|
attr_accessor :pulp_created
|
|
24
29
|
|
|
25
|
-
|
|
30
|
+
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
31
|
+
attr_accessor :pulp_labels
|
|
26
32
|
|
|
27
33
|
# The Pulp Resource Name (PRN).
|
|
28
34
|
attr_accessor :prn
|
|
29
35
|
|
|
30
36
|
attr_accessor :vuln_report
|
|
31
37
|
|
|
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_href' => :'pulp_href',
|
|
101
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
|
100
102
|
:'artifact' => :'artifact',
|
|
101
103
|
:'pulp_created' => :'pulp_created',
|
|
102
|
-
:'
|
|
104
|
+
:'pulp_labels' => :'pulp_labels',
|
|
103
105
|
:'prn' => :'prn',
|
|
104
106
|
:'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_href' => :'String',
|
|
139
|
+
:'pulp_last_updated' => :'Time',
|
|
138
140
|
:'artifact' => :'String',
|
|
139
141
|
:'pulp_created' => :'Time',
|
|
140
|
-
:'
|
|
142
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
141
143
|
:'prn' => :'String',
|
|
142
144
|
:'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,6 +187,14 @@ module PulpAnsibleClient
|
|
|
187
187
|
h[k.to_sym] = v
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
+
if attributes.key?(:'pulp_href')
|
|
191
|
+
self.pulp_href = attributes[:'pulp_href']
|
|
192
|
+
end
|
|
193
|
+
|
|
194
|
+
if attributes.key?(:'pulp_last_updated')
|
|
195
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
196
|
+
end
|
|
197
|
+
|
|
190
198
|
if attributes.key?(:'artifact')
|
|
191
199
|
self.artifact = attributes[:'artifact']
|
|
192
200
|
end
|
|
@@ -195,8 +203,10 @@ module PulpAnsibleClient
|
|
|
195
203
|
self.pulp_created = attributes[:'pulp_created']
|
|
196
204
|
end
|
|
197
205
|
|
|
198
|
-
if attributes.key?(:'
|
|
199
|
-
|
|
206
|
+
if attributes.key?(:'pulp_labels')
|
|
207
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
208
|
+
self.pulp_labels = value
|
|
209
|
+
end
|
|
200
210
|
end
|
|
201
211
|
|
|
202
212
|
if attributes.key?(:'prn')
|
|
@@ -207,16 +217,6 @@ module PulpAnsibleClient
|
|
|
207
217
|
self.vuln_report = attributes[:'vuln_report']
|
|
208
218
|
end
|
|
209
219
|
|
|
210
|
-
if attributes.key?(:'pulp_labels')
|
|
211
|
-
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
212
|
-
self.pulp_labels = value
|
|
213
|
-
end
|
|
214
|
-
end
|
|
215
|
-
|
|
216
|
-
if attributes.key?(:'pulp_last_updated')
|
|
217
|
-
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
218
|
-
end
|
|
219
|
-
|
|
220
220
|
if attributes.key?(:'sha256')
|
|
221
221
|
self.sha256 = attributes[:'sha256']
|
|
222
222
|
end
|
|
@@ -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_href == o.pulp_href &&
|
|
461
|
+
pulp_last_updated == o.pulp_last_updated &&
|
|
460
462
|
artifact == o.artifact &&
|
|
461
463
|
pulp_created == o.pulp_created &&
|
|
462
|
-
|
|
464
|
+
pulp_labels == o.pulp_labels &&
|
|
463
465
|
prn == o.prn &&
|
|
464
466
|
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
|
-
[artifact, pulp_created,
|
|
498
|
+
[pulp_href, pulp_last_updated, artifact, pulp_created, pulp_labels, prn, vuln_report, 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
|