pulp_ansible_client 0.24.7 → 0.24.9

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
- # 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.
20
- attr_accessor :pulp_last_updated
19
+ # Timestamp of creation.
20
+ attr_accessor :pulp_created
21
+
22
+ # Artifact file representing the physical content
23
+ attr_accessor :artifact
21
24
 
22
25
  attr_accessor :pulp_href
23
26
 
24
27
  # The Pulp Resource Name (PRN).
25
28
  attr_accessor :prn
26
29
 
30
+ # 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.
31
+ attr_accessor :pulp_last_updated
32
+
27
33
  # A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
28
34
  attr_accessor :pulp_labels
29
35
 
30
- # Artifact file representing the physical content
31
- attr_accessor :artifact
32
-
33
- # Timestamp of creation.
34
- attr_accessor :pulp_created
35
-
36
36
  # The SHA-256 checksum if available.
37
37
  attr_accessor :sha256
38
38
 
@@ -57,24 +57,12 @@ module PulpAnsibleClient
57
57
  # A list of the CollectionVersion content's authors.
58
58
  attr_accessor :authors
59
59
 
60
- # A JSON field with data about the contents.
61
- attr_accessor :contents
62
-
63
60
  # A dict declaring Collections that this collection requires to be installed for it to be usable.
64
61
  attr_accessor :dependencies
65
62
 
66
63
  # A short summary description of the collection.
67
64
  attr_accessor :description
68
65
 
69
- # A JSON field holding the various documentation blobs in the collection.
70
- attr_accessor :docs_blob
71
-
72
- # A JSON field holding MANIFEST.json data.
73
- attr_accessor :manifest
74
-
75
- # A JSON field holding FILES.json data.
76
- attr_accessor :files
77
-
78
66
  # The URL to any online docs.
79
67
  attr_accessor :documentation
80
68
 
@@ -107,12 +95,12 @@ module PulpAnsibleClient
107
95
  # Attribute mapping from ruby-style variable name to JSON key.
108
96
  def self.attribute_map
109
97
  {
110
- :'pulp_last_updated' => :'pulp_last_updated',
98
+ :'pulp_created' => :'pulp_created',
99
+ :'artifact' => :'artifact',
111
100
  :'pulp_href' => :'pulp_href',
112
101
  :'prn' => :'prn',
102
+ :'pulp_last_updated' => :'pulp_last_updated',
113
103
  :'pulp_labels' => :'pulp_labels',
114
- :'artifact' => :'artifact',
115
- :'pulp_created' => :'pulp_created',
116
104
  :'sha256' => :'sha256',
117
105
  :'md5' => :'md5',
118
106
  :'sha1' => :'sha1',
@@ -121,12 +109,8 @@ module PulpAnsibleClient
121
109
  :'sha512' => :'sha512',
122
110
  :'id' => :'id',
123
111
  :'authors' => :'authors',
124
- :'contents' => :'contents',
125
112
  :'dependencies' => :'dependencies',
126
113
  :'description' => :'description',
127
- :'docs_blob' => :'docs_blob',
128
- :'manifest' => :'manifest',
129
- :'files' => :'files',
130
114
  :'documentation' => :'documentation',
131
115
  :'homepage' => :'homepage',
132
116
  :'issues' => :'issues',
@@ -148,12 +132,12 @@ module PulpAnsibleClient
148
132
  # Attribute type mapping.
149
133
  def self.openapi_types
150
134
  {
151
- :'pulp_last_updated' => :'Time',
135
+ :'pulp_created' => :'Time',
136
+ :'artifact' => :'String',
152
137
  :'pulp_href' => :'String',
153
138
  :'prn' => :'String',
139
+ :'pulp_last_updated' => :'Time',
154
140
  :'pulp_labels' => :'Hash<String, String>',
155
- :'artifact' => :'String',
156
- :'pulp_created' => :'Time',
157
141
  :'sha256' => :'String',
158
142
  :'md5' => :'String',
159
143
  :'sha1' => :'String',
@@ -162,12 +146,8 @@ module PulpAnsibleClient
162
146
  :'sha512' => :'String',
163
147
  :'id' => :'String',
164
148
  :'authors' => :'Array<String>',
165
- :'contents' => :'Array<Object>',
166
149
  :'dependencies' => :'Object',
167
150
  :'description' => :'String',
168
- :'docs_blob' => :'Object',
169
- :'manifest' => :'Object',
170
- :'files' => :'Object',
171
151
  :'documentation' => :'String',
172
152
  :'homepage' => :'String',
173
153
  :'issues' => :'String',
@@ -203,8 +183,12 @@ module PulpAnsibleClient
203
183
  h[k.to_sym] = v
204
184
  }
205
185
 
206
- if attributes.key?(:'pulp_last_updated')
207
- self.pulp_last_updated = attributes[:'pulp_last_updated']
186
+ if attributes.key?(:'pulp_created')
187
+ self.pulp_created = attributes[:'pulp_created']
188
+ end
189
+
190
+ if attributes.key?(:'artifact')
191
+ self.artifact = attributes[:'artifact']
208
192
  end
209
193
 
210
194
  if attributes.key?(:'pulp_href')
@@ -215,20 +199,16 @@ module PulpAnsibleClient
215
199
  self.prn = attributes[:'prn']
216
200
  end
217
201
 
202
+ if attributes.key?(:'pulp_last_updated')
203
+ self.pulp_last_updated = attributes[:'pulp_last_updated']
204
+ end
205
+
218
206
  if attributes.key?(:'pulp_labels')
219
207
  if (value = attributes[:'pulp_labels']).is_a?(Hash)
220
208
  self.pulp_labels = value
221
209
  end
222
210
  end
223
211
 
224
- if attributes.key?(:'artifact')
225
- self.artifact = attributes[:'artifact']
226
- end
227
-
228
- if attributes.key?(:'pulp_created')
229
- self.pulp_created = attributes[:'pulp_created']
230
- end
231
-
232
212
  if attributes.key?(:'sha256')
233
213
  self.sha256 = attributes[:'sha256']
234
214
  end
@@ -263,12 +243,6 @@ module PulpAnsibleClient
263
243
  end
264
244
  end
265
245
 
266
- if attributes.key?(:'contents')
267
- if (value = attributes[:'contents']).is_a?(Array)
268
- self.contents = value
269
- end
270
- end
271
-
272
246
  if attributes.key?(:'dependencies')
273
247
  self.dependencies = attributes[:'dependencies']
274
248
  end
@@ -277,18 +251,6 @@ module PulpAnsibleClient
277
251
  self.description = attributes[:'description']
278
252
  end
279
253
 
280
- if attributes.key?(:'docs_blob')
281
- self.docs_blob = attributes[:'docs_blob']
282
- end
283
-
284
- if attributes.key?(:'manifest')
285
- self.manifest = attributes[:'manifest']
286
- end
287
-
288
- if attributes.key?(:'files')
289
- self.files = attributes[:'files']
290
- end
291
-
292
254
  if attributes.key?(:'documentation')
293
255
  self.documentation = attributes[:'documentation']
294
256
  end
@@ -502,12 +464,12 @@ module PulpAnsibleClient
502
464
  def ==(o)
503
465
  return true if self.equal?(o)
504
466
  self.class == o.class &&
505
- pulp_last_updated == o.pulp_last_updated &&
467
+ pulp_created == o.pulp_created &&
468
+ artifact == o.artifact &&
506
469
  pulp_href == o.pulp_href &&
507
470
  prn == o.prn &&
471
+ pulp_last_updated == o.pulp_last_updated &&
508
472
  pulp_labels == o.pulp_labels &&
509
- artifact == o.artifact &&
510
- pulp_created == o.pulp_created &&
511
473
  sha256 == o.sha256 &&
512
474
  md5 == o.md5 &&
513
475
  sha1 == o.sha1 &&
@@ -516,12 +478,8 @@ module PulpAnsibleClient
516
478
  sha512 == o.sha512 &&
517
479
  id == o.id &&
518
480
  authors == o.authors &&
519
- contents == o.contents &&
520
481
  dependencies == o.dependencies &&
521
482
  description == o.description &&
522
- docs_blob == o.docs_blob &&
523
- manifest == o.manifest &&
524
- files == o.files &&
525
483
  documentation == o.documentation &&
526
484
  homepage == o.homepage &&
527
485
  issues == o.issues &&
@@ -543,7 +501,7 @@ module PulpAnsibleClient
543
501
  # Calculates hash code according to all attributes.
544
502
  # @return [Integer] Hash code
545
503
  def hash
546
- [pulp_last_updated, pulp_href, prn, pulp_labels, artifact, pulp_created, 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
504
+ [pulp_created, artifact, pulp_href, prn, pulp_last_updated, pulp_labels, sha256, md5, sha1, sha224, sha384, sha512, id, authors, dependencies, description, documentation, homepage, issues, license, name, namespace, origin_repository, tags, version, requires_ansible].hash
547
505
  end
548
506
 
549
507
  # Builds the object from hash