pulp_ansible_client 0.21.9 → 0.21.10
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 +6 -6
- data/docs/AnsibleCollectionVersionResponse.md +4 -4
- data/docs/AnsibleGitRemote.md +24 -24
- data/docs/AnsibleGitRemoteResponse.md +24 -24
- data/docs/AnsibleRole.md +3 -3
- data/docs/AnsibleRoleResponse.md +4 -4
- data/docs/ContentCollectionVersionsApi.md +6 -6
- data/docs/PatchedansibleGitRemote.md +24 -24
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +9 -9
- 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 +25 -25
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +15 -15
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +212 -212
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +151 -151
- 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 +15 -15
- data/lib/pulp_ansible_client/models/patchedansible_collection_remote.rb +20 -20
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +212 -212
- 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 -3
- data/spec/models/ansible_collection_version_response_spec.rb +2 -2
- 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 +20 -20
- data/spec/models/ansible_role_response_spec.rb +2 -2
- data/spec/models/ansible_role_spec.rb +2 -2
- data/spec/models/patchedansible_git_remote_spec.rb +20 -20
- metadata +137 -137
@@ -15,17 +15,17 @@ require 'date'
|
|
15
15
|
module PulpAnsibleClient
|
16
16
|
# A serializer for CollectionVersion Content.
|
17
17
|
class AnsibleCollectionVersion
|
18
|
-
#
|
19
|
-
attr_accessor :
|
20
|
-
|
21
|
-
# An uploaded file that may be turned into the content unit.
|
22
|
-
attr_accessor :file
|
18
|
+
# A URI of a repository the new content unit should be associated with.
|
19
|
+
attr_accessor :repository
|
23
20
|
|
24
21
|
# An uncommitted upload that may be turned into the content unit.
|
25
22
|
attr_accessor :upload
|
26
23
|
|
27
|
-
#
|
28
|
-
attr_accessor :
|
24
|
+
# An uploaded file that may be turned into the content unit.
|
25
|
+
attr_accessor :file
|
26
|
+
|
27
|
+
# Artifact file representing the physical content
|
28
|
+
attr_accessor :artifact
|
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
|
-
:'artifact' => :'artifact',
|
43
|
-
:'file' => :'file',
|
44
|
-
:'upload' => :'upload',
|
45
42
|
:'repository' => :'repository',
|
43
|
+
:'upload' => :'upload',
|
44
|
+
:'file' => :'file',
|
45
|
+
:'artifact' => :'artifact',
|
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
|
-
:'artifact' => :'String',
|
56
|
-
:'file' => :'File',
|
57
|
-
:'upload' => :'String',
|
58
55
|
:'repository' => :'String',
|
56
|
+
:'upload' => :'String',
|
57
|
+
:'file' => :'File',
|
58
|
+
:'artifact' => :'String',
|
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?(:'file')
|
91
|
-
self.file = attributes[:'file']
|
86
|
+
if attributes.key?(:'repository')
|
87
|
+
self.repository = attributes[:'repository']
|
92
88
|
end
|
93
89
|
|
94
90
|
if attributes.key?(:'upload')
|
95
91
|
self.upload = attributes[:'upload']
|
96
92
|
end
|
97
93
|
|
98
|
-
if attributes.key?(:'
|
99
|
-
self.
|
94
|
+
if attributes.key?(:'file')
|
95
|
+
self.file = attributes[:'file']
|
96
|
+
end
|
97
|
+
|
98
|
+
if attributes.key?(:'artifact')
|
99
|
+
self.artifact = attributes[:'artifact']
|
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
|
-
artifact == o.artifact &&
|
206
|
-
file == o.file &&
|
207
|
-
upload == o.upload &&
|
208
205
|
repository == o.repository &&
|
206
|
+
upload == o.upload &&
|
207
|
+
file == o.file &&
|
208
|
+
artifact == o.artifact &&
|
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
|
+
[repository, upload, file, artifact, 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
|
-
#
|
19
|
-
attr_accessor :
|
18
|
+
# Timestamp of creation.
|
19
|
+
attr_accessor :pulp_created
|
20
20
|
|
21
21
|
# 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.
|
22
22
|
attr_accessor :pulp_last_updated
|
23
23
|
|
24
|
-
#
|
25
|
-
attr_accessor :
|
24
|
+
# Artifact file representing the physical content
|
25
|
+
attr_accessor :artifact
|
26
26
|
|
27
27
|
attr_accessor :pulp_href
|
28
28
|
|
@@ -100,9 +100,9 @@ module PulpAnsibleClient
|
|
100
100
|
# Attribute mapping from ruby-style variable name to JSON key.
|
101
101
|
def self.attribute_map
|
102
102
|
{
|
103
|
-
:'artifact' => :'artifact',
|
104
|
-
:'pulp_last_updated' => :'pulp_last_updated',
|
105
103
|
:'pulp_created' => :'pulp_created',
|
104
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
105
|
+
:'artifact' => :'artifact',
|
106
106
|
:'pulp_href' => :'pulp_href',
|
107
107
|
:'sha256' => :'sha256',
|
108
108
|
:'md5' => :'md5',
|
@@ -134,9 +134,9 @@ module PulpAnsibleClient
|
|
134
134
|
# Attribute type mapping.
|
135
135
|
def self.openapi_types
|
136
136
|
{
|
137
|
-
:'artifact' => :'String',
|
138
|
-
:'pulp_last_updated' => :'DateTime',
|
139
137
|
:'pulp_created' => :'DateTime',
|
138
|
+
:'pulp_last_updated' => :'DateTime',
|
139
|
+
:'artifact' => :'String',
|
140
140
|
:'pulp_href' => :'String',
|
141
141
|
:'sha256' => :'String',
|
142
142
|
:'md5' => :'String',
|
@@ -187,16 +187,16 @@ module PulpAnsibleClient
|
|
187
187
|
h[k.to_sym] = v
|
188
188
|
}
|
189
189
|
|
190
|
-
if attributes.key?(:'
|
191
|
-
self.
|
190
|
+
if attributes.key?(:'pulp_created')
|
191
|
+
self.pulp_created = attributes[:'pulp_created']
|
192
192
|
end
|
193
193
|
|
194
194
|
if attributes.key?(:'pulp_last_updated')
|
195
195
|
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
196
196
|
end
|
197
197
|
|
198
|
-
if attributes.key?(:'
|
199
|
-
self.
|
198
|
+
if attributes.key?(:'artifact')
|
199
|
+
self.artifact = attributes[:'artifact']
|
200
200
|
end
|
201
201
|
|
202
202
|
if attributes.key?(:'pulp_href')
|
@@ -444,9 +444,9 @@ module PulpAnsibleClient
|
|
444
444
|
def ==(o)
|
445
445
|
return true if self.equal?(o)
|
446
446
|
self.class == o.class &&
|
447
|
-
artifact == o.artifact &&
|
448
|
-
pulp_last_updated == o.pulp_last_updated &&
|
449
447
|
pulp_created == o.pulp_created &&
|
448
|
+
pulp_last_updated == o.pulp_last_updated &&
|
449
|
+
artifact == o.artifact &&
|
450
450
|
pulp_href == o.pulp_href &&
|
451
451
|
sha256 == o.sha256 &&
|
452
452
|
md5 == o.md5 &&
|
@@ -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_created, pulp_last_updated, artifact, 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
|
487
487
|
end
|
488
488
|
|
489
489
|
# Builds the object from hash
|