pulp_ansible_client 0.22.6 → 0.22.7

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 (28) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -4
  3. data/docs/AnsibleCollectionVersion.md +6 -6
  4. data/docs/AnsibleCollectionVersionResponse.md +4 -4
  5. data/docs/AnsibleGitRemote.md +26 -26
  6. data/docs/AnsibleGitRemoteResponse.md +26 -26
  7. data/docs/AnsibleRole.md +3 -3
  8. data/docs/AnsibleRoleResponse.md +4 -4
  9. data/docs/ContentCollectionVersionsApi.md +6 -6
  10. data/docs/PatchedansibleGitRemote.md +26 -26
  11. data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +9 -9
  12. data/lib/pulp_ansible_client/models/ansible_collection_version.rb +25 -25
  13. data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +18 -18
  14. data/lib/pulp_ansible_client/models/ansible_git_remote.rb +232 -232
  15. data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +154 -154
  16. data/lib/pulp_ansible_client/models/ansible_role.rb +11 -11
  17. data/lib/pulp_ansible_client/models/ansible_role_response.rb +21 -21
  18. data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +227 -227
  19. data/lib/pulp_ansible_client/version.rb +1 -1
  20. data/spec/api/content_collection_versions_api_spec.rb +3 -3
  21. data/spec/models/ansible_collection_version_response_spec.rb +3 -3
  22. data/spec/models/ansible_collection_version_spec.rb +5 -5
  23. data/spec/models/ansible_git_remote_response_spec.rb +20 -20
  24. data/spec/models/ansible_git_remote_spec.rb +20 -20
  25. data/spec/models/ansible_role_response_spec.rb +4 -4
  26. data/spec/models/ansible_role_spec.rb +2 -2
  27. data/spec/models/patchedansible_git_remote_spec.rb +20 -20
  28. metadata +127 -127
@@ -17,18 +17,18 @@ module PulpAnsibleClient
17
17
  class AnsibleCollectionVersionResponse
18
18
  attr_accessor :pulp_href
19
19
 
20
- # The Pulp Resource Name (PRN).
21
- attr_accessor :prn
20
+ # Timestamp of creation.
21
+ attr_accessor :pulp_created
22
22
 
23
23
  # Artifact file representing the physical content
24
24
  attr_accessor :artifact
25
25
 
26
- # Timestamp of creation.
27
- attr_accessor :pulp_created
28
-
29
26
  # 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.
30
27
  attr_accessor :pulp_last_updated
31
28
 
29
+ # The Pulp Resource Name (PRN).
30
+ attr_accessor :prn
31
+
32
32
  # The SHA-256 checksum if available.
33
33
  attr_accessor :sha256
34
34
 
@@ -104,10 +104,10 @@ module PulpAnsibleClient
104
104
  def self.attribute_map
105
105
  {
106
106
  :'pulp_href' => :'pulp_href',
107
- :'prn' => :'prn',
108
- :'artifact' => :'artifact',
109
107
  :'pulp_created' => :'pulp_created',
108
+ :'artifact' => :'artifact',
110
109
  :'pulp_last_updated' => :'pulp_last_updated',
110
+ :'prn' => :'prn',
111
111
  :'sha256' => :'sha256',
112
112
  :'md5' => :'md5',
113
113
  :'sha1' => :'sha1',
@@ -139,10 +139,10 @@ module PulpAnsibleClient
139
139
  def self.openapi_types
140
140
  {
141
141
  :'pulp_href' => :'String',
142
- :'prn' => :'String',
143
- :'artifact' => :'String',
144
142
  :'pulp_created' => :'DateTime',
143
+ :'artifact' => :'String',
145
144
  :'pulp_last_updated' => :'DateTime',
145
+ :'prn' => :'String',
146
146
  :'sha256' => :'String',
147
147
  :'md5' => :'String',
148
148
  :'sha1' => :'String',
@@ -196,22 +196,22 @@ module PulpAnsibleClient
196
196
  self.pulp_href = attributes[:'pulp_href']
197
197
  end
198
198
 
199
- if attributes.key?(:'prn')
200
- self.prn = attributes[:'prn']
199
+ if attributes.key?(:'pulp_created')
200
+ self.pulp_created = attributes[:'pulp_created']
201
201
  end
202
202
 
203
203
  if attributes.key?(:'artifact')
204
204
  self.artifact = attributes[:'artifact']
205
205
  end
206
206
 
207
- if attributes.key?(:'pulp_created')
208
- self.pulp_created = attributes[:'pulp_created']
209
- end
210
-
211
207
  if attributes.key?(:'pulp_last_updated')
212
208
  self.pulp_last_updated = attributes[:'pulp_last_updated']
213
209
  end
214
210
 
211
+ if attributes.key?(:'prn')
212
+ self.prn = attributes[:'prn']
213
+ end
214
+
215
215
  if attributes.key?(:'sha256')
216
216
  self.sha256 = attributes[:'sha256']
217
217
  end
@@ -454,10 +454,10 @@ module PulpAnsibleClient
454
454
  return true if self.equal?(o)
455
455
  self.class == o.class &&
456
456
  pulp_href == o.pulp_href &&
457
- prn == o.prn &&
458
- artifact == o.artifact &&
459
457
  pulp_created == o.pulp_created &&
458
+ artifact == o.artifact &&
460
459
  pulp_last_updated == o.pulp_last_updated &&
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
- [pulp_href, prn, artifact, pulp_created, pulp_last_updated, 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_href, pulp_created, artifact, pulp_last_updated, 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
497
497
  end
498
498
 
499
499
  # Builds the object from hash