pulp_ansible_client 0.29.9 → 0.29.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.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/AnsibleCollectionVersionResponse.md +8 -8
- 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 +8 -8
- data/docs/PatchedansibleGitRemote.md +26 -26
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +12 -12
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +36 -36
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +235 -235
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +160 -160
- data/lib/pulp_ansible_client/models/ansible_role.rb +11 -11
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +38 -38
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +233 -233
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/spec/api/content_collection_versions_api_spec.rb +4 -4
- data/spec/models/ansible_collection_version_response_spec.rb +6 -6
- data/spec/models/ansible_git_remote_response_spec.rb +20 -20
- data/spec/models/ansible_git_remote_spec.rb +20 -20
- data/spec/models/ansible_role_response_spec.rb +6 -6
- data/spec/models/ansible_role_spec.rb +2 -2
- data/spec/models/patchedansible_git_remote_spec.rb +20 -20
- metadata +127 -127
|
@@ -16,24 +16,24 @@ require 'time'
|
|
|
16
16
|
module PulpAnsibleClient
|
|
17
17
|
# A serializer for Role versions.
|
|
18
18
|
class AnsibleRoleResponse
|
|
19
|
-
#
|
|
20
|
-
attr_accessor :
|
|
19
|
+
# The Pulp Resource Name (PRN).
|
|
20
|
+
attr_accessor :prn
|
|
21
21
|
|
|
22
|
-
|
|
23
|
-
attr_accessor :pulp_labels
|
|
22
|
+
attr_accessor :pulp_href
|
|
24
23
|
|
|
25
24
|
# Timestamp of creation.
|
|
26
25
|
attr_accessor :pulp_created
|
|
27
26
|
|
|
28
|
-
attr_accessor :vuln_report
|
|
29
|
-
|
|
30
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.
|
|
31
28
|
attr_accessor :pulp_last_updated
|
|
32
29
|
|
|
33
|
-
#
|
|
34
|
-
attr_accessor :
|
|
30
|
+
# Artifact file representing the physical content
|
|
31
|
+
attr_accessor :artifact
|
|
35
32
|
|
|
36
|
-
|
|
33
|
+
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
34
|
+
attr_accessor :pulp_labels
|
|
35
|
+
|
|
36
|
+
attr_accessor :vuln_report
|
|
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
|
+
:'pulp_href' => :'pulp_href',
|
|
49
|
+
:'pulp_created' => :'pulp_created',
|
|
50
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
|
47
51
|
:'artifact' => :'artifact',
|
|
48
52
|
:'pulp_labels' => :'pulp_labels',
|
|
49
|
-
:'pulp_created' => :'pulp_created',
|
|
50
53
|
:'vuln_report' => :'vuln_report',
|
|
51
|
-
:'pulp_last_updated' => :'pulp_last_updated',
|
|
52
|
-
:'prn' => :'prn',
|
|
53
|
-
:'pulp_href' => :'pulp_href',
|
|
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
|
+
:'pulp_href' => :'String',
|
|
70
|
+
:'pulp_created' => :'Time',
|
|
71
|
+
:'pulp_last_updated' => :'Time',
|
|
68
72
|
:'artifact' => :'String',
|
|
69
73
|
:'pulp_labels' => :'Hash<String, String>',
|
|
70
|
-
:'pulp_created' => :'Time',
|
|
71
74
|
:'vuln_report' => :'String',
|
|
72
|
-
:'pulp_last_updated' => :'Time',
|
|
73
|
-
:'prn' => :'String',
|
|
74
|
-
:'pulp_href' => :'String',
|
|
75
75
|
:'version' => :'String',
|
|
76
76
|
:'name' => :'String',
|
|
77
77
|
:'namespace' => :'String'
|
|
@@ -99,36 +99,36 @@ module PulpAnsibleClient
|
|
|
99
99
|
h[k.to_sym] = v
|
|
100
100
|
}
|
|
101
101
|
|
|
102
|
-
if attributes.key?(:'
|
|
103
|
-
self.
|
|
104
|
-
else
|
|
105
|
-
self.artifact = nil
|
|
102
|
+
if attributes.key?(:'prn')
|
|
103
|
+
self.prn = attributes[:'prn']
|
|
106
104
|
end
|
|
107
105
|
|
|
108
|
-
if attributes.key?(:'
|
|
109
|
-
|
|
110
|
-
self.pulp_labels = value
|
|
111
|
-
end
|
|
106
|
+
if attributes.key?(:'pulp_href')
|
|
107
|
+
self.pulp_href = attributes[:'pulp_href']
|
|
112
108
|
end
|
|
113
109
|
|
|
114
110
|
if attributes.key?(:'pulp_created')
|
|
115
111
|
self.pulp_created = attributes[:'pulp_created']
|
|
116
112
|
end
|
|
117
113
|
|
|
118
|
-
if attributes.key?(:'vuln_report')
|
|
119
|
-
self.vuln_report = attributes[:'vuln_report']
|
|
120
|
-
end
|
|
121
|
-
|
|
122
114
|
if attributes.key?(:'pulp_last_updated')
|
|
123
115
|
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
124
116
|
end
|
|
125
117
|
|
|
126
|
-
if attributes.key?(:'
|
|
127
|
-
self.
|
|
118
|
+
if attributes.key?(:'artifact')
|
|
119
|
+
self.artifact = attributes[:'artifact']
|
|
120
|
+
else
|
|
121
|
+
self.artifact = nil
|
|
128
122
|
end
|
|
129
123
|
|
|
130
|
-
if attributes.key?(:'
|
|
131
|
-
|
|
124
|
+
if attributes.key?(:'pulp_labels')
|
|
125
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
126
|
+
self.pulp_labels = value
|
|
127
|
+
end
|
|
128
|
+
end
|
|
129
|
+
|
|
130
|
+
if attributes.key?(:'vuln_report')
|
|
131
|
+
self.vuln_report = attributes[:'vuln_report']
|
|
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
|
+
pulp_href == o.pulp_href &&
|
|
195
|
+
pulp_created == o.pulp_created &&
|
|
196
|
+
pulp_last_updated == o.pulp_last_updated &&
|
|
193
197
|
artifact == o.artifact &&
|
|
194
198
|
pulp_labels == o.pulp_labels &&
|
|
195
|
-
pulp_created == o.pulp_created &&
|
|
196
199
|
vuln_report == o.vuln_report &&
|
|
197
|
-
pulp_last_updated == o.pulp_last_updated &&
|
|
198
|
-
prn == o.prn &&
|
|
199
|
-
pulp_href == o.pulp_href &&
|
|
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
|
+
[prn, pulp_href, pulp_created, pulp_last_updated, artifact, pulp_labels, vuln_report, version, name, namespace].hash
|
|
215
215
|
end
|
|
216
216
|
|
|
217
217
|
# Builds the object from hash
|