pulp_ansible_client 0.23.0 → 0.23.1

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 +5 -5
  4. data/docs/AnsibleCollectionVersionResponse.md +5 -5
  5. data/docs/AnsibleGitRemote.md +28 -28
  6. data/docs/AnsibleGitRemoteResponse.md +30 -30
  7. data/docs/AnsibleRole.md +3 -3
  8. data/docs/AnsibleRoleResponse.md +5 -5
  9. data/docs/ContentCollectionVersionsApi.md +4 -4
  10. data/docs/PatchedansibleGitRemote.md +28 -28
  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 +18 -18
  13. data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +20 -20
  14. data/lib/pulp_ansible_client/models/ansible_git_remote.rb +240 -240
  15. data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +157 -157
  16. data/lib/pulp_ansible_client/models/ansible_role.rb +11 -11
  17. data/lib/pulp_ansible_client/models/ansible_role_response.rb +20 -20
  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 +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 +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 +2 -2
@@ -15,17 +15,17 @@ 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
  # The Pulp Resource Name (PRN).
19
21
  attr_accessor :prn
20
22
 
21
- # Artifact file representing the physical content
22
- attr_accessor :artifact
23
-
24
- attr_accessor :pulp_href
25
-
26
23
  # Timestamp of creation.
27
24
  attr_accessor :pulp_created
28
25
 
26
+ # Artifact file representing the physical content
27
+ attr_accessor :artifact
28
+
29
29
  # 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
30
  attr_accessor :pulp_last_updated
31
31
 
@@ -103,10 +103,10 @@ module PulpAnsibleClient
103
103
  # Attribute mapping from ruby-style variable name to JSON key.
104
104
  def self.attribute_map
105
105
  {
106
- :'prn' => :'prn',
107
- :'artifact' => :'artifact',
108
106
  :'pulp_href' => :'pulp_href',
107
+ :'prn' => :'prn',
109
108
  :'pulp_created' => :'pulp_created',
109
+ :'artifact' => :'artifact',
110
110
  :'pulp_last_updated' => :'pulp_last_updated',
111
111
  :'sha256' => :'sha256',
112
112
  :'md5' => :'md5',
@@ -138,10 +138,10 @@ module PulpAnsibleClient
138
138
  # Attribute type mapping.
139
139
  def self.openapi_types
140
140
  {
141
- :'prn' => :'String',
142
- :'artifact' => :'String',
143
141
  :'pulp_href' => :'String',
142
+ :'prn' => :'String',
144
143
  :'pulp_created' => :'DateTime',
144
+ :'artifact' => :'String',
145
145
  :'pulp_last_updated' => :'DateTime',
146
146
  :'sha256' => :'String',
147
147
  :'md5' => :'String',
@@ -192,22 +192,22 @@ module PulpAnsibleClient
192
192
  h[k.to_sym] = v
193
193
  }
194
194
 
195
- if attributes.key?(:'prn')
196
- self.prn = attributes[:'prn']
197
- end
198
-
199
- if attributes.key?(:'artifact')
200
- self.artifact = attributes[:'artifact']
201
- end
202
-
203
195
  if attributes.key?(:'pulp_href')
204
196
  self.pulp_href = attributes[:'pulp_href']
205
197
  end
206
198
 
199
+ if attributes.key?(:'prn')
200
+ self.prn = attributes[:'prn']
201
+ end
202
+
207
203
  if attributes.key?(:'pulp_created')
208
204
  self.pulp_created = attributes[:'pulp_created']
209
205
  end
210
206
 
207
+ if attributes.key?(:'artifact')
208
+ self.artifact = attributes[:'artifact']
209
+ end
210
+
211
211
  if attributes.key?(:'pulp_last_updated')
212
212
  self.pulp_last_updated = attributes[:'pulp_last_updated']
213
213
  end
@@ -453,10 +453,10 @@ module PulpAnsibleClient
453
453
  def ==(o)
454
454
  return true if self.equal?(o)
455
455
  self.class == o.class &&
456
- prn == o.prn &&
457
- artifact == o.artifact &&
458
456
  pulp_href == o.pulp_href &&
457
+ prn == o.prn &&
459
458
  pulp_created == o.pulp_created &&
459
+ artifact == o.artifact &&
460
460
  pulp_last_updated == o.pulp_last_updated &&
461
461
  sha256 == o.sha256 &&
462
462
  md5 == o.md5 &&
@@ -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
- [prn, artifact, pulp_href, 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, prn, pulp_created, artifact, 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
497
497
  end
498
498
 
499
499
  # Builds the object from hash