pulp_ansible_client 0.20.9 → 0.20.11
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/AnsibleCollectionVersion.md +3 -3
- data/docs/AnsibleCollectionVersionResponse.md +3 -3
- data/docs/AnsibleGitRemote.md +27 -27
- data/docs/AnsibleGitRemoteResponse.md +22 -22
- data/docs/AnsibleRole.md +3 -3
- data/docs/AnsibleRoleResponse.md +3 -3
- data/docs/ContentCollectionVersionsApi.md +2 -2
- data/docs/PatchedansibleGitRemote.md +27 -27
- data/lib/pulp_ansible_client/api/content_collection_versions_api.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 +11 -11
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +10 -10
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +240 -240
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +131 -131
- 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_collection_remote.rb +20 -20
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +231 -231
- 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 +1 -1
- data/spec/models/ansible_collection_version_response_spec.rb +2 -2
- 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/ansible_role_spec.rb +2 -2
- data/spec/models/patchedansible_git_remote_spec.rb +20 -20
- metadata +137 -137
@@ -15,12 +15,12 @@ require 'date'
|
|
15
15
|
module PulpAnsibleClient
|
16
16
|
# A serializer for CollectionVersion Content.
|
17
17
|
class AnsibleCollectionVersion
|
18
|
-
# An uploaded file that may be turned into the artifact of the content unit.
|
19
|
-
attr_accessor :file
|
20
|
-
|
21
18
|
# An uncommitted upload that may be turned into the artifact of the content unit.
|
22
19
|
attr_accessor :upload
|
23
20
|
|
21
|
+
# An uploaded file that may be turned into the artifact of the content unit.
|
22
|
+
attr_accessor :file
|
23
|
+
|
24
24
|
# A URI of a repository the new content unit should be associated with.
|
25
25
|
attr_accessor :repository
|
26
26
|
|
@@ -39,8 +39,8 @@ 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
42
|
:'upload' => :'upload',
|
43
|
+
:'file' => :'file',
|
44
44
|
:'repository' => :'repository',
|
45
45
|
:'artifact' => :'artifact',
|
46
46
|
:'expected_name' => :'expected_name',
|
@@ -52,8 +52,8 @@ module PulpAnsibleClient
|
|
52
52
|
# Attribute type mapping.
|
53
53
|
def self.openapi_types
|
54
54
|
{
|
55
|
-
:'file' => :'File',
|
56
55
|
:'upload' => :'String',
|
56
|
+
:'file' => :'File',
|
57
57
|
:'repository' => :'String',
|
58
58
|
:'artifact' => :'String',
|
59
59
|
:'expected_name' => :'String',
|
@@ -83,14 +83,14 @@ module PulpAnsibleClient
|
|
83
83
|
h[k.to_sym] = v
|
84
84
|
}
|
85
85
|
|
86
|
-
if attributes.key?(:'file')
|
87
|
-
self.file = attributes[:'file']
|
88
|
-
end
|
89
|
-
|
90
86
|
if attributes.key?(:'upload')
|
91
87
|
self.upload = attributes[:'upload']
|
92
88
|
end
|
93
89
|
|
90
|
+
if attributes.key?(:'file')
|
91
|
+
self.file = attributes[:'file']
|
92
|
+
end
|
93
|
+
|
94
94
|
if attributes.key?(:'repository')
|
95
95
|
self.repository = attributes[:'repository']
|
96
96
|
end
|
@@ -202,8 +202,8 @@ 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
205
|
upload == o.upload &&
|
206
|
+
file == o.file &&
|
207
207
|
repository == o.repository &&
|
208
208
|
artifact == o.artifact &&
|
209
209
|
expected_name == o.expected_name &&
|
@@ -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, file, repository, artifact, expected_name, expected_namespace, expected_version].hash
|
224
224
|
end
|
225
225
|
|
226
226
|
# Builds the object from hash
|
@@ -15,11 +15,11 @@ require 'date'
|
|
15
15
|
module PulpAnsibleClient
|
16
16
|
# A serializer for CollectionVersion Content.
|
17
17
|
class AnsibleCollectionVersionResponse
|
18
|
+
attr_accessor :pulp_href
|
19
|
+
|
18
20
|
# Timestamp of creation.
|
19
21
|
attr_accessor :pulp_created
|
20
22
|
|
21
|
-
attr_accessor :pulp_href
|
22
|
-
|
23
23
|
# Artifact file representing the physical content
|
24
24
|
attr_accessor :artifact
|
25
25
|
|
@@ -97,8 +97,8 @@ module PulpAnsibleClient
|
|
97
97
|
# Attribute mapping from ruby-style variable name to JSON key.
|
98
98
|
def self.attribute_map
|
99
99
|
{
|
100
|
-
:'pulp_created' => :'pulp_created',
|
101
100
|
:'pulp_href' => :'pulp_href',
|
101
|
+
:'pulp_created' => :'pulp_created',
|
102
102
|
:'artifact' => :'artifact',
|
103
103
|
:'sha256' => :'sha256',
|
104
104
|
:'md5' => :'md5',
|
@@ -130,8 +130,8 @@ module PulpAnsibleClient
|
|
130
130
|
# Attribute type mapping.
|
131
131
|
def self.openapi_types
|
132
132
|
{
|
133
|
-
:'pulp_created' => :'DateTime',
|
134
133
|
:'pulp_href' => :'String',
|
134
|
+
:'pulp_created' => :'DateTime',
|
135
135
|
:'artifact' => :'String',
|
136
136
|
:'sha256' => :'String',
|
137
137
|
:'md5' => :'String',
|
@@ -182,14 +182,14 @@ module PulpAnsibleClient
|
|
182
182
|
h[k.to_sym] = v
|
183
183
|
}
|
184
184
|
|
185
|
-
if attributes.key?(:'pulp_created')
|
186
|
-
self.pulp_created = attributes[:'pulp_created']
|
187
|
-
end
|
188
|
-
|
189
185
|
if attributes.key?(:'pulp_href')
|
190
186
|
self.pulp_href = attributes[:'pulp_href']
|
191
187
|
end
|
192
188
|
|
189
|
+
if attributes.key?(:'pulp_created')
|
190
|
+
self.pulp_created = attributes[:'pulp_created']
|
191
|
+
end
|
192
|
+
|
193
193
|
if attributes.key?(:'artifact')
|
194
194
|
self.artifact = attributes[:'artifact']
|
195
195
|
end
|
@@ -435,8 +435,8 @@ module PulpAnsibleClient
|
|
435
435
|
def ==(o)
|
436
436
|
return true if self.equal?(o)
|
437
437
|
self.class == o.class &&
|
438
|
-
pulp_created == o.pulp_created &&
|
439
438
|
pulp_href == o.pulp_href &&
|
439
|
+
pulp_created == o.pulp_created &&
|
440
440
|
artifact == o.artifact &&
|
441
441
|
sha256 == o.sha256 &&
|
442
442
|
md5 == o.md5 &&
|
@@ -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
|
+
[pulp_href, pulp_created, artifact, 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
|