pulp_ansible_client 0.21.8 → 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 +12 -19
- data/docs/{AnsibleCollection.md → AnsibleAnsibleCollectionDeprecated.md} +4 -2
- data/docs/AnsibleAnsibleCollectionDeprecatedResponse.md +25 -0
- data/docs/AnsibleCollectionVersion.md +4 -4
- data/docs/AnsibleCollectionVersionResponse.md +10 -10
- data/docs/AnsibleCollectionsApi.md +61 -1
- data/docs/AnsibleCopyApi.md +1 -1
- data/docs/AnsibleGitRemote.md +24 -24
- data/docs/AnsibleGitRemoteResponse.md +25 -25
- data/docs/AnsibleRole.md +3 -3
- data/docs/AnsibleRoleResponse.md +5 -5
- data/docs/ApiRolesApi.md +1 -1
- data/docs/CollectionImportApi.md +1 -1
- 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 +11 -11
- data/docs/ContentCollectionMarksApi.md +1 -1
- data/docs/ContentCollectionSignaturesApi.md +1 -1
- data/docs/ContentCollectionVersionsApi.md +5 -5
- data/docs/ContentNamespacesApi.md +1 -1
- data/docs/ContentRolesApi.md +1 -1
- data/docs/Copy.md +1 -1
- data/docs/DistributionsAnsibleApi.md +1 -1
- data/docs/{PaginatedGalaxyCollectionResponseList.md → PaginatedansibleAnsibleCollectionDeprecatedResponseList.md} +5 -5
- data/docs/PatchedansibleGitRemote.md +24 -24
- data/docs/PulpAnsibleApiApi.md +1 -1
- data/docs/PulpAnsibleApiV3Api.md +1 -1
- data/docs/PulpAnsibleApiV3ArtifactsCollectionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3CollectionVersionsAllApi.md +1 -1
- data/docs/PulpAnsibleApiV3CollectionsAllApi.md +1 -1
- data/docs/PulpAnsibleApiV3CollectionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3CollectionsVersionsDocsBlobApi.md +1 -1
- data/docs/PulpAnsibleApiV3NamespacesApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleClientConfigurationApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsArtifactsApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +1 -1
- data/docs/PulpAnsibleApiV3PluginAnsibleContentNamespacesApi.md +1 -1
- data/docs/{ApiPluginAnsibleSearchCollectionVersionsApi.md → PulpAnsibleApiV3PluginAnsibleSearchCollectionVersionsApi.md} +17 -18
- data/docs/PulpAnsibleArtifactsCollectionsV3Api.md +1 -1
- data/docs/PulpAnsibleDefaultApiApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3Api.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3ArtifactsCollectionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3CollectionVersionsAllApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3CollectionsAllApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3CollectionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsDocsBlobApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3NamespacesApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleClientConfigurationApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsArtifactsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi.md +1 -1
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleSearchCollectionVersionsApi.md +3 -4
- data/docs/PulpAnsibleTagsApi.md +1 -1
- data/docs/RemotesCollectionApi.md +1 -1
- data/docs/RemotesGitApi.md +1 -1
- data/docs/RemotesRoleApi.md +1 -1
- data/docs/RepositoriesAnsibleApi.md +1 -1
- data/docs/RepositoriesAnsibleVersionsApi.md +1 -1
- data/docs/VersionsApi.md +1 -56
- 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/content_collection_versions_api.rb +6 -6
- data/lib/pulp_ansible_client/api/{api_plugin_ansible_search_collection_versions_api.rb → pulp_ansible_api_v3_plugin_ansible_search_collection_versions_api.rb} +24 -26
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_search_collection_versions_api.rb +0 -2
- data/lib/pulp_ansible_client/api/versions_api.rb +0 -69
- data/lib/pulp_ansible_client/configuration.rb +2 -2
- 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_collection_remote.rb +20 -20
- data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +20 -20
- data/lib/pulp_ansible_client/models/ansible_collection_version.rb +15 -15
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +25 -25
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +212 -212
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +140 -140
- data/lib/pulp_ansible_client/models/ansible_role.rb +11 -11
- data/lib/pulp_ansible_client/models/ansible_role_remote.rb +20 -20
- data/lib/pulp_ansible_client/models/ansible_role_remote_response.rb +20 -20
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +20 -20
- 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_collection_version_response_list.rb → paginatedansible_ansible_collection_deprecated_response_list.rb} +4 -4
- data/lib/pulp_ansible_client/models/patchedansible_collection_remote.rb +20 -20
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +200 -200
- data/lib/pulp_ansible_client/models/patchedansible_role_remote.rb +20 -20
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/lib/pulp_ansible_client.rb +4 -10
- data/spec/api/ansible_collections_api_spec.rb +14 -0
- data/spec/api/content_collection_deprecations_api_spec.rb +5 -5
- data/spec/api/content_collection_versions_api_spec.rb +2 -2
- data/spec/api/{api_plugin_ansible_search_collection_versions_api_spec.rb → pulp_ansible_api_v3_plugin_ansible_search_collection_versions_api_spec.rb} +8 -9
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_search_collection_versions_api_spec.rb +0 -1
- data/spec/api/versions_api_spec.rb +0 -14
- data/spec/configuration_spec.rb +3 -3
- 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_collection_version_response_spec.rb +4 -4
- data/spec/models/ansible_collection_version_spec.rb +2 -2
- data/spec/models/ansible_git_remote_response_spec.rb +17 -17
- data/spec/models/ansible_git_remote_spec.rb +19 -19
- data/spec/models/ansible_role_response_spec.rb +4 -4
- data/spec/models/ansible_role_spec.rb +2 -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 +19 -19
- metadata +151 -175
- 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/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_response_list.rb +0 -247
- 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,17 +15,17 @@ require 'date'
|
|
15
15
|
module PulpAnsibleClient
|
16
16
|
# A serializer for CollectionVersion Content.
|
17
17
|
class AnsibleCollectionVersionResponse
|
18
|
-
attr_accessor :pulp_href
|
19
|
-
|
20
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.
|
21
19
|
attr_accessor :pulp_last_updated
|
22
20
|
|
23
|
-
# Timestamp of creation.
|
24
|
-
attr_accessor :pulp_created
|
25
|
-
|
26
21
|
# Artifact file representing the physical content
|
27
22
|
attr_accessor :artifact
|
28
23
|
|
24
|
+
attr_accessor :pulp_href
|
25
|
+
|
26
|
+
# Timestamp of creation.
|
27
|
+
attr_accessor :pulp_created
|
28
|
+
|
29
29
|
# The SHA-256 checksum if available.
|
30
30
|
attr_accessor :sha256
|
31
31
|
|
@@ -100,10 +100,10 @@ module PulpAnsibleClient
|
|
100
100
|
# Attribute mapping from ruby-style variable name to JSON key.
|
101
101
|
def self.attribute_map
|
102
102
|
{
|
103
|
-
:'pulp_href' => :'pulp_href',
|
104
103
|
:'pulp_last_updated' => :'pulp_last_updated',
|
105
|
-
:'pulp_created' => :'pulp_created',
|
106
104
|
:'artifact' => :'artifact',
|
105
|
+
:'pulp_href' => :'pulp_href',
|
106
|
+
:'pulp_created' => :'pulp_created',
|
107
107
|
:'sha256' => :'sha256',
|
108
108
|
:'md5' => :'md5',
|
109
109
|
:'sha1' => :'sha1',
|
@@ -134,10 +134,10 @@ module PulpAnsibleClient
|
|
134
134
|
# Attribute type mapping.
|
135
135
|
def self.openapi_types
|
136
136
|
{
|
137
|
-
:'pulp_href' => :'String',
|
138
137
|
:'pulp_last_updated' => :'DateTime',
|
139
|
-
:'pulp_created' => :'DateTime',
|
140
138
|
:'artifact' => :'String',
|
139
|
+
:'pulp_href' => :'String',
|
140
|
+
:'pulp_created' => :'DateTime',
|
141
141
|
:'sha256' => :'String',
|
142
142
|
:'md5' => :'String',
|
143
143
|
:'sha1' => :'String',
|
@@ -146,12 +146,12 @@ module PulpAnsibleClient
|
|
146
146
|
:'sha512' => :'String',
|
147
147
|
:'id' => :'String',
|
148
148
|
:'authors' => :'Array<String>',
|
149
|
-
:'contents' => :'
|
150
|
-
:'dependencies' => :'
|
149
|
+
:'contents' => :'AnyType',
|
150
|
+
:'dependencies' => :'AnyType',
|
151
151
|
:'description' => :'String',
|
152
|
-
:'docs_blob' => :'
|
153
|
-
:'manifest' => :'
|
154
|
-
:'files' => :'
|
152
|
+
:'docs_blob' => :'AnyType',
|
153
|
+
:'manifest' => :'AnyType',
|
154
|
+
:'files' => :'AnyType',
|
155
155
|
:'documentation' => :'String',
|
156
156
|
:'homepage' => :'String',
|
157
157
|
:'issues' => :'String',
|
@@ -187,22 +187,22 @@ 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
190
|
if attributes.key?(:'pulp_last_updated')
|
195
191
|
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
196
192
|
end
|
197
193
|
|
198
|
-
if attributes.key?(:'pulp_created')
|
199
|
-
self.pulp_created = attributes[:'pulp_created']
|
200
|
-
end
|
201
|
-
|
202
194
|
if attributes.key?(:'artifact')
|
203
195
|
self.artifact = attributes[:'artifact']
|
204
196
|
end
|
205
197
|
|
198
|
+
if attributes.key?(:'pulp_href')
|
199
|
+
self.pulp_href = attributes[:'pulp_href']
|
200
|
+
end
|
201
|
+
|
202
|
+
if attributes.key?(:'pulp_created')
|
203
|
+
self.pulp_created = attributes[:'pulp_created']
|
204
|
+
end
|
205
|
+
|
206
206
|
if attributes.key?(:'sha256')
|
207
207
|
self.sha256 = attributes[:'sha256']
|
208
208
|
end
|
@@ -444,10 +444,10 @@ module PulpAnsibleClient
|
|
444
444
|
def ==(o)
|
445
445
|
return true if self.equal?(o)
|
446
446
|
self.class == o.class &&
|
447
|
-
pulp_href == o.pulp_href &&
|
448
447
|
pulp_last_updated == o.pulp_last_updated &&
|
449
|
-
pulp_created == o.pulp_created &&
|
450
448
|
artifact == o.artifact &&
|
449
|
+
pulp_href == o.pulp_href &&
|
450
|
+
pulp_created == o.pulp_created &&
|
451
451
|
sha256 == o.sha256 &&
|
452
452
|
md5 == o.md5 &&
|
453
453
|
sha1 == o.sha1 &&
|
@@ -483,7 +483,7 @@ module PulpAnsibleClient
|
|
483
483
|
# Calculates hash code according to all attributes.
|
484
484
|
# @return [Integer] Hash code
|
485
485
|
def hash
|
486
|
-
[
|
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
|
487
487
|
end
|
488
488
|
|
489
489
|
# Builds the object from hash
|