pulp_ansible_client 0.22.3 → 0.23.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/AnsibleCollectionVersion.md +5 -5
- data/docs/AnsibleCollectionVersionResponse.md +7 -7
- data/docs/AnsibleGitRemote.md +27 -27
- data/docs/AnsibleGitRemoteResponse.md +27 -27
- data/docs/AnsibleRoleResponse.md +7 -7
- data/docs/ContentCollectionVersionsApi.md +6 -8
- data/docs/PatchedansibleGitRemote.md +27 -27
- data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +2 -4
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +2 -4
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +2 -4
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +2 -4
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +9 -12
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_api.rb +3 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api.rb +3 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_api.rb +3 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api.rb +3 -6
- data/lib/pulp_ansible_client/models/ansible_collection_version.rb +21 -21
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +24 -24
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +241 -241
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +159 -159
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +24 -24
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +232 -232
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/spec/api/content_collection_versions_api_spec.rb +3 -4
- data/spec/api/pulp_ansible_api_v3_collections_versions_api_spec.rb +1 -2
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +1 -2
- data/spec/api/pulp_ansible_default_api_v3_collections_versions_api_spec.rb +1 -2
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +1 -2
- data/spec/models/ansible_collection_version_response_spec.rb +5 -5
- data/spec/models/ansible_collection_version_spec.rb +5 -5
- 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 +2 -2
@@ -15,19 +15,19 @@ require 'date'
|
|
15
15
|
module PulpAnsibleClient
|
16
16
|
# A serializer for CollectionVersion Content.
|
17
17
|
class AnsibleCollectionVersionResponse
|
18
|
+
# The Pulp Resource Name (PRN).
|
19
|
+
attr_accessor :prn
|
20
|
+
|
18
21
|
# Artifact file representing the physical content
|
19
22
|
attr_accessor :artifact
|
20
23
|
|
21
|
-
|
22
|
-
attr_accessor :pulp_last_updated
|
24
|
+
attr_accessor :pulp_href
|
23
25
|
|
24
26
|
# Timestamp of creation.
|
25
27
|
attr_accessor :pulp_created
|
26
28
|
|
27
|
-
|
28
|
-
|
29
|
-
# The Pulp Resource Name (PRN).
|
30
|
-
attr_accessor :prn
|
29
|
+
# 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.
|
30
|
+
attr_accessor :pulp_last_updated
|
31
31
|
|
32
32
|
# The SHA-256 checksum if available.
|
33
33
|
attr_accessor :sha256
|
@@ -103,11 +103,11 @@ module PulpAnsibleClient
|
|
103
103
|
# Attribute mapping from ruby-style variable name to JSON key.
|
104
104
|
def self.attribute_map
|
105
105
|
{
|
106
|
+
:'prn' => :'prn',
|
106
107
|
:'artifact' => :'artifact',
|
107
|
-
:'pulp_last_updated' => :'pulp_last_updated',
|
108
|
-
:'pulp_created' => :'pulp_created',
|
109
108
|
:'pulp_href' => :'pulp_href',
|
110
|
-
:'
|
109
|
+
:'pulp_created' => :'pulp_created',
|
110
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
111
111
|
:'sha256' => :'sha256',
|
112
112
|
:'md5' => :'md5',
|
113
113
|
:'sha1' => :'sha1',
|
@@ -138,11 +138,11 @@ module PulpAnsibleClient
|
|
138
138
|
# Attribute type mapping.
|
139
139
|
def self.openapi_types
|
140
140
|
{
|
141
|
+
:'prn' => :'String',
|
141
142
|
:'artifact' => :'String',
|
142
|
-
:'pulp_last_updated' => :'DateTime',
|
143
|
-
:'pulp_created' => :'DateTime',
|
144
143
|
:'pulp_href' => :'String',
|
145
|
-
:'
|
144
|
+
:'pulp_created' => :'DateTime',
|
145
|
+
:'pulp_last_updated' => :'DateTime',
|
146
146
|
:'sha256' => :'String',
|
147
147
|
:'md5' => :'String',
|
148
148
|
:'sha1' => :'String',
|
@@ -192,24 +192,24 @@ module PulpAnsibleClient
|
|
192
192
|
h[k.to_sym] = v
|
193
193
|
}
|
194
194
|
|
195
|
+
if attributes.key?(:'prn')
|
196
|
+
self.prn = attributes[:'prn']
|
197
|
+
end
|
198
|
+
|
195
199
|
if attributes.key?(:'artifact')
|
196
200
|
self.artifact = attributes[:'artifact']
|
197
201
|
end
|
198
202
|
|
199
|
-
if attributes.key?(:'
|
200
|
-
self.
|
203
|
+
if attributes.key?(:'pulp_href')
|
204
|
+
self.pulp_href = attributes[:'pulp_href']
|
201
205
|
end
|
202
206
|
|
203
207
|
if attributes.key?(:'pulp_created')
|
204
208
|
self.pulp_created = attributes[:'pulp_created']
|
205
209
|
end
|
206
210
|
|
207
|
-
if attributes.key?(:'
|
208
|
-
self.
|
209
|
-
end
|
210
|
-
|
211
|
-
if attributes.key?(:'prn')
|
212
|
-
self.prn = attributes[:'prn']
|
211
|
+
if attributes.key?(:'pulp_last_updated')
|
212
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
213
213
|
end
|
214
214
|
|
215
215
|
if attributes.key?(:'sha256')
|
@@ -453,11 +453,11 @@ module PulpAnsibleClient
|
|
453
453
|
def ==(o)
|
454
454
|
return true if self.equal?(o)
|
455
455
|
self.class == o.class &&
|
456
|
+
prn == o.prn &&
|
456
457
|
artifact == o.artifact &&
|
457
|
-
pulp_last_updated == o.pulp_last_updated &&
|
458
|
-
pulp_created == o.pulp_created &&
|
459
458
|
pulp_href == o.pulp_href &&
|
460
|
-
|
459
|
+
pulp_created == o.pulp_created &&
|
460
|
+
pulp_last_updated == o.pulp_last_updated &&
|
461
461
|
sha256 == o.sha256 &&
|
462
462
|
md5 == o.md5 &&
|
463
463
|
sha1 == o.sha1 &&
|
@@ -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
|
-
[artifact,
|
496
|
+
[prn, artifact, pulp_href, pulp_created, pulp_last_updated, 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
|