pulp_ansible_client 0.29.1 → 0.29.2
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 +8 -16
- data/docs/AnsibleGitRemote.md +26 -26
- data/docs/AnsibleGitRemoteResponse.md +26 -26
- data/docs/AnsibleRole.md +2 -2
- data/docs/AnsibleRoleResponse.md +8 -8
- data/docs/ContentCollectionVersionsApi.md +6 -6
- data/docs/PatchedansibleGitRemote.md +26 -26
- data/docs/RemotesGitApi.md +2 -2
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +9 -9
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +33 -75
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +228 -228
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +146 -146
- data/lib/pulp_ansible_client/models/ansible_role.rb +13 -13
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +35 -35
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +218 -218
- 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 -29
- 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 +5 -5
- data/spec/models/ansible_role_spec.rb +2 -2
- data/spec/models/patchedansible_git_remote_spec.rb +19 -19
- metadata +2 -2
|
@@ -16,24 +16,24 @@ require 'time'
|
|
|
16
16
|
module PulpAnsibleClient
|
|
17
17
|
# A serializer for Role versions.
|
|
18
18
|
class AnsibleRoleResponse
|
|
19
|
-
# The Pulp Resource Name (PRN).
|
|
20
|
-
attr_accessor :prn
|
|
21
|
-
|
|
22
19
|
# Timestamp of creation.
|
|
23
20
|
attr_accessor :pulp_created
|
|
24
21
|
|
|
25
|
-
|
|
22
|
+
# Artifact file representing the physical content
|
|
23
|
+
attr_accessor :artifact
|
|
24
|
+
|
|
25
|
+
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
26
|
+
attr_accessor :pulp_labels
|
|
26
27
|
|
|
27
28
|
# 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
29
|
attr_accessor :pulp_last_updated
|
|
29
30
|
|
|
30
31
|
attr_accessor :vuln_report
|
|
31
32
|
|
|
32
|
-
|
|
33
|
-
attr_accessor :pulp_labels
|
|
33
|
+
attr_accessor :pulp_href
|
|
34
34
|
|
|
35
|
-
#
|
|
36
|
-
attr_accessor :
|
|
35
|
+
# The Pulp Resource Name (PRN).
|
|
36
|
+
attr_accessor :prn
|
|
37
37
|
|
|
38
38
|
attr_accessor :version
|
|
39
39
|
|
|
@@ -44,13 +44,13 @@ module PulpAnsibleClient
|
|
|
44
44
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
45
45
|
def self.attribute_map
|
|
46
46
|
{
|
|
47
|
-
:'prn' => :'prn',
|
|
48
47
|
:'pulp_created' => :'pulp_created',
|
|
49
|
-
:'
|
|
48
|
+
:'artifact' => :'artifact',
|
|
49
|
+
:'pulp_labels' => :'pulp_labels',
|
|
50
50
|
:'pulp_last_updated' => :'pulp_last_updated',
|
|
51
51
|
:'vuln_report' => :'vuln_report',
|
|
52
|
-
:'
|
|
53
|
-
:'
|
|
52
|
+
:'pulp_href' => :'pulp_href',
|
|
53
|
+
:'prn' => :'prn',
|
|
54
54
|
:'version' => :'version',
|
|
55
55
|
:'name' => :'name',
|
|
56
56
|
:'namespace' => :'namespace'
|
|
@@ -65,13 +65,13 @@ module PulpAnsibleClient
|
|
|
65
65
|
# Attribute type mapping.
|
|
66
66
|
def self.openapi_types
|
|
67
67
|
{
|
|
68
|
-
:'prn' => :'String',
|
|
69
68
|
:'pulp_created' => :'Time',
|
|
70
|
-
:'
|
|
69
|
+
:'artifact' => :'String',
|
|
70
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
71
71
|
:'pulp_last_updated' => :'Time',
|
|
72
72
|
:'vuln_report' => :'String',
|
|
73
|
-
:'
|
|
74
|
-
:'
|
|
73
|
+
:'pulp_href' => :'String',
|
|
74
|
+
:'prn' => :'String',
|
|
75
75
|
:'version' => :'String',
|
|
76
76
|
:'name' => :'String',
|
|
77
77
|
:'namespace' => :'String'
|
|
@@ -99,16 +99,20 @@ module PulpAnsibleClient
|
|
|
99
99
|
h[k.to_sym] = v
|
|
100
100
|
}
|
|
101
101
|
|
|
102
|
-
if attributes.key?(:'prn')
|
|
103
|
-
self.prn = attributes[:'prn']
|
|
104
|
-
end
|
|
105
|
-
|
|
106
102
|
if attributes.key?(:'pulp_created')
|
|
107
103
|
self.pulp_created = attributes[:'pulp_created']
|
|
108
104
|
end
|
|
109
105
|
|
|
110
|
-
if attributes.key?(:'
|
|
111
|
-
self.
|
|
106
|
+
if attributes.key?(:'artifact')
|
|
107
|
+
self.artifact = attributes[:'artifact']
|
|
108
|
+
else
|
|
109
|
+
self.artifact = nil
|
|
110
|
+
end
|
|
111
|
+
|
|
112
|
+
if attributes.key?(:'pulp_labels')
|
|
113
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
114
|
+
self.pulp_labels = value
|
|
115
|
+
end
|
|
112
116
|
end
|
|
113
117
|
|
|
114
118
|
if attributes.key?(:'pulp_last_updated')
|
|
@@ -119,16 +123,12 @@ module PulpAnsibleClient
|
|
|
119
123
|
self.vuln_report = attributes[:'vuln_report']
|
|
120
124
|
end
|
|
121
125
|
|
|
122
|
-
if attributes.key?(:'
|
|
123
|
-
|
|
124
|
-
self.pulp_labels = value
|
|
125
|
-
end
|
|
126
|
+
if attributes.key?(:'pulp_href')
|
|
127
|
+
self.pulp_href = attributes[:'pulp_href']
|
|
126
128
|
end
|
|
127
129
|
|
|
128
|
-
if attributes.key?(:'
|
|
129
|
-
self.
|
|
130
|
-
else
|
|
131
|
-
self.artifact = nil
|
|
130
|
+
if attributes.key?(:'prn')
|
|
131
|
+
self.prn = attributes[:'prn']
|
|
132
132
|
end
|
|
133
133
|
|
|
134
134
|
if attributes.key?(:'version')
|
|
@@ -190,13 +190,13 @@ module PulpAnsibleClient
|
|
|
190
190
|
def ==(o)
|
|
191
191
|
return true if self.equal?(o)
|
|
192
192
|
self.class == o.class &&
|
|
193
|
-
prn == o.prn &&
|
|
194
193
|
pulp_created == o.pulp_created &&
|
|
195
|
-
|
|
194
|
+
artifact == o.artifact &&
|
|
195
|
+
pulp_labels == o.pulp_labels &&
|
|
196
196
|
pulp_last_updated == o.pulp_last_updated &&
|
|
197
197
|
vuln_report == o.vuln_report &&
|
|
198
|
-
|
|
199
|
-
|
|
198
|
+
pulp_href == o.pulp_href &&
|
|
199
|
+
prn == o.prn &&
|
|
200
200
|
version == o.version &&
|
|
201
201
|
name == o.name &&
|
|
202
202
|
namespace == o.namespace
|
|
@@ -211,7 +211,7 @@ module PulpAnsibleClient
|
|
|
211
211
|
# Calculates hash code according to all attributes.
|
|
212
212
|
# @return [Integer] Hash code
|
|
213
213
|
def hash
|
|
214
|
-
[
|
|
214
|
+
[pulp_created, artifact, pulp_labels, pulp_last_updated, vuln_report, pulp_href, prn, version, name, namespace].hash
|
|
215
215
|
end
|
|
216
216
|
|
|
217
217
|
# Builds the object from hash
|