pulp_ansible_client 0.28.7 → 0.29.0
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/AnsibleAnsibleDistribution.md +3 -5
- data/docs/AnsibleAnsibleDistributionResponse.md +4 -12
- data/docs/AnsibleCollectionVersionResponse.md +16 -8
- data/docs/AnsibleGitRemote.md +28 -28
- 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/PatchedansibleAnsibleDistribution.md +3 -5
- data/docs/PatchedansibleGitRemote.md +28 -28
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +9 -9
- data/lib/pulp_ansible_client/models/ansible_ansible_distribution.rb +16 -28
- data/lib/pulp_ansible_client/models/ansible_ansible_distribution_response.rb +20 -62
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +76 -34
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +220 -220
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +140 -140
- data/lib/pulp_ansible_client/models/ansible_role.rb +11 -11
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +36 -36
- data/lib/pulp_ansible_client/models/patchedansible_ansible_distribution.rb +16 -28
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +220 -220
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/spec/api/content_collection_versions_api_spec.rb +3 -3
- data/spec/models/ansible_ansible_distribution_response_spec.rb +4 -28
- data/spec/models/ansible_ansible_distribution_spec.rb +4 -10
- data/spec/models/ansible_collection_version_response_spec.rb +30 -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 +2 -2
- data/spec/models/patchedansible_ansible_distribution_spec.rb +4 -10
- data/spec/models/patchedansible_git_remote_spec.rb +19 -19
- metadata +124 -124
|
@@ -22,11 +22,6 @@ module PulpAnsibleClient
|
|
|
22
22
|
# An optional content-guard.
|
|
23
23
|
attr_accessor :content_guard
|
|
24
24
|
|
|
25
|
-
# Whether this distribution should be shown in the content app.
|
|
26
|
-
attr_accessor :hidden
|
|
27
|
-
|
|
28
|
-
attr_accessor :pulp_labels
|
|
29
|
-
|
|
30
25
|
# A unique name. Ex, `rawhide` and `stable`.
|
|
31
26
|
attr_accessor :name
|
|
32
27
|
|
|
@@ -36,16 +31,17 @@ module PulpAnsibleClient
|
|
|
36
31
|
# RepositoryVersion to be served
|
|
37
32
|
attr_accessor :repository_version
|
|
38
33
|
|
|
34
|
+
attr_accessor :pulp_labels
|
|
35
|
+
|
|
39
36
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
40
37
|
def self.attribute_map
|
|
41
38
|
{
|
|
42
39
|
:'base_path' => :'base_path',
|
|
43
40
|
:'content_guard' => :'content_guard',
|
|
44
|
-
:'hidden' => :'hidden',
|
|
45
|
-
:'pulp_labels' => :'pulp_labels',
|
|
46
41
|
:'name' => :'name',
|
|
47
42
|
:'repository' => :'repository',
|
|
48
|
-
:'repository_version' => :'repository_version'
|
|
43
|
+
:'repository_version' => :'repository_version',
|
|
44
|
+
:'pulp_labels' => :'pulp_labels'
|
|
49
45
|
}
|
|
50
46
|
end
|
|
51
47
|
|
|
@@ -59,11 +55,10 @@ module PulpAnsibleClient
|
|
|
59
55
|
{
|
|
60
56
|
:'base_path' => :'String',
|
|
61
57
|
:'content_guard' => :'String',
|
|
62
|
-
:'hidden' => :'Boolean',
|
|
63
|
-
:'pulp_labels' => :'Hash<String, String>',
|
|
64
58
|
:'name' => :'String',
|
|
65
59
|
:'repository' => :'String',
|
|
66
|
-
:'repository_version' => :'String'
|
|
60
|
+
:'repository_version' => :'String',
|
|
61
|
+
:'pulp_labels' => :'Hash<String, String>'
|
|
67
62
|
}
|
|
68
63
|
end
|
|
69
64
|
|
|
@@ -72,7 +67,7 @@ module PulpAnsibleClient
|
|
|
72
67
|
Set.new([
|
|
73
68
|
:'content_guard',
|
|
74
69
|
:'repository',
|
|
75
|
-
:'repository_version'
|
|
70
|
+
:'repository_version',
|
|
76
71
|
])
|
|
77
72
|
end
|
|
78
73
|
|
|
@@ -101,18 +96,6 @@ module PulpAnsibleClient
|
|
|
101
96
|
self.content_guard = attributes[:'content_guard']
|
|
102
97
|
end
|
|
103
98
|
|
|
104
|
-
if attributes.key?(:'hidden')
|
|
105
|
-
self.hidden = attributes[:'hidden']
|
|
106
|
-
else
|
|
107
|
-
self.hidden = false
|
|
108
|
-
end
|
|
109
|
-
|
|
110
|
-
if attributes.key?(:'pulp_labels')
|
|
111
|
-
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
112
|
-
self.pulp_labels = value
|
|
113
|
-
end
|
|
114
|
-
end
|
|
115
|
-
|
|
116
99
|
if attributes.key?(:'name')
|
|
117
100
|
self.name = attributes[:'name']
|
|
118
101
|
else
|
|
@@ -126,6 +109,12 @@ module PulpAnsibleClient
|
|
|
126
109
|
if attributes.key?(:'repository_version')
|
|
127
110
|
self.repository_version = attributes[:'repository_version']
|
|
128
111
|
end
|
|
112
|
+
|
|
113
|
+
if attributes.key?(:'pulp_labels')
|
|
114
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
115
|
+
self.pulp_labels = value
|
|
116
|
+
end
|
|
117
|
+
end
|
|
129
118
|
end
|
|
130
119
|
|
|
131
120
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -198,11 +187,10 @@ module PulpAnsibleClient
|
|
|
198
187
|
self.class == o.class &&
|
|
199
188
|
base_path == o.base_path &&
|
|
200
189
|
content_guard == o.content_guard &&
|
|
201
|
-
hidden == o.hidden &&
|
|
202
|
-
pulp_labels == o.pulp_labels &&
|
|
203
190
|
name == o.name &&
|
|
204
191
|
repository == o.repository &&
|
|
205
|
-
repository_version == o.repository_version
|
|
192
|
+
repository_version == o.repository_version &&
|
|
193
|
+
pulp_labels == o.pulp_labels
|
|
206
194
|
end
|
|
207
195
|
|
|
208
196
|
# @see the `==` method
|
|
@@ -214,7 +202,7 @@ module PulpAnsibleClient
|
|
|
214
202
|
# Calculates hash code according to all attributes.
|
|
215
203
|
# @return [Integer] Hash code
|
|
216
204
|
def hash
|
|
217
|
-
[base_path, content_guard,
|
|
205
|
+
[base_path, content_guard, name, repository, repository_version, pulp_labels].hash
|
|
218
206
|
end
|
|
219
207
|
|
|
220
208
|
# Builds the object from hash
|
|
@@ -18,57 +18,41 @@ module PulpAnsibleClient
|
|
|
18
18
|
class AnsibleAnsibleDistributionResponse
|
|
19
19
|
attr_accessor :pulp_href
|
|
20
20
|
|
|
21
|
-
# The Pulp Resource Name (PRN).
|
|
22
|
-
attr_accessor :prn
|
|
23
|
-
|
|
24
21
|
# Timestamp of creation.
|
|
25
22
|
attr_accessor :pulp_created
|
|
26
23
|
|
|
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.
|
|
28
|
-
attr_accessor :pulp_last_updated
|
|
29
|
-
|
|
30
24
|
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
31
25
|
attr_accessor :base_path
|
|
32
26
|
|
|
33
27
|
# An optional content-guard.
|
|
34
28
|
attr_accessor :content_guard
|
|
35
29
|
|
|
36
|
-
# Timestamp since when the distributed content served by this distribution has not changed. If equals to `null`, no guarantee is provided about content changes.
|
|
37
|
-
attr_accessor :no_content_change_since
|
|
38
|
-
|
|
39
|
-
# Whether this distribution should be shown in the content app.
|
|
40
|
-
attr_accessor :hidden
|
|
41
|
-
|
|
42
|
-
attr_accessor :pulp_labels
|
|
43
|
-
|
|
44
30
|
# A unique name. Ex, `rawhide` and `stable`.
|
|
45
31
|
attr_accessor :name
|
|
46
32
|
|
|
47
33
|
# The latest RepositoryVersion for this Repository will be served.
|
|
48
34
|
attr_accessor :repository
|
|
49
35
|
|
|
36
|
+
# RepositoryVersion to be served
|
|
37
|
+
attr_accessor :repository_version
|
|
38
|
+
|
|
50
39
|
# The URL of a Collection content source.
|
|
51
40
|
attr_accessor :client_url
|
|
52
41
|
|
|
53
|
-
|
|
54
|
-
attr_accessor :repository_version
|
|
42
|
+
attr_accessor :pulp_labels
|
|
55
43
|
|
|
56
44
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
57
45
|
def self.attribute_map
|
|
58
46
|
{
|
|
59
47
|
:'pulp_href' => :'pulp_href',
|
|
60
|
-
:'prn' => :'prn',
|
|
61
48
|
:'pulp_created' => :'pulp_created',
|
|
62
|
-
:'pulp_last_updated' => :'pulp_last_updated',
|
|
63
49
|
:'base_path' => :'base_path',
|
|
64
50
|
:'content_guard' => :'content_guard',
|
|
65
|
-
:'no_content_change_since' => :'no_content_change_since',
|
|
66
|
-
:'hidden' => :'hidden',
|
|
67
|
-
:'pulp_labels' => :'pulp_labels',
|
|
68
51
|
:'name' => :'name',
|
|
69
52
|
:'repository' => :'repository',
|
|
53
|
+
:'repository_version' => :'repository_version',
|
|
70
54
|
:'client_url' => :'client_url',
|
|
71
|
-
:'
|
|
55
|
+
:'pulp_labels' => :'pulp_labels'
|
|
72
56
|
}
|
|
73
57
|
end
|
|
74
58
|
|
|
@@ -81,18 +65,14 @@ module PulpAnsibleClient
|
|
|
81
65
|
def self.openapi_types
|
|
82
66
|
{
|
|
83
67
|
:'pulp_href' => :'String',
|
|
84
|
-
:'prn' => :'String',
|
|
85
68
|
:'pulp_created' => :'Time',
|
|
86
|
-
:'pulp_last_updated' => :'Time',
|
|
87
69
|
:'base_path' => :'String',
|
|
88
70
|
:'content_guard' => :'String',
|
|
89
|
-
:'no_content_change_since' => :'String',
|
|
90
|
-
:'hidden' => :'Boolean',
|
|
91
|
-
:'pulp_labels' => :'Hash<String, String>',
|
|
92
71
|
:'name' => :'String',
|
|
93
72
|
:'repository' => :'String',
|
|
73
|
+
:'repository_version' => :'String',
|
|
94
74
|
:'client_url' => :'String',
|
|
95
|
-
:'
|
|
75
|
+
:'pulp_labels' => :'Hash<String, String>'
|
|
96
76
|
}
|
|
97
77
|
end
|
|
98
78
|
|
|
@@ -101,7 +81,7 @@ module PulpAnsibleClient
|
|
|
101
81
|
Set.new([
|
|
102
82
|
:'content_guard',
|
|
103
83
|
:'repository',
|
|
104
|
-
:'repository_version'
|
|
84
|
+
:'repository_version',
|
|
105
85
|
])
|
|
106
86
|
end
|
|
107
87
|
|
|
@@ -124,18 +104,10 @@ module PulpAnsibleClient
|
|
|
124
104
|
self.pulp_href = attributes[:'pulp_href']
|
|
125
105
|
end
|
|
126
106
|
|
|
127
|
-
if attributes.key?(:'prn')
|
|
128
|
-
self.prn = attributes[:'prn']
|
|
129
|
-
end
|
|
130
|
-
|
|
131
107
|
if attributes.key?(:'pulp_created')
|
|
132
108
|
self.pulp_created = attributes[:'pulp_created']
|
|
133
109
|
end
|
|
134
110
|
|
|
135
|
-
if attributes.key?(:'pulp_last_updated')
|
|
136
|
-
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
137
|
-
end
|
|
138
|
-
|
|
139
111
|
if attributes.key?(:'base_path')
|
|
140
112
|
self.base_path = attributes[:'base_path']
|
|
141
113
|
else
|
|
@@ -146,22 +118,6 @@ module PulpAnsibleClient
|
|
|
146
118
|
self.content_guard = attributes[:'content_guard']
|
|
147
119
|
end
|
|
148
120
|
|
|
149
|
-
if attributes.key?(:'no_content_change_since')
|
|
150
|
-
self.no_content_change_since = attributes[:'no_content_change_since']
|
|
151
|
-
end
|
|
152
|
-
|
|
153
|
-
if attributes.key?(:'hidden')
|
|
154
|
-
self.hidden = attributes[:'hidden']
|
|
155
|
-
else
|
|
156
|
-
self.hidden = false
|
|
157
|
-
end
|
|
158
|
-
|
|
159
|
-
if attributes.key?(:'pulp_labels')
|
|
160
|
-
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
161
|
-
self.pulp_labels = value
|
|
162
|
-
end
|
|
163
|
-
end
|
|
164
|
-
|
|
165
121
|
if attributes.key?(:'name')
|
|
166
122
|
self.name = attributes[:'name']
|
|
167
123
|
else
|
|
@@ -172,12 +128,18 @@ module PulpAnsibleClient
|
|
|
172
128
|
self.repository = attributes[:'repository']
|
|
173
129
|
end
|
|
174
130
|
|
|
131
|
+
if attributes.key?(:'repository_version')
|
|
132
|
+
self.repository_version = attributes[:'repository_version']
|
|
133
|
+
end
|
|
134
|
+
|
|
175
135
|
if attributes.key?(:'client_url')
|
|
176
136
|
self.client_url = attributes[:'client_url']
|
|
177
137
|
end
|
|
178
138
|
|
|
179
|
-
if attributes.key?(:'
|
|
180
|
-
|
|
139
|
+
if attributes.key?(:'pulp_labels')
|
|
140
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
141
|
+
self.pulp_labels = value
|
|
142
|
+
end
|
|
181
143
|
end
|
|
182
144
|
end
|
|
183
145
|
|
|
@@ -212,18 +174,14 @@ module PulpAnsibleClient
|
|
|
212
174
|
return true if self.equal?(o)
|
|
213
175
|
self.class == o.class &&
|
|
214
176
|
pulp_href == o.pulp_href &&
|
|
215
|
-
prn == o.prn &&
|
|
216
177
|
pulp_created == o.pulp_created &&
|
|
217
|
-
pulp_last_updated == o.pulp_last_updated &&
|
|
218
178
|
base_path == o.base_path &&
|
|
219
179
|
content_guard == o.content_guard &&
|
|
220
|
-
no_content_change_since == o.no_content_change_since &&
|
|
221
|
-
hidden == o.hidden &&
|
|
222
|
-
pulp_labels == o.pulp_labels &&
|
|
223
180
|
name == o.name &&
|
|
224
181
|
repository == o.repository &&
|
|
182
|
+
repository_version == o.repository_version &&
|
|
225
183
|
client_url == o.client_url &&
|
|
226
|
-
|
|
184
|
+
pulp_labels == o.pulp_labels
|
|
227
185
|
end
|
|
228
186
|
|
|
229
187
|
# @see the `==` method
|
|
@@ -235,7 +193,7 @@ module PulpAnsibleClient
|
|
|
235
193
|
# Calculates hash code according to all attributes.
|
|
236
194
|
# @return [Integer] Hash code
|
|
237
195
|
def hash
|
|
238
|
-
[pulp_href,
|
|
196
|
+
[pulp_href, pulp_created, base_path, content_guard, name, repository, repository_version, client_url, pulp_labels].hash
|
|
239
197
|
end
|
|
240
198
|
|
|
241
199
|
# Builds the object from hash
|
|
@@ -16,24 +16,24 @@ require 'time'
|
|
|
16
16
|
module PulpAnsibleClient
|
|
17
17
|
# A serializer for CollectionVersion Content.
|
|
18
18
|
class AnsibleCollectionVersionResponse
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
attr_accessor :pulp_href
|
|
20
|
+
|
|
21
|
+
attr_accessor :vuln_report
|
|
21
22
|
|
|
22
23
|
# Timestamp of creation.
|
|
23
24
|
attr_accessor :pulp_created
|
|
24
25
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
# The Pulp Resource Name (PRN).
|
|
28
|
-
attr_accessor :prn
|
|
26
|
+
# 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.
|
|
27
|
+
attr_accessor :pulp_last_updated
|
|
29
28
|
|
|
30
|
-
|
|
29
|
+
# Artifact file representing the physical content
|
|
30
|
+
attr_accessor :artifact
|
|
31
31
|
|
|
32
32
|
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
33
33
|
attr_accessor :pulp_labels
|
|
34
34
|
|
|
35
|
-
#
|
|
36
|
-
attr_accessor :
|
|
35
|
+
# The Pulp Resource Name (PRN).
|
|
36
|
+
attr_accessor :prn
|
|
37
37
|
|
|
38
38
|
# The SHA-256 checksum if available.
|
|
39
39
|
attr_accessor :sha256
|
|
@@ -59,12 +59,24 @@ module PulpAnsibleClient
|
|
|
59
59
|
# A list of the CollectionVersion content's authors.
|
|
60
60
|
attr_accessor :authors
|
|
61
61
|
|
|
62
|
+
# A JSON field with data about the contents.
|
|
63
|
+
attr_accessor :contents
|
|
64
|
+
|
|
62
65
|
# A dict declaring Collections that this collection requires to be installed for it to be usable.
|
|
63
66
|
attr_accessor :dependencies
|
|
64
67
|
|
|
65
68
|
# A short summary description of the collection.
|
|
66
69
|
attr_accessor :description
|
|
67
70
|
|
|
71
|
+
# A JSON field holding the various documentation blobs in the collection.
|
|
72
|
+
attr_accessor :docs_blob
|
|
73
|
+
|
|
74
|
+
# A JSON field holding MANIFEST.json data.
|
|
75
|
+
attr_accessor :manifest
|
|
76
|
+
|
|
77
|
+
# A JSON field holding FILES.json data.
|
|
78
|
+
attr_accessor :files
|
|
79
|
+
|
|
68
80
|
# The URL to any online docs.
|
|
69
81
|
attr_accessor :documentation
|
|
70
82
|
|
|
@@ -97,13 +109,13 @@ module PulpAnsibleClient
|
|
|
97
109
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
98
110
|
def self.attribute_map
|
|
99
111
|
{
|
|
100
|
-
:'artifact' => :'artifact',
|
|
101
|
-
:'pulp_created' => :'pulp_created',
|
|
102
112
|
:'pulp_href' => :'pulp_href',
|
|
103
|
-
:'prn' => :'prn',
|
|
104
113
|
:'vuln_report' => :'vuln_report',
|
|
105
|
-
:'
|
|
114
|
+
:'pulp_created' => :'pulp_created',
|
|
106
115
|
:'pulp_last_updated' => :'pulp_last_updated',
|
|
116
|
+
:'artifact' => :'artifact',
|
|
117
|
+
:'pulp_labels' => :'pulp_labels',
|
|
118
|
+
:'prn' => :'prn',
|
|
107
119
|
:'sha256' => :'sha256',
|
|
108
120
|
:'md5' => :'md5',
|
|
109
121
|
:'sha1' => :'sha1',
|
|
@@ -112,8 +124,12 @@ module PulpAnsibleClient
|
|
|
112
124
|
:'sha512' => :'sha512',
|
|
113
125
|
:'id' => :'id',
|
|
114
126
|
:'authors' => :'authors',
|
|
127
|
+
:'contents' => :'contents',
|
|
115
128
|
:'dependencies' => :'dependencies',
|
|
116
129
|
:'description' => :'description',
|
|
130
|
+
:'docs_blob' => :'docs_blob',
|
|
131
|
+
:'manifest' => :'manifest',
|
|
132
|
+
:'files' => :'files',
|
|
117
133
|
:'documentation' => :'documentation',
|
|
118
134
|
:'homepage' => :'homepage',
|
|
119
135
|
:'issues' => :'issues',
|
|
@@ -135,13 +151,13 @@ module PulpAnsibleClient
|
|
|
135
151
|
# Attribute type mapping.
|
|
136
152
|
def self.openapi_types
|
|
137
153
|
{
|
|
138
|
-
:'artifact' => :'String',
|
|
139
|
-
:'pulp_created' => :'Time',
|
|
140
154
|
:'pulp_href' => :'String',
|
|
141
|
-
:'prn' => :'String',
|
|
142
155
|
:'vuln_report' => :'String',
|
|
143
|
-
:'
|
|
156
|
+
:'pulp_created' => :'Time',
|
|
144
157
|
:'pulp_last_updated' => :'Time',
|
|
158
|
+
:'artifact' => :'String',
|
|
159
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
160
|
+
:'prn' => :'String',
|
|
145
161
|
:'sha256' => :'String',
|
|
146
162
|
:'md5' => :'String',
|
|
147
163
|
:'sha1' => :'String',
|
|
@@ -150,8 +166,12 @@ module PulpAnsibleClient
|
|
|
150
166
|
:'sha512' => :'String',
|
|
151
167
|
:'id' => :'String',
|
|
152
168
|
:'authors' => :'Array<String>',
|
|
169
|
+
:'contents' => :'Array<Object>',
|
|
153
170
|
:'dependencies' => :'Object',
|
|
154
171
|
:'description' => :'String',
|
|
172
|
+
:'docs_blob' => :'Object',
|
|
173
|
+
:'manifest' => :'Object',
|
|
174
|
+
:'files' => :'Object',
|
|
155
175
|
:'documentation' => :'String',
|
|
156
176
|
:'homepage' => :'String',
|
|
157
177
|
:'issues' => :'String',
|
|
@@ -187,24 +207,24 @@ module PulpAnsibleClient
|
|
|
187
207
|
h[k.to_sym] = v
|
|
188
208
|
}
|
|
189
209
|
|
|
190
|
-
if attributes.key?(:'
|
|
191
|
-
self.
|
|
210
|
+
if attributes.key?(:'pulp_href')
|
|
211
|
+
self.pulp_href = attributes[:'pulp_href']
|
|
192
212
|
end
|
|
193
213
|
|
|
194
|
-
if attributes.key?(:'
|
|
195
|
-
self.
|
|
214
|
+
if attributes.key?(:'vuln_report')
|
|
215
|
+
self.vuln_report = attributes[:'vuln_report']
|
|
196
216
|
end
|
|
197
217
|
|
|
198
|
-
if attributes.key?(:'
|
|
199
|
-
self.
|
|
218
|
+
if attributes.key?(:'pulp_created')
|
|
219
|
+
self.pulp_created = attributes[:'pulp_created']
|
|
200
220
|
end
|
|
201
221
|
|
|
202
|
-
if attributes.key?(:'
|
|
203
|
-
self.
|
|
222
|
+
if attributes.key?(:'pulp_last_updated')
|
|
223
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
204
224
|
end
|
|
205
225
|
|
|
206
|
-
if attributes.key?(:'
|
|
207
|
-
self.
|
|
226
|
+
if attributes.key?(:'artifact')
|
|
227
|
+
self.artifact = attributes[:'artifact']
|
|
208
228
|
end
|
|
209
229
|
|
|
210
230
|
if attributes.key?(:'pulp_labels')
|
|
@@ -213,8 +233,8 @@ module PulpAnsibleClient
|
|
|
213
233
|
end
|
|
214
234
|
end
|
|
215
235
|
|
|
216
|
-
if attributes.key?(:'
|
|
217
|
-
self.
|
|
236
|
+
if attributes.key?(:'prn')
|
|
237
|
+
self.prn = attributes[:'prn']
|
|
218
238
|
end
|
|
219
239
|
|
|
220
240
|
if attributes.key?(:'sha256')
|
|
@@ -251,6 +271,12 @@ module PulpAnsibleClient
|
|
|
251
271
|
end
|
|
252
272
|
end
|
|
253
273
|
|
|
274
|
+
if attributes.key?(:'contents')
|
|
275
|
+
if (value = attributes[:'contents']).is_a?(Array)
|
|
276
|
+
self.contents = value
|
|
277
|
+
end
|
|
278
|
+
end
|
|
279
|
+
|
|
254
280
|
if attributes.key?(:'dependencies')
|
|
255
281
|
self.dependencies = attributes[:'dependencies']
|
|
256
282
|
end
|
|
@@ -259,6 +285,18 @@ module PulpAnsibleClient
|
|
|
259
285
|
self.description = attributes[:'description']
|
|
260
286
|
end
|
|
261
287
|
|
|
288
|
+
if attributes.key?(:'docs_blob')
|
|
289
|
+
self.docs_blob = attributes[:'docs_blob']
|
|
290
|
+
end
|
|
291
|
+
|
|
292
|
+
if attributes.key?(:'manifest')
|
|
293
|
+
self.manifest = attributes[:'manifest']
|
|
294
|
+
end
|
|
295
|
+
|
|
296
|
+
if attributes.key?(:'files')
|
|
297
|
+
self.files = attributes[:'files']
|
|
298
|
+
end
|
|
299
|
+
|
|
262
300
|
if attributes.key?(:'documentation')
|
|
263
301
|
self.documentation = attributes[:'documentation']
|
|
264
302
|
end
|
|
@@ -457,13 +495,13 @@ module PulpAnsibleClient
|
|
|
457
495
|
def ==(o)
|
|
458
496
|
return true if self.equal?(o)
|
|
459
497
|
self.class == o.class &&
|
|
460
|
-
artifact == o.artifact &&
|
|
461
|
-
pulp_created == o.pulp_created &&
|
|
462
498
|
pulp_href == o.pulp_href &&
|
|
463
|
-
prn == o.prn &&
|
|
464
499
|
vuln_report == o.vuln_report &&
|
|
465
|
-
|
|
500
|
+
pulp_created == o.pulp_created &&
|
|
466
501
|
pulp_last_updated == o.pulp_last_updated &&
|
|
502
|
+
artifact == o.artifact &&
|
|
503
|
+
pulp_labels == o.pulp_labels &&
|
|
504
|
+
prn == o.prn &&
|
|
467
505
|
sha256 == o.sha256 &&
|
|
468
506
|
md5 == o.md5 &&
|
|
469
507
|
sha1 == o.sha1 &&
|
|
@@ -472,8 +510,12 @@ module PulpAnsibleClient
|
|
|
472
510
|
sha512 == o.sha512 &&
|
|
473
511
|
id == o.id &&
|
|
474
512
|
authors == o.authors &&
|
|
513
|
+
contents == o.contents &&
|
|
475
514
|
dependencies == o.dependencies &&
|
|
476
515
|
description == o.description &&
|
|
516
|
+
docs_blob == o.docs_blob &&
|
|
517
|
+
manifest == o.manifest &&
|
|
518
|
+
files == o.files &&
|
|
477
519
|
documentation == o.documentation &&
|
|
478
520
|
homepage == o.homepage &&
|
|
479
521
|
issues == o.issues &&
|
|
@@ -495,7 +537,7 @@ module PulpAnsibleClient
|
|
|
495
537
|
# Calculates hash code according to all attributes.
|
|
496
538
|
# @return [Integer] Hash code
|
|
497
539
|
def hash
|
|
498
|
-
[
|
|
540
|
+
[pulp_href, vuln_report, pulp_created, pulp_last_updated, artifact, pulp_labels, prn, sha256, md5, sha1, sha224, sha384, sha512, id, authors, contents, dependencies, description, docs_blob, manifest, files, documentation, homepage, issues, license, name, namespace, origin_repository, tags, version, requires_ansible].hash
|
|
499
541
|
end
|
|
500
542
|
|
|
501
543
|
# Builds the object from hash
|