pulp_ansible_client 0.15.3 → 0.15.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +7 -5
- data/docs/AnsibleAnsibleRepository.md +1 -1
- data/docs/AnsibleAnsibleRepositoryResponse.md +1 -1
- data/docs/AnsibleCollectionRemote.md +1 -1
- data/docs/AnsibleCollectionRemoteResponse.md +1 -1
- data/docs/AnsibleCollectionVersion.md +4 -4
- data/docs/AnsibleCollectionVersionResponse.md +3 -3
- data/docs/AnsibleCollectionsApi.md +6 -2
- data/docs/AnsibleGitRemote.md +28 -28
- data/docs/AnsibleGitRemoteResponse.md +26 -26
- data/docs/AnsibleRoleRemote.md +1 -1
- data/docs/AnsibleRoleRemoteResponse.md +1 -1
- data/docs/AnsibleRoleResponse.md +3 -3
- data/docs/CollectionRefResponse.md +1 -1
- data/docs/CollectionResponse.md +6 -6
- data/docs/CollectionVersionListResponse.md +1 -1
- data/docs/CollectionVersionResponse.md +4 -4
- data/docs/ContentCollectionDeprecationsApi.md +6 -2
- data/docs/ContentCollectionSignaturesApi.md +6 -2
- data/docs/ContentCollectionVersionsApi.md +10 -6
- data/docs/ContentRolesApi.md +6 -2
- data/docs/DistributionsAnsibleApi.md +10 -2
- data/docs/GalaxyCollectionResponse.md +4 -4
- data/docs/GalaxyCollectionVersionResponse.md +4 -4
- data/docs/GalaxyRoleResponse.md +1 -1
- data/docs/GalaxyRoleVersionResponse.md +1 -1
- data/docs/PatchedansibleAnsibleRepository.md +1 -1
- data/docs/PatchedansibleCollectionRemote.md +1 -1
- data/docs/PatchedansibleGitRemote.md +28 -28
- data/docs/PatchedansibleRoleRemote.md +1 -1
- data/docs/PulpAnsibleApiV3CollectionsAllApi.md +6 -2
- data/docs/PulpAnsibleApiV3CollectionsApi.md +6 -2
- data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +6 -2
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +6 -2
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md +6 -2
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +6 -2
- data/docs/PulpAnsibleDefaultApiV3CollectionsAllApi.md +6 -2
- data/docs/PulpAnsibleDefaultApiV3CollectionsApi.md +6 -2
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +6 -2
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +6 -2
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.md +6 -2
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +6 -2
- data/docs/RemotesCollectionApi.md +6 -2
- data/docs/RemotesGitApi.md +6 -2
- data/docs/RemotesRoleApi.md +6 -2
- data/docs/RepositoriesAnsibleApi.md +22 -2
- data/docs/RepositoriesAnsibleVersionsApi.md +4 -2
- data/docs/RepositoryAddRemoveContent.md +2 -2
- data/docs/UnpaginatedCollectionVersionResponse.md +4 -4
- data/lib/pulp_ansible_client/api/ansible_collections_api.rb +8 -2
- data/lib/pulp_ansible_client/api/content_collection_deprecations_api.rb +8 -2
- data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +8 -2
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +14 -8
- data/lib/pulp_ansible_client/api/content_roles_api.rb +8 -2
- data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +14 -2
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_all_api.rb +8 -2
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_api.rb +8 -2
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_api.rb +8 -2
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api.rb +8 -2
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api.rb +8 -2
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api.rb +8 -2
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_all_api.rb +8 -2
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_api.rb +8 -2
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_api.rb +8 -2
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api.rb +8 -2
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api.rb +8 -2
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api.rb +8 -2
- data/lib/pulp_ansible_client/api/remotes_collection_api.rb +8 -2
- data/lib/pulp_ansible_client/api/remotes_git_api.rb +8 -2
- data/lib/pulp_ansible_client/api/remotes_role_api.rb +8 -2
- data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +32 -2
- data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +5 -2
- data/lib/pulp_ansible_client/models/ansible_ansible_repository.rb +1 -1
- data/lib/pulp_ansible_client/models/ansible_ansible_repository_response.rb +1 -1
- data/lib/pulp_ansible_client/models/ansible_collection_remote.rb +1 -1
- data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +1 -1
- data/lib/pulp_ansible_client/models/ansible_collection_version.rb +15 -15
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +10 -10
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +249 -249
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +148 -148
- data/lib/pulp_ansible_client/models/ansible_role_remote.rb +1 -1
- data/lib/pulp_ansible_client/models/ansible_role_remote_response.rb +1 -1
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +10 -10
- data/lib/pulp_ansible_client/models/collection_ref_response.rb +1 -0
- data/lib/pulp_ansible_client/models/collection_response.rb +6 -0
- data/lib/pulp_ansible_client/models/collection_version_list_response.rb +1 -0
- data/lib/pulp_ansible_client/models/collection_version_response.rb +4 -0
- data/lib/pulp_ansible_client/models/galaxy_collection_response.rb +4 -0
- data/lib/pulp_ansible_client/models/galaxy_collection_version_response.rb +4 -0
- data/lib/pulp_ansible_client/models/galaxy_role_response.rb +1 -0
- data/lib/pulp_ansible_client/models/galaxy_role_version_response.rb +1 -0
- data/lib/pulp_ansible_client/models/patchedansible_ansible_repository.rb +1 -1
- data/lib/pulp_ansible_client/models/patchedansible_collection_remote.rb +1 -1
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +237 -237
- data/lib/pulp_ansible_client/models/patchedansible_role_remote.rb +1 -1
- data/lib/pulp_ansible_client/models/repository_add_remove_content.rb +2 -2
- data/lib/pulp_ansible_client/models/unpaginated_collection_version_response.rb +4 -0
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/spec/api/ansible_collections_api_spec.rb +3 -1
- data/spec/api/content_collection_deprecations_api_spec.rb +3 -1
- data/spec/api/content_collection_signatures_api_spec.rb +3 -1
- data/spec/api/content_collection_versions_api_spec.rb +5 -3
- data/spec/api/content_roles_api_spec.rb +3 -1
- data/spec/api/distributions_ansible_api_spec.rb +5 -1
- data/spec/api/pulp_ansible_api_v3_collections_all_api_spec.rb +3 -1
- data/spec/api/pulp_ansible_api_v3_collections_api_spec.rb +3 -1
- data/spec/api/pulp_ansible_api_v3_collections_versions_api_spec.rb +3 -1
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +3 -1
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api_spec.rb +3 -1
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +3 -1
- data/spec/api/pulp_ansible_default_api_v3_collections_all_api_spec.rb +3 -1
- data/spec/api/pulp_ansible_default_api_v3_collections_api_spec.rb +3 -1
- data/spec/api/pulp_ansible_default_api_v3_collections_versions_api_spec.rb +3 -1
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +3 -1
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api_spec.rb +3 -1
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +3 -1
- data/spec/api/remotes_collection_api_spec.rb +3 -1
- data/spec/api/remotes_git_api_spec.rb +3 -1
- data/spec/api/remotes_role_api_spec.rb +3 -1
- data/spec/api/repositories_ansible_api_spec.rb +11 -1
- data/spec/api/repositories_ansible_versions_api_spec.rb +2 -1
- data/spec/models/ansible_collection_version_response_spec.rb +3 -3
- 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 +20 -20
- data/spec/models/ansible_role_response_spec.rb +3 -3
- data/spec/models/patchedansible_git_remote_spec.rb +20 -20
- metadata +102 -102
@@ -15,14 +15,14 @@ require 'date'
|
|
15
15
|
module PulpAnsibleClient
|
16
16
|
# A serializer for CollectionVersion Content.
|
17
17
|
class AnsibleCollectionVersion
|
18
|
-
#
|
19
|
-
attr_accessor :
|
18
|
+
# A URI of a repository the new content unit should be associated with.
|
19
|
+
attr_accessor :repository
|
20
20
|
|
21
21
|
# An uncommitted upload that may be turned into the artifact of the content unit.
|
22
22
|
attr_accessor :upload
|
23
23
|
|
24
|
-
#
|
25
|
-
attr_accessor :
|
24
|
+
# An uploaded file that may be turned into the artifact of the content unit.
|
25
|
+
attr_accessor :file
|
26
26
|
|
27
27
|
# The name of the collection.
|
28
28
|
attr_accessor :name
|
@@ -36,9 +36,9 @@ module PulpAnsibleClient
|
|
36
36
|
# Attribute mapping from ruby-style variable name to JSON key.
|
37
37
|
def self.attribute_map
|
38
38
|
{
|
39
|
-
:'file' => :'file',
|
40
|
-
:'upload' => :'upload',
|
41
39
|
:'repository' => :'repository',
|
40
|
+
:'upload' => :'upload',
|
41
|
+
:'file' => :'file',
|
42
42
|
:'name' => :'name',
|
43
43
|
:'namespace' => :'namespace',
|
44
44
|
:'version' => :'version'
|
@@ -48,9 +48,9 @@ module PulpAnsibleClient
|
|
48
48
|
# Attribute type mapping.
|
49
49
|
def self.openapi_types
|
50
50
|
{
|
51
|
-
:'file' => :'File',
|
52
|
-
:'upload' => :'String',
|
53
51
|
:'repository' => :'String',
|
52
|
+
:'upload' => :'String',
|
53
|
+
:'file' => :'File',
|
54
54
|
:'name' => :'String',
|
55
55
|
:'namespace' => :'String',
|
56
56
|
:'version' => :'String'
|
@@ -78,16 +78,16 @@ module PulpAnsibleClient
|
|
78
78
|
h[k.to_sym] = v
|
79
79
|
}
|
80
80
|
|
81
|
-
if attributes.key?(:'
|
82
|
-
self.
|
81
|
+
if attributes.key?(:'repository')
|
82
|
+
self.repository = attributes[:'repository']
|
83
83
|
end
|
84
84
|
|
85
85
|
if attributes.key?(:'upload')
|
86
86
|
self.upload = attributes[:'upload']
|
87
87
|
end
|
88
88
|
|
89
|
-
if attributes.key?(:'
|
90
|
-
self.
|
89
|
+
if attributes.key?(:'file')
|
90
|
+
self.file = attributes[:'file']
|
91
91
|
end
|
92
92
|
|
93
93
|
if attributes.key?(:'name')
|
@@ -220,9 +220,9 @@ module PulpAnsibleClient
|
|
220
220
|
def ==(o)
|
221
221
|
return true if self.equal?(o)
|
222
222
|
self.class == o.class &&
|
223
|
-
file == o.file &&
|
224
|
-
upload == o.upload &&
|
225
223
|
repository == o.repository &&
|
224
|
+
upload == o.upload &&
|
225
|
+
file == o.file &&
|
226
226
|
name == o.name &&
|
227
227
|
namespace == o.namespace &&
|
228
228
|
version == o.version
|
@@ -237,7 +237,7 @@ module PulpAnsibleClient
|
|
237
237
|
# Calculates hash code according to all attributes.
|
238
238
|
# @return [Integer] Hash code
|
239
239
|
def hash
|
240
|
-
[
|
240
|
+
[repository, upload, file, name, namespace, version].hash
|
241
241
|
end
|
242
242
|
|
243
243
|
# Builds the object from hash
|
@@ -15,14 +15,14 @@ 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
|
# Artifact file representing the physical content
|
21
19
|
attr_accessor :artifact
|
22
20
|
|
23
21
|
# Timestamp of creation.
|
24
22
|
attr_accessor :pulp_created
|
25
23
|
|
24
|
+
attr_accessor :pulp_href
|
25
|
+
|
26
26
|
# The MD5 checksum if available.
|
27
27
|
attr_accessor :md5
|
28
28
|
|
@@ -97,9 +97,9 @@ 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
100
|
:'artifact' => :'artifact',
|
102
101
|
:'pulp_created' => :'pulp_created',
|
102
|
+
:'pulp_href' => :'pulp_href',
|
103
103
|
:'md5' => :'md5',
|
104
104
|
:'sha1' => :'sha1',
|
105
105
|
:'sha224' => :'sha224',
|
@@ -130,9 +130,9 @@ module PulpAnsibleClient
|
|
130
130
|
# Attribute type mapping.
|
131
131
|
def self.openapi_types
|
132
132
|
{
|
133
|
-
:'pulp_href' => :'String',
|
134
133
|
:'artifact' => :'String',
|
135
134
|
:'pulp_created' => :'DateTime',
|
135
|
+
:'pulp_href' => :'String',
|
136
136
|
:'md5' => :'String',
|
137
137
|
:'sha1' => :'String',
|
138
138
|
:'sha224' => :'String',
|
@@ -182,10 +182,6 @@ module PulpAnsibleClient
|
|
182
182
|
h[k.to_sym] = v
|
183
183
|
}
|
184
184
|
|
185
|
-
if attributes.key?(:'pulp_href')
|
186
|
-
self.pulp_href = attributes[:'pulp_href']
|
187
|
-
end
|
188
|
-
|
189
185
|
if attributes.key?(:'artifact')
|
190
186
|
self.artifact = attributes[:'artifact']
|
191
187
|
end
|
@@ -194,6 +190,10 @@ module PulpAnsibleClient
|
|
194
190
|
self.pulp_created = attributes[:'pulp_created']
|
195
191
|
end
|
196
192
|
|
193
|
+
if attributes.key?(:'pulp_href')
|
194
|
+
self.pulp_href = attributes[:'pulp_href']
|
195
|
+
end
|
196
|
+
|
197
197
|
if attributes.key?(:'md5')
|
198
198
|
self.md5 = attributes[:'md5']
|
199
199
|
end
|
@@ -543,9 +543,9 @@ module PulpAnsibleClient
|
|
543
543
|
def ==(o)
|
544
544
|
return true if self.equal?(o)
|
545
545
|
self.class == o.class &&
|
546
|
-
pulp_href == o.pulp_href &&
|
547
546
|
artifact == o.artifact &&
|
548
547
|
pulp_created == o.pulp_created &&
|
548
|
+
pulp_href == o.pulp_href &&
|
549
549
|
md5 == o.md5 &&
|
550
550
|
sha1 == o.sha1 &&
|
551
551
|
sha224 == o.sha224 &&
|
@@ -581,7 +581,7 @@ module PulpAnsibleClient
|
|
581
581
|
# Calculates hash code according to all attributes.
|
582
582
|
# @return [Integer] Hash code
|
583
583
|
def hash
|
584
|
-
[
|
584
|
+
[artifact, pulp_created, pulp_href, md5, sha1, sha224, sha256, sha384, sha512, id, authors, contents, dependencies, description, docs_blob, manifest, files, documentation, homepage, issues, license, name, namespace, repository, tags, version, requires_ansible].hash
|
585
585
|
end
|
586
586
|
|
587
587
|
# Builds the object from hash
|