pulp_ansible_client 0.16.1 → 0.16.3
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 +6 -6
- data/docs/AnsibleCollectionVersionResponse.md +3 -3
- data/docs/AnsibleCollectionsApi.md +6 -2
- data/docs/AnsibleGitRemote.md +27 -27
- data/docs/AnsibleGitRemoteResponse.md +22 -22
- 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 +12 -8
- 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 +27 -27
- 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 +17 -11
- 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 +25 -25
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +10 -10
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +231 -231
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +115 -115
- 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 +11 -11
- 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 +231 -231
- 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 +6 -4
- 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 +4 -4
- data/spec/models/ansible_git_remote_response_spec.rb +18 -18
- data/spec/models/ansible_git_remote_spec.rb +19 -19
- data/spec/models/ansible_role_response_spec.rb +3 -3
- data/spec/models/patchedansible_git_remote_spec.rb +19 -19
- metadata +102 -102
@@ -15,17 +15,17 @@ require 'date'
|
|
15
15
|
module PulpAnsibleClient
|
16
16
|
# A serializer for CollectionVersion Content.
|
17
17
|
class AnsibleCollectionVersion
|
18
|
-
# An
|
19
|
-
attr_accessor :
|
20
|
-
|
21
|
-
# A URI of a repository the new content unit should be associated with.
|
22
|
-
attr_accessor :repository
|
18
|
+
# An uncommitted upload that may be turned into the artifact of the content unit.
|
19
|
+
attr_accessor :upload
|
23
20
|
|
24
21
|
# Artifact file representing the physical content
|
25
22
|
attr_accessor :artifact
|
26
23
|
|
27
|
-
#
|
28
|
-
attr_accessor :
|
24
|
+
# A URI of a repository the new content unit should be associated with.
|
25
|
+
attr_accessor :repository
|
26
|
+
|
27
|
+
# An uploaded file that may be turned into the artifact of the content unit.
|
28
|
+
attr_accessor :file
|
29
29
|
|
30
30
|
# The name of the collection.
|
31
31
|
attr_accessor :expected_name
|
@@ -39,10 +39,10 @@ module PulpAnsibleClient
|
|
39
39
|
# Attribute mapping from ruby-style variable name to JSON key.
|
40
40
|
def self.attribute_map
|
41
41
|
{
|
42
|
-
:'file' => :'file',
|
43
|
-
:'repository' => :'repository',
|
44
|
-
:'artifact' => :'artifact',
|
45
42
|
:'upload' => :'upload',
|
43
|
+
:'artifact' => :'artifact',
|
44
|
+
:'repository' => :'repository',
|
45
|
+
:'file' => :'file',
|
46
46
|
:'expected_name' => :'expected_name',
|
47
47
|
:'expected_namespace' => :'expected_namespace',
|
48
48
|
:'expected_version' => :'expected_version'
|
@@ -52,10 +52,10 @@ module PulpAnsibleClient
|
|
52
52
|
# Attribute type mapping.
|
53
53
|
def self.openapi_types
|
54
54
|
{
|
55
|
-
:'file' => :'File',
|
56
|
-
:'repository' => :'String',
|
57
|
-
:'artifact' => :'String',
|
58
55
|
:'upload' => :'String',
|
56
|
+
:'artifact' => :'String',
|
57
|
+
:'repository' => :'String',
|
58
|
+
:'file' => :'File',
|
59
59
|
:'expected_name' => :'String',
|
60
60
|
:'expected_namespace' => :'String',
|
61
61
|
:'expected_version' => :'String'
|
@@ -83,20 +83,20 @@ module PulpAnsibleClient
|
|
83
83
|
h[k.to_sym] = v
|
84
84
|
}
|
85
85
|
|
86
|
-
if attributes.key?(:'
|
87
|
-
self.
|
88
|
-
end
|
89
|
-
|
90
|
-
if attributes.key?(:'repository')
|
91
|
-
self.repository = attributes[:'repository']
|
86
|
+
if attributes.key?(:'upload')
|
87
|
+
self.upload = attributes[:'upload']
|
92
88
|
end
|
93
89
|
|
94
90
|
if attributes.key?(:'artifact')
|
95
91
|
self.artifact = attributes[:'artifact']
|
96
92
|
end
|
97
93
|
|
98
|
-
if attributes.key?(:'
|
99
|
-
self.
|
94
|
+
if attributes.key?(:'repository')
|
95
|
+
self.repository = attributes[:'repository']
|
96
|
+
end
|
97
|
+
|
98
|
+
if attributes.key?(:'file')
|
99
|
+
self.file = attributes[:'file']
|
100
100
|
end
|
101
101
|
|
102
102
|
if attributes.key?(:'expected_name')
|
@@ -202,10 +202,10 @@ module PulpAnsibleClient
|
|
202
202
|
def ==(o)
|
203
203
|
return true if self.equal?(o)
|
204
204
|
self.class == o.class &&
|
205
|
-
file == o.file &&
|
206
|
-
repository == o.repository &&
|
207
|
-
artifact == o.artifact &&
|
208
205
|
upload == o.upload &&
|
206
|
+
artifact == o.artifact &&
|
207
|
+
repository == o.repository &&
|
208
|
+
file == o.file &&
|
209
209
|
expected_name == o.expected_name &&
|
210
210
|
expected_namespace == o.expected_namespace &&
|
211
211
|
expected_version == o.expected_version
|
@@ -220,7 +220,7 @@ module PulpAnsibleClient
|
|
220
220
|
# Calculates hash code according to all attributes.
|
221
221
|
# @return [Integer] Hash code
|
222
222
|
def hash
|
223
|
-
[
|
223
|
+
[upload, artifact, repository, file, expected_name, expected_namespace, expected_version].hash
|
224
224
|
end
|
225
225
|
|
226
226
|
# 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 SHA-256 checksum if available.
|
27
27
|
attr_accessor :sha256
|
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
|
:'sha256' => :'sha256',
|
104
104
|
:'md5' => :'md5',
|
105
105
|
:'sha1' => :'sha1',
|
@@ -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
|
:'sha256' => :'String',
|
137
137
|
:'md5' => :'String',
|
138
138
|
:'sha1' => :'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?(:'sha256')
|
198
198
|
self.sha256 = attributes[:'sha256']
|
199
199
|
end
|
@@ -435,9 +435,9 @@ module PulpAnsibleClient
|
|
435
435
|
def ==(o)
|
436
436
|
return true if self.equal?(o)
|
437
437
|
self.class == o.class &&
|
438
|
-
pulp_href == o.pulp_href &&
|
439
438
|
artifact == o.artifact &&
|
440
439
|
pulp_created == o.pulp_created &&
|
440
|
+
pulp_href == o.pulp_href &&
|
441
441
|
sha256 == o.sha256 &&
|
442
442
|
md5 == o.md5 &&
|
443
443
|
sha1 == o.sha1 &&
|
@@ -473,7 +473,7 @@ module PulpAnsibleClient
|
|
473
473
|
# Calculates hash code according to all attributes.
|
474
474
|
# @return [Integer] Hash code
|
475
475
|
def hash
|
476
|
-
[
|
476
|
+
[artifact, pulp_created, pulp_href, 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
477
|
end
|
478
478
|
|
479
479
|
# Builds the object from hash
|