pulp_ansible_client 0.14.0 → 0.14.1

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 (35) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -4
  3. data/docs/AnsibleCollectionVersion.md +3 -3
  4. data/docs/AnsibleCollectionVersionResponse.md +3 -3
  5. data/docs/AnsibleGitRemote.md +28 -28
  6. data/docs/AnsibleGitRemoteResponse.md +22 -22
  7. data/docs/AnsibleRoleResponse.md +3 -3
  8. data/docs/ContentCollectionVersionsApi.md +3 -3
  9. data/docs/DistributionsAnsibleApi.md +2 -0
  10. data/docs/PatchedansibleGitRemote.md +28 -28
  11. data/docs/RepositoriesAnsibleApi.md +2 -0
  12. data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +3 -3
  13. data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +3 -0
  14. data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +3 -0
  15. data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +1 -1
  16. data/lib/pulp_ansible_client/api_client.rb +1 -1
  17. data/lib/pulp_ansible_client/models/ansible_collection_version.rb +11 -11
  18. data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +10 -10
  19. data/lib/pulp_ansible_client/models/ansible_git_remote.rb +210 -210
  20. data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +120 -120
  21. data/lib/pulp_ansible_client/models/ansible_role_response.rb +10 -10
  22. data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +210 -210
  23. data/lib/pulp_ansible_client/version.rb +1 -1
  24. data/pulp_ansible_client.gemspec +3 -3
  25. data/spec/api/content_collection_versions_api_spec.rb +1 -1
  26. data/spec/api/distributions_ansible_api_spec.rb +1 -0
  27. data/spec/api/repositories_ansible_api_spec.rb +1 -0
  28. data/spec/models/ansible_collection_version_response_spec.rb +2 -2
  29. data/spec/models/ansible_collection_version_spec.rb +3 -3
  30. data/spec/models/ansible_git_remote_response_spec.rb +18 -18
  31. data/spec/models/ansible_git_remote_spec.rb +17 -17
  32. data/spec/models/ansible_role_response_spec.rb +2 -2
  33. data/spec/models/patchedansible_git_remote_spec.rb +17 -17
  34. metadata +105 -106
  35. data/git_push.sh +0 -58
@@ -15,11 +15,11 @@ require 'date'
15
15
  module PulpAnsibleClient
16
16
  # A serializer for CollectionVersion Content.
17
17
  class AnsibleCollectionVersionResponse
18
+ attr_accessor :pulp_href
19
+
18
20
  # Artifact file representing the physical content
19
21
  attr_accessor :artifact
20
22
 
21
- attr_accessor :pulp_href
22
-
23
23
  # Timestamp of creation.
24
24
  attr_accessor :pulp_created
25
25
 
@@ -97,8 +97,8 @@ module PulpAnsibleClient
97
97
  # Attribute mapping from ruby-style variable name to JSON key.
98
98
  def self.attribute_map
99
99
  {
100
- :'artifact' => :'artifact',
101
100
  :'pulp_href' => :'pulp_href',
101
+ :'artifact' => :'artifact',
102
102
  :'pulp_created' => :'pulp_created',
103
103
  :'md5' => :'md5',
104
104
  :'sha1' => :'sha1',
@@ -130,8 +130,8 @@ module PulpAnsibleClient
130
130
  # Attribute type mapping.
131
131
  def self.openapi_types
132
132
  {
133
- :'artifact' => :'String',
134
133
  :'pulp_href' => :'String',
134
+ :'artifact' => :'String',
135
135
  :'pulp_created' => :'DateTime',
136
136
  :'md5' => :'String',
137
137
  :'sha1' => :'String',
@@ -182,14 +182,14 @@ module PulpAnsibleClient
182
182
  h[k.to_sym] = v
183
183
  }
184
184
 
185
- if attributes.key?(:'artifact')
186
- self.artifact = attributes[:'artifact']
187
- end
188
-
189
185
  if attributes.key?(:'pulp_href')
190
186
  self.pulp_href = attributes[:'pulp_href']
191
187
  end
192
188
 
189
+ if attributes.key?(:'artifact')
190
+ self.artifact = attributes[:'artifact']
191
+ end
192
+
193
193
  if attributes.key?(:'pulp_created')
194
194
  self.pulp_created = attributes[:'pulp_created']
195
195
  end
@@ -543,8 +543,8 @@ module PulpAnsibleClient
543
543
  def ==(o)
544
544
  return true if self.equal?(o)
545
545
  self.class == o.class &&
546
- artifact == o.artifact &&
547
546
  pulp_href == o.pulp_href &&
547
+ artifact == o.artifact &&
548
548
  pulp_created == o.pulp_created &&
549
549
  md5 == o.md5 &&
550
550
  sha1 == o.sha1 &&
@@ -581,7 +581,7 @@ module PulpAnsibleClient
581
581
  # Calculates hash code according to all attributes.
582
582
  # @return [Integer] Hash code
583
583
  def hash
584
- [artifact, pulp_href, pulp_created, md5, sha1, sha224, sha256, sha384, sha512, id, authors, contents, dependencies, description, docs_blob, manifest, files, documentation, homepage, issues, license, name, namespace, repository, tags, version, requires_ansible].hash
584
+ [pulp_href, artifact, pulp_created, md5, sha1, sha224, sha256, sha384, sha512, id, authors, contents, dependencies, description, docs_blob, manifest, files, documentation, homepage, issues, license, name, namespace, repository, tags, version, requires_ansible].hash
585
585
  end
586
586
 
587
587
  # Builds the object from hash