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