pulp_ansible_client 0.17.4 → 0.18.0

Sign up to get free protection for your applications and to get access to all the features.
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 +2 -2
  5. data/docs/AnsibleGitRemote.md +27 -27
  6. data/docs/AnsibleGitRemoteResponse.md +26 -26
  7. data/docs/AnsibleRoleResponse.md +3 -3
  8. data/docs/ContentCollectionVersionsApi.md +6 -6
  9. data/docs/PatchedansibleGitRemote.md +27 -27
  10. data/docs/RepositoriesAnsibleApi.md +4 -0
  11. data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +9 -9
  12. data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +6 -0
  13. data/lib/pulp_ansible_client/models/ansible_collection_version.rb +25 -25
  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 +235 -235
  16. data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +149 -149
  17. data/lib/pulp_ansible_client/models/ansible_role_response.rb +10 -10
  18. data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +231 -231
  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/api/repositories_ansible_api_spec.rb +2 -0
  22. data/spec/models/ansible_collection_version_response_spec.rb +2 -2
  23. data/spec/models/ansible_collection_version_spec.rb +4 -4
  24. data/spec/models/ansible_git_remote_response_spec.rb +18 -18
  25. data/spec/models/ansible_git_remote_spec.rb +20 -20
  26. data/spec/models/ansible_role_response_spec.rb +2 -2
  27. data/spec/models/patchedansible_git_remote_spec.rb +20 -20
  28. metadata +131 -131
@@ -17,12 +17,12 @@ module PulpAnsibleClient
17
17
  class AnsibleCollectionVersionResponse
18
18
  attr_accessor :pulp_href
19
19
 
20
- # Timestamp of creation.
21
- attr_accessor :pulp_created
22
-
23
20
  # Artifact file representing the physical content
24
21
  attr_accessor :artifact
25
22
 
23
+ # Timestamp of creation.
24
+ attr_accessor :pulp_created
25
+
26
26
  # The SHA-256 checksum if available.
27
27
  attr_accessor :sha256
28
28
 
@@ -98,8 +98,8 @@ module PulpAnsibleClient
98
98
  def self.attribute_map
99
99
  {
100
100
  :'pulp_href' => :'pulp_href',
101
- :'pulp_created' => :'pulp_created',
102
101
  :'artifact' => :'artifact',
102
+ :'pulp_created' => :'pulp_created',
103
103
  :'sha256' => :'sha256',
104
104
  :'md5' => :'md5',
105
105
  :'sha1' => :'sha1',
@@ -131,8 +131,8 @@ module PulpAnsibleClient
131
131
  def self.openapi_types
132
132
  {
133
133
  :'pulp_href' => :'String',
134
- :'pulp_created' => :'DateTime',
135
134
  :'artifact' => :'String',
135
+ :'pulp_created' => :'DateTime',
136
136
  :'sha256' => :'String',
137
137
  :'md5' => :'String',
138
138
  :'sha1' => :'String',
@@ -186,14 +186,14 @@ module PulpAnsibleClient
186
186
  self.pulp_href = attributes[:'pulp_href']
187
187
  end
188
188
 
189
- if attributes.key?(:'pulp_created')
190
- self.pulp_created = attributes[:'pulp_created']
191
- end
192
-
193
189
  if attributes.key?(:'artifact')
194
190
  self.artifact = attributes[:'artifact']
195
191
  end
196
192
 
193
+ if attributes.key?(:'pulp_created')
194
+ self.pulp_created = attributes[:'pulp_created']
195
+ end
196
+
197
197
  if attributes.key?(:'sha256')
198
198
  self.sha256 = attributes[:'sha256']
199
199
  end
@@ -436,8 +436,8 @@ module PulpAnsibleClient
436
436
  return true if self.equal?(o)
437
437
  self.class == o.class &&
438
438
  pulp_href == o.pulp_href &&
439
- pulp_created == o.pulp_created &&
440
439
  artifact == o.artifact &&
440
+ pulp_created == o.pulp_created &&
441
441
  sha256 == o.sha256 &&
442
442
  md5 == o.md5 &&
443
443
  sha1 == o.sha1 &&
@@ -473,7 +473,7 @@ module PulpAnsibleClient
473
473
  # Calculates hash code according to all attributes.
474
474
  # @return [Integer] Hash code
475
475
  def hash
476
- [pulp_href, pulp_created, artifact, 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
476
+ [pulp_href, 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
477
477
  end
478
478
 
479
479
  # Builds the object from hash