pulp_ansible_client 0.25.5 → 0.25.7
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 +5 -3
- data/docs/AnsibleAnsibleDistributionResponse.md +12 -4
- data/docs/AnsibleCollectionVersionResponse.md +8 -8
- data/docs/AnsibleGitRemote.md +30 -30
- data/docs/AnsibleGitRemoteResponse.md +28 -28
- data/docs/AnsibleRole.md +2 -2
- data/docs/AnsibleRoleResponse.md +8 -8
- data/docs/ContentCollectionVersionsApi.md +6 -6
- data/docs/PatchedansibleAnsibleDistribution.md +5 -3
- data/docs/PatchedansibleGitRemote.md +30 -30
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +9 -9
- 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 +28 -16
- data/lib/pulp_ansible_client/models/ansible_ansible_distribution_response.rb +62 -20
- 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 +33 -33
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +241 -241
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +155 -155
- data/lib/pulp_ansible_client/models/ansible_role.rb +13 -13
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +35 -35
- data/lib/pulp_ansible_client/models/patchedansible_ansible_distribution.rb +28 -16
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +238 -238
- 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 +28 -4
- data/spec/models/ansible_ansible_distribution_spec.rb +10 -4
- data/spec/models/ansible_collection_version_response_spec.rb +5 -5
- 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 +5 -5
- data/spec/models/ansible_role_spec.rb +3 -3
- data/spec/models/patchedansible_ansible_distribution_spec.rb +10 -4
- data/spec/models/patchedansible_git_remote_spec.rb +20 -20
- metadata +123 -123
|
@@ -22,6 +22,11 @@ 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
|
+
|
|
25
30
|
# A unique name. Ex, `rawhide` and `stable`.
|
|
26
31
|
attr_accessor :name
|
|
27
32
|
|
|
@@ -31,17 +36,16 @@ module PulpAnsibleClient
|
|
|
31
36
|
# RepositoryVersion to be served
|
|
32
37
|
attr_accessor :repository_version
|
|
33
38
|
|
|
34
|
-
attr_accessor :pulp_labels
|
|
35
|
-
|
|
36
39
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
37
40
|
def self.attribute_map
|
|
38
41
|
{
|
|
39
42
|
:'base_path' => :'base_path',
|
|
40
43
|
:'content_guard' => :'content_guard',
|
|
44
|
+
:'hidden' => :'hidden',
|
|
45
|
+
:'pulp_labels' => :'pulp_labels',
|
|
41
46
|
:'name' => :'name',
|
|
42
47
|
:'repository' => :'repository',
|
|
43
|
-
:'repository_version' => :'repository_version'
|
|
44
|
-
:'pulp_labels' => :'pulp_labels'
|
|
48
|
+
:'repository_version' => :'repository_version'
|
|
45
49
|
}
|
|
46
50
|
end
|
|
47
51
|
|
|
@@ -55,10 +59,11 @@ module PulpAnsibleClient
|
|
|
55
59
|
{
|
|
56
60
|
:'base_path' => :'String',
|
|
57
61
|
:'content_guard' => :'String',
|
|
62
|
+
:'hidden' => :'Boolean',
|
|
63
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
58
64
|
:'name' => :'String',
|
|
59
65
|
:'repository' => :'String',
|
|
60
|
-
:'repository_version' => :'String'
|
|
61
|
-
:'pulp_labels' => :'Hash<String, String>'
|
|
66
|
+
:'repository_version' => :'String'
|
|
62
67
|
}
|
|
63
68
|
end
|
|
64
69
|
|
|
@@ -67,7 +72,7 @@ module PulpAnsibleClient
|
|
|
67
72
|
Set.new([
|
|
68
73
|
:'content_guard',
|
|
69
74
|
:'repository',
|
|
70
|
-
:'repository_version'
|
|
75
|
+
:'repository_version'
|
|
71
76
|
])
|
|
72
77
|
end
|
|
73
78
|
|
|
@@ -96,6 +101,18 @@ module PulpAnsibleClient
|
|
|
96
101
|
self.content_guard = attributes[:'content_guard']
|
|
97
102
|
end
|
|
98
103
|
|
|
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
|
+
|
|
99
116
|
if attributes.key?(:'name')
|
|
100
117
|
self.name = attributes[:'name']
|
|
101
118
|
else
|
|
@@ -109,12 +126,6 @@ module PulpAnsibleClient
|
|
|
109
126
|
if attributes.key?(:'repository_version')
|
|
110
127
|
self.repository_version = attributes[:'repository_version']
|
|
111
128
|
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
|
|
118
129
|
end
|
|
119
130
|
|
|
120
131
|
# Show invalid properties with the reasons. Usually used together with valid?
|
|
@@ -187,10 +198,11 @@ module PulpAnsibleClient
|
|
|
187
198
|
self.class == o.class &&
|
|
188
199
|
base_path == o.base_path &&
|
|
189
200
|
content_guard == o.content_guard &&
|
|
201
|
+
hidden == o.hidden &&
|
|
202
|
+
pulp_labels == o.pulp_labels &&
|
|
190
203
|
name == o.name &&
|
|
191
204
|
repository == o.repository &&
|
|
192
|
-
repository_version == o.repository_version
|
|
193
|
-
pulp_labels == o.pulp_labels
|
|
205
|
+
repository_version == o.repository_version
|
|
194
206
|
end
|
|
195
207
|
|
|
196
208
|
# @see the `==` method
|
|
@@ -202,7 +214,7 @@ module PulpAnsibleClient
|
|
|
202
214
|
# Calculates hash code according to all attributes.
|
|
203
215
|
# @return [Integer] Hash code
|
|
204
216
|
def hash
|
|
205
|
-
[base_path, content_guard, name, repository, repository_version
|
|
217
|
+
[base_path, content_guard, hidden, pulp_labels, name, repository, repository_version].hash
|
|
206
218
|
end
|
|
207
219
|
|
|
208
220
|
# Builds the object from hash
|
|
@@ -18,41 +18,57 @@ 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
|
+
|
|
21
24
|
# Timestamp of creation.
|
|
22
25
|
attr_accessor :pulp_created
|
|
23
26
|
|
|
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
|
+
|
|
24
30
|
# The base (relative) path component of the published url. Avoid paths that overlap with other distribution base paths (e.g. \"foo\" and \"foo/bar\")
|
|
25
31
|
attr_accessor :base_path
|
|
26
32
|
|
|
27
33
|
# An optional content-guard.
|
|
28
34
|
attr_accessor :content_guard
|
|
29
35
|
|
|
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
|
+
|
|
30
44
|
# A unique name. Ex, `rawhide` and `stable`.
|
|
31
45
|
attr_accessor :name
|
|
32
46
|
|
|
33
47
|
# The latest RepositoryVersion for this Repository will be served.
|
|
34
48
|
attr_accessor :repository
|
|
35
49
|
|
|
36
|
-
# RepositoryVersion to be served
|
|
37
|
-
attr_accessor :repository_version
|
|
38
|
-
|
|
39
50
|
# The URL of a Collection content source.
|
|
40
51
|
attr_accessor :client_url
|
|
41
52
|
|
|
42
|
-
|
|
53
|
+
# RepositoryVersion to be served
|
|
54
|
+
attr_accessor :repository_version
|
|
43
55
|
|
|
44
56
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
45
57
|
def self.attribute_map
|
|
46
58
|
{
|
|
47
59
|
:'pulp_href' => :'pulp_href',
|
|
60
|
+
:'prn' => :'prn',
|
|
48
61
|
:'pulp_created' => :'pulp_created',
|
|
62
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
|
49
63
|
:'base_path' => :'base_path',
|
|
50
64
|
:'content_guard' => :'content_guard',
|
|
65
|
+
:'no_content_change_since' => :'no_content_change_since',
|
|
66
|
+
:'hidden' => :'hidden',
|
|
67
|
+
:'pulp_labels' => :'pulp_labels',
|
|
51
68
|
:'name' => :'name',
|
|
52
69
|
:'repository' => :'repository',
|
|
53
|
-
:'repository_version' => :'repository_version',
|
|
54
70
|
:'client_url' => :'client_url',
|
|
55
|
-
:'
|
|
71
|
+
:'repository_version' => :'repository_version'
|
|
56
72
|
}
|
|
57
73
|
end
|
|
58
74
|
|
|
@@ -65,14 +81,18 @@ module PulpAnsibleClient
|
|
|
65
81
|
def self.openapi_types
|
|
66
82
|
{
|
|
67
83
|
:'pulp_href' => :'String',
|
|
84
|
+
:'prn' => :'String',
|
|
68
85
|
:'pulp_created' => :'Time',
|
|
86
|
+
:'pulp_last_updated' => :'Time',
|
|
69
87
|
:'base_path' => :'String',
|
|
70
88
|
:'content_guard' => :'String',
|
|
89
|
+
:'no_content_change_since' => :'String',
|
|
90
|
+
:'hidden' => :'Boolean',
|
|
91
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
71
92
|
:'name' => :'String',
|
|
72
93
|
:'repository' => :'String',
|
|
73
|
-
:'repository_version' => :'String',
|
|
74
94
|
:'client_url' => :'String',
|
|
75
|
-
:'
|
|
95
|
+
:'repository_version' => :'String'
|
|
76
96
|
}
|
|
77
97
|
end
|
|
78
98
|
|
|
@@ -81,7 +101,7 @@ module PulpAnsibleClient
|
|
|
81
101
|
Set.new([
|
|
82
102
|
:'content_guard',
|
|
83
103
|
:'repository',
|
|
84
|
-
:'repository_version'
|
|
104
|
+
:'repository_version'
|
|
85
105
|
])
|
|
86
106
|
end
|
|
87
107
|
|
|
@@ -104,10 +124,18 @@ module PulpAnsibleClient
|
|
|
104
124
|
self.pulp_href = attributes[:'pulp_href']
|
|
105
125
|
end
|
|
106
126
|
|
|
127
|
+
if attributes.key?(:'prn')
|
|
128
|
+
self.prn = attributes[:'prn']
|
|
129
|
+
end
|
|
130
|
+
|
|
107
131
|
if attributes.key?(:'pulp_created')
|
|
108
132
|
self.pulp_created = attributes[:'pulp_created']
|
|
109
133
|
end
|
|
110
134
|
|
|
135
|
+
if attributes.key?(:'pulp_last_updated')
|
|
136
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
137
|
+
end
|
|
138
|
+
|
|
111
139
|
if attributes.key?(:'base_path')
|
|
112
140
|
self.base_path = attributes[:'base_path']
|
|
113
141
|
else
|
|
@@ -118,6 +146,22 @@ module PulpAnsibleClient
|
|
|
118
146
|
self.content_guard = attributes[:'content_guard']
|
|
119
147
|
end
|
|
120
148
|
|
|
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
|
+
|
|
121
165
|
if attributes.key?(:'name')
|
|
122
166
|
self.name = attributes[:'name']
|
|
123
167
|
else
|
|
@@ -128,18 +172,12 @@ module PulpAnsibleClient
|
|
|
128
172
|
self.repository = attributes[:'repository']
|
|
129
173
|
end
|
|
130
174
|
|
|
131
|
-
if attributes.key?(:'repository_version')
|
|
132
|
-
self.repository_version = attributes[:'repository_version']
|
|
133
|
-
end
|
|
134
|
-
|
|
135
175
|
if attributes.key?(:'client_url')
|
|
136
176
|
self.client_url = attributes[:'client_url']
|
|
137
177
|
end
|
|
138
178
|
|
|
139
|
-
if attributes.key?(:'
|
|
140
|
-
|
|
141
|
-
self.pulp_labels = value
|
|
142
|
-
end
|
|
179
|
+
if attributes.key?(:'repository_version')
|
|
180
|
+
self.repository_version = attributes[:'repository_version']
|
|
143
181
|
end
|
|
144
182
|
end
|
|
145
183
|
|
|
@@ -174,14 +212,18 @@ module PulpAnsibleClient
|
|
|
174
212
|
return true if self.equal?(o)
|
|
175
213
|
self.class == o.class &&
|
|
176
214
|
pulp_href == o.pulp_href &&
|
|
215
|
+
prn == o.prn &&
|
|
177
216
|
pulp_created == o.pulp_created &&
|
|
217
|
+
pulp_last_updated == o.pulp_last_updated &&
|
|
178
218
|
base_path == o.base_path &&
|
|
179
219
|
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 &&
|
|
180
223
|
name == o.name &&
|
|
181
224
|
repository == o.repository &&
|
|
182
|
-
repository_version == o.repository_version &&
|
|
183
225
|
client_url == o.client_url &&
|
|
184
|
-
|
|
226
|
+
repository_version == o.repository_version
|
|
185
227
|
end
|
|
186
228
|
|
|
187
229
|
# @see the `==` method
|
|
@@ -193,7 +235,7 @@ module PulpAnsibleClient
|
|
|
193
235
|
# Calculates hash code according to all attributes.
|
|
194
236
|
# @return [Integer] Hash code
|
|
195
237
|
def hash
|
|
196
|
-
[pulp_href, pulp_created, base_path, content_guard, name, repository,
|
|
238
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, base_path, content_guard, no_content_change_since, hidden, pulp_labels, name, repository, client_url, repository_version].hash
|
|
197
239
|
end
|
|
198
240
|
|
|
199
241
|
# 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]
|
|
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]
|
|
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]
|
|
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]
|
|
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]
|
|
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]
|
|
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
|
|
@@ -16,22 +16,22 @@ require 'time'
|
|
|
16
16
|
module PulpAnsibleClient
|
|
17
17
|
# A serializer for CollectionVersion Content.
|
|
18
18
|
class AnsibleCollectionVersionResponse
|
|
19
|
-
|
|
20
|
-
attr_accessor :prn
|
|
19
|
+
attr_accessor :pulp_href
|
|
21
20
|
|
|
22
21
|
# Timestamp of creation.
|
|
23
22
|
attr_accessor :pulp_created
|
|
24
23
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
28
|
-
attr_accessor :pulp_labels
|
|
24
|
+
# Artifact file representing the physical content
|
|
25
|
+
attr_accessor :artifact
|
|
29
26
|
|
|
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
|
+
# The Pulp Resource Name (PRN).
|
|
31
|
+
attr_accessor :prn
|
|
32
|
+
|
|
33
|
+
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
|
34
|
+
attr_accessor :pulp_labels
|
|
35
35
|
|
|
36
36
|
# The SHA-256 checksum if available.
|
|
37
37
|
attr_accessor :sha256
|
|
@@ -95,12 +95,12 @@ module PulpAnsibleClient
|
|
|
95
95
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
96
96
|
def self.attribute_map
|
|
97
97
|
{
|
|
98
|
-
:'prn' => :'prn',
|
|
99
|
-
:'pulp_created' => :'pulp_created',
|
|
100
98
|
:'pulp_href' => :'pulp_href',
|
|
101
|
-
:'
|
|
102
|
-
:'pulp_last_updated' => :'pulp_last_updated',
|
|
99
|
+
:'pulp_created' => :'pulp_created',
|
|
103
100
|
:'artifact' => :'artifact',
|
|
101
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
|
102
|
+
:'prn' => :'prn',
|
|
103
|
+
:'pulp_labels' => :'pulp_labels',
|
|
104
104
|
:'sha256' => :'sha256',
|
|
105
105
|
:'md5' => :'md5',
|
|
106
106
|
:'sha1' => :'sha1',
|
|
@@ -132,12 +132,12 @@ module PulpAnsibleClient
|
|
|
132
132
|
# Attribute type mapping.
|
|
133
133
|
def self.openapi_types
|
|
134
134
|
{
|
|
135
|
-
:'prn' => :'String',
|
|
136
|
-
:'pulp_created' => :'Time',
|
|
137
135
|
:'pulp_href' => :'String',
|
|
138
|
-
:'
|
|
139
|
-
:'pulp_last_updated' => :'Time',
|
|
136
|
+
:'pulp_created' => :'Time',
|
|
140
137
|
:'artifact' => :'String',
|
|
138
|
+
:'pulp_last_updated' => :'Time',
|
|
139
|
+
:'prn' => :'String',
|
|
140
|
+
:'pulp_labels' => :'Hash<String, String>',
|
|
141
141
|
:'sha256' => :'String',
|
|
142
142
|
:'md5' => :'String',
|
|
143
143
|
:'sha1' => :'String',
|
|
@@ -183,30 +183,30 @@ module PulpAnsibleClient
|
|
|
183
183
|
h[k.to_sym] = v
|
|
184
184
|
}
|
|
185
185
|
|
|
186
|
-
if attributes.key?(:'
|
|
187
|
-
self.
|
|
186
|
+
if attributes.key?(:'pulp_href')
|
|
187
|
+
self.pulp_href = attributes[:'pulp_href']
|
|
188
188
|
end
|
|
189
189
|
|
|
190
190
|
if attributes.key?(:'pulp_created')
|
|
191
191
|
self.pulp_created = attributes[:'pulp_created']
|
|
192
192
|
end
|
|
193
193
|
|
|
194
|
-
if attributes.key?(:'
|
|
195
|
-
self.
|
|
196
|
-
end
|
|
197
|
-
|
|
198
|
-
if attributes.key?(:'pulp_labels')
|
|
199
|
-
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
200
|
-
self.pulp_labels = value
|
|
201
|
-
end
|
|
194
|
+
if attributes.key?(:'artifact')
|
|
195
|
+
self.artifact = attributes[:'artifact']
|
|
202
196
|
end
|
|
203
197
|
|
|
204
198
|
if attributes.key?(:'pulp_last_updated')
|
|
205
199
|
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
|
206
200
|
end
|
|
207
201
|
|
|
208
|
-
if attributes.key?(:'
|
|
209
|
-
self.
|
|
202
|
+
if attributes.key?(:'prn')
|
|
203
|
+
self.prn = attributes[:'prn']
|
|
204
|
+
end
|
|
205
|
+
|
|
206
|
+
if attributes.key?(:'pulp_labels')
|
|
207
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
|
208
|
+
self.pulp_labels = value
|
|
209
|
+
end
|
|
210
210
|
end
|
|
211
211
|
|
|
212
212
|
if attributes.key?(:'sha256')
|
|
@@ -464,12 +464,12 @@ module PulpAnsibleClient
|
|
|
464
464
|
def ==(o)
|
|
465
465
|
return true if self.equal?(o)
|
|
466
466
|
self.class == o.class &&
|
|
467
|
-
prn == o.prn &&
|
|
468
|
-
pulp_created == o.pulp_created &&
|
|
469
467
|
pulp_href == o.pulp_href &&
|
|
470
|
-
|
|
471
|
-
pulp_last_updated == o.pulp_last_updated &&
|
|
468
|
+
pulp_created == o.pulp_created &&
|
|
472
469
|
artifact == o.artifact &&
|
|
470
|
+
pulp_last_updated == o.pulp_last_updated &&
|
|
471
|
+
prn == o.prn &&
|
|
472
|
+
pulp_labels == o.pulp_labels &&
|
|
473
473
|
sha256 == o.sha256 &&
|
|
474
474
|
md5 == o.md5 &&
|
|
475
475
|
sha1 == o.sha1 &&
|
|
@@ -501,7 +501,7 @@ module PulpAnsibleClient
|
|
|
501
501
|
# Calculates hash code according to all attributes.
|
|
502
502
|
# @return [Integer] Hash code
|
|
503
503
|
def hash
|
|
504
|
-
[
|
|
504
|
+
[pulp_href, pulp_created, artifact, pulp_last_updated, prn, pulp_labels, sha256, md5, sha1, sha224, sha384, sha512, id, authors, dependencies, description, documentation, homepage, issues, license, name, namespace, origin_repository, tags, version, requires_ansible].hash
|
|
505
505
|
end
|
|
506
506
|
|
|
507
507
|
# Builds the object from hash
|