pulp_ansible_client 0.29.1 → 0.29.2
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 +8 -16
- data/docs/AnsibleGitRemote.md +26 -26
- data/docs/AnsibleGitRemoteResponse.md +26 -26
- data/docs/AnsibleRole.md +2 -2
- data/docs/AnsibleRoleResponse.md +8 -8
- data/docs/ContentCollectionVersionsApi.md +6 -6
- data/docs/PatchedansibleGitRemote.md +26 -26
- data/docs/RemotesGitApi.md +2 -2
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +9 -9
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +33 -75
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +228 -228
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +146 -146
- data/lib/pulp_ansible_client/models/ansible_role.rb +13 -13
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +35 -35
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +218 -218
- 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 +5 -29
- data/spec/models/ansible_git_remote_response_spec.rb +20 -20
- data/spec/models/ansible_git_remote_spec.rb +19 -19
- data/spec/models/ansible_role_response_spec.rb +5 -5
- data/spec/models/ansible_role_spec.rb +2 -2
- data/spec/models/patchedansible_git_remote_spec.rb +19 -19
- metadata +2 -2
|
@@ -16,24 +16,24 @@ require 'time'
|
|
|
16
16
|
module PulpAnsibleClient
|
|
17
17
|
# A serializer for CollectionVersion Content.
|
|
18
18
|
class AnsibleCollectionVersionResponse
|
|
19
|
-
# The Pulp Resource Name (PRN).
|
|
20
|
-
attr_accessor :prn
|
|
21
|
-
|
|
22
19
|
# Timestamp of creation.
|
|
23
20
|
attr_accessor :pulp_created
|
|
24
21
|
|
|
25
|
-
|
|
22
|
+
# Artifact file representing the physical content
|
|
23
|
+
attr_accessor :artifact
|
|
24
|
+
|
|
25
|
+
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
26
|
+
attr_accessor :pulp_labels
|
|
26
27
|
|
|
27
28
|
# 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.
|
|
28
29
|
attr_accessor :pulp_last_updated
|
|
29
30
|
|
|
30
31
|
attr_accessor :vuln_report
|
|
31
32
|
|
|
32
|
-
|
|
33
|
-
attr_accessor :pulp_labels
|
|
33
|
+
attr_accessor :pulp_href
|
|
34
34
|
|
|
35
|
-
#
|
|
36
|
-
attr_accessor :
|
|
35
|
+
# The Pulp Resource Name (PRN).
|
|
36
|
+
attr_accessor :prn
|
|
37
37
|
|
|
38
38
|
# The SHA-256 checksum if available.
|
|
39
39
|
attr_accessor :sha256
|
|
@@ -59,24 +59,12 @@ module PulpAnsibleClient
|
|
|
59
59
|
# A list of the CollectionVersion content's authors.
|
|
60
60
|
attr_accessor :authors
|
|
61
61
|
|
|
62
|
-
# A JSON field with data about the contents.
|
|
63
|
-
attr_accessor :contents
|
|
64
|
-
|
|
65
62
|
# A dict declaring Collections that this collection requires to be installed for it to be usable.
|
|
66
63
|
attr_accessor :dependencies
|
|
67
64
|
|
|
68
65
|
# A short summary description of the collection.
|
|
69
66
|
attr_accessor :description
|
|
70
67
|
|
|
71
|
-
# A JSON field holding the various documentation blobs in the collection.
|
|
72
|
-
attr_accessor :docs_blob
|
|
73
|
-
|
|
74
|
-
# A JSON field holding MANIFEST.json data.
|
|
75
|
-
attr_accessor :manifest
|
|
76
|
-
|
|
77
|
-
# A JSON field holding FILES.json data.
|
|
78
|
-
attr_accessor :files
|
|
79
|
-
|
|
80
68
|
# The URL to any online docs.
|
|
81
69
|
attr_accessor :documentation
|
|
82
70
|
|
|
@@ -109,13 +97,13 @@ module PulpAnsibleClient
|
|
|
109
97
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
110
98
|
def self.attribute_map
|
|
111
99
|
{
|
|
112
|
-
:'prn' => :'prn',
|
|
113
100
|
:'pulp_created' => :'pulp_created',
|
|
114
|
-
:'
|
|
101
|
+
:'artifact' => :'artifact',
|
|
102
|
+
:'pulp_labels' => :'pulp_labels',
|
|
115
103
|
:'pulp_last_updated' => :'pulp_last_updated',
|
|
116
104
|
:'vuln_report' => :'vuln_report',
|
|
117
|
-
:'
|
|
118
|
-
:'
|
|
105
|
+
:'pulp_href' => :'pulp_href',
|
|
106
|
+
:'prn' => :'prn',
|
|
119
107
|
:'sha256' => :'sha256',
|
|
120
108
|
:'md5' => :'md5',
|
|
121
109
|
:'sha1' => :'sha1',
|
|
@@ -124,12 +112,8 @@ module PulpAnsibleClient
|
|
|
124
112
|
:'sha512' => :'sha512',
|
|
125
113
|
:'id' => :'id',
|
|
126
114
|
:'authors' => :'authors',
|
|
127
|
-
:'contents' => :'contents',
|
|
128
115
|
:'dependencies' => :'dependencies',
|
|
129
116
|
:'description' => :'description',
|
|
130
|
-
:'docs_blob' => :'docs_blob',
|
|
131
|
-
:'manifest' => :'manifest',
|
|
132
|
-
:'files' => :'files',
|
|
133
117
|
:'documentation' => :'documentation',
|
|
134
118
|
:'homepage' => :'homepage',
|
|
135
119
|
:'issues' => :'issues',
|
|
@@ -151,13 +135,13 @@ module PulpAnsibleClient
|
|
|
151
135
|
# Attribute type mapping.
|
|
152
136
|
def self.openapi_types
|
|
153
137
|
{
|
|
154
|
-
:'prn' => :'String',
|
|
155
138
|
:'pulp_created' => :'Time',
|
|
156
|
-
:'
|
|
139
|
+
:'artifact' => :'String',
|
|
140
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
157
141
|
:'pulp_last_updated' => :'Time',
|
|
158
142
|
:'vuln_report' => :'String',
|
|
159
|
-
:'
|
|
160
|
-
:'
|
|
143
|
+
:'pulp_href' => :'String',
|
|
144
|
+
:'prn' => :'String',
|
|
161
145
|
:'sha256' => :'String',
|
|
162
146
|
:'md5' => :'String',
|
|
163
147
|
:'sha1' => :'String',
|
|
@@ -166,12 +150,8 @@ module PulpAnsibleClient
|
|
|
166
150
|
:'sha512' => :'String',
|
|
167
151
|
:'id' => :'String',
|
|
168
152
|
:'authors' => :'Array<String>',
|
|
169
|
-
:'contents' => :'Array<Object>',
|
|
170
153
|
:'dependencies' => :'Object',
|
|
171
154
|
:'description' => :'String',
|
|
172
|
-
:'docs_blob' => :'Object',
|
|
173
|
-
:'manifest' => :'Object',
|
|
174
|
-
:'files' => :'Object',
|
|
175
155
|
:'documentation' => :'String',
|
|
176
156
|
:'homepage' => :'String',
|
|
177
157
|
:'issues' => :'String',
|
|
@@ -207,16 +187,18 @@ module PulpAnsibleClient
|
|
|
207
187
|
h[k.to_sym] = v
|
|
208
188
|
}
|
|
209
189
|
|
|
210
|
-
if attributes.key?(:'prn')
|
|
211
|
-
self.prn = attributes[:'prn']
|
|
212
|
-
end
|
|
213
|
-
|
|
214
190
|
if attributes.key?(:'pulp_created')
|
|
215
191
|
self.pulp_created = attributes[:'pulp_created']
|
|
216
192
|
end
|
|
217
193
|
|
|
218
|
-
if attributes.key?(:'
|
|
219
|
-
self.
|
|
194
|
+
if attributes.key?(:'artifact')
|
|
195
|
+
self.artifact = attributes[:'artifact']
|
|
196
|
+
end
|
|
197
|
+
|
|
198
|
+
if attributes.key?(:'pulp_labels')
|
|
199
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
200
|
+
self.pulp_labels = value
|
|
201
|
+
end
|
|
220
202
|
end
|
|
221
203
|
|
|
222
204
|
if attributes.key?(:'pulp_last_updated')
|
|
@@ -227,14 +209,12 @@ module PulpAnsibleClient
|
|
|
227
209
|
self.vuln_report = attributes[:'vuln_report']
|
|
228
210
|
end
|
|
229
211
|
|
|
230
|
-
if attributes.key?(:'
|
|
231
|
-
|
|
232
|
-
self.pulp_labels = value
|
|
233
|
-
end
|
|
212
|
+
if attributes.key?(:'pulp_href')
|
|
213
|
+
self.pulp_href = attributes[:'pulp_href']
|
|
234
214
|
end
|
|
235
215
|
|
|
236
|
-
if attributes.key?(:'
|
|
237
|
-
self.
|
|
216
|
+
if attributes.key?(:'prn')
|
|
217
|
+
self.prn = attributes[:'prn']
|
|
238
218
|
end
|
|
239
219
|
|
|
240
220
|
if attributes.key?(:'sha256')
|
|
@@ -271,12 +251,6 @@ module PulpAnsibleClient
|
|
|
271
251
|
end
|
|
272
252
|
end
|
|
273
253
|
|
|
274
|
-
if attributes.key?(:'contents')
|
|
275
|
-
if (value = attributes[:'contents']).is_a?(Array)
|
|
276
|
-
self.contents = value
|
|
277
|
-
end
|
|
278
|
-
end
|
|
279
|
-
|
|
280
254
|
if attributes.key?(:'dependencies')
|
|
281
255
|
self.dependencies = attributes[:'dependencies']
|
|
282
256
|
end
|
|
@@ -285,18 +259,6 @@ module PulpAnsibleClient
|
|
|
285
259
|
self.description = attributes[:'description']
|
|
286
260
|
end
|
|
287
261
|
|
|
288
|
-
if attributes.key?(:'docs_blob')
|
|
289
|
-
self.docs_blob = attributes[:'docs_blob']
|
|
290
|
-
end
|
|
291
|
-
|
|
292
|
-
if attributes.key?(:'manifest')
|
|
293
|
-
self.manifest = attributes[:'manifest']
|
|
294
|
-
end
|
|
295
|
-
|
|
296
|
-
if attributes.key?(:'files')
|
|
297
|
-
self.files = attributes[:'files']
|
|
298
|
-
end
|
|
299
|
-
|
|
300
262
|
if attributes.key?(:'documentation')
|
|
301
263
|
self.documentation = attributes[:'documentation']
|
|
302
264
|
end
|
|
@@ -495,13 +457,13 @@ module PulpAnsibleClient
|
|
|
495
457
|
def ==(o)
|
|
496
458
|
return true if self.equal?(o)
|
|
497
459
|
self.class == o.class &&
|
|
498
|
-
prn == o.prn &&
|
|
499
460
|
pulp_created == o.pulp_created &&
|
|
500
|
-
|
|
461
|
+
artifact == o.artifact &&
|
|
462
|
+
pulp_labels == o.pulp_labels &&
|
|
501
463
|
pulp_last_updated == o.pulp_last_updated &&
|
|
502
464
|
vuln_report == o.vuln_report &&
|
|
503
|
-
|
|
504
|
-
|
|
465
|
+
pulp_href == o.pulp_href &&
|
|
466
|
+
prn == o.prn &&
|
|
505
467
|
sha256 == o.sha256 &&
|
|
506
468
|
md5 == o.md5 &&
|
|
507
469
|
sha1 == o.sha1 &&
|
|
@@ -510,12 +472,8 @@ module PulpAnsibleClient
|
|
|
510
472
|
sha512 == o.sha512 &&
|
|
511
473
|
id == o.id &&
|
|
512
474
|
authors == o.authors &&
|
|
513
|
-
contents == o.contents &&
|
|
514
475
|
dependencies == o.dependencies &&
|
|
515
476
|
description == o.description &&
|
|
516
|
-
docs_blob == o.docs_blob &&
|
|
517
|
-
manifest == o.manifest &&
|
|
518
|
-
files == o.files &&
|
|
519
477
|
documentation == o.documentation &&
|
|
520
478
|
homepage == o.homepage &&
|
|
521
479
|
issues == o.issues &&
|
|
@@ -537,7 +495,7 @@ module PulpAnsibleClient
|
|
|
537
495
|
# Calculates hash code according to all attributes.
|
|
538
496
|
# @return [Integer] Hash code
|
|
539
497
|
def hash
|
|
540
|
-
[
|
|
498
|
+
[pulp_created, artifact, pulp_labels, pulp_last_updated, vuln_report, pulp_href, prn, sha256, md5, sha1, sha224, sha384, sha512, id, authors, dependencies, description, documentation, homepage, issues, license, name, namespace, origin_repository, tags, version, requires_ansible].hash
|
|
541
499
|
end
|
|
542
500
|
|
|
543
501
|
# Builds the object from hash
|