pulp_ansible_client 0.22.8 → 0.22.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.
Files changed (30) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -4
  3. data/docs/AnsibleCollectionVersion.md +4 -4
  4. data/docs/AnsibleCollectionVersionResponse.md +5 -5
  5. data/docs/AnsibleGitRemote.md +26 -26
  6. data/docs/AnsibleGitRemoteResponse.md +28 -28
  7. data/docs/AnsibleRoleResponse.md +5 -5
  8. data/docs/ContentCollectionVersionsApi.md +4 -4
  9. data/docs/PatchedansibleGitRemote.md +26 -26
  10. data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +6 -6
  11. data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api.rb +2 -2
  12. data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api.rb +2 -2
  13. data/lib/pulp_ansible_client/models/ansible_ansible_namespace_metadata.rb +3 -3
  14. data/lib/pulp_ansible_client/models/ansible_ansible_namespace_metadata_response.rb +3 -3
  15. data/lib/pulp_ansible_client/models/ansible_collection_version.rb +18 -18
  16. data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +18 -18
  17. data/lib/pulp_ansible_client/models/ansible_git_remote.rb +241 -241
  18. data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +159 -159
  19. data/lib/pulp_ansible_client/models/ansible_role_response.rb +17 -17
  20. data/lib/pulp_ansible_client/models/patchedansible_ansible_namespace_metadata.rb +3 -3
  21. data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +233 -233
  22. data/lib/pulp_ansible_client/version.rb +1 -1
  23. data/spec/api/content_collection_versions_api_spec.rb +2 -2
  24. data/spec/models/ansible_collection_version_response_spec.rb +5 -5
  25. data/spec/models/ansible_collection_version_spec.rb +3 -3
  26. data/spec/models/ansible_git_remote_response_spec.rb +19 -19
  27. data/spec/models/ansible_git_remote_spec.rb +20 -20
  28. data/spec/models/ansible_role_response_spec.rb +4 -4
  29. data/spec/models/patchedansible_git_remote_spec.rb +20 -20
  30. metadata +129 -129
@@ -18,17 +18,17 @@ module PulpAnsibleClient
18
18
  # Artifact file representing the physical content
19
19
  attr_accessor :artifact
20
20
 
21
+ # An uncommitted upload that may be turned into the content unit.
22
+ attr_accessor :upload
23
+
21
24
  # A url that Pulp can download and turn into the content unit.
22
25
  attr_accessor :file_url
23
26
 
24
- # An uploaded file that may be turned into the content unit.
25
- attr_accessor :file
26
-
27
27
  # A URI of a repository the new content unit should be associated with.
28
28
  attr_accessor :repository
29
29
 
30
- # An uncommitted upload that may be turned into the content unit.
31
- attr_accessor :upload
30
+ # An uploaded file that may be turned into the content unit.
31
+ attr_accessor :file
32
32
 
33
33
  # The name of the collection.
34
34
  attr_accessor :expected_name
@@ -43,10 +43,10 @@ module PulpAnsibleClient
43
43
  def self.attribute_map
44
44
  {
45
45
  :'artifact' => :'artifact',
46
+ :'upload' => :'upload',
46
47
  :'file_url' => :'file_url',
47
- :'file' => :'file',
48
48
  :'repository' => :'repository',
49
- :'upload' => :'upload',
49
+ :'file' => :'file',
50
50
  :'expected_name' => :'expected_name',
51
51
  :'expected_namespace' => :'expected_namespace',
52
52
  :'expected_version' => :'expected_version'
@@ -57,10 +57,10 @@ module PulpAnsibleClient
57
57
  def self.openapi_types
58
58
  {
59
59
  :'artifact' => :'String',
60
+ :'upload' => :'String',
60
61
  :'file_url' => :'String',
61
- :'file' => :'File',
62
62
  :'repository' => :'String',
63
- :'upload' => :'String',
63
+ :'file' => :'File',
64
64
  :'expected_name' => :'String',
65
65
  :'expected_namespace' => :'String',
66
66
  :'expected_version' => :'String'
@@ -92,20 +92,20 @@ module PulpAnsibleClient
92
92
  self.artifact = attributes[:'artifact']
93
93
  end
94
94
 
95
- if attributes.key?(:'file_url')
96
- self.file_url = attributes[:'file_url']
95
+ if attributes.key?(:'upload')
96
+ self.upload = attributes[:'upload']
97
97
  end
98
98
 
99
- if attributes.key?(:'file')
100
- self.file = attributes[:'file']
99
+ if attributes.key?(:'file_url')
100
+ self.file_url = attributes[:'file_url']
101
101
  end
102
102
 
103
103
  if attributes.key?(:'repository')
104
104
  self.repository = attributes[:'repository']
105
105
  end
106
106
 
107
- if attributes.key?(:'upload')
108
- self.upload = attributes[:'upload']
107
+ if attributes.key?(:'file')
108
+ self.file = attributes[:'file']
109
109
  end
110
110
 
111
111
  if attributes.key?(:'expected_name')
@@ -227,10 +227,10 @@ module PulpAnsibleClient
227
227
  return true if self.equal?(o)
228
228
  self.class == o.class &&
229
229
  artifact == o.artifact &&
230
+ upload == o.upload &&
230
231
  file_url == o.file_url &&
231
- file == o.file &&
232
232
  repository == o.repository &&
233
- upload == o.upload &&
233
+ file == o.file &&
234
234
  expected_name == o.expected_name &&
235
235
  expected_namespace == o.expected_namespace &&
236
236
  expected_version == o.expected_version
@@ -245,7 +245,7 @@ module PulpAnsibleClient
245
245
  # Calculates hash code according to all attributes.
246
246
  # @return [Integer] Hash code
247
247
  def hash
248
- [artifact, file_url, file, repository, upload, expected_name, expected_namespace, expected_version].hash
248
+ [artifact, upload, file_url, repository, file, expected_name, expected_namespace, expected_version].hash
249
249
  end
250
250
 
251
251
  # Builds the object from hash
@@ -15,20 +15,20 @@ require 'date'
15
15
  module PulpAnsibleClient
16
16
  # A serializer for CollectionVersion Content.
17
17
  class AnsibleCollectionVersionResponse
18
+ # The Pulp Resource Name (PRN).
19
+ attr_accessor :prn
20
+
18
21
  # 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.
19
22
  attr_accessor :pulp_last_updated
20
23
 
21
- # The Pulp Resource Name (PRN).
22
- attr_accessor :prn
24
+ # Timestamp of creation.
25
+ attr_accessor :pulp_created
23
26
 
24
27
  # Artifact file representing the physical content
25
28
  attr_accessor :artifact
26
29
 
27
30
  attr_accessor :pulp_href
28
31
 
29
- # Timestamp of creation.
30
- attr_accessor :pulp_created
31
-
32
32
  # The SHA-256 checksum if available.
33
33
  attr_accessor :sha256
34
34
 
@@ -103,11 +103,11 @@ module PulpAnsibleClient
103
103
  # Attribute mapping from ruby-style variable name to JSON key.
104
104
  def self.attribute_map
105
105
  {
106
- :'pulp_last_updated' => :'pulp_last_updated',
107
106
  :'prn' => :'prn',
107
+ :'pulp_last_updated' => :'pulp_last_updated',
108
+ :'pulp_created' => :'pulp_created',
108
109
  :'artifact' => :'artifact',
109
110
  :'pulp_href' => :'pulp_href',
110
- :'pulp_created' => :'pulp_created',
111
111
  :'sha256' => :'sha256',
112
112
  :'md5' => :'md5',
113
113
  :'sha1' => :'sha1',
@@ -138,11 +138,11 @@ module PulpAnsibleClient
138
138
  # Attribute type mapping.
139
139
  def self.openapi_types
140
140
  {
141
- :'pulp_last_updated' => :'DateTime',
142
141
  :'prn' => :'String',
142
+ :'pulp_last_updated' => :'DateTime',
143
+ :'pulp_created' => :'DateTime',
143
144
  :'artifact' => :'String',
144
145
  :'pulp_href' => :'String',
145
- :'pulp_created' => :'DateTime',
146
146
  :'sha256' => :'String',
147
147
  :'md5' => :'String',
148
148
  :'sha1' => :'String',
@@ -192,12 +192,16 @@ module PulpAnsibleClient
192
192
  h[k.to_sym] = v
193
193
  }
194
194
 
195
+ if attributes.key?(:'prn')
196
+ self.prn = attributes[:'prn']
197
+ end
198
+
195
199
  if attributes.key?(:'pulp_last_updated')
196
200
  self.pulp_last_updated = attributes[:'pulp_last_updated']
197
201
  end
198
202
 
199
- if attributes.key?(:'prn')
200
- self.prn = attributes[:'prn']
203
+ if attributes.key?(:'pulp_created')
204
+ self.pulp_created = attributes[:'pulp_created']
201
205
  end
202
206
 
203
207
  if attributes.key?(:'artifact')
@@ -208,10 +212,6 @@ module PulpAnsibleClient
208
212
  self.pulp_href = attributes[:'pulp_href']
209
213
  end
210
214
 
211
- if attributes.key?(:'pulp_created')
212
- self.pulp_created = attributes[:'pulp_created']
213
- end
214
-
215
215
  if attributes.key?(:'sha256')
216
216
  self.sha256 = attributes[:'sha256']
217
217
  end
@@ -453,11 +453,11 @@ module PulpAnsibleClient
453
453
  def ==(o)
454
454
  return true if self.equal?(o)
455
455
  self.class == o.class &&
456
- pulp_last_updated == o.pulp_last_updated &&
457
456
  prn == o.prn &&
457
+ pulp_last_updated == o.pulp_last_updated &&
458
+ pulp_created == o.pulp_created &&
458
459
  artifact == o.artifact &&
459
460
  pulp_href == o.pulp_href &&
460
- pulp_created == o.pulp_created &&
461
461
  sha256 == o.sha256 &&
462
462
  md5 == o.md5 &&
463
463
  sha1 == o.sha1 &&
@@ -493,7 +493,7 @@ module PulpAnsibleClient
493
493
  # Calculates hash code according to all attributes.
494
494
  # @return [Integer] Hash code
495
495
  def hash
496
- [pulp_last_updated, prn, artifact, pulp_href, 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
496
+ [prn, pulp_last_updated, pulp_created, artifact, pulp_href, 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
497
497
  end
498
498
 
499
499
  # Builds the object from hash