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