pulp_ansible_client 0.29.10 → 0.29.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/AnsibleCollectionVersionResponse.md +6 -6
- data/docs/AnsibleGitRemote.md +28 -28
- data/docs/AnsibleGitRemoteResponse.md +28 -28
- data/docs/AnsibleRole.md +4 -4
- data/docs/AnsibleRoleResponse.md +6 -6
- data/docs/ContentCollectionVersionsApi.md +8 -8
- data/docs/PatchedansibleGitRemote.md +28 -28
- data/docs/RemotesGitApi.md +2 -2
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +12 -12
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +30 -30
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +246 -246
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +146 -146
- data/lib/pulp_ansible_client/models/ansible_role.rb +21 -21
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +32 -32
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +237 -237
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/spec/api/content_collection_versions_api_spec.rb +4 -4
- data/spec/models/ansible_collection_version_response_spec.rb +7 -7
- data/spec/models/ansible_git_remote_response_spec.rb +19 -19
- data/spec/models/ansible_git_remote_spec.rb +20 -20
- data/spec/models/ansible_role_response_spec.rb +7 -7
- data/spec/models/ansible_role_spec.rb +4 -4
- data/spec/models/patchedansible_git_remote_spec.rb +20 -20
- metadata +2 -2
|
@@ -16,25 +16,25 @@ require 'time'
|
|
|
16
16
|
module PulpAnsibleClient
|
|
17
17
|
# A serializer for CollectionVersion Content.
|
|
18
18
|
class AnsibleCollectionVersionResponse
|
|
19
|
-
# Timestamp of creation.
|
|
20
|
-
attr_accessor :pulp_created
|
|
21
|
-
|
|
22
|
-
attr_accessor :vuln_report
|
|
23
|
-
|
|
24
|
-
# Artifact file representing the physical content
|
|
25
|
-
attr_accessor :artifact
|
|
26
|
-
|
|
27
19
|
# The Pulp Resource Name (PRN).
|
|
28
20
|
attr_accessor :prn
|
|
29
21
|
|
|
30
22
|
attr_accessor :pulp_href
|
|
31
23
|
|
|
24
|
+
# Timestamp of creation.
|
|
25
|
+
attr_accessor :pulp_created
|
|
26
|
+
|
|
32
27
|
# 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.
|
|
33
28
|
attr_accessor :pulp_last_updated
|
|
34
29
|
|
|
30
|
+
# Artifact file representing the physical content
|
|
31
|
+
attr_accessor :artifact
|
|
32
|
+
|
|
35
33
|
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
36
34
|
attr_accessor :pulp_labels
|
|
37
35
|
|
|
36
|
+
attr_accessor :vuln_report
|
|
37
|
+
|
|
38
38
|
# The SHA-256 checksum if available.
|
|
39
39
|
attr_accessor :sha256
|
|
40
40
|
|
|
@@ -97,13 +97,13 @@ 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
|
-
:'vuln_report' => :'vuln_report',
|
|
102
|
-
:'artifact' => :'artifact',
|
|
103
100
|
:'prn' => :'prn',
|
|
104
101
|
:'pulp_href' => :'pulp_href',
|
|
102
|
+
:'pulp_created' => :'pulp_created',
|
|
105
103
|
:'pulp_last_updated' => :'pulp_last_updated',
|
|
104
|
+
:'artifact' => :'artifact',
|
|
106
105
|
:'pulp_labels' => :'pulp_labels',
|
|
106
|
+
:'vuln_report' => :'vuln_report',
|
|
107
107
|
:'sha256' => :'sha256',
|
|
108
108
|
:'md5' => :'md5',
|
|
109
109
|
:'sha1' => :'sha1',
|
|
@@ -135,13 +135,13 @@ module PulpAnsibleClient
|
|
|
135
135
|
# Attribute type mapping.
|
|
136
136
|
def self.openapi_types
|
|
137
137
|
{
|
|
138
|
-
:'pulp_created' => :'Time',
|
|
139
|
-
:'vuln_report' => :'String',
|
|
140
|
-
:'artifact' => :'String',
|
|
141
138
|
:'prn' => :'String',
|
|
142
139
|
:'pulp_href' => :'String',
|
|
140
|
+
:'pulp_created' => :'Time',
|
|
143
141
|
:'pulp_last_updated' => :'Time',
|
|
142
|
+
:'artifact' => :'String',
|
|
144
143
|
:'pulp_labels' => :'Hash<String, String>',
|
|
144
|
+
:'vuln_report' => :'String',
|
|
145
145
|
:'sha256' => :'String',
|
|
146
146
|
:'md5' => :'String',
|
|
147
147
|
:'sha1' => :'String',
|
|
@@ -187,18 +187,6 @@ module PulpAnsibleClient
|
|
|
187
187
|
h[k.to_sym] = v
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
if attributes.key?(:'pulp_created')
|
|
191
|
-
self.pulp_created = attributes[:'pulp_created']
|
|
192
|
-
end
|
|
193
|
-
|
|
194
|
-
if attributes.key?(:'vuln_report')
|
|
195
|
-
self.vuln_report = attributes[:'vuln_report']
|
|
196
|
-
end
|
|
197
|
-
|
|
198
|
-
if attributes.key?(:'artifact')
|
|
199
|
-
self.artifact = attributes[:'artifact']
|
|
200
|
-
end
|
|
201
|
-
|
|
202
190
|
if attributes.key?(:'prn')
|
|
203
191
|
self.prn = attributes[:'prn']
|
|
204
192
|
end
|
|
@@ -207,16 +195,28 @@ module PulpAnsibleClient
|
|
|
207
195
|
self.pulp_href = attributes[:'pulp_href']
|
|
208
196
|
end
|
|
209
197
|
|
|
198
|
+
if attributes.key?(:'pulp_created')
|
|
199
|
+
self.pulp_created = attributes[:'pulp_created']
|
|
200
|
+
end
|
|
201
|
+
|
|
210
202
|
if attributes.key?(:'pulp_last_updated')
|
|
211
203
|
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
212
204
|
end
|
|
213
205
|
|
|
206
|
+
if attributes.key?(:'artifact')
|
|
207
|
+
self.artifact = attributes[:'artifact']
|
|
208
|
+
end
|
|
209
|
+
|
|
214
210
|
if attributes.key?(:'pulp_labels')
|
|
215
211
|
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
216
212
|
self.pulp_labels = value
|
|
217
213
|
end
|
|
218
214
|
end
|
|
219
215
|
|
|
216
|
+
if attributes.key?(:'vuln_report')
|
|
217
|
+
self.vuln_report = attributes[:'vuln_report']
|
|
218
|
+
end
|
|
219
|
+
|
|
220
220
|
if attributes.key?(:'sha256')
|
|
221
221
|
self.sha256 = attributes[:'sha256']
|
|
222
222
|
end
|
|
@@ -472,13 +472,13 @@ module PulpAnsibleClient
|
|
|
472
472
|
def ==(o)
|
|
473
473
|
return true if self.equal?(o)
|
|
474
474
|
self.class == o.class &&
|
|
475
|
-
pulp_created == o.pulp_created &&
|
|
476
|
-
vuln_report == o.vuln_report &&
|
|
477
|
-
artifact == o.artifact &&
|
|
478
475
|
prn == o.prn &&
|
|
479
476
|
pulp_href == o.pulp_href &&
|
|
477
|
+
pulp_created == o.pulp_created &&
|
|
480
478
|
pulp_last_updated == o.pulp_last_updated &&
|
|
479
|
+
artifact == o.artifact &&
|
|
481
480
|
pulp_labels == o.pulp_labels &&
|
|
481
|
+
vuln_report == o.vuln_report &&
|
|
482
482
|
sha256 == o.sha256 &&
|
|
483
483
|
md5 == o.md5 &&
|
|
484
484
|
sha1 == o.sha1 &&
|
|
@@ -510,7 +510,7 @@ module PulpAnsibleClient
|
|
|
510
510
|
# Calculates hash code according to all attributes.
|
|
511
511
|
# @return [Integer] Hash code
|
|
512
512
|
def hash
|
|
513
|
-
[
|
|
513
|
+
[prn, pulp_href, pulp_created, pulp_last_updated, artifact, pulp_labels, vuln_report, sha256, md5, sha1, sha224, sha384, sha512, id, authors, dependencies, description, documentation, homepage, issues, license, name, namespace, origin_repository, tags, version, requires_ansible].hash
|
|
514
514
|
end
|
|
515
515
|
|
|
516
516
|
# Builds the object from hash
|