pulp_ansible_client 0.24.5 → 0.24.6
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/AnsibleCollectionVersionResponse.md +4 -4
- data/docs/AnsibleGitRemote.md +26 -26
- data/docs/AnsibleGitRemoteResponse.md +28 -28
- data/docs/AnsibleRole.md +2 -2
- data/docs/AnsibleRoleResponse.md +4 -4
- data/docs/ContentCollectionVersionsApi.md +6 -6
- data/docs/PatchedansibleGitRemote.md +26 -26
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +9 -9
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +21 -21
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +234 -234
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +155 -155
- data/lib/pulp_ansible_client/models/ansible_role.rb +13 -13
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +23 -23
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +229 -229
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/pulp_ansible_client.gemspec +0 -1
- data/spec/api/content_collection_versions_api_spec.rb +3 -3
- data/spec/models/ansible_collection_version_response_spec.rb +4 -4
- data/spec/models/ansible_git_remote_response_spec.rb +20 -20
- data/spec/models/ansible_git_remote_spec.rb +19 -19
- data/spec/models/ansible_role_response_spec.rb +4 -4
- data/spec/models/ansible_role_spec.rb +3 -3
- data/spec/models/patchedansible_git_remote_spec.rb +19 -19
- metadata +122 -142
@@ -18,18 +18,18 @@ module PulpAnsibleClient
|
|
18
18
|
class AnsibleRoleResponse
|
19
19
|
attr_accessor :pulp_href
|
20
20
|
|
21
|
-
# Timestamp of creation.
|
22
|
-
attr_accessor :pulp_created
|
23
|
-
|
24
|
-
# Artifact file representing the physical content
|
25
|
-
attr_accessor :artifact
|
26
|
-
|
27
21
|
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
28
22
|
attr_accessor :pulp_labels
|
29
23
|
|
30
24
|
# The Pulp Resource Name (PRN).
|
31
25
|
attr_accessor :prn
|
32
26
|
|
27
|
+
# Artifact file representing the physical content
|
28
|
+
attr_accessor :artifact
|
29
|
+
|
30
|
+
# Timestamp of creation.
|
31
|
+
attr_accessor :pulp_created
|
32
|
+
|
33
33
|
# 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.
|
34
34
|
attr_accessor :pulp_last_updated
|
35
35
|
|
@@ -43,10 +43,10 @@ module PulpAnsibleClient
|
|
43
43
|
def self.attribute_map
|
44
44
|
{
|
45
45
|
:'pulp_href' => :'pulp_href',
|
46
|
-
:'pulp_created' => :'pulp_created',
|
47
|
-
:'artifact' => :'artifact',
|
48
46
|
:'pulp_labels' => :'pulp_labels',
|
49
47
|
:'prn' => :'prn',
|
48
|
+
:'artifact' => :'artifact',
|
49
|
+
:'pulp_created' => :'pulp_created',
|
50
50
|
:'pulp_last_updated' => :'pulp_last_updated',
|
51
51
|
:'version' => :'version',
|
52
52
|
:'name' => :'name',
|
@@ -63,10 +63,10 @@ module PulpAnsibleClient
|
|
63
63
|
def self.openapi_types
|
64
64
|
{
|
65
65
|
:'pulp_href' => :'String',
|
66
|
-
:'pulp_created' => :'Time',
|
67
|
-
:'artifact' => :'String',
|
68
66
|
:'pulp_labels' => :'Hash<String, String>',
|
69
67
|
:'prn' => :'String',
|
68
|
+
:'artifact' => :'String',
|
69
|
+
:'pulp_created' => :'Time',
|
70
70
|
:'pulp_last_updated' => :'Time',
|
71
71
|
:'version' => :'String',
|
72
72
|
:'name' => :'String',
|
@@ -99,16 +99,6 @@ module PulpAnsibleClient
|
|
99
99
|
self.pulp_href = attributes[:'pulp_href']
|
100
100
|
end
|
101
101
|
|
102
|
-
if attributes.key?(:'pulp_created')
|
103
|
-
self.pulp_created = attributes[:'pulp_created']
|
104
|
-
end
|
105
|
-
|
106
|
-
if attributes.key?(:'artifact')
|
107
|
-
self.artifact = attributes[:'artifact']
|
108
|
-
else
|
109
|
-
self.artifact = nil
|
110
|
-
end
|
111
|
-
|
112
102
|
if attributes.key?(:'pulp_labels')
|
113
103
|
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
114
104
|
self.pulp_labels = value
|
@@ -119,6 +109,16 @@ module PulpAnsibleClient
|
|
119
109
|
self.prn = attributes[:'prn']
|
120
110
|
end
|
121
111
|
|
112
|
+
if attributes.key?(:'artifact')
|
113
|
+
self.artifact = attributes[:'artifact']
|
114
|
+
else
|
115
|
+
self.artifact = nil
|
116
|
+
end
|
117
|
+
|
118
|
+
if attributes.key?(:'pulp_created')
|
119
|
+
self.pulp_created = attributes[:'pulp_created']
|
120
|
+
end
|
121
|
+
|
122
122
|
if attributes.key?(:'pulp_last_updated')
|
123
123
|
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
124
124
|
end
|
@@ -183,10 +183,10 @@ module PulpAnsibleClient
|
|
183
183
|
return true if self.equal?(o)
|
184
184
|
self.class == o.class &&
|
185
185
|
pulp_href == o.pulp_href &&
|
186
|
-
pulp_created == o.pulp_created &&
|
187
|
-
artifact == o.artifact &&
|
188
186
|
pulp_labels == o.pulp_labels &&
|
189
187
|
prn == o.prn &&
|
188
|
+
artifact == o.artifact &&
|
189
|
+
pulp_created == o.pulp_created &&
|
190
190
|
pulp_last_updated == o.pulp_last_updated &&
|
191
191
|
version == o.version &&
|
192
192
|
name == o.name &&
|
@@ -202,7 +202,7 @@ module PulpAnsibleClient
|
|
202
202
|
# Calculates hash code according to all attributes.
|
203
203
|
# @return [Integer] Hash code
|
204
204
|
def hash
|
205
|
-
[pulp_href,
|
205
|
+
[pulp_href, pulp_labels, prn, artifact, pulp_created, pulp_last_updated, version, name, namespace].hash
|
206
206
|
end
|
207
207
|
|
208
208
|
# Builds the object from hash
|