pulp_ansible_client 0.22.2 → 0.22.3
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.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/AnsibleCollectionVersion.md +7 -7
- data/docs/AnsibleCollectionVersionResponse.md +5 -5
- data/docs/AnsibleGitRemote.md +30 -30
- data/docs/AnsibleGitRemoteResponse.md +30 -30
- data/docs/AnsibleRole.md +3 -3
- data/docs/AnsibleRoleResponse.md +5 -5
- data/docs/ContentCollectionVersionsApi.md +6 -6
- data/docs/PatchedansibleGitRemote.md +30 -30
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +9 -9
- data/lib/pulp_ansible_client/models/ansible_collection_version.rb +25 -25
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +21 -21
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +255 -255
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +169 -169
- data/lib/pulp_ansible_client/models/ansible_role.rb +11 -11
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +21 -21
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +242 -242
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/spec/api/content_collection_versions_api_spec.rb +3 -3
- data/spec/models/ansible_collection_version_response_spec.rb +5 -5
- data/spec/models/ansible_collection_version_spec.rb +4 -4
- data/spec/models/ansible_git_remote_response_spec.rb +19 -19
- data/spec/models/ansible_git_remote_spec.rb +20 -20
- data/spec/models/ansible_role_response_spec.rb +5 -5
- data/spec/models/ansible_role_spec.rb +2 -2
- data/spec/models/patchedansible_git_remote_spec.rb +20 -20
- metadata +2 -2
@@ -15,20 +15,20 @@ 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
|
-
# The Pulp Resource Name (PRN).
|
22
|
-
attr_accessor :prn
|
23
|
-
|
24
18
|
# Artifact file representing the physical content
|
25
19
|
attr_accessor :artifact
|
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
|
+
|
30
27
|
attr_accessor :pulp_href
|
31
28
|
|
29
|
+
# The Pulp Resource Name (PRN).
|
30
|
+
attr_accessor :prn
|
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
|
-
:'pulp_created' => :'pulp_created',
|
42
|
-
:'prn' => :'prn',
|
43
41
|
:'artifact' => :'artifact',
|
44
42
|
:'pulp_last_updated' => :'pulp_last_updated',
|
43
|
+
:'pulp_created' => :'pulp_created',
|
45
44
|
:'pulp_href' => :'pulp_href',
|
45
|
+
:'prn' => :'prn',
|
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
|
-
:'pulp_created' => :'DateTime',
|
56
|
-
:'prn' => :'String',
|
57
55
|
:'artifact' => :'String',
|
58
56
|
:'pulp_last_updated' => :'DateTime',
|
57
|
+
:'pulp_created' => :'DateTime',
|
59
58
|
:'pulp_href' => :'String',
|
59
|
+
:'prn' => :'String',
|
60
60
|
:'version' => :'String',
|
61
61
|
:'name' => :'String',
|
62
62
|
:'namespace' => :'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?(:'prn')
|
92
|
-
self.prn = attributes[:'prn']
|
93
|
-
end
|
94
|
-
|
95
87
|
if attributes.key?(:'artifact')
|
96
88
|
self.artifact = attributes[:'artifact']
|
97
89
|
end
|
@@ -100,10 +92,18 @@ 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
|
+
|
103
99
|
if attributes.key?(:'pulp_href')
|
104
100
|
self.pulp_href = attributes[:'pulp_href']
|
105
101
|
end
|
106
102
|
|
103
|
+
if attributes.key?(:'prn')
|
104
|
+
self.prn = attributes[:'prn']
|
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
|
-
pulp_created == o.pulp_created &&
|
159
|
-
prn == o.prn &&
|
160
158
|
artifact == o.artifact &&
|
161
159
|
pulp_last_updated == o.pulp_last_updated &&
|
160
|
+
pulp_created == o.pulp_created &&
|
162
161
|
pulp_href == o.pulp_href &&
|
162
|
+
prn == o.prn &&
|
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
|
-
[
|
177
|
+
[artifact, pulp_last_updated, pulp_created, pulp_href, prn, version, name, namespace].hash
|
178
178
|
end
|
179
179
|
|
180
180
|
# Builds the object from hash
|