pulp_ansible_client 0.22.11 → 0.23.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/AnsibleAnsibleDistribution.md +3 -5
- data/docs/AnsibleAnsibleDistributionResponse.md +4 -12
- data/docs/AnsibleCollectionVersion.md +5 -5
- data/docs/AnsibleCollectionVersionResponse.md +2 -2
- data/docs/AnsibleGitRemote.md +28 -28
- data/docs/AnsibleGitRemoteResponse.md +26 -26
- data/docs/AnsibleRole.md +3 -3
- data/docs/AnsibleRoleResponse.md +2 -2
- data/docs/ContentCollectionVersionsApi.md +6 -8
- data/docs/PatchedansibleAnsibleDistribution.md +3 -5
- data/docs/PatchedansibleGitRemote.md +28 -28
- 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_api_v3_plugin_ansible_content_namespaces_api.rb +2 -2
- 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/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api.rb +2 -2
- data/lib/pulp_ansible_client/models/ansible_ansible_distribution.rb +16 -28
- data/lib/pulp_ansible_client/models/ansible_ansible_distribution_response.rb +20 -62
- data/lib/pulp_ansible_client/models/ansible_ansible_namespace_metadata.rb +3 -3
- data/lib/pulp_ansible_client/models/ansible_ansible_namespace_metadata_response.rb +3 -3
- 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 +21 -21
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +10 -10
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +233 -233
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +154 -154
- 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 +10 -10
- data/lib/pulp_ansible_client/models/patchedansible_ansible_distribution.rb +16 -28
- data/lib/pulp_ansible_client/models/patchedansible_ansible_namespace_metadata.rb +3 -3
- data/lib/pulp_ansible_client/models/patchedansible_collection_remote.rb +20 -20
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +218 -218
- data/lib/pulp_ansible_client/models/patchedansible_role_remote.rb +20 -20
- 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_ansible_distribution_response_spec.rb +4 -28
- data/spec/models/ansible_ansible_distribution_spec.rb +4 -10
- data/spec/models/ansible_collection_version_response_spec.rb +2 -2
- data/spec/models/ansible_collection_version_spec.rb +5 -5
- data/spec/models/ansible_git_remote_response_spec.rb +18 -18
- data/spec/models/ansible_git_remote_spec.rb +18 -18
- data/spec/models/ansible_role_response_spec.rb +3 -3
- data/spec/models/ansible_role_spec.rb +2 -2
- data/spec/models/patchedansible_ansible_distribution_spec.rb +4 -10
- data/spec/models/patchedansible_git_remote_spec.rb +18 -18
- metadata +131 -131
|
@@ -15,21 +15,21 @@ require 'date'
|
|
|
15
15
|
module PulpAnsibleClient
|
|
16
16
|
# A serializer for CollectionVersion Content.
|
|
17
17
|
class AnsibleCollectionVersion
|
|
18
|
-
# Artifact file representing the physical content
|
|
19
|
-
attr_accessor :artifact
|
|
20
|
-
|
|
21
18
|
# An uploaded file that may be turned into the content unit.
|
|
22
19
|
attr_accessor :file
|
|
23
20
|
|
|
21
|
+
# A URI of a repository the new content unit should be associated with.
|
|
22
|
+
attr_accessor :repository
|
|
23
|
+
|
|
24
|
+
# Artifact file representing the physical content
|
|
25
|
+
attr_accessor :artifact
|
|
26
|
+
|
|
24
27
|
# A url that Pulp can download and turn into the content unit.
|
|
25
28
|
attr_accessor :file_url
|
|
26
29
|
|
|
27
30
|
# An uncommitted upload that may be turned into the content unit.
|
|
28
31
|
attr_accessor :upload
|
|
29
32
|
|
|
30
|
-
# A URI of a repository the new content unit should be associated with.
|
|
31
|
-
attr_accessor :repository
|
|
32
|
-
|
|
33
33
|
# The name of the collection.
|
|
34
34
|
attr_accessor :expected_name
|
|
35
35
|
|
|
@@ -42,11 +42,11 @@ module PulpAnsibleClient
|
|
|
42
42
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
43
43
|
def self.attribute_map
|
|
44
44
|
{
|
|
45
|
-
:'artifact' => :'artifact',
|
|
46
45
|
:'file' => :'file',
|
|
46
|
+
:'repository' => :'repository',
|
|
47
|
+
:'artifact' => :'artifact',
|
|
47
48
|
:'file_url' => :'file_url',
|
|
48
49
|
:'upload' => :'upload',
|
|
49
|
-
:'repository' => :'repository',
|
|
50
50
|
:'expected_name' => :'expected_name',
|
|
51
51
|
:'expected_namespace' => :'expected_namespace',
|
|
52
52
|
:'expected_version' => :'expected_version'
|
|
@@ -56,11 +56,11 @@ module PulpAnsibleClient
|
|
|
56
56
|
# Attribute type mapping.
|
|
57
57
|
def self.openapi_types
|
|
58
58
|
{
|
|
59
|
-
:'artifact' => :'String',
|
|
60
59
|
:'file' => :'File',
|
|
60
|
+
:'repository' => :'String',
|
|
61
|
+
:'artifact' => :'String',
|
|
61
62
|
:'file_url' => :'String',
|
|
62
63
|
:'upload' => :'String',
|
|
63
|
-
:'repository' => :'String',
|
|
64
64
|
:'expected_name' => :'String',
|
|
65
65
|
:'expected_namespace' => :'String',
|
|
66
66
|
:'expected_version' => :'String'
|
|
@@ -88,14 +88,18 @@ module PulpAnsibleClient
|
|
|
88
88
|
h[k.to_sym] = v
|
|
89
89
|
}
|
|
90
90
|
|
|
91
|
-
if attributes.key?(:'artifact')
|
|
92
|
-
self.artifact = attributes[:'artifact']
|
|
93
|
-
end
|
|
94
|
-
|
|
95
91
|
if attributes.key?(:'file')
|
|
96
92
|
self.file = attributes[:'file']
|
|
97
93
|
end
|
|
98
94
|
|
|
95
|
+
if attributes.key?(:'repository')
|
|
96
|
+
self.repository = attributes[:'repository']
|
|
97
|
+
end
|
|
98
|
+
|
|
99
|
+
if attributes.key?(:'artifact')
|
|
100
|
+
self.artifact = attributes[:'artifact']
|
|
101
|
+
end
|
|
102
|
+
|
|
99
103
|
if attributes.key?(:'file_url')
|
|
100
104
|
self.file_url = attributes[:'file_url']
|
|
101
105
|
end
|
|
@@ -104,10 +108,6 @@ module PulpAnsibleClient
|
|
|
104
108
|
self.upload = attributes[:'upload']
|
|
105
109
|
end
|
|
106
110
|
|
|
107
|
-
if attributes.key?(:'repository')
|
|
108
|
-
self.repository = attributes[:'repository']
|
|
109
|
-
end
|
|
110
|
-
|
|
111
111
|
if attributes.key?(:'expected_name')
|
|
112
112
|
self.expected_name = attributes[:'expected_name']
|
|
113
113
|
end
|
|
@@ -226,11 +226,11 @@ module PulpAnsibleClient
|
|
|
226
226
|
def ==(o)
|
|
227
227
|
return true if self.equal?(o)
|
|
228
228
|
self.class == o.class &&
|
|
229
|
-
artifact == o.artifact &&
|
|
230
229
|
file == o.file &&
|
|
230
|
+
repository == o.repository &&
|
|
231
|
+
artifact == o.artifact &&
|
|
231
232
|
file_url == o.file_url &&
|
|
232
233
|
upload == o.upload &&
|
|
233
|
-
repository == o.repository &&
|
|
234
234
|
expected_name == o.expected_name &&
|
|
235
235
|
expected_namespace == o.expected_namespace &&
|
|
236
236
|
expected_version == o.expected_version
|
|
@@ -245,7 +245,7 @@ module PulpAnsibleClient
|
|
|
245
245
|
# Calculates hash code according to all attributes.
|
|
246
246
|
# @return [Integer] Hash code
|
|
247
247
|
def hash
|
|
248
|
-
[
|
|
248
|
+
[file, repository, artifact, file_url, upload, expected_name, expected_namespace, expected_version].hash
|
|
249
249
|
end
|
|
250
250
|
|
|
251
251
|
# Builds the object from hash
|
|
@@ -18,11 +18,11 @@ module PulpAnsibleClient
|
|
|
18
18
|
# The Pulp Resource Name (PRN).
|
|
19
19
|
attr_accessor :prn
|
|
20
20
|
|
|
21
|
-
attr_accessor :pulp_href
|
|
22
|
-
|
|
23
21
|
# Artifact file representing the physical content
|
|
24
22
|
attr_accessor :artifact
|
|
25
23
|
|
|
24
|
+
attr_accessor :pulp_href
|
|
25
|
+
|
|
26
26
|
# Timestamp of creation.
|
|
27
27
|
attr_accessor :pulp_created
|
|
28
28
|
|
|
@@ -104,8 +104,8 @@ module PulpAnsibleClient
|
|
|
104
104
|
def self.attribute_map
|
|
105
105
|
{
|
|
106
106
|
:'prn' => :'prn',
|
|
107
|
-
:'pulp_href' => :'pulp_href',
|
|
108
107
|
:'artifact' => :'artifact',
|
|
108
|
+
:'pulp_href' => :'pulp_href',
|
|
109
109
|
:'pulp_created' => :'pulp_created',
|
|
110
110
|
:'pulp_last_updated' => :'pulp_last_updated',
|
|
111
111
|
:'sha256' => :'sha256',
|
|
@@ -139,8 +139,8 @@ module PulpAnsibleClient
|
|
|
139
139
|
def self.openapi_types
|
|
140
140
|
{
|
|
141
141
|
:'prn' => :'String',
|
|
142
|
-
:'pulp_href' => :'String',
|
|
143
142
|
:'artifact' => :'String',
|
|
143
|
+
:'pulp_href' => :'String',
|
|
144
144
|
:'pulp_created' => :'DateTime',
|
|
145
145
|
:'pulp_last_updated' => :'DateTime',
|
|
146
146
|
:'sha256' => :'String',
|
|
@@ -196,14 +196,14 @@ module PulpAnsibleClient
|
|
|
196
196
|
self.prn = attributes[:'prn']
|
|
197
197
|
end
|
|
198
198
|
|
|
199
|
-
if attributes.key?(:'pulp_href')
|
|
200
|
-
self.pulp_href = attributes[:'pulp_href']
|
|
201
|
-
end
|
|
202
|
-
|
|
203
199
|
if attributes.key?(:'artifact')
|
|
204
200
|
self.artifact = attributes[:'artifact']
|
|
205
201
|
end
|
|
206
202
|
|
|
203
|
+
if attributes.key?(:'pulp_href')
|
|
204
|
+
self.pulp_href = attributes[:'pulp_href']
|
|
205
|
+
end
|
|
206
|
+
|
|
207
207
|
if attributes.key?(:'pulp_created')
|
|
208
208
|
self.pulp_created = attributes[:'pulp_created']
|
|
209
209
|
end
|
|
@@ -454,8 +454,8 @@ module PulpAnsibleClient
|
|
|
454
454
|
return true if self.equal?(o)
|
|
455
455
|
self.class == o.class &&
|
|
456
456
|
prn == o.prn &&
|
|
457
|
-
pulp_href == o.pulp_href &&
|
|
458
457
|
artifact == o.artifact &&
|
|
458
|
+
pulp_href == o.pulp_href &&
|
|
459
459
|
pulp_created == o.pulp_created &&
|
|
460
460
|
pulp_last_updated == o.pulp_last_updated &&
|
|
461
461
|
sha256 == o.sha256 &&
|
|
@@ -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
|
-
[prn,
|
|
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
|