pulp_ansible_client 0.22.8 → 0.22.10
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/AnsibleCollectionVersion.md +4 -4
- data/docs/AnsibleCollectionVersionResponse.md +3 -3
- data/docs/AnsibleGitRemote.md +26 -26
- data/docs/AnsibleGitRemoteResponse.md +29 -29
- data/docs/AnsibleRoleResponse.md +5 -5
- data/docs/ContentCollectionVersionsApi.md +4 -4
- data/docs/PatchedansibleGitRemote.md +26 -26
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +6 -6
- 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.rb +18 -18
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +11 -11
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +244 -244
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +147 -147
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +18 -18
- data/lib/pulp_ansible_client/models/patchedansible_ansible_namespace_metadata.rb +3 -3
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +235 -235
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/spec/api/content_collection_versions_api_spec.rb +2 -2
- data/spec/models/ansible_collection_version_response_spec.rb +3 -3
- data/spec/models/ansible_collection_version_spec.rb +3 -3
- data/spec/models/ansible_git_remote_response_spec.rb +20 -20
- data/spec/models/ansible_git_remote_spec.rb +19 -19
- data/spec/models/ansible_role_response_spec.rb +5 -5
- data/spec/models/patchedansible_git_remote_spec.rb +19 -19
- metadata +128 -128
|
@@ -15,15 +15,15 @@ require 'date'
|
|
|
15
15
|
module PulpAnsibleClient
|
|
16
16
|
# A serializer for CollectionVersion Content.
|
|
17
17
|
class AnsibleCollectionVersionResponse
|
|
18
|
+
# Artifact file representing the physical content
|
|
19
|
+
attr_accessor :artifact
|
|
20
|
+
|
|
18
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.
|
|
19
22
|
attr_accessor :pulp_last_updated
|
|
20
23
|
|
|
21
24
|
# The Pulp Resource Name (PRN).
|
|
22
25
|
attr_accessor :prn
|
|
23
26
|
|
|
24
|
-
# Artifact file representing the physical content
|
|
25
|
-
attr_accessor :artifact
|
|
26
|
-
|
|
27
27
|
attr_accessor :pulp_href
|
|
28
28
|
|
|
29
29
|
# Timestamp of creation.
|
|
@@ -103,9 +103,9 @@ module PulpAnsibleClient
|
|
|
103
103
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
104
104
|
def self.attribute_map
|
|
105
105
|
{
|
|
106
|
+
:'artifact' => :'artifact',
|
|
106
107
|
:'pulp_last_updated' => :'pulp_last_updated',
|
|
107
108
|
:'prn' => :'prn',
|
|
108
|
-
:'artifact' => :'artifact',
|
|
109
109
|
:'pulp_href' => :'pulp_href',
|
|
110
110
|
:'pulp_created' => :'pulp_created',
|
|
111
111
|
:'sha256' => :'sha256',
|
|
@@ -138,9 +138,9 @@ module PulpAnsibleClient
|
|
|
138
138
|
# Attribute type mapping.
|
|
139
139
|
def self.openapi_types
|
|
140
140
|
{
|
|
141
|
+
:'artifact' => :'String',
|
|
141
142
|
:'pulp_last_updated' => :'DateTime',
|
|
142
143
|
:'prn' => :'String',
|
|
143
|
-
:'artifact' => :'String',
|
|
144
144
|
:'pulp_href' => :'String',
|
|
145
145
|
:'pulp_created' => :'DateTime',
|
|
146
146
|
:'sha256' => :'String',
|
|
@@ -192,6 +192,10 @@ module PulpAnsibleClient
|
|
|
192
192
|
h[k.to_sym] = v
|
|
193
193
|
}
|
|
194
194
|
|
|
195
|
+
if attributes.key?(:'artifact')
|
|
196
|
+
self.artifact = attributes[:'artifact']
|
|
197
|
+
end
|
|
198
|
+
|
|
195
199
|
if attributes.key?(:'pulp_last_updated')
|
|
196
200
|
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
197
201
|
end
|
|
@@ -200,10 +204,6 @@ module PulpAnsibleClient
|
|
|
200
204
|
self.prn = attributes[:'prn']
|
|
201
205
|
end
|
|
202
206
|
|
|
203
|
-
if attributes.key?(:'artifact')
|
|
204
|
-
self.artifact = attributes[:'artifact']
|
|
205
|
-
end
|
|
206
|
-
|
|
207
207
|
if attributes.key?(:'pulp_href')
|
|
208
208
|
self.pulp_href = attributes[:'pulp_href']
|
|
209
209
|
end
|
|
@@ -453,9 +453,9 @@ module PulpAnsibleClient
|
|
|
453
453
|
def ==(o)
|
|
454
454
|
return true if self.equal?(o)
|
|
455
455
|
self.class == o.class &&
|
|
456
|
+
artifact == o.artifact &&
|
|
456
457
|
pulp_last_updated == o.pulp_last_updated &&
|
|
457
458
|
prn == o.prn &&
|
|
458
|
-
artifact == o.artifact &&
|
|
459
459
|
pulp_href == o.pulp_href &&
|
|
460
460
|
pulp_created == o.pulp_created &&
|
|
461
461
|
sha256 == o.sha256 &&
|
|
@@ -493,7 +493,7 @@ module PulpAnsibleClient
|
|
|
493
493
|
# Calculates hash code according to all attributes.
|
|
494
494
|
# @return [Integer] Hash code
|
|
495
495
|
def hash
|
|
496
|
-
[pulp_last_updated, prn,
|
|
496
|
+
[artifact, pulp_last_updated, prn, pulp_href, pulp_created, sha256, md5, sha1, sha224, sha384, sha512, id, authors, contents, dependencies, description, docs_blob, manifest, files, documentation, homepage, issues, license, name, namespace, origin_repository, tags, version, requires_ansible].hash
|
|
497
497
|
end
|
|
498
498
|
|
|
499
499
|
# Builds the object from hash
|