pulp_ansible_client 0.28.1 → 0.28.3

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.
@@ -16,23 +16,23 @@ 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
- # Timestamp of creation.
23
- attr_accessor :pulp_created
24
-
25
19
  attr_accessor :pulp_href
26
20
 
27
21
  # A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
28
22
  attr_accessor :pulp_labels
29
23
 
30
- # Artifact file representing the physical content
31
- attr_accessor :artifact
32
-
33
24
  # 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.
34
25
  attr_accessor :pulp_last_updated
35
26
 
27
+ # Timestamp of creation.
28
+ attr_accessor :pulp_created
29
+
30
+ # The Pulp Resource Name (PRN).
31
+ attr_accessor :prn
32
+
33
+ # Artifact file representing the physical content
34
+ attr_accessor :artifact
35
+
36
36
  attr_accessor :vuln_report
37
37
 
38
38
  # The SHA-256 checksum if available.
@@ -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
- :'prn' => :'prn',
113
- :'pulp_created' => :'pulp_created',
114
100
  :'pulp_href' => :'pulp_href',
115
101
  :'pulp_labels' => :'pulp_labels',
116
- :'artifact' => :'artifact',
117
102
  :'pulp_last_updated' => :'pulp_last_updated',
103
+ :'pulp_created' => :'pulp_created',
104
+ :'prn' => :'prn',
105
+ :'artifact' => :'artifact',
118
106
  :'vuln_report' => :'vuln_report',
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
- :'prn' => :'String',
155
- :'pulp_created' => :'Time',
156
138
  :'pulp_href' => :'String',
157
139
  :'pulp_labels' => :'Hash<String, String>',
158
- :'artifact' => :'String',
159
140
  :'pulp_last_updated' => :'Time',
141
+ :'pulp_created' => :'Time',
142
+ :'prn' => :'String',
143
+ :'artifact' => :'String',
160
144
  :'vuln_report' => :'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,14 +187,6 @@ 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
- if attributes.key?(:'pulp_created')
215
- self.pulp_created = attributes[:'pulp_created']
216
- end
217
-
218
190
  if attributes.key?(:'pulp_href')
219
191
  self.pulp_href = attributes[:'pulp_href']
220
192
  end
@@ -225,14 +197,22 @@ module PulpAnsibleClient
225
197
  end
226
198
  end
227
199
 
228
- if attributes.key?(:'artifact')
229
- self.artifact = attributes[:'artifact']
230
- end
231
-
232
200
  if attributes.key?(:'pulp_last_updated')
233
201
  self.pulp_last_updated = attributes[:'pulp_last_updated']
234
202
  end
235
203
 
204
+ if attributes.key?(:'pulp_created')
205
+ self.pulp_created = attributes[:'pulp_created']
206
+ end
207
+
208
+ if attributes.key?(:'prn')
209
+ self.prn = attributes[:'prn']
210
+ end
211
+
212
+ if attributes.key?(:'artifact')
213
+ self.artifact = attributes[:'artifact']
214
+ end
215
+
236
216
  if attributes.key?(:'vuln_report')
237
217
  self.vuln_report = attributes[:'vuln_report']
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
- prn == o.prn &&
499
- pulp_created == o.pulp_created &&
500
460
  pulp_href == o.pulp_href &&
501
461
  pulp_labels == o.pulp_labels &&
502
- artifact == o.artifact &&
503
462
  pulp_last_updated == o.pulp_last_updated &&
463
+ pulp_created == o.pulp_created &&
464
+ prn == o.prn &&
465
+ artifact == o.artifact &&
504
466
  vuln_report == o.vuln_report &&
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
- [prn, pulp_created, pulp_href, pulp_labels, artifact, pulp_last_updated, vuln_report, 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
498
+ [pulp_href, pulp_labels, pulp_last_updated, pulp_created, prn, artifact, 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
541
499
  end
542
500
 
543
501
  # Builds the object from hash