pulp_ansible_client 0.28.8 → 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 +12 -4
- data/docs/AnsibleGitRemote.md +22 -22
- data/docs/AnsibleGitRemoteResponse.md +24 -24
- data/docs/AnsibleRole.md +2 -2
- data/docs/AnsibleRoleResponse.md +4 -4
- data/docs/ContentCollectionVersionsApi.md +8 -8
- data/docs/PatchedansibleAnsibleDistribution.md +3 -5
- data/docs/PatchedansibleGitRemote.md +22 -22
- data/docs/RemotesGitApi.md +2 -2
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +12 -12
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api.rb +2 -2
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api.rb +2 -2
- 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_ansible_namespace_metadata.rb +3 -3
- data/lib/pulp_ansible_client/models/ansible_ansible_namespace_metadata_response.rb +3 -3
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +62 -20
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +189 -189
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +131 -131
- data/lib/pulp_ansible_client/models/ansible_role.rb +11 -11
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +20 -20
- data/lib/pulp_ansible_client/models/patchedansible_ansible_distribution.rb +16 -28
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +184 -184
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/spec/api/content_collection_versions_api_spec.rb +4 -4
- 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 +18 -18
- 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 +18 -18
- metadata +122 -122
|
@@ -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
|
|
@@ -139,7 +139,7 @@ module PulpAnsibleClient
|
|
|
139
139
|
invalid_properties.push('invalid value for "name", the character length must be great than or equal to 3.')
|
|
140
140
|
end
|
|
141
141
|
|
|
142
|
-
pattern = Regexp.new(/^(?!.*__)[a-z][0-9a-z_]*$/)
|
|
142
|
+
pattern = Regexp.new(/^(?!.*__)[a-z]+[0-9a-z_]*$/)
|
|
143
143
|
if @name !~ pattern
|
|
144
144
|
invalid_properties.push("invalid value for \"name\", must conform to the pattern #{pattern}.")
|
|
145
145
|
end
|
|
@@ -166,7 +166,7 @@ module PulpAnsibleClient
|
|
|
166
166
|
return false if @name.nil?
|
|
167
167
|
return false if @name.to_s.length > 64
|
|
168
168
|
return false if @name.to_s.length < 3
|
|
169
|
-
return false if @name !~ Regexp.new(/^(?!.*__)[a-z][0-9a-z_]*$/)
|
|
169
|
+
return false if @name !~ Regexp.new(/^(?!.*__)[a-z]+[0-9a-z_]*$/)
|
|
170
170
|
return false if !@company.nil? && @company.to_s.length > 64
|
|
171
171
|
return false if !@email.nil? && @email.to_s.length > 256
|
|
172
172
|
return false if !@description.nil? && @description.to_s.length > 256
|
|
@@ -188,7 +188,7 @@ module PulpAnsibleClient
|
|
|
188
188
|
fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 3.'
|
|
189
189
|
end
|
|
190
190
|
|
|
191
|
-
pattern = Regexp.new(/^(?!.*__)[a-z][0-9a-z_]*$/)
|
|
191
|
+
pattern = Regexp.new(/^(?!.*__)[a-z]+[0-9a-z_]*$/)
|
|
192
192
|
if name !~ pattern
|
|
193
193
|
fail ArgumentError, "invalid value for \"name\", must conform to the pattern #{pattern}."
|
|
194
194
|
end
|
|
@@ -164,7 +164,7 @@ module PulpAnsibleClient
|
|
|
164
164
|
invalid_properties.push('invalid value for "name", the character length must be great than or equal to 3.')
|
|
165
165
|
end
|
|
166
166
|
|
|
167
|
-
pattern = Regexp.new(/^(?!.*__)[a-z][0-9a-z_]*$/)
|
|
167
|
+
pattern = Regexp.new(/^(?!.*__)[a-z]+[0-9a-z_]*$/)
|
|
168
168
|
if @name !~ pattern
|
|
169
169
|
invalid_properties.push("invalid value for \"name\", must conform to the pattern #{pattern}.")
|
|
170
170
|
end
|
|
@@ -195,7 +195,7 @@ module PulpAnsibleClient
|
|
|
195
195
|
return false if @name.nil?
|
|
196
196
|
return false if @name.to_s.length > 64
|
|
197
197
|
return false if @name.to_s.length < 3
|
|
198
|
-
return false if @name !~ Regexp.new(/^(?!.*__)[a-z][0-9a-z_]*$/)
|
|
198
|
+
return false if @name !~ Regexp.new(/^(?!.*__)[a-z]+[0-9a-z_]*$/)
|
|
199
199
|
return false if !@company.nil? && @company.to_s.length > 64
|
|
200
200
|
return false if !@email.nil? && @email.to_s.length > 256
|
|
201
201
|
return false if !@description.nil? && @description.to_s.length > 256
|
|
@@ -218,7 +218,7 @@ module PulpAnsibleClient
|
|
|
218
218
|
fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 3.'
|
|
219
219
|
end
|
|
220
220
|
|
|
221
|
-
pattern = Regexp.new(/^(?!.*__)[a-z][0-9a-z_]*$/)
|
|
221
|
+
pattern = Regexp.new(/^(?!.*__)[a-z]+[0-9a-z_]*$/)
|
|
222
222
|
if name !~ pattern
|
|
223
223
|
fail ArgumentError, "invalid value for \"name\", must conform to the pattern #{pattern}."
|
|
224
224
|
end
|
|
@@ -18,23 +18,23 @@ module PulpAnsibleClient
|
|
|
18
18
|
class AnsibleCollectionVersionResponse
|
|
19
19
|
attr_accessor :pulp_href
|
|
20
20
|
|
|
21
|
+
attr_accessor :vuln_report
|
|
22
|
+
|
|
23
|
+
# Timestamp of creation.
|
|
24
|
+
attr_accessor :pulp_created
|
|
25
|
+
|
|
21
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.
|
|
22
27
|
attr_accessor :pulp_last_updated
|
|
23
28
|
|
|
24
29
|
# Artifact file representing the physical content
|
|
25
30
|
attr_accessor :artifact
|
|
26
31
|
|
|
27
|
-
# Timestamp of creation.
|
|
28
|
-
attr_accessor :pulp_created
|
|
29
|
-
|
|
30
32
|
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
31
33
|
attr_accessor :pulp_labels
|
|
32
34
|
|
|
33
35
|
# The Pulp Resource Name (PRN).
|
|
34
36
|
attr_accessor :prn
|
|
35
37
|
|
|
36
|
-
attr_accessor :vuln_report
|
|
37
|
-
|
|
38
38
|
# The SHA-256 checksum if available.
|
|
39
39
|
attr_accessor :sha256
|
|
40
40
|
|
|
@@ -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
|
|
|
@@ -98,12 +110,12 @@ module PulpAnsibleClient
|
|
|
98
110
|
def self.attribute_map
|
|
99
111
|
{
|
|
100
112
|
:'pulp_href' => :'pulp_href',
|
|
113
|
+
:'vuln_report' => :'vuln_report',
|
|
114
|
+
:'pulp_created' => :'pulp_created',
|
|
101
115
|
:'pulp_last_updated' => :'pulp_last_updated',
|
|
102
116
|
:'artifact' => :'artifact',
|
|
103
|
-
:'pulp_created' => :'pulp_created',
|
|
104
117
|
:'pulp_labels' => :'pulp_labels',
|
|
105
118
|
:'prn' => :'prn',
|
|
106
|
-
:'vuln_report' => :'vuln_report',
|
|
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',
|
|
@@ -136,12 +152,12 @@ module PulpAnsibleClient
|
|
|
136
152
|
def self.openapi_types
|
|
137
153
|
{
|
|
138
154
|
:'pulp_href' => :'String',
|
|
155
|
+
:'vuln_report' => :'String',
|
|
156
|
+
:'pulp_created' => :'Time',
|
|
139
157
|
:'pulp_last_updated' => :'Time',
|
|
140
158
|
:'artifact' => :'String',
|
|
141
|
-
:'pulp_created' => :'Time',
|
|
142
159
|
:'pulp_labels' => :'Hash<String, String>',
|
|
143
160
|
:'prn' => :'String',
|
|
144
|
-
:'vuln_report' => :'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',
|
|
@@ -191,6 +211,14 @@ module PulpAnsibleClient
|
|
|
191
211
|
self.pulp_href = attributes[:'pulp_href']
|
|
192
212
|
end
|
|
193
213
|
|
|
214
|
+
if attributes.key?(:'vuln_report')
|
|
215
|
+
self.vuln_report = attributes[:'vuln_report']
|
|
216
|
+
end
|
|
217
|
+
|
|
218
|
+
if attributes.key?(:'pulp_created')
|
|
219
|
+
self.pulp_created = attributes[:'pulp_created']
|
|
220
|
+
end
|
|
221
|
+
|
|
194
222
|
if attributes.key?(:'pulp_last_updated')
|
|
195
223
|
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
196
224
|
end
|
|
@@ -199,10 +227,6 @@ module PulpAnsibleClient
|
|
|
199
227
|
self.artifact = attributes[:'artifact']
|
|
200
228
|
end
|
|
201
229
|
|
|
202
|
-
if attributes.key?(:'pulp_created')
|
|
203
|
-
self.pulp_created = attributes[:'pulp_created']
|
|
204
|
-
end
|
|
205
|
-
|
|
206
230
|
if attributes.key?(:'pulp_labels')
|
|
207
231
|
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
208
232
|
self.pulp_labels = value
|
|
@@ -213,10 +237,6 @@ module PulpAnsibleClient
|
|
|
213
237
|
self.prn = attributes[:'prn']
|
|
214
238
|
end
|
|
215
239
|
|
|
216
|
-
if attributes.key?(:'vuln_report')
|
|
217
|
-
self.vuln_report = attributes[:'vuln_report']
|
|
218
|
-
end
|
|
219
|
-
|
|
220
240
|
if attributes.key?(:'sha256')
|
|
221
241
|
self.sha256 = attributes[:'sha256']
|
|
222
242
|
end
|
|
@@ -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
|
|
@@ -458,12 +496,12 @@ module PulpAnsibleClient
|
|
|
458
496
|
return true if self.equal?(o)
|
|
459
497
|
self.class == o.class &&
|
|
460
498
|
pulp_href == o.pulp_href &&
|
|
499
|
+
vuln_report == o.vuln_report &&
|
|
500
|
+
pulp_created == o.pulp_created &&
|
|
461
501
|
pulp_last_updated == o.pulp_last_updated &&
|
|
462
502
|
artifact == o.artifact &&
|
|
463
|
-
pulp_created == o.pulp_created &&
|
|
464
503
|
pulp_labels == o.pulp_labels &&
|
|
465
504
|
prn == o.prn &&
|
|
466
|
-
vuln_report == o.vuln_report &&
|
|
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
|
-
[pulp_href, pulp_last_updated, artifact,
|
|
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
|