pulp_ansible_client 0.30.3 → 0.30.4
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 +6 -6
- data/docs/AnsibleGitRemote.md +24 -24
- data/docs/AnsibleGitRemoteResponse.md +24 -24
- data/docs/AnsibleRole.md +2 -2
- data/docs/AnsibleRoleResponse.md +6 -6
- data/docs/CollectionSummaryResponse.md +3 -1
- data/docs/ContentCollectionVersionsApi.md +6 -6
- data/docs/PatchedansibleGitRemote.md +24 -24
- 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 +30 -30
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +217 -217
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +148 -148
- data/lib/pulp_ansible_client/models/ansible_role.rb +11 -11
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +30 -30
- data/lib/pulp_ansible_client/models/collection_summary_response.rb +15 -4
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +208 -208
- 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 +7 -7
- 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 +7 -7
- data/spec/models/ansible_role_spec.rb +4 -4
- data/spec/models/collection_summary_response_spec.rb +6 -0
- data/spec/models/patchedansible_git_remote_spec.rb +20 -20
- metadata +124 -127
|
@@ -16,18 +16,15 @@ require 'time'
|
|
|
16
16
|
module PulpAnsibleClient
|
|
17
17
|
# A serializer for Role versions.
|
|
18
18
|
class AnsibleRoleResponse
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
# Timestamp of creation.
|
|
22
|
-
attr_accessor :pulp_created
|
|
23
|
-
|
|
24
|
-
attr_accessor :pulp_href
|
|
19
|
+
# 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.
|
|
20
|
+
attr_accessor :pulp_last_updated
|
|
25
21
|
|
|
26
22
|
# The Pulp Resource Name (PRN).
|
|
27
23
|
attr_accessor :prn
|
|
28
24
|
|
|
29
|
-
|
|
30
|
-
|
|
25
|
+
attr_accessor :vuln_report
|
|
26
|
+
|
|
27
|
+
attr_accessor :pulp_href
|
|
31
28
|
|
|
32
29
|
# Artifact file representing the physical content
|
|
33
30
|
attr_accessor :artifact
|
|
@@ -35,6 +32,9 @@ module PulpAnsibleClient
|
|
|
35
32
|
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
36
33
|
attr_accessor :pulp_labels
|
|
37
34
|
|
|
35
|
+
# Timestamp of creation.
|
|
36
|
+
attr_accessor :pulp_created
|
|
37
|
+
|
|
38
38
|
attr_accessor :version
|
|
39
39
|
|
|
40
40
|
attr_accessor :name
|
|
@@ -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
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
|
48
|
+
:'prn' => :'prn',
|
|
47
49
|
:'vuln_report' => :'vuln_report',
|
|
48
|
-
:'pulp_created' => :'pulp_created',
|
|
49
50
|
:'pulp_href' => :'pulp_href',
|
|
50
|
-
:'prn' => :'prn',
|
|
51
|
-
:'pulp_last_updated' => :'pulp_last_updated',
|
|
52
51
|
:'artifact' => :'artifact',
|
|
53
52
|
:'pulp_labels' => :'pulp_labels',
|
|
53
|
+
:'pulp_created' => :'pulp_created',
|
|
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
|
+
:'pulp_last_updated' => :'Time',
|
|
69
|
+
:'prn' => :'String',
|
|
68
70
|
:'vuln_report' => :'String',
|
|
69
|
-
:'pulp_created' => :'Time',
|
|
70
71
|
:'pulp_href' => :'String',
|
|
71
|
-
:'prn' => :'String',
|
|
72
|
-
:'pulp_last_updated' => :'Time',
|
|
73
72
|
:'artifact' => :'String',
|
|
74
73
|
:'pulp_labels' => :'Hash<String, String>',
|
|
74
|
+
:'pulp_created' => :'Time',
|
|
75
75
|
:'version' => :'String',
|
|
76
76
|
:'name' => :'String',
|
|
77
77
|
:'namespace' => :'String'
|
|
@@ -99,24 +99,20 @@ module PulpAnsibleClient
|
|
|
99
99
|
h[k.to_sym] = v
|
|
100
100
|
}
|
|
101
101
|
|
|
102
|
-
if attributes.key?(:'
|
|
103
|
-
self.
|
|
104
|
-
end
|
|
105
|
-
|
|
106
|
-
if attributes.key?(:'pulp_created')
|
|
107
|
-
self.pulp_created = attributes[:'pulp_created']
|
|
108
|
-
end
|
|
109
|
-
|
|
110
|
-
if attributes.key?(:'pulp_href')
|
|
111
|
-
self.pulp_href = attributes[:'pulp_href']
|
|
102
|
+
if attributes.key?(:'pulp_last_updated')
|
|
103
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
112
104
|
end
|
|
113
105
|
|
|
114
106
|
if attributes.key?(:'prn')
|
|
115
107
|
self.prn = attributes[:'prn']
|
|
116
108
|
end
|
|
117
109
|
|
|
118
|
-
if attributes.key?(:'
|
|
119
|
-
self.
|
|
110
|
+
if attributes.key?(:'vuln_report')
|
|
111
|
+
self.vuln_report = attributes[:'vuln_report']
|
|
112
|
+
end
|
|
113
|
+
|
|
114
|
+
if attributes.key?(:'pulp_href')
|
|
115
|
+
self.pulp_href = attributes[:'pulp_href']
|
|
120
116
|
end
|
|
121
117
|
|
|
122
118
|
if attributes.key?(:'artifact')
|
|
@@ -131,6 +127,10 @@ module PulpAnsibleClient
|
|
|
131
127
|
end
|
|
132
128
|
end
|
|
133
129
|
|
|
130
|
+
if attributes.key?(:'pulp_created')
|
|
131
|
+
self.pulp_created = attributes[:'pulp_created']
|
|
132
|
+
end
|
|
133
|
+
|
|
134
134
|
if attributes.key?(:'version')
|
|
135
135
|
self.version = attributes[:'version']
|
|
136
136
|
else
|
|
@@ -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
|
+
pulp_last_updated == o.pulp_last_updated &&
|
|
194
|
+
prn == o.prn &&
|
|
193
195
|
vuln_report == o.vuln_report &&
|
|
194
|
-
pulp_created == o.pulp_created &&
|
|
195
196
|
pulp_href == o.pulp_href &&
|
|
196
|
-
prn == o.prn &&
|
|
197
|
-
pulp_last_updated == o.pulp_last_updated &&
|
|
198
197
|
artifact == o.artifact &&
|
|
199
198
|
pulp_labels == o.pulp_labels &&
|
|
199
|
+
pulp_created == o.pulp_created &&
|
|
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_last_updated, prn, vuln_report, pulp_href, artifact, pulp_labels, pulp_created, version, name, namespace].hash
|
|
215
215
|
end
|
|
216
216
|
|
|
217
217
|
# Builds the object from hash
|
|
@@ -44,6 +44,8 @@ module PulpAnsibleClient
|
|
|
44
44
|
|
|
45
45
|
attr_accessor :tags
|
|
46
46
|
|
|
47
|
+
attr_accessor :content_counts
|
|
48
|
+
|
|
47
49
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
48
50
|
def self.attribute_map
|
|
49
51
|
{
|
|
@@ -56,7 +58,8 @@ module PulpAnsibleClient
|
|
|
56
58
|
:'contents' => :'contents',
|
|
57
59
|
:'dependencies' => :'dependencies',
|
|
58
60
|
:'description' => :'description',
|
|
59
|
-
:'tags' => :'tags'
|
|
61
|
+
:'tags' => :'tags',
|
|
62
|
+
:'content_counts' => :'content_counts'
|
|
60
63
|
}
|
|
61
64
|
end
|
|
62
65
|
|
|
@@ -77,7 +80,8 @@ module PulpAnsibleClient
|
|
|
77
80
|
:'contents' => :'Array<Object>',
|
|
78
81
|
:'dependencies' => :'Object',
|
|
79
82
|
:'description' => :'String',
|
|
80
|
-
:'tags' => :'Array<CollectionSummaryResponseTagsInner>'
|
|
83
|
+
:'tags' => :'Array<CollectionSummaryResponseTagsInner>',
|
|
84
|
+
:'content_counts' => :'Hash<String, Integer>'
|
|
81
85
|
}
|
|
82
86
|
end
|
|
83
87
|
|
|
@@ -146,6 +150,12 @@ module PulpAnsibleClient
|
|
|
146
150
|
self.tags = value
|
|
147
151
|
end
|
|
148
152
|
end
|
|
153
|
+
|
|
154
|
+
if attributes.key?(:'content_counts')
|
|
155
|
+
if (value = attributes[:'content_counts']).is_a?(Hash)
|
|
156
|
+
self.content_counts = value
|
|
157
|
+
end
|
|
158
|
+
end
|
|
149
159
|
end
|
|
150
160
|
|
|
151
161
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -249,7 +259,8 @@ module PulpAnsibleClient
|
|
|
249
259
|
contents == o.contents &&
|
|
250
260
|
dependencies == o.dependencies &&
|
|
251
261
|
description == o.description &&
|
|
252
|
-
tags == o.tags
|
|
262
|
+
tags == o.tags &&
|
|
263
|
+
content_counts == o.content_counts
|
|
253
264
|
end
|
|
254
265
|
|
|
255
266
|
# @see the `==` method
|
|
@@ -261,7 +272,7 @@ module PulpAnsibleClient
|
|
|
261
272
|
# Calculates hash code according to all attributes.
|
|
262
273
|
# @return [Integer] Hash code
|
|
263
274
|
def hash
|
|
264
|
-
[pulp_href, namespace, name, version, requires_ansible, pulp_created, contents, dependencies, description, tags].hash
|
|
275
|
+
[pulp_href, namespace, name, version, requires_ansible, pulp_created, contents, dependencies, description, tags, content_counts].hash
|
|
265
276
|
end
|
|
266
277
|
|
|
267
278
|
# Builds the object from hash
|