pulp_ansible_client 0.21.11 → 0.21.13

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 +5 -5
  4. data/docs/AnsibleCollectionVersionResponse.md +5 -5
  5. data/docs/AnsibleGitRemote.md +30 -30
  6. data/docs/AnsibleGitRemoteResponse.md +28 -28
  7. data/docs/AnsibleRole.md +3 -3
  8. data/docs/AnsibleRoleResponse.md +6 -6
  9. data/docs/ContentCollectionVersionsApi.md +4 -4
  10. data/docs/PatchedansibleGitRemote.md +30 -30
  11. data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +6 -6
  12. data/lib/pulp_ansible_client/models/ansible_collection_version.rb +21 -21
  13. data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +21 -21
  14. data/lib/pulp_ansible_client/models/ansible_git_remote.rb +238 -238
  15. data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +142 -142
  16. data/lib/pulp_ansible_client/models/ansible_role.rb +11 -11
  17. data/lib/pulp_ansible_client/models/ansible_role_response.rb +24 -24
  18. data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +226 -226
  19. data/lib/pulp_ansible_client/version.rb +1 -1
  20. data/spec/api/content_collection_versions_api_spec.rb +2 -2
  21. data/spec/models/ansible_collection_version_response_spec.rb +4 -4
  22. data/spec/models/ansible_collection_version_spec.rb +4 -4
  23. data/spec/models/ansible_git_remote_response_spec.rb +17 -17
  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 +131 -131
@@ -15,17 +15,17 @@ require 'date'
15
15
  module PulpAnsibleClient
16
16
  # A serializer for CollectionVersion Content.
17
17
  class AnsibleCollectionVersionResponse
18
- # Timestamp of creation.
19
- attr_accessor :pulp_created
20
-
21
- # Artifact file representing the physical content
22
- attr_accessor :artifact
23
-
24
18
  attr_accessor :pulp_href
25
19
 
26
20
  # 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.
27
21
  attr_accessor :pulp_last_updated
28
22
 
23
+ # Artifact file representing the physical content
24
+ attr_accessor :artifact
25
+
26
+ # Timestamp of creation.
27
+ attr_accessor :pulp_created
28
+
29
29
  # The SHA-256 checksum if available.
30
30
  attr_accessor :sha256
31
31
 
@@ -100,10 +100,10 @@ module PulpAnsibleClient
100
100
  # Attribute mapping from ruby-style variable name to JSON key.
101
101
  def self.attribute_map
102
102
  {
103
- :'pulp_created' => :'pulp_created',
104
- :'artifact' => :'artifact',
105
103
  :'pulp_href' => :'pulp_href',
106
104
  :'pulp_last_updated' => :'pulp_last_updated',
105
+ :'artifact' => :'artifact',
106
+ :'pulp_created' => :'pulp_created',
107
107
  :'sha256' => :'sha256',
108
108
  :'md5' => :'md5',
109
109
  :'sha1' => :'sha1',
@@ -134,10 +134,10 @@ module PulpAnsibleClient
134
134
  # Attribute type mapping.
135
135
  def self.openapi_types
136
136
  {
137
- :'pulp_created' => :'DateTime',
138
- :'artifact' => :'String',
139
137
  :'pulp_href' => :'String',
140
138
  :'pulp_last_updated' => :'DateTime',
139
+ :'artifact' => :'String',
140
+ :'pulp_created' => :'DateTime',
141
141
  :'sha256' => :'String',
142
142
  :'md5' => :'String',
143
143
  :'sha1' => :'String',
@@ -187,14 +187,6 @@ module PulpAnsibleClient
187
187
  h[k.to_sym] = v
188
188
  }
189
189
 
190
- if attributes.key?(:'pulp_created')
191
- self.pulp_created = attributes[:'pulp_created']
192
- end
193
-
194
- if attributes.key?(:'artifact')
195
- self.artifact = attributes[:'artifact']
196
- end
197
-
198
190
  if attributes.key?(:'pulp_href')
199
191
  self.pulp_href = attributes[:'pulp_href']
200
192
  end
@@ -203,6 +195,14 @@ module PulpAnsibleClient
203
195
  self.pulp_last_updated = attributes[:'pulp_last_updated']
204
196
  end
205
197
 
198
+ if attributes.key?(:'artifact')
199
+ self.artifact = attributes[:'artifact']
200
+ end
201
+
202
+ if attributes.key?(:'pulp_created')
203
+ self.pulp_created = attributes[:'pulp_created']
204
+ end
205
+
206
206
  if attributes.key?(:'sha256')
207
207
  self.sha256 = attributes[:'sha256']
208
208
  end
@@ -444,10 +444,10 @@ module PulpAnsibleClient
444
444
  def ==(o)
445
445
  return true if self.equal?(o)
446
446
  self.class == o.class &&
447
- pulp_created == o.pulp_created &&
448
- artifact == o.artifact &&
449
447
  pulp_href == o.pulp_href &&
450
448
  pulp_last_updated == o.pulp_last_updated &&
449
+ artifact == o.artifact &&
450
+ pulp_created == o.pulp_created &&
451
451
  sha256 == o.sha256 &&
452
452
  md5 == o.md5 &&
453
453
  sha1 == o.sha1 &&
@@ -483,7 +483,7 @@ module PulpAnsibleClient
483
483
  # Calculates hash code according to all attributes.
484
484
  # @return [Integer] Hash code
485
485
  def hash
486
- [pulp_created, artifact, pulp_href, 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
486
+ [pulp_href, pulp_last_updated, 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
487
487
  end
488
488
 
489
489
  # Builds the object from hash