pulp_ansible_client 0.22.1 → 0.22.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/docs/AnsibleAnsibleCollectionDeprecatedResponse.md +2 -0
- data/docs/AnsibleAnsibleRepositoryResponse.md +2 -0
- data/docs/AnsibleCollectionRemoteResponse.md +2 -0
- data/docs/AnsibleCollectionVersion.md +6 -4
- data/docs/AnsibleCollectionVersionResponse.md +12 -10
- data/docs/AnsibleCollectionVersionSignature.md +2 -0
- data/docs/AnsibleCollectionVersionSignatureResponse.md +2 -0
- data/docs/AnsibleCollectionsApi.md +4 -2
- data/docs/AnsibleGitRemote.md +26 -26
- data/docs/AnsibleGitRemoteResponse.md +24 -22
- data/docs/AnsibleRole.md +3 -3
- data/docs/AnsibleRoleRemoteResponse.md +2 -0
- data/docs/AnsibleRoleResponse.md +7 -5
- data/docs/CollectionImportDetailResponse.md +2 -2
- data/docs/CollectionSummaryResponse.md +2 -2
- data/docs/CollectionVersionDocsResponse.md +1 -1
- data/docs/CollectionVersionResponse.md +2 -2
- data/docs/CollectionVersionSearchList.md +0 -2
- data/docs/ContentCollectionDeprecationsApi.md +10 -8
- data/docs/ContentCollectionMarksApi.md +10 -8
- data/docs/ContentCollectionSignaturesApi.md +13 -9
- data/docs/ContentCollectionVersionsApi.md +14 -10
- data/docs/ContentNamespacesApi.md +10 -8
- data/docs/ContentRolesApi.md +10 -8
- data/docs/Copy.md +1 -1
- data/docs/DistributionsAnsibleApi.md +4 -2
- data/docs/PatchedansibleGitRemote.md +26 -26
- data/docs/PulpAnsibleApiV3CollectionsAllApi.md +4 -2
- data/docs/PulpAnsibleApiV3CollectionsApi.md +4 -2
- data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +8 -6
- data/docs/PulpAnsibleApiV3NamespacesApi.md +4 -2
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +4 -2
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md +4 -2
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +8 -6
- data/docs/PulpAnsibleApiV3PluginAnsibleContentNamespacesApi.md +4 -2
- data/docs/PulpAnsibleDefaultApiV3CollectionsAllApi.md +4 -2
- data/docs/PulpAnsibleDefaultApiV3CollectionsApi.md +4 -2
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +8 -6
- data/docs/PulpAnsibleDefaultApiV3NamespacesApi.md +4 -2
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +4 -2
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.md +4 -2
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +8 -6
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentNamespacesApi.md +4 -2
- data/docs/RemotesCollectionApi.md +4 -2
- data/docs/RemotesGitApi.md +4 -2
- data/docs/RemotesRoleApi.md +4 -2
- data/docs/RepositoriesAnsibleApi.md +8 -6
- data/docs/RepositoriesAnsibleVersionsApi.md +8 -6
- data/docs/RepositoryResponse.md +2 -0
- data/docs/RepositoryVersionResponse.md +2 -0
- data/lib/pulp_ansible_client/api/ansible_collections_api.rb +5 -2
- data/lib/pulp_ansible_client/api/content_collection_deprecations_api.rb +11 -8
- data/lib/pulp_ansible_client/api/content_collection_marks_api.rb +11 -8
- data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +18 -8
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +22 -12
- data/lib/pulp_ansible_client/api/content_namespaces_api.rb +11 -8
- data/lib/pulp_ansible_client/api/content_roles_api.rb +11 -8
- data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +5 -2
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_all_api.rb +5 -2
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_api.rb +5 -2
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_api.rb +9 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_namespaces_api.rb +5 -2
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api.rb +5 -2
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api.rb +5 -2
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api.rb +9 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api.rb +5 -2
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_all_api.rb +5 -2
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_api.rb +5 -2
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_api.rb +9 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_namespaces_api.rb +5 -2
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api.rb +5 -2
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api.rb +5 -2
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api.rb +9 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api.rb +5 -2
- data/lib/pulp_ansible_client/api/remotes_collection_api.rb +5 -2
- data/lib/pulp_ansible_client/api/remotes_git_api.rb +5 -2
- data/lib/pulp_ansible_client/api/remotes_role_api.rb +5 -2
- data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +9 -6
- data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +10 -7
- data/lib/pulp_ansible_client/models/ansible_ansible_collection_deprecated_response.rb +11 -1
- data/lib/pulp_ansible_client/models/ansible_ansible_repository_response.rb +11 -1
- data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +11 -1
- data/lib/pulp_ansible_client/models/ansible_collection_version.rb +40 -15
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +33 -23
- data/lib/pulp_ansible_client/models/ansible_collection_version_signature.rb +26 -1
- data/lib/pulp_ansible_client/models/ansible_collection_version_signature_response.rb +11 -1
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +218 -218
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +146 -136
- data/lib/pulp_ansible_client/models/ansible_role.rb +11 -11
- data/lib/pulp_ansible_client/models/ansible_role_remote_response.rb +11 -1
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +28 -18
- data/lib/pulp_ansible_client/models/collection_import_detail_response.rb +2 -2
- data/lib/pulp_ansible_client/models/collection_summary_response.rb +2 -2
- data/lib/pulp_ansible_client/models/collection_version_docs_response.rb +1 -1
- data/lib/pulp_ansible_client/models/collection_version_response.rb +2 -2
- data/lib/pulp_ansible_client/models/collection_version_search_list.rb +1 -16
- data/lib/pulp_ansible_client/models/copy.rb +1 -1
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +218 -218
- data/lib/pulp_ansible_client/models/repository.rb +1 -1
- data/lib/pulp_ansible_client/models/repository_add_remove_content.rb +1 -1
- data/lib/pulp_ansible_client/models/repository_response.rb +12 -2
- data/lib/pulp_ansible_client/models/repository_version_response.rb +12 -2
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/spec/api/ansible_collections_api_spec.rb +2 -1
- data/spec/api/content_collection_deprecations_api_spec.rb +5 -4
- data/spec/api/content_collection_marks_api_spec.rb +5 -4
- data/spec/api/content_collection_signatures_api_spec.rb +6 -4
- data/spec/api/content_collection_versions_api_spec.rb +7 -5
- data/spec/api/content_namespaces_api_spec.rb +5 -4
- data/spec/api/content_roles_api_spec.rb +5 -4
- data/spec/api/distributions_ansible_api_spec.rb +2 -1
- data/spec/api/pulp_ansible_api_v3_collections_all_api_spec.rb +2 -1
- data/spec/api/pulp_ansible_api_v3_collections_api_spec.rb +2 -1
- data/spec/api/pulp_ansible_api_v3_collections_versions_api_spec.rb +4 -3
- data/spec/api/pulp_ansible_api_v3_namespaces_api_spec.rb +2 -1
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +2 -1
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api_spec.rb +2 -1
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +4 -3
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_namespaces_api_spec.rb +2 -1
- data/spec/api/pulp_ansible_default_api_v3_collections_all_api_spec.rb +2 -1
- data/spec/api/pulp_ansible_default_api_v3_collections_api_spec.rb +2 -1
- data/spec/api/pulp_ansible_default_api_v3_collections_versions_api_spec.rb +4 -3
- data/spec/api/pulp_ansible_default_api_v3_namespaces_api_spec.rb +2 -1
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +2 -1
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api_spec.rb +2 -1
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +4 -3
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_namespaces_api_spec.rb +2 -1
- data/spec/api/remotes_collection_api_spec.rb +2 -1
- data/spec/api/remotes_git_api_spec.rb +2 -1
- data/spec/api/remotes_role_api_spec.rb +2 -1
- data/spec/api/repositories_ansible_api_spec.rb +4 -3
- data/spec/api/repositories_ansible_versions_api_spec.rb +4 -3
- data/spec/models/ansible_ansible_collection_deprecated_response_spec.rb +6 -0
- data/spec/models/ansible_ansible_repository_response_spec.rb +6 -0
- data/spec/models/ansible_collection_remote_response_spec.rb +6 -0
- data/spec/models/ansible_collection_version_response_spec.rb +10 -4
- data/spec/models/ansible_collection_version_signature_response_spec.rb +6 -0
- data/spec/models/ansible_collection_version_signature_spec.rb +6 -0
- data/spec/models/ansible_collection_version_spec.rb +8 -2
- data/spec/models/ansible_git_remote_response_spec.rb +24 -18
- data/spec/models/ansible_git_remote_spec.rb +19 -19
- data/spec/models/ansible_role_remote_response_spec.rb +6 -0
- data/spec/models/ansible_role_response_spec.rb +10 -4
- data/spec/models/ansible_role_spec.rb +2 -2
- data/spec/models/collection_version_search_list_spec.rb +0 -6
- data/spec/models/patchedansible_git_remote_spec.rb +19 -19
- data/spec/models/repository_response_spec.rb +6 -0
- data/spec/models/repository_version_response_spec.rb +6 -0
- metadata +127 -127
@@ -15,16 +15,19 @@ require 'date'
|
|
15
15
|
module PulpAnsibleClient
|
16
16
|
# A serializer for CollectionVersion Content.
|
17
17
|
class AnsibleCollectionVersionResponse
|
18
|
+
# Artifact file representing the physical content
|
19
|
+
attr_accessor :artifact
|
20
|
+
|
21
|
+
# 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
|
+
attr_accessor :pulp_last_updated
|
23
|
+
|
18
24
|
# Timestamp of creation.
|
19
25
|
attr_accessor :pulp_created
|
20
26
|
|
21
27
|
attr_accessor :pulp_href
|
22
28
|
|
23
|
-
#
|
24
|
-
attr_accessor :
|
25
|
-
|
26
|
-
# Artifact file representing the physical content
|
27
|
-
attr_accessor :artifact
|
29
|
+
# The Pulp Resource Name (PRN).
|
30
|
+
attr_accessor :prn
|
28
31
|
|
29
32
|
# The SHA-256 checksum if available.
|
30
33
|
attr_accessor :sha256
|
@@ -100,10 +103,11 @@ module PulpAnsibleClient
|
|
100
103
|
# Attribute mapping from ruby-style variable name to JSON key.
|
101
104
|
def self.attribute_map
|
102
105
|
{
|
106
|
+
:'artifact' => :'artifact',
|
107
|
+
:'pulp_last_updated' => :'pulp_last_updated',
|
103
108
|
:'pulp_created' => :'pulp_created',
|
104
109
|
:'pulp_href' => :'pulp_href',
|
105
|
-
:'
|
106
|
-
:'artifact' => :'artifact',
|
110
|
+
:'prn' => :'prn',
|
107
111
|
:'sha256' => :'sha256',
|
108
112
|
:'md5' => :'md5',
|
109
113
|
:'sha1' => :'sha1',
|
@@ -134,10 +138,11 @@ module PulpAnsibleClient
|
|
134
138
|
# Attribute type mapping.
|
135
139
|
def self.openapi_types
|
136
140
|
{
|
141
|
+
:'artifact' => :'String',
|
142
|
+
:'pulp_last_updated' => :'DateTime',
|
137
143
|
:'pulp_created' => :'DateTime',
|
138
144
|
:'pulp_href' => :'String',
|
139
|
-
:'
|
140
|
-
:'artifact' => :'String',
|
145
|
+
:'prn' => :'String',
|
141
146
|
:'sha256' => :'String',
|
142
147
|
:'md5' => :'String',
|
143
148
|
:'sha1' => :'String',
|
@@ -146,12 +151,12 @@ module PulpAnsibleClient
|
|
146
151
|
:'sha512' => :'String',
|
147
152
|
:'id' => :'String',
|
148
153
|
:'authors' => :'Array<String>',
|
149
|
-
:'contents' => :'
|
150
|
-
:'dependencies' => :'
|
154
|
+
:'contents' => :'Object',
|
155
|
+
:'dependencies' => :'Object',
|
151
156
|
:'description' => :'String',
|
152
|
-
:'docs_blob' => :'
|
153
|
-
:'manifest' => :'
|
154
|
-
:'files' => :'
|
157
|
+
:'docs_blob' => :'Object',
|
158
|
+
:'manifest' => :'Object',
|
159
|
+
:'files' => :'Object',
|
155
160
|
:'documentation' => :'String',
|
156
161
|
:'homepage' => :'String',
|
157
162
|
:'issues' => :'String',
|
@@ -187,6 +192,14 @@ module PulpAnsibleClient
|
|
187
192
|
h[k.to_sym] = v
|
188
193
|
}
|
189
194
|
|
195
|
+
if attributes.key?(:'artifact')
|
196
|
+
self.artifact = attributes[:'artifact']
|
197
|
+
end
|
198
|
+
|
199
|
+
if attributes.key?(:'pulp_last_updated')
|
200
|
+
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
201
|
+
end
|
202
|
+
|
190
203
|
if attributes.key?(:'pulp_created')
|
191
204
|
self.pulp_created = attributes[:'pulp_created']
|
192
205
|
end
|
@@ -195,12 +208,8 @@ module PulpAnsibleClient
|
|
195
208
|
self.pulp_href = attributes[:'pulp_href']
|
196
209
|
end
|
197
210
|
|
198
|
-
if attributes.key?(:'
|
199
|
-
self.
|
200
|
-
end
|
201
|
-
|
202
|
-
if attributes.key?(:'artifact')
|
203
|
-
self.artifact = attributes[:'artifact']
|
211
|
+
if attributes.key?(:'prn')
|
212
|
+
self.prn = attributes[:'prn']
|
204
213
|
end
|
205
214
|
|
206
215
|
if attributes.key?(:'sha256')
|
@@ -444,10 +453,11 @@ module PulpAnsibleClient
|
|
444
453
|
def ==(o)
|
445
454
|
return true if self.equal?(o)
|
446
455
|
self.class == o.class &&
|
456
|
+
artifact == o.artifact &&
|
457
|
+
pulp_last_updated == o.pulp_last_updated &&
|
447
458
|
pulp_created == o.pulp_created &&
|
448
459
|
pulp_href == o.pulp_href &&
|
449
|
-
|
450
|
-
artifact == o.artifact &&
|
460
|
+
prn == o.prn &&
|
451
461
|
sha256 == o.sha256 &&
|
452
462
|
md5 == o.md5 &&
|
453
463
|
sha1 == o.sha1 &&
|
@@ -483,7 +493,7 @@ module PulpAnsibleClient
|
|
483
493
|
# Calculates hash code according to all attributes.
|
484
494
|
# @return [Integer] Hash code
|
485
495
|
def hash
|
486
|
-
[pulp_created, pulp_href,
|
496
|
+
[artifact, pulp_last_updated, pulp_created, pulp_href, 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
|
487
497
|
end
|
488
498
|
|
489
499
|
# Builds the object from hash
|
@@ -24,6 +24,9 @@ module PulpAnsibleClient
|
|
24
24
|
# An uncommitted upload that may be turned into the content unit.
|
25
25
|
attr_accessor :upload
|
26
26
|
|
27
|
+
# A url that Pulp can download and turn into the content unit.
|
28
|
+
attr_accessor :file_url
|
29
|
+
|
27
30
|
# The content this signature is pointing to.
|
28
31
|
attr_accessor :signed_collection
|
29
32
|
|
@@ -33,6 +36,7 @@ module PulpAnsibleClient
|
|
33
36
|
:'repository' => :'repository',
|
34
37
|
:'file' => :'file',
|
35
38
|
:'upload' => :'upload',
|
39
|
+
:'file_url' => :'file_url',
|
36
40
|
:'signed_collection' => :'signed_collection'
|
37
41
|
}
|
38
42
|
end
|
@@ -43,6 +47,7 @@ module PulpAnsibleClient
|
|
43
47
|
:'repository' => :'String',
|
44
48
|
:'file' => :'File',
|
45
49
|
:'upload' => :'String',
|
50
|
+
:'file_url' => :'String',
|
46
51
|
:'signed_collection' => :'String'
|
47
52
|
}
|
48
53
|
end
|
@@ -80,6 +85,10 @@ module PulpAnsibleClient
|
|
80
85
|
self.upload = attributes[:'upload']
|
81
86
|
end
|
82
87
|
|
88
|
+
if attributes.key?(:'file_url')
|
89
|
+
self.file_url = attributes[:'file_url']
|
90
|
+
end
|
91
|
+
|
83
92
|
if attributes.key?(:'signed_collection')
|
84
93
|
self.signed_collection = attributes[:'signed_collection']
|
85
94
|
end
|
@@ -89,6 +98,10 @@ module PulpAnsibleClient
|
|
89
98
|
# @return Array for valid properties with the reasons
|
90
99
|
def list_invalid_properties
|
91
100
|
invalid_properties = Array.new
|
101
|
+
if !@file_url.nil? && @file_url.to_s.length < 1
|
102
|
+
invalid_properties.push('invalid value for "file_url", the character length must be great than or equal to 1.')
|
103
|
+
end
|
104
|
+
|
92
105
|
if @signed_collection.nil?
|
93
106
|
invalid_properties.push('invalid value for "signed_collection", signed_collection cannot be nil.')
|
94
107
|
end
|
@@ -99,10 +112,21 @@ module PulpAnsibleClient
|
|
99
112
|
# Check to see if the all the properties in the model are valid
|
100
113
|
# @return true if the model is valid
|
101
114
|
def valid?
|
115
|
+
return false if !@file_url.nil? && @file_url.to_s.length < 1
|
102
116
|
return false if @signed_collection.nil?
|
103
117
|
true
|
104
118
|
end
|
105
119
|
|
120
|
+
# Custom attribute writer method with validation
|
121
|
+
# @param [Object] file_url Value to be assigned
|
122
|
+
def file_url=(file_url)
|
123
|
+
if !file_url.nil? && file_url.to_s.length < 1
|
124
|
+
fail ArgumentError, 'invalid value for "file_url", the character length must be great than or equal to 1.'
|
125
|
+
end
|
126
|
+
|
127
|
+
@file_url = file_url
|
128
|
+
end
|
129
|
+
|
106
130
|
# Checks equality by comparing each attribute.
|
107
131
|
# @param [Object] Object to be compared
|
108
132
|
def ==(o)
|
@@ -111,6 +135,7 @@ module PulpAnsibleClient
|
|
111
135
|
repository == o.repository &&
|
112
136
|
file == o.file &&
|
113
137
|
upload == o.upload &&
|
138
|
+
file_url == o.file_url &&
|
114
139
|
signed_collection == o.signed_collection
|
115
140
|
end
|
116
141
|
|
@@ -123,7 +148,7 @@ module PulpAnsibleClient
|
|
123
148
|
# Calculates hash code according to all attributes.
|
124
149
|
# @return [Integer] Hash code
|
125
150
|
def hash
|
126
|
-
[repository, file, upload, signed_collection].hash
|
151
|
+
[repository, file, upload, file_url, signed_collection].hash
|
127
152
|
end
|
128
153
|
|
129
154
|
# Builds the object from hash
|
@@ -17,6 +17,9 @@ module PulpAnsibleClient
|
|
17
17
|
class AnsibleCollectionVersionSignatureResponse
|
18
18
|
attr_accessor :pulp_href
|
19
19
|
|
20
|
+
# The Pulp Resource Name (PRN).
|
21
|
+
attr_accessor :prn
|
22
|
+
|
20
23
|
# Timestamp of creation.
|
21
24
|
attr_accessor :pulp_created
|
22
25
|
|
@@ -36,6 +39,7 @@ module PulpAnsibleClient
|
|
36
39
|
def self.attribute_map
|
37
40
|
{
|
38
41
|
:'pulp_href' => :'pulp_href',
|
42
|
+
:'prn' => :'prn',
|
39
43
|
:'pulp_created' => :'pulp_created',
|
40
44
|
:'pulp_last_updated' => :'pulp_last_updated',
|
41
45
|
:'signed_collection' => :'signed_collection',
|
@@ -48,6 +52,7 @@ module PulpAnsibleClient
|
|
48
52
|
def self.openapi_types
|
49
53
|
{
|
50
54
|
:'pulp_href' => :'String',
|
55
|
+
:'prn' => :'String',
|
51
56
|
:'pulp_created' => :'DateTime',
|
52
57
|
:'pulp_last_updated' => :'DateTime',
|
53
58
|
:'signed_collection' => :'String',
|
@@ -82,6 +87,10 @@ module PulpAnsibleClient
|
|
82
87
|
self.pulp_href = attributes[:'pulp_href']
|
83
88
|
end
|
84
89
|
|
90
|
+
if attributes.key?(:'prn')
|
91
|
+
self.prn = attributes[:'prn']
|
92
|
+
end
|
93
|
+
|
85
94
|
if attributes.key?(:'pulp_created')
|
86
95
|
self.pulp_created = attributes[:'pulp_created']
|
87
96
|
end
|
@@ -127,6 +136,7 @@ module PulpAnsibleClient
|
|
127
136
|
return true if self.equal?(o)
|
128
137
|
self.class == o.class &&
|
129
138
|
pulp_href == o.pulp_href &&
|
139
|
+
prn == o.prn &&
|
130
140
|
pulp_created == o.pulp_created &&
|
131
141
|
pulp_last_updated == o.pulp_last_updated &&
|
132
142
|
signed_collection == o.signed_collection &&
|
@@ -143,7 +153,7 @@ module PulpAnsibleClient
|
|
143
153
|
# Calculates hash code according to all attributes.
|
144
154
|
# @return [Integer] Hash code
|
145
155
|
def hash
|
146
|
-
[pulp_href, pulp_created, pulp_last_updated, signed_collection, pubkey_fingerprint, signing_service].hash
|
156
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, signed_collection, pubkey_fingerprint, signing_service].hash
|
147
157
|
end
|
148
158
|
|
149
159
|
# Builds the object from hash
|