pulp_ansible_client 0.22.4 → 0.22.5

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 +5 -5
  5. data/docs/AnsibleGitRemote.md +28 -28
  6. data/docs/AnsibleGitRemoteResponse.md +28 -28
  7. data/docs/AnsibleRole.md +3 -3
  8. data/docs/AnsibleRoleResponse.md +5 -5
  9. data/docs/ContentCollectionVersionsApi.md +6 -6
  10. data/docs/PatchedansibleGitRemote.md +28 -28
  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 +21 -21
  14. data/lib/pulp_ansible_client/models/ansible_git_remote.rb +236 -236
  15. data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +161 -161
  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 +4 -4
  22. data/spec/models/ansible_collection_version_spec.rb +5 -5
  23. data/spec/models/ansible_git_remote_response_spec.rb +19 -19
  24. data/spec/models/ansible_git_remote_spec.rb +19 -19
  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 +19 -19
  28. metadata +126 -126
@@ -15,18 +15,18 @@ require 'date'
15
15
  module PulpAnsibleClient
16
16
  # A serializer for Role versions.
17
17
  class AnsibleRoleResponse
18
- # Timestamp of creation.
19
- attr_accessor :pulp_created
20
-
21
- # Artifact file representing the physical content
22
- attr_accessor :artifact
23
-
24
18
  # The Pulp Resource Name (PRN).
25
19
  attr_accessor :prn
26
20
 
27
21
  # 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.
28
22
  attr_accessor :pulp_last_updated
29
23
 
24
+ # Timestamp of creation.
25
+ attr_accessor :pulp_created
26
+
27
+ # Artifact file representing the physical content
28
+ attr_accessor :artifact
29
+
30
30
  attr_accessor :pulp_href
31
31
 
32
32
  attr_accessor :version
@@ -38,10 +38,10 @@ module PulpAnsibleClient
38
38
  # Attribute mapping from ruby-style variable name to JSON key.
39
39
  def self.attribute_map
40
40
  {
41
- :'pulp_created' => :'pulp_created',
42
- :'artifact' => :'artifact',
43
41
  :'prn' => :'prn',
44
42
  :'pulp_last_updated' => :'pulp_last_updated',
43
+ :'pulp_created' => :'pulp_created',
44
+ :'artifact' => :'artifact',
45
45
  :'pulp_href' => :'pulp_href',
46
46
  :'version' => :'version',
47
47
  :'name' => :'name',
@@ -52,10 +52,10 @@ module PulpAnsibleClient
52
52
  # Attribute type mapping.
53
53
  def self.openapi_types
54
54
  {
55
- :'pulp_created' => :'DateTime',
56
- :'artifact' => :'String',
57
55
  :'prn' => :'String',
58
56
  :'pulp_last_updated' => :'DateTime',
57
+ :'pulp_created' => :'DateTime',
58
+ :'artifact' => :'String',
59
59
  :'pulp_href' => :'String',
60
60
  :'version' => :'String',
61
61
  :'name' => :'String',
@@ -84,14 +84,6 @@ module PulpAnsibleClient
84
84
  h[k.to_sym] = v
85
85
  }
86
86
 
87
- if attributes.key?(:'pulp_created')
88
- self.pulp_created = attributes[:'pulp_created']
89
- end
90
-
91
- if attributes.key?(:'artifact')
92
- self.artifact = attributes[:'artifact']
93
- end
94
-
95
87
  if attributes.key?(:'prn')
96
88
  self.prn = attributes[:'prn']
97
89
  end
@@ -100,6 +92,14 @@ module PulpAnsibleClient
100
92
  self.pulp_last_updated = attributes[:'pulp_last_updated']
101
93
  end
102
94
 
95
+ if attributes.key?(:'pulp_created')
96
+ self.pulp_created = attributes[:'pulp_created']
97
+ end
98
+
99
+ if attributes.key?(:'artifact')
100
+ self.artifact = attributes[:'artifact']
101
+ end
102
+
103
103
  if attributes.key?(:'pulp_href')
104
104
  self.pulp_href = attributes[:'pulp_href']
105
105
  end
@@ -155,10 +155,10 @@ module PulpAnsibleClient
155
155
  def ==(o)
156
156
  return true if self.equal?(o)
157
157
  self.class == o.class &&
158
- pulp_created == o.pulp_created &&
159
- artifact == o.artifact &&
160
158
  prn == o.prn &&
161
159
  pulp_last_updated == o.pulp_last_updated &&
160
+ pulp_created == o.pulp_created &&
161
+ artifact == o.artifact &&
162
162
  pulp_href == o.pulp_href &&
163
163
  version == o.version &&
164
164
  name == o.name &&
@@ -174,7 +174,7 @@ module PulpAnsibleClient
174
174
  # Calculates hash code according to all attributes.
175
175
  # @return [Integer] Hash code
176
176
  def hash
177
- [pulp_created, artifact, prn, pulp_last_updated, pulp_href, version, name, namespace].hash
177
+ [prn, pulp_last_updated, pulp_created, artifact, pulp_href, version, name, namespace].hash
178
178
  end
179
179
 
180
180
  # Builds the object from hash