pulp_ansible_client 0.22.4 → 0.23.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/AnsibleCollectionVersion.md +4 -4
- data/docs/AnsibleCollectionVersionResponse.md +6 -6
- data/docs/AnsibleGitRemote.md +29 -29
- data/docs/AnsibleGitRemoteResponse.md +26 -26
- data/docs/AnsibleRole.md +3 -3
- data/docs/AnsibleRoleResponse.md +6 -6
- data/docs/ContentCollectionVersionsApi.md +6 -8
- data/docs/PatchedansibleGitRemote.md +29 -29
- data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +2 -4
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +2 -4
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +2 -4
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +2 -4
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +9 -12
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_api.rb +3 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api.rb +3 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_api.rb +3 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api.rb +3 -6
- data/lib/pulp_ansible_client/models/ansible_collection_remote.rb +20 -20
- data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +20 -20
- data/lib/pulp_ansible_client/models/ansible_collection_version.rb +18 -18
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +24 -24
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +239 -239
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +154 -154
- data/lib/pulp_ansible_client/models/ansible_role.rb +11 -11
- data/lib/pulp_ansible_client/models/ansible_role_remote.rb +20 -20
- data/lib/pulp_ansible_client/models/ansible_role_remote_response.rb +20 -20
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +24 -24
- data/lib/pulp_ansible_client/models/patchedansible_collection_remote.rb +20 -20
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +239 -239
- data/lib/pulp_ansible_client/models/patchedansible_role_remote.rb +20 -20
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/spec/api/content_collection_versions_api_spec.rb +3 -4
- data/spec/api/pulp_ansible_api_v3_collections_versions_api_spec.rb +1 -2
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +1 -2
- data/spec/api/pulp_ansible_default_api_v3_collections_versions_api_spec.rb +1 -2
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +1 -2
- data/spec/models/ansible_collection_version_response_spec.rb +4 -4
- data/spec/models/ansible_collection_version_spec.rb +3 -3
- data/spec/models/ansible_git_remote_response_spec.rb +18 -18
- data/spec/models/ansible_git_remote_spec.rb +19 -19
- data/spec/models/ansible_role_response_spec.rb +4 -4
- data/spec/models/ansible_role_spec.rb +2 -2
- data/spec/models/patchedansible_git_remote_spec.rb +19 -19
- metadata +132 -132
@@ -364,20 +364,20 @@ module PulpAnsibleClient
|
|
364
364
|
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
365
365
|
end
|
366
366
|
|
367
|
-
if !@total_timeout.nil? && @total_timeout < 0
|
368
|
-
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.
|
367
|
+
if !@total_timeout.nil? && @total_timeout < 0
|
368
|
+
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.')
|
369
369
|
end
|
370
370
|
|
371
|
-
if !@connect_timeout.nil? && @connect_timeout < 0
|
372
|
-
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.
|
371
|
+
if !@connect_timeout.nil? && @connect_timeout < 0
|
372
|
+
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.')
|
373
373
|
end
|
374
374
|
|
375
|
-
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
376
|
-
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.
|
375
|
+
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
376
|
+
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.')
|
377
377
|
end
|
378
378
|
|
379
|
-
if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
380
|
-
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.
|
379
|
+
if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
380
|
+
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.')
|
381
381
|
end
|
382
382
|
|
383
383
|
if !@requirements_file.nil? && @requirements_file.to_s.length < 1
|
@@ -419,10 +419,10 @@ module PulpAnsibleClient
|
|
419
419
|
return false if !@username.nil? && @username.to_s.length < 1
|
420
420
|
return false if !@password.nil? && @password.to_s.length < 1
|
421
421
|
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
422
|
-
return false if !@total_timeout.nil? && @total_timeout < 0
|
423
|
-
return false if !@connect_timeout.nil? && @connect_timeout < 0
|
424
|
-
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
425
|
-
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
422
|
+
return false if !@total_timeout.nil? && @total_timeout < 0
|
423
|
+
return false if !@connect_timeout.nil? && @connect_timeout < 0
|
424
|
+
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
425
|
+
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
426
426
|
return false if !@requirements_file.nil? && @requirements_file.to_s.length < 1
|
427
427
|
return false if !@auth_url.nil? && @auth_url.to_s.length > 255
|
428
428
|
return false if !@auth_url.nil? && @auth_url.to_s.length < 1
|
@@ -552,8 +552,8 @@ module PulpAnsibleClient
|
|
552
552
|
# Custom attribute writer method with validation
|
553
553
|
# @param [Object] total_timeout Value to be assigned
|
554
554
|
def total_timeout=(total_timeout)
|
555
|
-
if !total_timeout.nil? && total_timeout < 0
|
556
|
-
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.
|
555
|
+
if !total_timeout.nil? && total_timeout < 0
|
556
|
+
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.'
|
557
557
|
end
|
558
558
|
|
559
559
|
@total_timeout = total_timeout
|
@@ -562,8 +562,8 @@ module PulpAnsibleClient
|
|
562
562
|
# Custom attribute writer method with validation
|
563
563
|
# @param [Object] connect_timeout Value to be assigned
|
564
564
|
def connect_timeout=(connect_timeout)
|
565
|
-
if !connect_timeout.nil? && connect_timeout < 0
|
566
|
-
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.
|
565
|
+
if !connect_timeout.nil? && connect_timeout < 0
|
566
|
+
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.'
|
567
567
|
end
|
568
568
|
|
569
569
|
@connect_timeout = connect_timeout
|
@@ -572,8 +572,8 @@ module PulpAnsibleClient
|
|
572
572
|
# Custom attribute writer method with validation
|
573
573
|
# @param [Object] sock_connect_timeout Value to be assigned
|
574
574
|
def sock_connect_timeout=(sock_connect_timeout)
|
575
|
-
if !sock_connect_timeout.nil? && sock_connect_timeout < 0
|
576
|
-
fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.
|
575
|
+
if !sock_connect_timeout.nil? && sock_connect_timeout < 0
|
576
|
+
fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.'
|
577
577
|
end
|
578
578
|
|
579
579
|
@sock_connect_timeout = sock_connect_timeout
|
@@ -582,8 +582,8 @@ module PulpAnsibleClient
|
|
582
582
|
# Custom attribute writer method with validation
|
583
583
|
# @param [Object] sock_read_timeout Value to be assigned
|
584
584
|
def sock_read_timeout=(sock_read_timeout)
|
585
|
-
if !sock_read_timeout.nil? && sock_read_timeout < 0
|
586
|
-
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.
|
585
|
+
if !sock_read_timeout.nil? && sock_read_timeout < 0
|
586
|
+
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.'
|
587
587
|
end
|
588
588
|
|
589
589
|
@sock_read_timeout = sock_read_timeout
|
@@ -318,20 +318,20 @@ module PulpAnsibleClient
|
|
318
318
|
invalid_properties.push('invalid value for "download_concurrency", must be greater than or equal to 1.')
|
319
319
|
end
|
320
320
|
|
321
|
-
if !@total_timeout.nil? && @total_timeout < 0
|
322
|
-
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.
|
321
|
+
if !@total_timeout.nil? && @total_timeout < 0
|
322
|
+
invalid_properties.push('invalid value for "total_timeout", must be greater than or equal to 0.')
|
323
323
|
end
|
324
324
|
|
325
|
-
if !@connect_timeout.nil? && @connect_timeout < 0
|
326
|
-
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.
|
325
|
+
if !@connect_timeout.nil? && @connect_timeout < 0
|
326
|
+
invalid_properties.push('invalid value for "connect_timeout", must be greater than or equal to 0.')
|
327
327
|
end
|
328
328
|
|
329
|
-
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
330
|
-
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.
|
329
|
+
if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
330
|
+
invalid_properties.push('invalid value for "sock_connect_timeout", must be greater than or equal to 0.')
|
331
331
|
end
|
332
332
|
|
333
|
-
if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
334
|
-
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.
|
333
|
+
if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
334
|
+
invalid_properties.push('invalid value for "sock_read_timeout", must be greater than or equal to 0.')
|
335
335
|
end
|
336
336
|
|
337
337
|
if !@auth_url.nil? && @auth_url.to_s.length > 255
|
@@ -347,10 +347,10 @@ module PulpAnsibleClient
|
|
347
347
|
return false if @name.nil?
|
348
348
|
return false if @url.nil?
|
349
349
|
return false if !@download_concurrency.nil? && @download_concurrency < 1
|
350
|
-
return false if !@total_timeout.nil? && @total_timeout < 0
|
351
|
-
return false if !@connect_timeout.nil? && @connect_timeout < 0
|
352
|
-
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
353
|
-
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
350
|
+
return false if !@total_timeout.nil? && @total_timeout < 0
|
351
|
+
return false if !@connect_timeout.nil? && @connect_timeout < 0
|
352
|
+
return false if !@sock_connect_timeout.nil? && @sock_connect_timeout < 0
|
353
|
+
return false if !@sock_read_timeout.nil? && @sock_read_timeout < 0
|
354
354
|
return false if !@auth_url.nil? && @auth_url.to_s.length > 255
|
355
355
|
true
|
356
356
|
end
|
@@ -368,8 +368,8 @@ module PulpAnsibleClient
|
|
368
368
|
# Custom attribute writer method with validation
|
369
369
|
# @param [Object] total_timeout Value to be assigned
|
370
370
|
def total_timeout=(total_timeout)
|
371
|
-
if !total_timeout.nil? && total_timeout < 0
|
372
|
-
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.
|
371
|
+
if !total_timeout.nil? && total_timeout < 0
|
372
|
+
fail ArgumentError, 'invalid value for "total_timeout", must be greater than or equal to 0.'
|
373
373
|
end
|
374
374
|
|
375
375
|
@total_timeout = total_timeout
|
@@ -378,8 +378,8 @@ module PulpAnsibleClient
|
|
378
378
|
# Custom attribute writer method with validation
|
379
379
|
# @param [Object] connect_timeout Value to be assigned
|
380
380
|
def connect_timeout=(connect_timeout)
|
381
|
-
if !connect_timeout.nil? && connect_timeout < 0
|
382
|
-
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.
|
381
|
+
if !connect_timeout.nil? && connect_timeout < 0
|
382
|
+
fail ArgumentError, 'invalid value for "connect_timeout", must be greater than or equal to 0.'
|
383
383
|
end
|
384
384
|
|
385
385
|
@connect_timeout = connect_timeout
|
@@ -388,8 +388,8 @@ module PulpAnsibleClient
|
|
388
388
|
# Custom attribute writer method with validation
|
389
389
|
# @param [Object] sock_connect_timeout Value to be assigned
|
390
390
|
def sock_connect_timeout=(sock_connect_timeout)
|
391
|
-
if !sock_connect_timeout.nil? && sock_connect_timeout < 0
|
392
|
-
fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.
|
391
|
+
if !sock_connect_timeout.nil? && sock_connect_timeout < 0
|
392
|
+
fail ArgumentError, 'invalid value for "sock_connect_timeout", must be greater than or equal to 0.'
|
393
393
|
end
|
394
394
|
|
395
395
|
@sock_connect_timeout = sock_connect_timeout
|
@@ -398,8 +398,8 @@ module PulpAnsibleClient
|
|
398
398
|
# Custom attribute writer method with validation
|
399
399
|
# @param [Object] sock_read_timeout Value to be assigned
|
400
400
|
def sock_read_timeout=(sock_read_timeout)
|
401
|
-
if !sock_read_timeout.nil? && sock_read_timeout < 0
|
402
|
-
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.
|
401
|
+
if !sock_read_timeout.nil? && sock_read_timeout < 0
|
402
|
+
fail ArgumentError, 'invalid value for "sock_read_timeout", must be greater than or equal to 0.'
|
403
403
|
end
|
404
404
|
|
405
405
|
@sock_read_timeout = sock_read_timeout
|
@@ -15,8 +15,8 @@ require 'date'
|
|
15
15
|
module PulpAnsibleClient
|
16
16
|
# A serializer for CollectionVersion Content.
|
17
17
|
class AnsibleCollectionVersion
|
18
|
-
# An
|
19
|
-
attr_accessor :
|
18
|
+
# An uploaded file that may be turned into the content unit.
|
19
|
+
attr_accessor :file
|
20
20
|
|
21
21
|
# A URI of a repository the new content unit should be associated with.
|
22
22
|
attr_accessor :repository
|
@@ -24,12 +24,12 @@ module PulpAnsibleClient
|
|
24
24
|
# Artifact file representing the physical content
|
25
25
|
attr_accessor :artifact
|
26
26
|
|
27
|
-
# An uploaded file that may be turned into the content unit.
|
28
|
-
attr_accessor :file
|
29
|
-
|
30
27
|
# A url that Pulp can download and turn into the content unit.
|
31
28
|
attr_accessor :file_url
|
32
29
|
|
30
|
+
# An uncommitted upload that may be turned into the content unit.
|
31
|
+
attr_accessor :upload
|
32
|
+
|
33
33
|
# The name of the collection.
|
34
34
|
attr_accessor :expected_name
|
35
35
|
|
@@ -42,11 +42,11 @@ module PulpAnsibleClient
|
|
42
42
|
# Attribute mapping from ruby-style variable name to JSON key.
|
43
43
|
def self.attribute_map
|
44
44
|
{
|
45
|
-
:'
|
45
|
+
:'file' => :'file',
|
46
46
|
:'repository' => :'repository',
|
47
47
|
:'artifact' => :'artifact',
|
48
|
-
:'file' => :'file',
|
49
48
|
:'file_url' => :'file_url',
|
49
|
+
:'upload' => :'upload',
|
50
50
|
:'expected_name' => :'expected_name',
|
51
51
|
:'expected_namespace' => :'expected_namespace',
|
52
52
|
:'expected_version' => :'expected_version'
|
@@ -56,11 +56,11 @@ module PulpAnsibleClient
|
|
56
56
|
# Attribute type mapping.
|
57
57
|
def self.openapi_types
|
58
58
|
{
|
59
|
-
:'
|
59
|
+
:'file' => :'File',
|
60
60
|
:'repository' => :'String',
|
61
61
|
:'artifact' => :'String',
|
62
|
-
:'file' => :'File',
|
63
62
|
:'file_url' => :'String',
|
63
|
+
:'upload' => :'String',
|
64
64
|
:'expected_name' => :'String',
|
65
65
|
:'expected_namespace' => :'String',
|
66
66
|
:'expected_version' => :'String'
|
@@ -88,8 +88,8 @@ module PulpAnsibleClient
|
|
88
88
|
h[k.to_sym] = v
|
89
89
|
}
|
90
90
|
|
91
|
-
if attributes.key?(:'
|
92
|
-
self.
|
91
|
+
if attributes.key?(:'file')
|
92
|
+
self.file = attributes[:'file']
|
93
93
|
end
|
94
94
|
|
95
95
|
if attributes.key?(:'repository')
|
@@ -100,14 +100,14 @@ module PulpAnsibleClient
|
|
100
100
|
self.artifact = attributes[:'artifact']
|
101
101
|
end
|
102
102
|
|
103
|
-
if attributes.key?(:'file')
|
104
|
-
self.file = attributes[:'file']
|
105
|
-
end
|
106
|
-
|
107
103
|
if attributes.key?(:'file_url')
|
108
104
|
self.file_url = attributes[:'file_url']
|
109
105
|
end
|
110
106
|
|
107
|
+
if attributes.key?(:'upload')
|
108
|
+
self.upload = attributes[:'upload']
|
109
|
+
end
|
110
|
+
|
111
111
|
if attributes.key?(:'expected_name')
|
112
112
|
self.expected_name = attributes[:'expected_name']
|
113
113
|
end
|
@@ -226,11 +226,11 @@ module PulpAnsibleClient
|
|
226
226
|
def ==(o)
|
227
227
|
return true if self.equal?(o)
|
228
228
|
self.class == o.class &&
|
229
|
-
|
229
|
+
file == o.file &&
|
230
230
|
repository == o.repository &&
|
231
231
|
artifact == o.artifact &&
|
232
|
-
file == o.file &&
|
233
232
|
file_url == o.file_url &&
|
233
|
+
upload == o.upload &&
|
234
234
|
expected_name == o.expected_name &&
|
235
235
|
expected_namespace == o.expected_namespace &&
|
236
236
|
expected_version == o.expected_version
|
@@ -245,7 +245,7 @@ module PulpAnsibleClient
|
|
245
245
|
# Calculates hash code according to all attributes.
|
246
246
|
# @return [Integer] Hash code
|
247
247
|
def hash
|
248
|
-
[
|
248
|
+
[file, repository, artifact, file_url, upload, expected_name, expected_namespace, expected_version].hash
|
249
249
|
end
|
250
250
|
|
251
251
|
# Builds the object from hash
|
@@ -15,20 +15,20 @@ require 'date'
|
|
15
15
|
module PulpAnsibleClient
|
16
16
|
# A serializer for CollectionVersion Content.
|
17
17
|
class AnsibleCollectionVersionResponse
|
18
|
-
#
|
19
|
-
attr_accessor :
|
18
|
+
# The Pulp Resource Name (PRN).
|
19
|
+
attr_accessor :prn
|
20
20
|
|
21
21
|
# Artifact file representing the physical content
|
22
22
|
attr_accessor :artifact
|
23
23
|
|
24
|
-
|
25
|
-
|
24
|
+
attr_accessor :pulp_href
|
25
|
+
|
26
|
+
# Timestamp of creation.
|
27
|
+
attr_accessor :pulp_created
|
26
28
|
|
27
29
|
# 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
30
|
attr_accessor :pulp_last_updated
|
29
31
|
|
30
|
-
attr_accessor :pulp_href
|
31
|
-
|
32
32
|
# The SHA-256 checksum if available.
|
33
33
|
attr_accessor :sha256
|
34
34
|
|
@@ -103,11 +103,11 @@ module PulpAnsibleClient
|
|
103
103
|
# Attribute mapping from ruby-style variable name to JSON key.
|
104
104
|
def self.attribute_map
|
105
105
|
{
|
106
|
-
:'pulp_created' => :'pulp_created',
|
107
|
-
:'artifact' => :'artifact',
|
108
106
|
:'prn' => :'prn',
|
109
|
-
:'
|
107
|
+
:'artifact' => :'artifact',
|
110
108
|
:'pulp_href' => :'pulp_href',
|
109
|
+
:'pulp_created' => :'pulp_created',
|
110
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
111
111
|
:'sha256' => :'sha256',
|
112
112
|
:'md5' => :'md5',
|
113
113
|
:'sha1' => :'sha1',
|
@@ -138,11 +138,11 @@ module PulpAnsibleClient
|
|
138
138
|
# Attribute type mapping.
|
139
139
|
def self.openapi_types
|
140
140
|
{
|
141
|
-
:'pulp_created' => :'DateTime',
|
142
|
-
:'artifact' => :'String',
|
143
141
|
:'prn' => :'String',
|
144
|
-
:'
|
142
|
+
:'artifact' => :'String',
|
145
143
|
:'pulp_href' => :'String',
|
144
|
+
:'pulp_created' => :'DateTime',
|
145
|
+
:'pulp_last_updated' => :'DateTime',
|
146
146
|
:'sha256' => :'String',
|
147
147
|
:'md5' => :'String',
|
148
148
|
:'sha1' => :'String',
|
@@ -192,24 +192,24 @@ module PulpAnsibleClient
|
|
192
192
|
h[k.to_sym] = v
|
193
193
|
}
|
194
194
|
|
195
|
-
if attributes.key?(:'
|
196
|
-
self.
|
195
|
+
if attributes.key?(:'prn')
|
196
|
+
self.prn = attributes[:'prn']
|
197
197
|
end
|
198
198
|
|
199
199
|
if attributes.key?(:'artifact')
|
200
200
|
self.artifact = attributes[:'artifact']
|
201
201
|
end
|
202
202
|
|
203
|
-
if attributes.key?(:'
|
204
|
-
self.
|
203
|
+
if attributes.key?(:'pulp_href')
|
204
|
+
self.pulp_href = attributes[:'pulp_href']
|
205
205
|
end
|
206
206
|
|
207
|
-
if attributes.key?(:'
|
208
|
-
self.
|
207
|
+
if attributes.key?(:'pulp_created')
|
208
|
+
self.pulp_created = attributes[:'pulp_created']
|
209
209
|
end
|
210
210
|
|
211
|
-
if attributes.key?(:'
|
212
|
-
self.
|
211
|
+
if attributes.key?(:'pulp_last_updated')
|
212
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
213
213
|
end
|
214
214
|
|
215
215
|
if attributes.key?(:'sha256')
|
@@ -453,11 +453,11 @@ module PulpAnsibleClient
|
|
453
453
|
def ==(o)
|
454
454
|
return true if self.equal?(o)
|
455
455
|
self.class == o.class &&
|
456
|
-
pulp_created == o.pulp_created &&
|
457
|
-
artifact == o.artifact &&
|
458
456
|
prn == o.prn &&
|
459
|
-
|
457
|
+
artifact == o.artifact &&
|
460
458
|
pulp_href == o.pulp_href &&
|
459
|
+
pulp_created == o.pulp_created &&
|
460
|
+
pulp_last_updated == o.pulp_last_updated &&
|
461
461
|
sha256 == o.sha256 &&
|
462
462
|
md5 == o.md5 &&
|
463
463
|
sha1 == o.sha1 &&
|
@@ -493,7 +493,7 @@ module PulpAnsibleClient
|
|
493
493
|
# Calculates hash code according to all attributes.
|
494
494
|
# @return [Integer] Hash code
|
495
495
|
def hash
|
496
|
-
[
|
496
|
+
[prn, artifact, pulp_href, pulp_created, pulp_last_updated, 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
|
497
497
|
end
|
498
498
|
|
499
499
|
# Builds the object from hash
|