pulp_ansible_client 0.22.2 → 0.22.4

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 (31) 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 +2 -2
  5. data/docs/AnsibleGitRemote.md +27 -27
  6. data/docs/AnsibleGitRemoteResponse.md +26 -26
  7. data/docs/AnsibleRoleResponse.md +2 -2
  8. data/docs/ContentCollectionVersionsApi.md +4 -4
  9. data/docs/PatchedansibleGitRemote.md +27 -27
  10. data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +6 -6
  11. data/lib/pulp_ansible_client/models/ansible_collection_remote.rb +20 -20
  12. data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +20 -20
  13. data/lib/pulp_ansible_client/models/ansible_collection_version.rb +15 -15
  14. data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +11 -11
  15. data/lib/pulp_ansible_client/models/ansible_git_remote.rb +212 -212
  16. data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +154 -154
  17. data/lib/pulp_ansible_client/models/ansible_role_remote.rb +20 -20
  18. data/lib/pulp_ansible_client/models/ansible_role_remote_response.rb +20 -20
  19. data/lib/pulp_ansible_client/models/ansible_role_response.rb +11 -11
  20. data/lib/pulp_ansible_client/models/patchedansible_collection_remote.rb +20 -20
  21. data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +212 -212
  22. data/lib/pulp_ansible_client/models/patchedansible_role_remote.rb +20 -20
  23. data/lib/pulp_ansible_client/version.rb +1 -1
  24. data/spec/api/content_collection_versions_api_spec.rb +2 -2
  25. data/spec/models/ansible_collection_version_response_spec.rb +2 -2
  26. data/spec/models/ansible_collection_version_spec.rb +2 -2
  27. data/spec/models/ansible_git_remote_response_spec.rb +19 -19
  28. data/spec/models/ansible_git_remote_spec.rb +19 -19
  29. data/spec/models/ansible_role_response_spec.rb +2 -2
  30. data/spec/models/patchedansible_git_remote_spec.rb +19 -19
  31. metadata +132 -132
@@ -15,8 +15,8 @@ require 'date'
15
15
  module PulpAnsibleClient
16
16
  # A serializer for CollectionVersion Content.
17
17
  class AnsibleCollectionVersion
18
- # An uploaded file that may be turned into the content unit.
19
- attr_accessor :file
18
+ # An uncommitted upload that may be turned into the content unit.
19
+ attr_accessor :upload
20
20
 
21
21
  # A URI of a repository the new content unit should be associated with.
22
22
  attr_accessor :repository
@@ -24,8 +24,8 @@ module PulpAnsibleClient
24
24
  # Artifact file representing the physical content
25
25
  attr_accessor :artifact
26
26
 
27
- # An uncommitted upload that may be turned into the content unit.
28
- attr_accessor :upload
27
+ # An uploaded file that may be turned into the content unit.
28
+ attr_accessor :file
29
29
 
30
30
  # A url that Pulp can download and turn into the content unit.
31
31
  attr_accessor :file_url
@@ -42,10 +42,10 @@ module PulpAnsibleClient
42
42
  # Attribute mapping from ruby-style variable name to JSON key.
43
43
  def self.attribute_map
44
44
  {
45
- :'file' => :'file',
45
+ :'upload' => :'upload',
46
46
  :'repository' => :'repository',
47
47
  :'artifact' => :'artifact',
48
- :'upload' => :'upload',
48
+ :'file' => :'file',
49
49
  :'file_url' => :'file_url',
50
50
  :'expected_name' => :'expected_name',
51
51
  :'expected_namespace' => :'expected_namespace',
@@ -56,10 +56,10 @@ module PulpAnsibleClient
56
56
  # Attribute type mapping.
57
57
  def self.openapi_types
58
58
  {
59
- :'file' => :'File',
59
+ :'upload' => :'String',
60
60
  :'repository' => :'String',
61
61
  :'artifact' => :'String',
62
- :'upload' => :'String',
62
+ :'file' => :'File',
63
63
  :'file_url' => :'String',
64
64
  :'expected_name' => :'String',
65
65
  :'expected_namespace' => :'String',
@@ -88,8 +88,8 @@ module PulpAnsibleClient
88
88
  h[k.to_sym] = v
89
89
  }
90
90
 
91
- if attributes.key?(:'file')
92
- self.file = attributes[:'file']
91
+ if attributes.key?(:'upload')
92
+ self.upload = attributes[:'upload']
93
93
  end
94
94
 
95
95
  if attributes.key?(:'repository')
@@ -100,8 +100,8 @@ module PulpAnsibleClient
100
100
  self.artifact = attributes[:'artifact']
101
101
  end
102
102
 
103
- if attributes.key?(:'upload')
104
- self.upload = attributes[:'upload']
103
+ if attributes.key?(:'file')
104
+ self.file = attributes[:'file']
105
105
  end
106
106
 
107
107
  if attributes.key?(:'file_url')
@@ -226,10 +226,10 @@ module PulpAnsibleClient
226
226
  def ==(o)
227
227
  return true if self.equal?(o)
228
228
  self.class == o.class &&
229
- file == o.file &&
229
+ upload == o.upload &&
230
230
  repository == o.repository &&
231
231
  artifact == o.artifact &&
232
- upload == o.upload &&
232
+ file == o.file &&
233
233
  file_url == o.file_url &&
234
234
  expected_name == o.expected_name &&
235
235
  expected_namespace == o.expected_namespace &&
@@ -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
- [file, repository, artifact, upload, file_url, expected_name, expected_namespace, expected_version].hash
248
+ [upload, repository, artifact, file, file_url, expected_name, expected_namespace, expected_version].hash
249
249
  end
250
250
 
251
251
  # Builds the object from hash
@@ -18,12 +18,12 @@ module PulpAnsibleClient
18
18
  # Timestamp of creation.
19
19
  attr_accessor :pulp_created
20
20
 
21
- # The Pulp Resource Name (PRN).
22
- attr_accessor :prn
23
-
24
21
  # Artifact file representing the physical content
25
22
  attr_accessor :artifact
26
23
 
24
+ # The Pulp Resource Name (PRN).
25
+ attr_accessor :prn
26
+
27
27
  # 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.
28
28
  attr_accessor :pulp_last_updated
29
29
 
@@ -104,8 +104,8 @@ module PulpAnsibleClient
104
104
  def self.attribute_map
105
105
  {
106
106
  :'pulp_created' => :'pulp_created',
107
- :'prn' => :'prn',
108
107
  :'artifact' => :'artifact',
108
+ :'prn' => :'prn',
109
109
  :'pulp_last_updated' => :'pulp_last_updated',
110
110
  :'pulp_href' => :'pulp_href',
111
111
  :'sha256' => :'sha256',
@@ -139,8 +139,8 @@ module PulpAnsibleClient
139
139
  def self.openapi_types
140
140
  {
141
141
  :'pulp_created' => :'DateTime',
142
- :'prn' => :'String',
143
142
  :'artifact' => :'String',
143
+ :'prn' => :'String',
144
144
  :'pulp_last_updated' => :'DateTime',
145
145
  :'pulp_href' => :'String',
146
146
  :'sha256' => :'String',
@@ -196,14 +196,14 @@ module PulpAnsibleClient
196
196
  self.pulp_created = attributes[:'pulp_created']
197
197
  end
198
198
 
199
- if attributes.key?(:'prn')
200
- self.prn = attributes[:'prn']
201
- end
202
-
203
199
  if attributes.key?(:'artifact')
204
200
  self.artifact = attributes[:'artifact']
205
201
  end
206
202
 
203
+ if attributes.key?(:'prn')
204
+ self.prn = attributes[:'prn']
205
+ end
206
+
207
207
  if attributes.key?(:'pulp_last_updated')
208
208
  self.pulp_last_updated = attributes[:'pulp_last_updated']
209
209
  end
@@ -454,8 +454,8 @@ module PulpAnsibleClient
454
454
  return true if self.equal?(o)
455
455
  self.class == o.class &&
456
456
  pulp_created == o.pulp_created &&
457
- prn == o.prn &&
458
457
  artifact == o.artifact &&
458
+ prn == o.prn &&
459
459
  pulp_last_updated == o.pulp_last_updated &&
460
460
  pulp_href == o.pulp_href &&
461
461
  sha256 == o.sha256 &&
@@ -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_created, prn, artifact, pulp_last_updated, 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
496
+ [pulp_created, artifact, prn, pulp_last_updated, 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