pulp_ansible_client 0.22.3 → 0.22.5

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 +5 -5
  4. data/docs/AnsibleCollectionVersionResponse.md +4 -4
  5. data/docs/AnsibleGitRemote.md +26 -26
  6. data/docs/AnsibleGitRemoteResponse.md +24 -24
  7. data/docs/AnsibleRoleResponse.md +4 -4
  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/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 +18 -18
  14. data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +18 -18
  15. data/lib/pulp_ansible_client/models/ansible_git_remote.rb +234 -234
  16. data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +150 -150
  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 +18 -18
  20. data/lib/pulp_ansible_client/models/patchedansible_collection_remote.rb +20 -20
  21. data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +230 -230
  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 +3 -3
  26. data/spec/models/ansible_collection_version_spec.rb +4 -4
  27. data/spec/models/ansible_git_remote_response_spec.rb +18 -18
  28. data/spec/models/ansible_git_remote_spec.rb +20 -20
  29. data/spec/models/ansible_role_response_spec.rb +3 -3
  30. data/spec/models/patchedansible_git_remote_spec.rb +20 -20
  31. metadata +133 -133
@@ -15,18 +15,18 @@ require 'date'
15
15
  module PulpAnsibleClient
16
16
  # A serializer for CollectionVersion Content.
17
17
  class AnsibleCollectionVersion
18
- # Artifact file representing the physical content
19
- attr_accessor :artifact
20
-
21
18
  # An uploaded file that may be turned into the content unit.
22
19
  attr_accessor :file
23
20
 
24
- # A url that Pulp can download and turn into the content unit.
25
- attr_accessor :file_url
21
+ # Artifact file representing the physical content
22
+ attr_accessor :artifact
26
23
 
27
24
  # An uncommitted upload that may be turned into the content unit.
28
25
  attr_accessor :upload
29
26
 
27
+ # A url that Pulp can download and turn into the content unit.
28
+ attr_accessor :file_url
29
+
30
30
  # A URI of a repository the new content unit should be associated with.
31
31
  attr_accessor :repository
32
32
 
@@ -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
- :'artifact' => :'artifact',
46
45
  :'file' => :'file',
47
- :'file_url' => :'file_url',
46
+ :'artifact' => :'artifact',
48
47
  :'upload' => :'upload',
48
+ :'file_url' => :'file_url',
49
49
  :'repository' => :'repository',
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
- :'artifact' => :'String',
60
59
  :'file' => :'File',
61
- :'file_url' => :'String',
60
+ :'artifact' => :'String',
62
61
  :'upload' => :'String',
62
+ :'file_url' => :'String',
63
63
  :'repository' => :'String',
64
64
  :'expected_name' => :'String',
65
65
  :'expected_namespace' => :'String',
@@ -88,22 +88,22 @@ module PulpAnsibleClient
88
88
  h[k.to_sym] = v
89
89
  }
90
90
 
91
- if attributes.key?(:'artifact')
92
- self.artifact = attributes[:'artifact']
93
- end
94
-
95
91
  if attributes.key?(:'file')
96
92
  self.file = attributes[:'file']
97
93
  end
98
94
 
99
- if attributes.key?(:'file_url')
100
- self.file_url = attributes[:'file_url']
95
+ if attributes.key?(:'artifact')
96
+ self.artifact = attributes[:'artifact']
101
97
  end
102
98
 
103
99
  if attributes.key?(:'upload')
104
100
  self.upload = attributes[:'upload']
105
101
  end
106
102
 
103
+ if attributes.key?(:'file_url')
104
+ self.file_url = attributes[:'file_url']
105
+ end
106
+
107
107
  if attributes.key?(:'repository')
108
108
  self.repository = attributes[:'repository']
109
109
  end
@@ -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
- artifact == o.artifact &&
230
229
  file == o.file &&
231
- file_url == o.file_url &&
230
+ artifact == o.artifact &&
232
231
  upload == o.upload &&
232
+ file_url == o.file_url &&
233
233
  repository == o.repository &&
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
- [artifact, file, file_url, upload, repository, expected_name, expected_namespace, expected_version].hash
248
+ [file, artifact, upload, file_url, repository, expected_name, expected_namespace, expected_version].hash
249
249
  end
250
250
 
251
251
  # Builds the object from hash
@@ -15,8 +15,8 @@ require 'date'
15
15
  module PulpAnsibleClient
16
16
  # A serializer for CollectionVersion Content.
17
17
  class AnsibleCollectionVersionResponse
18
- # Artifact file representing the physical content
19
- attr_accessor :artifact
18
+ # The Pulp Resource Name (PRN).
19
+ attr_accessor :prn
20
20
 
21
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.
22
22
  attr_accessor :pulp_last_updated
@@ -24,10 +24,10 @@ module PulpAnsibleClient
24
24
  # Timestamp of creation.
25
25
  attr_accessor :pulp_created
26
26
 
27
- attr_accessor :pulp_href
27
+ # Artifact file representing the physical content
28
+ attr_accessor :artifact
28
29
 
29
- # The Pulp Resource Name (PRN).
30
- attr_accessor :prn
30
+ attr_accessor :pulp_href
31
31
 
32
32
  # The SHA-256 checksum if available.
33
33
  attr_accessor :sha256
@@ -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
- :'artifact' => :'artifact',
106
+ :'prn' => :'prn',
107
107
  :'pulp_last_updated' => :'pulp_last_updated',
108
108
  :'pulp_created' => :'pulp_created',
109
+ :'artifact' => :'artifact',
109
110
  :'pulp_href' => :'pulp_href',
110
- :'prn' => :'prn',
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
- :'artifact' => :'String',
141
+ :'prn' => :'String',
142
142
  :'pulp_last_updated' => :'DateTime',
143
143
  :'pulp_created' => :'DateTime',
144
+ :'artifact' => :'String',
144
145
  :'pulp_href' => :'String',
145
- :'prn' => :'String',
146
146
  :'sha256' => :'String',
147
147
  :'md5' => :'String',
148
148
  :'sha1' => :'String',
@@ -192,8 +192,8 @@ module PulpAnsibleClient
192
192
  h[k.to_sym] = v
193
193
  }
194
194
 
195
- if attributes.key?(:'artifact')
196
- self.artifact = attributes[:'artifact']
195
+ if attributes.key?(:'prn')
196
+ self.prn = attributes[:'prn']
197
197
  end
198
198
 
199
199
  if attributes.key?(:'pulp_last_updated')
@@ -204,12 +204,12 @@ module PulpAnsibleClient
204
204
  self.pulp_created = attributes[:'pulp_created']
205
205
  end
206
206
 
207
- if attributes.key?(:'pulp_href')
208
- self.pulp_href = attributes[:'pulp_href']
207
+ if attributes.key?(:'artifact')
208
+ self.artifact = attributes[:'artifact']
209
209
  end
210
210
 
211
- if attributes.key?(:'prn')
212
- self.prn = attributes[:'prn']
211
+ if attributes.key?(:'pulp_href')
212
+ self.pulp_href = attributes[:'pulp_href']
213
213
  end
214
214
 
215
215
  if attributes.key?(:'sha256')
@@ -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
- artifact == o.artifact &&
456
+ prn == o.prn &&
457
457
  pulp_last_updated == o.pulp_last_updated &&
458
458
  pulp_created == o.pulp_created &&
459
+ artifact == o.artifact &&
459
460
  pulp_href == o.pulp_href &&
460
- prn == o.prn &&
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
- [artifact, pulp_last_updated, pulp_created, pulp_href, prn, 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