pulp_ansible_client 0.13.6 → 0.14.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +5 -5
- data/docs/AnsibleCollectionRemote.md +2 -2
- data/docs/AnsibleCollectionRemoteResponse.md +2 -0
- data/docs/AnsibleCollectionVersion.md +2 -0
- data/docs/AnsibleCollectionVersionResponse.md +2 -2
- data/docs/AnsibleCollectionsApi.md +2 -2
- data/docs/AnsibleGitRemote.md +24 -24
- data/docs/AnsibleGitRemoteResponse.md +22 -22
- data/docs/AnsibleRoleRemote.md +2 -2
- data/docs/AnsibleRoleResponse.md +2 -2
- data/docs/ContentCollectionDeprecationsApi.md +2 -2
- data/docs/ContentCollectionSignaturesApi.md +2 -2
- data/docs/ContentCollectionVersionsApi.md +4 -2
- data/docs/ContentRolesApi.md +2 -2
- data/docs/DistributionsAnsibleApi.md +2 -2
- data/docs/PatchedansibleCollectionRemote.md +2 -2
- data/docs/PatchedansibleGitRemote.md +24 -24
- data/docs/PatchedansibleRoleRemote.md +2 -2
- data/docs/PulpAnsibleApiV3CollectionsAllApi.md +2 -0
- data/docs/PulpAnsibleApiV3CollectionsApi.md +2 -0
- data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +2 -0
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +2 -0
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md +2 -0
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +2 -0
- data/docs/PulpAnsibleDefaultApiV3CollectionsAllApi.md +2 -0
- data/docs/PulpAnsibleDefaultApiV3CollectionsApi.md +2 -0
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +2 -0
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +2 -0
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.md +2 -0
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +2 -0
- data/docs/PulpAnsibleTagsApi.md +0 -2
- data/docs/RemotesCollectionApi.md +2 -2
- data/docs/RemotesGitApi.md +2 -2
- data/docs/RemotesRoleApi.md +2 -2
- data/docs/RepositoriesAnsibleApi.md +2 -2
- data/docs/RepositoriesAnsibleVersionsApi.md +2 -2
- data/git_push.sh +58 -0
- data/lib/pulp_ansible_client/api/ansible_collections_api.rb +7 -3
- data/lib/pulp_ansible_client/api/content_collection_deprecations_api.rb +7 -3
- data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +7 -3
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +10 -3
- data/lib/pulp_ansible_client/api/content_roles_api.rb +7 -3
- data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +7 -3
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_all_api.rb +7 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_api.rb +7 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_api.rb +7 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api.rb +7 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api.rb +7 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api.rb +7 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_all_api.rb +7 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_api.rb +7 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_api.rb +7 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api.rb +7 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api.rb +7 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api.rb +7 -0
- data/lib/pulp_ansible_client/api/pulp_ansible_tags_api.rb +0 -3
- data/lib/pulp_ansible_client/api/remotes_collection_api.rb +7 -3
- data/lib/pulp_ansible_client/api/remotes_git_api.rb +7 -3
- data/lib/pulp_ansible_client/api/remotes_role_api.rb +7 -3
- data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +7 -3
- data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +7 -3
- data/lib/pulp_ansible_client/api_client.rb +1 -1
- data/lib/pulp_ansible_client/models/ansible_collection_remote.rb +2 -2
- data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +27 -1
- data/lib/pulp_ansible_client/models/ansible_collection_version.rb +11 -1
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +10 -10
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +208 -208
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +128 -128
- data/lib/pulp_ansible_client/models/ansible_role_remote.rb +2 -2
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +10 -10
- data/lib/pulp_ansible_client/models/patchedansible_collection_remote.rb +2 -2
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +199 -199
- data/lib/pulp_ansible_client/models/patchedansible_role_remote.rb +2 -2
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/pulp_ansible_client.gemspec +3 -3
- data/spec/api/ansible_collections_api_spec.rb +1 -1
- data/spec/api/content_collection_deprecations_api_spec.rb +1 -1
- data/spec/api/content_collection_signatures_api_spec.rb +1 -1
- data/spec/api/content_collection_versions_api_spec.rb +2 -1
- data/spec/api/content_roles_api_spec.rb +1 -1
- data/spec/api/distributions_ansible_api_spec.rb +1 -1
- data/spec/api/pulp_ansible_api_v3_collections_all_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_collections_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_collections_versions_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_default_api_v3_collections_all_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_default_api_v3_collections_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_default_api_v3_collections_versions_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +1 -0
- data/spec/api/pulp_ansible_tags_api_spec.rb +0 -1
- data/spec/api/remotes_collection_api_spec.rb +1 -1
- data/spec/api/remotes_git_api_spec.rb +1 -1
- data/spec/api/remotes_role_api_spec.rb +1 -1
- data/spec/api/repositories_ansible_api_spec.rb +1 -1
- data/spec/api/repositories_ansible_versions_api_spec.rb +1 -1
- data/spec/models/ansible_collection_remote_response_spec.rb +6 -0
- data/spec/models/ansible_collection_version_response_spec.rb +2 -2
- data/spec/models/ansible_collection_version_spec.rb +6 -0
- data/spec/models/ansible_git_remote_response_spec.rb +16 -16
- data/spec/models/ansible_git_remote_spec.rb +18 -18
- data/spec/models/ansible_role_response_spec.rb +2 -2
- data/spec/models/patchedansible_git_remote_spec.rb +18 -18
- metadata +101 -100
@@ -95,7 +95,7 @@ module PulpAnsibleClient
|
|
95
95
|
# @option opts [Integer] :number__lte Filter results where number is less than or equal to value
|
96
96
|
# @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
|
97
97
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
98
|
-
# @option opts [String] :ordering
|
98
|
+
# @option opts [Array<String>] :ordering Ordering
|
99
99
|
# @option opts [DateTime] :pulp_created ISO 8601 formatted dates are supported
|
100
100
|
# @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
|
101
101
|
# @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
@@ -124,7 +124,7 @@ module PulpAnsibleClient
|
|
124
124
|
# @option opts [Integer] :number__lte Filter results where number is less than or equal to value
|
125
125
|
# @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
|
126
126
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
127
|
-
# @option opts [String] :ordering
|
127
|
+
# @option opts [Array<String>] :ordering Ordering
|
128
128
|
# @option opts [DateTime] :pulp_created ISO 8601 formatted dates are supported
|
129
129
|
# @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
|
130
130
|
# @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
@@ -142,6 +142,10 @@ module PulpAnsibleClient
|
|
142
142
|
if @api_client.config.client_side_validation && ansible_ansible_repository_href.nil?
|
143
143
|
fail ArgumentError, "Missing the required parameter 'ansible_ansible_repository_href' when calling RepositoriesAnsibleVersionsApi.list"
|
144
144
|
end
|
145
|
+
allowable_values = ["-added_memberships", "-base_version", "-complete", "-counts", "-distribution", "-group_roles", "-number", "-pk", "-publication", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-removed_memberships", "-repository", "-user_roles", "-versions", "added_memberships", "base_version", "complete", "counts", "distribution", "group_roles", "number", "pk", "publication", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "removed_memberships", "repository", "user_roles", "versions"]
|
146
|
+
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
147
|
+
fail ArgumentError, "invalid value for \"ordering\", must include one of #{allowable_values}"
|
148
|
+
end
|
145
149
|
# resource path
|
146
150
|
local_var_path = '{ansible_ansible_repository_href}versions/'.sub('{' + 'ansible_ansible_repository_href' + '}', CGI.escape(ansible_ansible_repository_href.to_s).gsub('%2F', '/'))
|
147
151
|
|
@@ -157,7 +161,7 @@ module PulpAnsibleClient
|
|
157
161
|
query_params[:'number__lte'] = opts[:'number__lte'] if !opts[:'number__lte'].nil?
|
158
162
|
query_params[:'number__range'] = @api_client.build_collection_param(opts[:'number__range'], :csv) if !opts[:'number__range'].nil?
|
159
163
|
query_params[:'offset'] = opts[:'offset'] if !opts[:'offset'].nil?
|
160
|
-
query_params[:'ordering'] = opts[:'ordering'] if !opts[:'ordering'].nil?
|
164
|
+
query_params[:'ordering'] = @api_client.build_collection_param(opts[:'ordering'], :csv) if !opts[:'ordering'].nil?
|
161
165
|
query_params[:'pulp_created'] = opts[:'pulp_created'] if !opts[:'pulp_created'].nil?
|
162
166
|
query_params[:'pulp_created__gt'] = opts[:'pulp_created__gt'] if !opts[:'pulp_created__gt'].nil?
|
163
167
|
query_params[:'pulp_created__gte'] = opts[:'pulp_created__gte'] if !opts[:'pulp_created__gte'].nil?
|
@@ -154,7 +154,7 @@ module PulpAnsibleClient
|
|
154
154
|
case value
|
155
155
|
when ::File, ::Tempfile
|
156
156
|
# TODO hardcode to application/octet-stream, need better way to detect content type
|
157
|
-
data[key] = Faraday::
|
157
|
+
data[key] = Faraday::UploadIO.new(value.path, 'application/octet-stream', value.path)
|
158
158
|
when ::Array, nil
|
159
159
|
# let Faraday handle Array and nil parameters
|
160
160
|
data[key] = value
|
@@ -39,13 +39,13 @@ module PulpAnsibleClient
|
|
39
39
|
# The username to authenticte to the proxy.
|
40
40
|
attr_accessor :proxy_username
|
41
41
|
|
42
|
-
# The password to
|
42
|
+
# The password to authenticate to the proxy. Extra leading and trailing whitespace characters are not trimmed.
|
43
43
|
attr_accessor :proxy_password
|
44
44
|
|
45
45
|
# The username to be used for authentication when syncing.
|
46
46
|
attr_accessor :username
|
47
47
|
|
48
|
-
# The password to be used for authentication when syncing.
|
48
|
+
# The password to be used for authentication when syncing. Extra leading and trailing whitespace characters are not trimmed.
|
49
49
|
attr_accessor :password
|
50
50
|
|
51
51
|
attr_accessor :pulp_labels
|
@@ -76,6 +76,9 @@ module PulpAnsibleClient
|
|
76
76
|
# The URL to receive a session token from, e.g. used with Automation Hub.
|
77
77
|
attr_accessor :auth_url
|
78
78
|
|
79
|
+
# The token key to use for authentication. See https://docs.ansible.com/ansible/latest/user_guide/collections_using.html#configuring-the-ansible-galaxy-clientfor more details
|
80
|
+
attr_accessor :token
|
81
|
+
|
79
82
|
# Sync dependencies for collections specified via requirements file
|
80
83
|
attr_accessor :sync_dependencies
|
81
84
|
|
@@ -106,6 +109,7 @@ module PulpAnsibleClient
|
|
106
109
|
:'rate_limit' => :'rate_limit',
|
107
110
|
:'requirements_file' => :'requirements_file',
|
108
111
|
:'auth_url' => :'auth_url',
|
112
|
+
:'token' => :'token',
|
109
113
|
:'sync_dependencies' => :'sync_dependencies',
|
110
114
|
:'signed_only' => :'signed_only'
|
111
115
|
}
|
@@ -135,6 +139,7 @@ module PulpAnsibleClient
|
|
135
139
|
:'rate_limit' => :'Integer',
|
136
140
|
:'requirements_file' => :'String',
|
137
141
|
:'auth_url' => :'String',
|
142
|
+
:'token' => :'String',
|
138
143
|
:'sync_dependencies' => :'Boolean',
|
139
144
|
:'signed_only' => :'Boolean'
|
140
145
|
}
|
@@ -155,6 +160,7 @@ module PulpAnsibleClient
|
|
155
160
|
:'rate_limit',
|
156
161
|
:'requirements_file',
|
157
162
|
:'auth_url',
|
163
|
+
:'token',
|
158
164
|
:'sync_dependencies',
|
159
165
|
:'signed_only'
|
160
166
|
])
|
@@ -261,6 +267,10 @@ module PulpAnsibleClient
|
|
261
267
|
self.auth_url = attributes[:'auth_url']
|
262
268
|
end
|
263
269
|
|
270
|
+
if attributes.key?(:'token')
|
271
|
+
self.token = attributes[:'token']
|
272
|
+
end
|
273
|
+
|
264
274
|
if attributes.key?(:'sync_dependencies')
|
265
275
|
self.sync_dependencies = attributes[:'sync_dependencies']
|
266
276
|
else
|
@@ -310,6 +320,10 @@ module PulpAnsibleClient
|
|
310
320
|
invalid_properties.push('invalid value for "auth_url", the character length must be smaller than or equal to 255.')
|
311
321
|
end
|
312
322
|
|
323
|
+
if !@token.nil? && @token.to_s.length > 2000
|
324
|
+
invalid_properties.push('invalid value for "token", the character length must be smaller than or equal to 2000.')
|
325
|
+
end
|
326
|
+
|
313
327
|
invalid_properties
|
314
328
|
end
|
315
329
|
|
@@ -324,6 +338,7 @@ module PulpAnsibleClient
|
|
324
338
|
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0.0
|
325
339
|
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0.0
|
326
340
|
return false if !@auth_url.nil? && @auth_url.to_s.length > 255
|
341
|
+
return false if !@token.nil? && @token.to_s.length > 2000
|
327
342
|
true
|
328
343
|
end
|
329
344
|
|
@@ -387,6 +402,16 @@ module PulpAnsibleClient
|
|
387
402
|
@auth_url = auth_url
|
388
403
|
end
|
389
404
|
|
405
|
+
# Custom attribute writer method with validation
|
406
|
+
# @param [Object] token Value to be assigned
|
407
|
+
def token=(token)
|
408
|
+
if !token.nil? && token.to_s.length > 2000
|
409
|
+
fail ArgumentError, 'invalid value for "token", the character length must be smaller than or equal to 2000.'
|
410
|
+
end
|
411
|
+
|
412
|
+
@token = token
|
413
|
+
end
|
414
|
+
|
390
415
|
# Checks equality by comparing each attribute.
|
391
416
|
# @param [Object] Object to be compared
|
392
417
|
def ==(o)
|
@@ -413,6 +438,7 @@ module PulpAnsibleClient
|
|
413
438
|
rate_limit == o.rate_limit &&
|
414
439
|
requirements_file == o.requirements_file &&
|
415
440
|
auth_url == o.auth_url &&
|
441
|
+
token == o.token &&
|
416
442
|
sync_dependencies == o.sync_dependencies &&
|
417
443
|
signed_only == o.signed_only
|
418
444
|
end
|
@@ -426,7 +452,7 @@ module PulpAnsibleClient
|
|
426
452
|
# Calculates hash code according to all attributes.
|
427
453
|
# @return [Integer] Hash code
|
428
454
|
def hash
|
429
|
-
[pulp_href, pulp_created, name, url, ca_cert, client_cert, tls_validation, proxy_url, pulp_labels, pulp_last_updated, download_concurrency, max_retries, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, rate_limit, requirements_file, auth_url, sync_dependencies, signed_only].hash
|
455
|
+
[pulp_href, pulp_created, name, url, ca_cert, client_cert, tls_validation, proxy_url, pulp_labels, pulp_last_updated, download_concurrency, max_retries, policy, total_timeout, connect_timeout, sock_connect_timeout, sock_read_timeout, headers, rate_limit, requirements_file, auth_url, token, sync_dependencies, signed_only].hash
|
430
456
|
end
|
431
457
|
|
432
458
|
# Builds the object from hash
|
@@ -18,6 +18,9 @@ module PulpAnsibleClient
|
|
18
18
|
# An uploaded file that may be turned into the artifact of the content unit.
|
19
19
|
attr_accessor :file
|
20
20
|
|
21
|
+
# An uncommitted upload that may be turned into the artifact of the content unit.
|
22
|
+
attr_accessor :upload
|
23
|
+
|
21
24
|
# A URI of a repository the new content unit should be associated with.
|
22
25
|
attr_accessor :repository
|
23
26
|
|
@@ -34,6 +37,7 @@ module PulpAnsibleClient
|
|
34
37
|
def self.attribute_map
|
35
38
|
{
|
36
39
|
:'file' => :'file',
|
40
|
+
:'upload' => :'upload',
|
37
41
|
:'repository' => :'repository',
|
38
42
|
:'name' => :'name',
|
39
43
|
:'namespace' => :'namespace',
|
@@ -45,6 +49,7 @@ module PulpAnsibleClient
|
|
45
49
|
def self.openapi_types
|
46
50
|
{
|
47
51
|
:'file' => :'File',
|
52
|
+
:'upload' => :'String',
|
48
53
|
:'repository' => :'String',
|
49
54
|
:'name' => :'String',
|
50
55
|
:'namespace' => :'String',
|
@@ -77,6 +82,10 @@ module PulpAnsibleClient
|
|
77
82
|
self.file = attributes[:'file']
|
78
83
|
end
|
79
84
|
|
85
|
+
if attributes.key?(:'upload')
|
86
|
+
self.upload = attributes[:'upload']
|
87
|
+
end
|
88
|
+
|
80
89
|
if attributes.key?(:'repository')
|
81
90
|
self.repository = attributes[:'repository']
|
82
91
|
end
|
@@ -212,6 +221,7 @@ module PulpAnsibleClient
|
|
212
221
|
return true if self.equal?(o)
|
213
222
|
self.class == o.class &&
|
214
223
|
file == o.file &&
|
224
|
+
upload == o.upload &&
|
215
225
|
repository == o.repository &&
|
216
226
|
name == o.name &&
|
217
227
|
namespace == o.namespace &&
|
@@ -227,7 +237,7 @@ module PulpAnsibleClient
|
|
227
237
|
# Calculates hash code according to all attributes.
|
228
238
|
# @return [Integer] Hash code
|
229
239
|
def hash
|
230
|
-
[file, repository, name, namespace, version].hash
|
240
|
+
[file, upload, repository, name, namespace, version].hash
|
231
241
|
end
|
232
242
|
|
233
243
|
# Builds the object from hash
|
@@ -18,11 +18,11 @@ module PulpAnsibleClient
|
|
18
18
|
# Artifact file representing the physical content
|
19
19
|
attr_accessor :artifact
|
20
20
|
|
21
|
+
attr_accessor :pulp_href
|
22
|
+
|
21
23
|
# Timestamp of creation.
|
22
24
|
attr_accessor :pulp_created
|
23
25
|
|
24
|
-
attr_accessor :pulp_href
|
25
|
-
|
26
26
|
# The MD5 checksum if available.
|
27
27
|
attr_accessor :md5
|
28
28
|
|
@@ -98,8 +98,8 @@ module PulpAnsibleClient
|
|
98
98
|
def self.attribute_map
|
99
99
|
{
|
100
100
|
:'artifact' => :'artifact',
|
101
|
-
:'pulp_created' => :'pulp_created',
|
102
101
|
:'pulp_href' => :'pulp_href',
|
102
|
+
:'pulp_created' => :'pulp_created',
|
103
103
|
:'md5' => :'md5',
|
104
104
|
:'sha1' => :'sha1',
|
105
105
|
:'sha224' => :'sha224',
|
@@ -131,8 +131,8 @@ module PulpAnsibleClient
|
|
131
131
|
def self.openapi_types
|
132
132
|
{
|
133
133
|
:'artifact' => :'String',
|
134
|
-
:'pulp_created' => :'DateTime',
|
135
134
|
:'pulp_href' => :'String',
|
135
|
+
:'pulp_created' => :'DateTime',
|
136
136
|
:'md5' => :'String',
|
137
137
|
:'sha1' => :'String',
|
138
138
|
:'sha224' => :'String',
|
@@ -186,14 +186,14 @@ module PulpAnsibleClient
|
|
186
186
|
self.artifact = attributes[:'artifact']
|
187
187
|
end
|
188
188
|
|
189
|
-
if attributes.key?(:'pulp_created')
|
190
|
-
self.pulp_created = attributes[:'pulp_created']
|
191
|
-
end
|
192
|
-
|
193
189
|
if attributes.key?(:'pulp_href')
|
194
190
|
self.pulp_href = attributes[:'pulp_href']
|
195
191
|
end
|
196
192
|
|
193
|
+
if attributes.key?(:'pulp_created')
|
194
|
+
self.pulp_created = attributes[:'pulp_created']
|
195
|
+
end
|
196
|
+
|
197
197
|
if attributes.key?(:'md5')
|
198
198
|
self.md5 = attributes[:'md5']
|
199
199
|
end
|
@@ -544,8 +544,8 @@ module PulpAnsibleClient
|
|
544
544
|
return true if self.equal?(o)
|
545
545
|
self.class == o.class &&
|
546
546
|
artifact == o.artifact &&
|
547
|
-
pulp_created == o.pulp_created &&
|
548
547
|
pulp_href == o.pulp_href &&
|
548
|
+
pulp_created == o.pulp_created &&
|
549
549
|
md5 == o.md5 &&
|
550
550
|
sha1 == o.sha1 &&
|
551
551
|
sha224 == o.sha224 &&
|
@@ -581,7 +581,7 @@ module PulpAnsibleClient
|
|
581
581
|
# Calculates hash code according to all attributes.
|
582
582
|
# @return [Integer] Hash code
|
583
583
|
def hash
|
584
|
-
[artifact,
|
584
|
+
[artifact, pulp_href, pulp_created, md5, sha1, sha224, sha256, sha384, sha512, id, authors, contents, dependencies, description, docs_blob, manifest, files, documentation, homepage, issues, license, name, namespace, repository, tags, version, requires_ansible].hash
|
585
585
|
end
|
586
586
|
|
587
587
|
# Builds the object from hash
|