pulp_ansible_client 0.29.0 → 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 +6 -14
- data/docs/AnsibleGitRemote.md +28 -28
- data/docs/AnsibleGitRemoteResponse.md +28 -28
- data/docs/AnsibleRoleResponse.md +6 -6
- data/docs/ContentCollectionVersionsApi.md +2 -2
- data/docs/PatchedansibleGitRemote.md +28 -28
- data/docs/RemotesGitApi.md +2 -2
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +3 -3
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +29 -71
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +229 -229
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +160 -160
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +29 -29
- 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 +1 -1
- data/spec/models/ansible_collection_version_response_spec.rb +5 -29
- data/spec/models/ansible_git_remote_response_spec.rb +17 -17
- data/spec/models/ansible_git_remote_spec.rb +18 -18
- data/spec/models/ansible_role_response_spec.rb +5 -5
- data/spec/models/patchedansible_git_remote_spec.rb +18 -18
- metadata +2 -2
|
@@ -16,22 +16,22 @@ require 'time'
|
|
|
16
16
|
module PulpAnsibleClient
|
|
17
17
|
# A serializer for CollectionVersion Content.
|
|
18
18
|
class AnsibleCollectionVersionResponse
|
|
19
|
-
attr_accessor :pulp_href
|
|
20
|
-
|
|
21
|
-
attr_accessor :vuln_report
|
|
22
|
-
|
|
23
19
|
# Timestamp of creation.
|
|
24
20
|
attr_accessor :pulp_created
|
|
25
21
|
|
|
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
|
|
28
|
-
|
|
29
22
|
# Artifact file representing the physical content
|
|
30
23
|
attr_accessor :artifact
|
|
31
24
|
|
|
32
25
|
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
33
26
|
attr_accessor :pulp_labels
|
|
34
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.
|
|
29
|
+
attr_accessor :pulp_last_updated
|
|
30
|
+
|
|
31
|
+
attr_accessor :vuln_report
|
|
32
|
+
|
|
33
|
+
attr_accessor :pulp_href
|
|
34
|
+
|
|
35
35
|
# The Pulp Resource Name (PRN).
|
|
36
36
|
attr_accessor :prn
|
|
37
37
|
|
|
@@ -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,12 +97,12 @@ module PulpAnsibleClient
|
|
|
109
97
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
110
98
|
def self.attribute_map
|
|
111
99
|
{
|
|
112
|
-
:'pulp_href' => :'pulp_href',
|
|
113
|
-
:'vuln_report' => :'vuln_report',
|
|
114
100
|
:'pulp_created' => :'pulp_created',
|
|
115
|
-
:'pulp_last_updated' => :'pulp_last_updated',
|
|
116
101
|
:'artifact' => :'artifact',
|
|
117
102
|
:'pulp_labels' => :'pulp_labels',
|
|
103
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
|
104
|
+
:'vuln_report' => :'vuln_report',
|
|
105
|
+
:'pulp_href' => :'pulp_href',
|
|
118
106
|
:'prn' => :'prn',
|
|
119
107
|
:'sha256' => :'sha256',
|
|
120
108
|
:'md5' => :'md5',
|
|
@@ -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,12 +135,12 @@ module PulpAnsibleClient
|
|
|
151
135
|
# Attribute type mapping.
|
|
152
136
|
def self.openapi_types
|
|
153
137
|
{
|
|
154
|
-
:'pulp_href' => :'String',
|
|
155
|
-
:'vuln_report' => :'String',
|
|
156
138
|
:'pulp_created' => :'Time',
|
|
157
|
-
:'pulp_last_updated' => :'Time',
|
|
158
139
|
:'artifact' => :'String',
|
|
159
140
|
:'pulp_labels' => :'Hash<String, String>',
|
|
141
|
+
:'pulp_last_updated' => :'Time',
|
|
142
|
+
:'vuln_report' => :'String',
|
|
143
|
+
:'pulp_href' => :'String',
|
|
160
144
|
:'prn' => :'String',
|
|
161
145
|
:'sha256' => :'String',
|
|
162
146
|
:'md5' => :'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,22 +187,10 @@ module PulpAnsibleClient
|
|
|
207
187
|
h[k.to_sym] = v
|
|
208
188
|
}
|
|
209
189
|
|
|
210
|
-
if attributes.key?(:'pulp_href')
|
|
211
|
-
self.pulp_href = attributes[:'pulp_href']
|
|
212
|
-
end
|
|
213
|
-
|
|
214
|
-
if attributes.key?(:'vuln_report')
|
|
215
|
-
self.vuln_report = attributes[:'vuln_report']
|
|
216
|
-
end
|
|
217
|
-
|
|
218
190
|
if attributes.key?(:'pulp_created')
|
|
219
191
|
self.pulp_created = attributes[:'pulp_created']
|
|
220
192
|
end
|
|
221
193
|
|
|
222
|
-
if attributes.key?(:'pulp_last_updated')
|
|
223
|
-
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
224
|
-
end
|
|
225
|
-
|
|
226
194
|
if attributes.key?(:'artifact')
|
|
227
195
|
self.artifact = attributes[:'artifact']
|
|
228
196
|
end
|
|
@@ -233,6 +201,18 @@ module PulpAnsibleClient
|
|
|
233
201
|
end
|
|
234
202
|
end
|
|
235
203
|
|
|
204
|
+
if attributes.key?(:'pulp_last_updated')
|
|
205
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
206
|
+
end
|
|
207
|
+
|
|
208
|
+
if attributes.key?(:'vuln_report')
|
|
209
|
+
self.vuln_report = attributes[:'vuln_report']
|
|
210
|
+
end
|
|
211
|
+
|
|
212
|
+
if attributes.key?(:'pulp_href')
|
|
213
|
+
self.pulp_href = attributes[:'pulp_href']
|
|
214
|
+
end
|
|
215
|
+
|
|
236
216
|
if attributes.key?(:'prn')
|
|
237
217
|
self.prn = attributes[:'prn']
|
|
238
218
|
end
|
|
@@ -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,12 +457,12 @@ module PulpAnsibleClient
|
|
|
495
457
|
def ==(o)
|
|
496
458
|
return true if self.equal?(o)
|
|
497
459
|
self.class == o.class &&
|
|
498
|
-
pulp_href == o.pulp_href &&
|
|
499
|
-
vuln_report == o.vuln_report &&
|
|
500
460
|
pulp_created == o.pulp_created &&
|
|
501
|
-
pulp_last_updated == o.pulp_last_updated &&
|
|
502
461
|
artifact == o.artifact &&
|
|
503
462
|
pulp_labels == o.pulp_labels &&
|
|
463
|
+
pulp_last_updated == o.pulp_last_updated &&
|
|
464
|
+
vuln_report == o.vuln_report &&
|
|
465
|
+
pulp_href == o.pulp_href &&
|
|
504
466
|
prn == o.prn &&
|
|
505
467
|
sha256 == o.sha256 &&
|
|
506
468
|
md5 == o.md5 &&
|
|
@@ -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
|