pulp_ansible_client 0.21.5 → 0.22.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 +8 -15
- data/docs/{AnsibleCollection.md → AnsibleAnsibleCollectionDeprecated.md} +4 -2
- data/docs/AnsibleAnsibleCollectionDeprecatedResponse.md +25 -0
- data/docs/AnsibleAnsibleRepositoryResponse.md +2 -0
- data/docs/AnsibleCollectionRemoteResponse.md +2 -2
- data/docs/AnsibleCollectionRemoteResponseHiddenFields.md +2 -2
- data/docs/AnsibleCollectionVersionResponse.md +11 -9
- data/docs/AnsibleCollectionVersionSignatureResponse.md +2 -0
- data/docs/AnsibleCollectionsApi.md +60 -0
- data/docs/AnsibleGitRemote.md +28 -28
- data/docs/AnsibleGitRemoteResponse.md +26 -26
- data/docs/AnsibleRoleRemoteResponse.md +2 -2
- data/docs/AnsibleRoleResponse.md +6 -4
- data/docs/CollectionImportDetailResponse.md +2 -2
- data/docs/CollectionMetadataResponse.md +2 -2
- data/docs/CollectionSummaryResponse.md +2 -2
- data/docs/CollectionVersionDocsResponse.md +1 -1
- data/docs/CollectionVersionResponse.md +2 -2
- data/docs/ContentCollectionDeprecationsApi.md +10 -10
- data/docs/Copy.md +1 -1
- data/docs/PaginatedGalaxyRoleResponseList.md +2 -2
- data/docs/PaginatedGalaxyRoleVersionResponseList.md +2 -2
- data/docs/PaginatedRepositoryVersionResponseList.md +2 -2
- data/docs/PaginatedTagResponseList.md +2 -2
- data/docs/PaginatedansibleAnsibleCollectionDeprecatedResponseList.md +23 -0
- data/docs/PaginatedansibleAnsibleDistributionResponseList.md +2 -2
- data/docs/PaginatedansibleAnsibleNamespaceMetadataResponseList.md +2 -2
- data/docs/PaginatedansibleAnsibleRepositoryResponseList.md +2 -2
- data/docs/PaginatedansibleCollectionRemoteResponseList.md +2 -2
- data/docs/PaginatedansibleCollectionResponseList.md +2 -2
- data/docs/PaginatedansibleCollectionVersionMarkResponseList.md +2 -2
- data/docs/PaginatedansibleCollectionVersionResponseList.md +2 -2
- data/docs/PaginatedansibleCollectionVersionSignatureResponseList.md +2 -2
- data/docs/PaginatedansibleGitRemoteResponseList.md +2 -2
- data/docs/PaginatedansibleRoleRemoteResponseList.md +2 -2
- data/docs/PaginatedansibleRoleResponseList.md +2 -2
- data/docs/PatchedansibleGitRemote.md +28 -28
- data/docs/RepositoryResponse.md +2 -0
- data/docs/RepositoryVersionResponse.md +2 -0
- data/docs/VersionsApi.md +0 -55
- data/lib/pulp_ansible_client/api/ansible_collections_api.rb +68 -0
- data/lib/pulp_ansible_client/api/content_collection_deprecations_api.rb +20 -20
- data/lib/pulp_ansible_client/api/versions_api.rb +0 -69
- data/lib/pulp_ansible_client/models/{ansible_collection.rb → ansible_ansible_collection_deprecated.rb} +15 -5
- data/lib/pulp_ansible_client/models/{galaxy_collection_version_response.rb → ansible_ansible_collection_deprecated_response.rb} +45 -54
- data/lib/pulp_ansible_client/models/ansible_ansible_repository_response.rb +11 -1
- data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +11 -11
- data/lib/pulp_ansible_client/models/ansible_collection_remote_response_hidden_fields.rb +10 -0
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +30 -20
- data/lib/pulp_ansible_client/models/ansible_collection_version_signature_response.rb +11 -1
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +232 -232
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +153 -153
- data/lib/pulp_ansible_client/models/ansible_role_remote_response.rb +11 -11
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +25 -15
- data/lib/pulp_ansible_client/models/collection_import_detail_response.rb +2 -2
- data/lib/pulp_ansible_client/models/collection_metadata_response.rb +2 -2
- data/lib/pulp_ansible_client/models/collection_summary_response.rb +2 -2
- data/lib/pulp_ansible_client/models/collection_version_docs_response.rb +1 -1
- data/lib/pulp_ansible_client/models/collection_version_response.rb +2 -2
- data/lib/pulp_ansible_client/models/copy.rb +1 -1
- data/lib/pulp_ansible_client/models/paginated_galaxy_role_response_list.rb +10 -0
- data/lib/pulp_ansible_client/models/paginated_galaxy_role_version_response_list.rb +10 -0
- data/lib/pulp_ansible_client/models/paginated_repository_version_response_list.rb +10 -0
- data/lib/pulp_ansible_client/models/paginated_tag_response_list.rb +10 -0
- data/lib/pulp_ansible_client/models/{paginated_galaxy_collection_response_list.rb → paginatedansible_ansible_collection_deprecated_response_list.rb} +14 -4
- data/lib/pulp_ansible_client/models/paginatedansible_ansible_distribution_response_list.rb +10 -0
- data/lib/pulp_ansible_client/models/paginatedansible_ansible_namespace_metadata_response_list.rb +10 -0
- data/lib/pulp_ansible_client/models/paginatedansible_ansible_repository_response_list.rb +10 -0
- data/lib/pulp_ansible_client/models/paginatedansible_collection_remote_response_list.rb +10 -0
- data/lib/pulp_ansible_client/models/paginatedansible_collection_response_list.rb +10 -0
- data/lib/pulp_ansible_client/models/paginatedansible_collection_version_mark_response_list.rb +10 -0
- data/lib/pulp_ansible_client/models/paginatedansible_collection_version_response_list.rb +10 -0
- data/lib/pulp_ansible_client/models/paginatedansible_collection_version_signature_response_list.rb +10 -0
- data/lib/pulp_ansible_client/models/paginatedansible_git_remote_response_list.rb +10 -0
- data/lib/pulp_ansible_client/models/paginatedansible_role_remote_response_list.rb +10 -0
- data/lib/pulp_ansible_client/models/paginatedansible_role_response_list.rb +10 -0
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +226 -226
- data/lib/pulp_ansible_client/models/repository_response.rb +11 -1
- data/lib/pulp_ansible_client/models/repository_version_response.rb +11 -1
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/lib/pulp_ansible_client.rb +3 -9
- data/spec/api/ansible_collections_api_spec.rb +14 -0
- data/spec/api/content_collection_deprecations_api_spec.rb +5 -5
- data/spec/api/versions_api_spec.rb +0 -14
- data/spec/models/{galaxy_collection_version_response_spec.rb → ansible_ansible_collection_deprecated_response_spec.rb} +11 -17
- data/spec/models/{ansible_collection_spec.rb → ansible_ansible_collection_deprecated_spec.rb} +12 -6
- data/spec/models/ansible_ansible_repository_response_spec.rb +6 -0
- data/spec/models/ansible_collection_remote_response_spec.rb +6 -6
- data/spec/models/ansible_collection_version_response_spec.rb +8 -2
- data/spec/models/ansible_collection_version_signature_response_spec.rb +6 -0
- data/spec/models/ansible_git_remote_response_spec.rb +17 -17
- data/spec/models/ansible_git_remote_spec.rb +20 -20
- data/spec/models/ansible_role_remote_response_spec.rb +6 -6
- data/spec/models/ansible_role_response_spec.rb +8 -2
- data/spec/models/{paginated_galaxy_collection_version_response_list_spec.rb → paginatedansible_ansible_collection_deprecated_response_list_spec.rb} +6 -6
- data/spec/models/patchedansible_git_remote_spec.rb +20 -20
- data/spec/models/repository_response_spec.rb +6 -0
- data/spec/models/repository_version_response_spec.rb +6 -0
- metadata +135 -159
- data/docs/ApiCollectionsApi.md +0 -112
- data/docs/GalaxyCollection.md +0 -23
- data/docs/GalaxyCollectionResponse.md +0 -31
- data/docs/GalaxyCollectionVersionResponse.md +0 -27
- data/docs/GalaxyDetailApi.md +0 -61
- data/docs/PaginatedGalaxyCollectionResponseList.md +0 -23
- data/docs/PaginatedGalaxyCollectionVersionResponseList.md +0 -23
- data/docs/PulpAnsibleApiV2CollectionsVersionsApi.md +0 -66
- data/lib/pulp_ansible_client/api/api_collections_api.rb +0 -159
- data/lib/pulp_ansible_client/api/galaxy_detail_api.rb +0 -88
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v2_collections_versions_api.rb +0 -104
- data/lib/pulp_ansible_client/models/galaxy_collection.rb +0 -292
- data/lib/pulp_ansible_client/models/galaxy_collection_response.rb +0 -294
- data/lib/pulp_ansible_client/models/paginated_galaxy_collection_version_response_list.rb +0 -237
- data/spec/api/api_collections_api_spec.rb +0 -61
- data/spec/api/galaxy_detail_api_spec.rb +0 -48
- data/spec/api/pulp_ansible_api_v2_collections_versions_api_spec.rb +0 -51
- data/spec/models/galaxy_collection_response_spec.rb +0 -83
- data/spec/models/galaxy_collection_spec.rb +0 -59
- data/spec/models/paginated_galaxy_collection_response_list_spec.rb +0 -59
@@ -15,14 +15,17 @@ require 'date'
|
|
15
15
|
module PulpAnsibleClient
|
16
16
|
# A serializer for CollectionVersion Content.
|
17
17
|
class AnsibleCollectionVersionResponse
|
18
|
-
# Timestamp of
|
19
|
-
attr_accessor :
|
20
|
-
|
21
|
-
attr_accessor :pulp_href
|
18
|
+
# 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
|
+
attr_accessor :pulp_last_updated
|
22
20
|
|
23
21
|
# Artifact file representing the physical content
|
24
22
|
attr_accessor :artifact
|
25
23
|
|
24
|
+
attr_accessor :pulp_href
|
25
|
+
|
26
|
+
# Timestamp of creation.
|
27
|
+
attr_accessor :pulp_created
|
28
|
+
|
26
29
|
# The SHA-256 checksum if available.
|
27
30
|
attr_accessor :sha256
|
28
31
|
|
@@ -97,9 +100,10 @@ module PulpAnsibleClient
|
|
97
100
|
# Attribute mapping from ruby-style variable name to JSON key.
|
98
101
|
def self.attribute_map
|
99
102
|
{
|
100
|
-
:'
|
101
|
-
:'pulp_href' => :'pulp_href',
|
103
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
102
104
|
:'artifact' => :'artifact',
|
105
|
+
:'pulp_href' => :'pulp_href',
|
106
|
+
:'pulp_created' => :'pulp_created',
|
103
107
|
:'sha256' => :'sha256',
|
104
108
|
:'md5' => :'md5',
|
105
109
|
:'sha1' => :'sha1',
|
@@ -130,9 +134,10 @@ module PulpAnsibleClient
|
|
130
134
|
# Attribute type mapping.
|
131
135
|
def self.openapi_types
|
132
136
|
{
|
133
|
-
:'
|
134
|
-
:'pulp_href' => :'String',
|
137
|
+
:'pulp_last_updated' => :'DateTime',
|
135
138
|
:'artifact' => :'String',
|
139
|
+
:'pulp_href' => :'String',
|
140
|
+
:'pulp_created' => :'DateTime',
|
136
141
|
:'sha256' => :'String',
|
137
142
|
:'md5' => :'String',
|
138
143
|
:'sha1' => :'String',
|
@@ -141,12 +146,12 @@ module PulpAnsibleClient
|
|
141
146
|
:'sha512' => :'String',
|
142
147
|
:'id' => :'String',
|
143
148
|
:'authors' => :'Array<String>',
|
144
|
-
:'contents' => :'
|
145
|
-
:'dependencies' => :'
|
149
|
+
:'contents' => :'AnyType',
|
150
|
+
:'dependencies' => :'AnyType',
|
146
151
|
:'description' => :'String',
|
147
|
-
:'docs_blob' => :'
|
148
|
-
:'manifest' => :'
|
149
|
-
:'files' => :'
|
152
|
+
:'docs_blob' => :'AnyType',
|
153
|
+
:'manifest' => :'AnyType',
|
154
|
+
:'files' => :'AnyType',
|
150
155
|
:'documentation' => :'String',
|
151
156
|
:'homepage' => :'String',
|
152
157
|
:'issues' => :'String',
|
@@ -182,16 +187,20 @@ module PulpAnsibleClient
|
|
182
187
|
h[k.to_sym] = v
|
183
188
|
}
|
184
189
|
|
185
|
-
if attributes.key?(:'
|
186
|
-
self.
|
190
|
+
if attributes.key?(:'pulp_last_updated')
|
191
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
192
|
+
end
|
193
|
+
|
194
|
+
if attributes.key?(:'artifact')
|
195
|
+
self.artifact = attributes[:'artifact']
|
187
196
|
end
|
188
197
|
|
189
198
|
if attributes.key?(:'pulp_href')
|
190
199
|
self.pulp_href = attributes[:'pulp_href']
|
191
200
|
end
|
192
201
|
|
193
|
-
if attributes.key?(:'
|
194
|
-
self.
|
202
|
+
if attributes.key?(:'pulp_created')
|
203
|
+
self.pulp_created = attributes[:'pulp_created']
|
195
204
|
end
|
196
205
|
|
197
206
|
if attributes.key?(:'sha256')
|
@@ -435,9 +444,10 @@ module PulpAnsibleClient
|
|
435
444
|
def ==(o)
|
436
445
|
return true if self.equal?(o)
|
437
446
|
self.class == o.class &&
|
438
|
-
|
439
|
-
pulp_href == o.pulp_href &&
|
447
|
+
pulp_last_updated == o.pulp_last_updated &&
|
440
448
|
artifact == o.artifact &&
|
449
|
+
pulp_href == o.pulp_href &&
|
450
|
+
pulp_created == o.pulp_created &&
|
441
451
|
sha256 == o.sha256 &&
|
442
452
|
md5 == o.md5 &&
|
443
453
|
sha1 == o.sha1 &&
|
@@ -473,7 +483,7 @@ module PulpAnsibleClient
|
|
473
483
|
# Calculates hash code according to all attributes.
|
474
484
|
# @return [Integer] Hash code
|
475
485
|
def hash
|
476
|
-
[
|
486
|
+
[pulp_last_updated, artifact, 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
|
477
487
|
end
|
478
488
|
|
479
489
|
# Builds the object from hash
|
@@ -20,6 +20,9 @@ module PulpAnsibleClient
|
|
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
|
+
|
23
26
|
# The content this signature is pointing to.
|
24
27
|
attr_accessor :signed_collection
|
25
28
|
|
@@ -34,6 +37,7 @@ module PulpAnsibleClient
|
|
34
37
|
{
|
35
38
|
:'pulp_href' => :'pulp_href',
|
36
39
|
:'pulp_created' => :'pulp_created',
|
40
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
37
41
|
:'signed_collection' => :'signed_collection',
|
38
42
|
:'pubkey_fingerprint' => :'pubkey_fingerprint',
|
39
43
|
:'signing_service' => :'signing_service'
|
@@ -45,6 +49,7 @@ module PulpAnsibleClient
|
|
45
49
|
{
|
46
50
|
:'pulp_href' => :'String',
|
47
51
|
:'pulp_created' => :'DateTime',
|
52
|
+
:'pulp_last_updated' => :'DateTime',
|
48
53
|
:'signed_collection' => :'String',
|
49
54
|
:'pubkey_fingerprint' => :'String',
|
50
55
|
:'signing_service' => :'String'
|
@@ -81,6 +86,10 @@ module PulpAnsibleClient
|
|
81
86
|
self.pulp_created = attributes[:'pulp_created']
|
82
87
|
end
|
83
88
|
|
89
|
+
if attributes.key?(:'pulp_last_updated')
|
90
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
91
|
+
end
|
92
|
+
|
84
93
|
if attributes.key?(:'signed_collection')
|
85
94
|
self.signed_collection = attributes[:'signed_collection']
|
86
95
|
end
|
@@ -119,6 +128,7 @@ module PulpAnsibleClient
|
|
119
128
|
self.class == o.class &&
|
120
129
|
pulp_href == o.pulp_href &&
|
121
130
|
pulp_created == o.pulp_created &&
|
131
|
+
pulp_last_updated == o.pulp_last_updated &&
|
122
132
|
signed_collection == o.signed_collection &&
|
123
133
|
pubkey_fingerprint == o.pubkey_fingerprint &&
|
124
134
|
signing_service == o.signing_service
|
@@ -133,7 +143,7 @@ module PulpAnsibleClient
|
|
133
143
|
# Calculates hash code according to all attributes.
|
134
144
|
# @return [Integer] Hash code
|
135
145
|
def hash
|
136
|
-
[pulp_href, pulp_created, signed_collection, pubkey_fingerprint, signing_service].hash
|
146
|
+
[pulp_href, pulp_created, pulp_last_updated, signed_collection, pubkey_fingerprint, signing_service].hash
|
137
147
|
end
|
138
148
|
|
139
149
|
# Builds the object from hash
|