pulp_ansible_client 0.22.10 → 0.22.11

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