pulp_ansible_client 0.15.5 → 0.16.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 +7 -10
- data/docs/AnsibleAnsibleDistribution.md +1 -1
- data/docs/AnsibleAnsibleDistributionResponse.md +1 -1
- data/docs/AnsibleAnsibleRepository.md +2 -2
- data/docs/AnsibleAnsibleRepositoryResponse.md +2 -2
- data/docs/AnsibleCollectionRemote.md +2 -2
- data/docs/AnsibleCollectionRemoteResponse.md +2 -4
- data/docs/AnsibleCollectionVersion.md +11 -9
- data/docs/AnsibleCollectionVersionResponse.md +23 -23
- data/docs/AnsibleCollectionsApi.md +6 -10
- data/docs/AnsibleGitRemote.md +30 -30
- data/docs/AnsibleGitRemoteResponse.md +26 -28
- data/docs/AnsibleRoleRemote.md +2 -2
- data/docs/AnsibleRoleRemoteResponse.md +3 -5
- data/docs/AnsibleRoleResponse.md +3 -3
- data/docs/ApiCollectionsApi.md +4 -4
- data/docs/ApiRolesApi.md +4 -4
- data/docs/CollectionImportApi.md +4 -4
- data/docs/CollectionRefResponse.md +1 -1
- data/docs/CollectionResponse.md +6 -6
- data/docs/CollectionVersionListResponse.md +1 -1
- data/docs/CollectionVersionResponse.md +4 -4
- data/docs/ContentCollectionDeprecationsApi.md +10 -14
- data/docs/ContentCollectionSignaturesApi.md +12 -16
- data/docs/ContentCollectionVersionsApi.md +22 -24
- data/docs/ContentRolesApi.md +10 -14
- data/docs/DistributionsAnsibleApi.md +14 -22
- data/docs/GalaxyCollectionResponse.md +4 -4
- data/docs/GalaxyCollectionVersionResponse.md +4 -4
- data/docs/GalaxyDetailApi.md +4 -4
- data/docs/GalaxyRoleResponse.md +1 -1
- data/docs/GalaxyRoleVersionResponse.md +1 -1
- data/docs/PatchedansibleAnsibleDistribution.md +1 -1
- data/docs/PatchedansibleAnsibleRepository.md +2 -2
- data/docs/PatchedansibleCollectionRemote.md +2 -2
- data/docs/PatchedansibleGitRemote.md +30 -30
- data/docs/PatchedansibleRoleRemote.md +2 -2
- data/docs/PulpAnsibleApiApi.md +4 -4
- data/docs/PulpAnsibleApiV2CollectionsVersionsApi.md +4 -4
- data/docs/PulpAnsibleApiV3Api.md +4 -4
- data/docs/PulpAnsibleApiV3ArtifactsCollectionsApi.md +4 -4
- data/docs/PulpAnsibleApiV3CollectionVersionsAllApi.md +4 -4
- data/docs/PulpAnsibleApiV3CollectionsAllApi.md +6 -10
- data/docs/PulpAnsibleApiV3CollectionsApi.md +10 -14
- data/docs/PulpAnsibleApiV3CollectionsVersionsApi.md +10 -14
- data/docs/PulpAnsibleApiV3CollectionsVersionsDocsBlobApi.md +4 -4
- data/docs/PulpAnsibleApiV3PluginAnsibleClientConfigurationApi.md +4 -4
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +6 -10
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +4 -4
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsApi.md +4 -4
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsArtifactsApi.md +4 -4
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexApi.md +10 -14
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +10 -14
- data/docs/PulpAnsibleApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +4 -4
- data/docs/PulpAnsibleDefaultApiV3ArtifactsCollectionsApi.md +4 -4
- data/docs/PulpAnsibleDefaultApiV3CollectionsAllApi.md +6 -10
- data/docs/PulpAnsibleDefaultApiV3CollectionsApi.md +10 -14
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsApi.md +10 -14
- data/docs/PulpAnsibleDefaultApiV3CollectionsVersionsDocsBlobApi.md +4 -4
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllCollectionsApi.md +6 -10
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsAllVersionsApi.md +4 -4
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsApi.md +4 -4
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsArtifactsApi.md +4 -4
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexApi.md +10 -14
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsApi.md +10 -14
- data/docs/PulpAnsibleDefaultApiV3PluginAnsibleContentCollectionsIndexVersionsDocsBlobApi.md +4 -4
- data/docs/PulpAnsibleTagsApi.md +4 -4
- data/docs/RemotesCollectionApi.md +14 -18
- data/docs/RemotesGitApi.md +14 -18
- data/docs/RemotesRoleApi.md +14 -18
- data/docs/RepositoriesAnsibleApi.md +13 -33
- data/docs/RepositoriesAnsibleVersionsApi.md +14 -16
- data/docs/RepositoryAddRemoveContent.md +2 -2
- data/docs/UnpaginatedCollectionVersionResponse.md +4 -4
- data/docs/VersionsApi.md +8 -8
- data/lib/pulp_ansible_client/api/ansible_collections_api.rb +9 -15
- data/lib/pulp_ansible_client/api/api_collections_api.rb +6 -6
- data/lib/pulp_ansible_client/api/api_roles_api.rb +6 -6
- data/lib/pulp_ansible_client/api/collection_import_api.rb +6 -6
- data/lib/pulp_ansible_client/api/content_collection_deprecations_api.rb +14 -20
- data/lib/pulp_ansible_client/api/content_collection_signatures_api.rb +15 -21
- data/lib/pulp_ansible_client/api/content_collection_versions_api.rb +45 -60
- data/lib/pulp_ansible_client/api/content_roles_api.rb +15 -21
- data/lib/pulp_ansible_client/api/distributions_ansible_api.rb +19 -31
- data/lib/pulp_ansible_client/api/galaxy_detail_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v2_collections_versions_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_artifacts_collections_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collection_versions_all_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_all_api.rb +9 -15
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_api.rb +15 -21
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_api.rb +15 -21
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_collections_versions_docs_blob_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_client_configuration_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api.rb +9 -15
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_versions_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_artifacts_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api.rb +15 -21
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api.rb +15 -21
- data/lib/pulp_ansible_client/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_artifacts_collections_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_all_api.rb +9 -15
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_api.rb +15 -21
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_api.rb +15 -21
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_collections_versions_docs_blob_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api.rb +9 -15
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_versions_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_artifacts_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api.rb +15 -21
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api.rb +15 -21
- data/lib/pulp_ansible_client/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api.rb +6 -6
- data/lib/pulp_ansible_client/api/pulp_ansible_tags_api.rb +6 -6
- data/lib/pulp_ansible_client/api/remotes_collection_api.rb +19 -25
- data/lib/pulp_ansible_client/api/remotes_git_api.rb +19 -25
- data/lib/pulp_ansible_client/api/remotes_role_api.rb +19 -25
- data/lib/pulp_ansible_client/api/repositories_ansible_api.rb +17 -47
- data/lib/pulp_ansible_client/api/repositories_ansible_versions_api.rb +19 -22
- data/lib/pulp_ansible_client/api/versions_api.rb +12 -12
- data/lib/pulp_ansible_client/models/ansible_ansible_distribution.rb +2 -4
- data/lib/pulp_ansible_client/models/ansible_ansible_distribution_response.rb +2 -4
- data/lib/pulp_ansible_client/models/ansible_ansible_repository.rb +3 -5
- data/lib/pulp_ansible_client/models/ansible_ansible_repository_response.rb +3 -5
- data/lib/pulp_ansible_client/models/ansible_collection_remote.rb +3 -5
- data/lib/pulp_ansible_client/models/ansible_collection_remote_response.rb +4 -18
- data/lib/pulp_ansible_client/models/ansible_collection_version.rb +78 -95
- data/lib/pulp_ansible_client/models/ansible_collection_version_response.rb +53 -161
- data/lib/pulp_ansible_client/models/ansible_git_remote.rb +249 -251
- data/lib/pulp_ansible_client/models/ansible_git_remote_response.rb +141 -155
- data/lib/pulp_ansible_client/models/ansible_role_remote.rb +3 -5
- data/lib/pulp_ansible_client/models/ansible_role_remote_response.rb +8 -22
- data/lib/pulp_ansible_client/models/ansible_role_response.rb +11 -11
- data/lib/pulp_ansible_client/models/collection_ref_response.rb +0 -1
- data/lib/pulp_ansible_client/models/collection_response.rb +0 -6
- data/lib/pulp_ansible_client/models/collection_version_list_response.rb +0 -1
- data/lib/pulp_ansible_client/models/collection_version_response.rb +0 -4
- data/lib/pulp_ansible_client/models/galaxy_collection_response.rb +0 -4
- data/lib/pulp_ansible_client/models/galaxy_collection_version_response.rb +0 -4
- data/lib/pulp_ansible_client/models/galaxy_role_response.rb +0 -1
- data/lib/pulp_ansible_client/models/galaxy_role_version_response.rb +0 -1
- data/lib/pulp_ansible_client/models/patchedansible_ansible_distribution.rb +2 -4
- data/lib/pulp_ansible_client/models/patchedansible_ansible_repository.rb +3 -5
- data/lib/pulp_ansible_client/models/patchedansible_collection_remote.rb +3 -5
- data/lib/pulp_ansible_client/models/patchedansible_git_remote.rb +249 -251
- data/lib/pulp_ansible_client/models/patchedansible_role_remote.rb +3 -5
- data/lib/pulp_ansible_client/models/repository_add_remove_content.rb +2 -2
- data/lib/pulp_ansible_client/models/unpaginated_collection_version_response.rb +0 -4
- data/lib/pulp_ansible_client/version.rb +1 -1
- data/lib/pulp_ansible_client.rb +0 -1
- data/spec/api/ansible_collections_api_spec.rb +3 -5
- data/spec/api/api_collections_api_spec.rb +2 -2
- data/spec/api/api_roles_api_spec.rb +2 -2
- data/spec/api/collection_import_api_spec.rb +2 -2
- data/spec/api/content_collection_deprecations_api_spec.rb +5 -7
- data/spec/api/content_collection_signatures_api_spec.rb +5 -7
- data/spec/api/content_collection_versions_api_spec.rb +10 -11
- data/spec/api/content_roles_api_spec.rb +5 -7
- data/spec/api/distributions_ansible_api_spec.rb +7 -11
- data/spec/api/galaxy_detail_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v2_collections_versions_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v3_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v3_artifacts_collections_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v3_collection_versions_all_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v3_collections_all_api_spec.rb +3 -5
- data/spec/api/pulp_ansible_api_v3_collections_api_spec.rb +5 -7
- data/spec/api/pulp_ansible_api_v3_collections_versions_api_spec.rb +5 -7
- data/spec/api/pulp_ansible_api_v3_collections_versions_docs_blob_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_client_configuration_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +3 -5
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_all_versions_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_artifacts_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_api_spec.rb +5 -7
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +5 -7
- data/spec/api/pulp_ansible_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_default_api_v3_artifacts_collections_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_default_api_v3_collections_all_api_spec.rb +3 -5
- data/spec/api/pulp_ansible_default_api_v3_collections_api_spec.rb +5 -7
- data/spec/api/pulp_ansible_default_api_v3_collections_versions_api_spec.rb +5 -7
- data/spec/api/pulp_ansible_default_api_v3_collections_versions_docs_blob_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_collections_api_spec.rb +3 -5
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_all_versions_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_artifacts_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_api_spec.rb +5 -7
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_api_spec.rb +5 -7
- data/spec/api/pulp_ansible_default_api_v3_plugin_ansible_content_collections_index_versions_docs_blob_api_spec.rb +2 -2
- data/spec/api/pulp_ansible_tags_api_spec.rb +2 -2
- data/spec/api/remotes_collection_api_spec.rb +7 -9
- data/spec/api/remotes_git_api_spec.rb +7 -9
- data/spec/api/remotes_role_api_spec.rb +7 -9
- data/spec/api/repositories_ansible_api_spec.rb +6 -16
- data/spec/api/repositories_ansible_versions_api_spec.rb +7 -8
- data/spec/api/versions_api_spec.rb +4 -4
- data/spec/models/ansible_collection_remote_response_spec.rb +0 -6
- data/spec/models/ansible_collection_version_response_spec.rb +7 -7
- data/spec/models/ansible_collection_version_spec.rb +12 -6
- data/spec/models/ansible_git_remote_response_spec.rb +16 -22
- data/spec/models/ansible_git_remote_spec.rb +19 -19
- data/spec/models/ansible_role_remote_response_spec.rb +0 -6
- data/spec/models/ansible_role_response_spec.rb +3 -3
- data/spec/models/patchedansible_git_remote_spec.rb +19 -19
- metadata +102 -106
- data/docs/AnsibleCollectionRemoteResponseHiddenFields.md +0 -19
- data/lib/pulp_ansible_client/models/ansible_collection_remote_response_hidden_fields.rb +0 -215
- data/spec/models/ansible_collection_remote_response_hidden_fields_spec.rb +0 -47
@@ -15,14 +15,17 @@ 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
18
|
# Timestamp of creation.
|
22
19
|
attr_accessor :pulp_created
|
23
20
|
|
21
|
+
# Artifact file representing the physical content
|
22
|
+
attr_accessor :artifact
|
23
|
+
|
24
24
|
attr_accessor :pulp_href
|
25
25
|
|
26
|
+
# The SHA-256 checksum if available.
|
27
|
+
attr_accessor :sha256
|
28
|
+
|
26
29
|
# The MD5 checksum if available.
|
27
30
|
attr_accessor :md5
|
28
31
|
|
@@ -32,9 +35,6 @@ module PulpAnsibleClient
|
|
32
35
|
# The SHA-224 checksum if available.
|
33
36
|
attr_accessor :sha224
|
34
37
|
|
35
|
-
# The SHA-256 checksum if available.
|
36
|
-
attr_accessor :sha256
|
37
|
-
|
38
38
|
# The SHA-384 checksum if available.
|
39
39
|
attr_accessor :sha384
|
40
40
|
|
@@ -84,7 +84,7 @@ module PulpAnsibleClient
|
|
84
84
|
attr_accessor :namespace
|
85
85
|
|
86
86
|
# The URL of the originating SCM repository.
|
87
|
-
attr_accessor :
|
87
|
+
attr_accessor :origin_repository
|
88
88
|
|
89
89
|
attr_accessor :tags
|
90
90
|
|
@@ -97,13 +97,13 @@ module PulpAnsibleClient
|
|
97
97
|
# Attribute mapping from ruby-style variable name to JSON key.
|
98
98
|
def self.attribute_map
|
99
99
|
{
|
100
|
-
:'artifact' => :'artifact',
|
101
100
|
:'pulp_created' => :'pulp_created',
|
101
|
+
:'artifact' => :'artifact',
|
102
102
|
:'pulp_href' => :'pulp_href',
|
103
|
+
:'sha256' => :'sha256',
|
103
104
|
:'md5' => :'md5',
|
104
105
|
:'sha1' => :'sha1',
|
105
106
|
:'sha224' => :'sha224',
|
106
|
-
:'sha256' => :'sha256',
|
107
107
|
:'sha384' => :'sha384',
|
108
108
|
:'sha512' => :'sha512',
|
109
109
|
:'id' => :'id',
|
@@ -120,7 +120,7 @@ module PulpAnsibleClient
|
|
120
120
|
:'license' => :'license',
|
121
121
|
:'name' => :'name',
|
122
122
|
:'namespace' => :'namespace',
|
123
|
-
:'
|
123
|
+
:'origin_repository' => :'origin_repository',
|
124
124
|
:'tags' => :'tags',
|
125
125
|
:'version' => :'version',
|
126
126
|
:'requires_ansible' => :'requires_ansible'
|
@@ -130,13 +130,13 @@ module PulpAnsibleClient
|
|
130
130
|
# Attribute type mapping.
|
131
131
|
def self.openapi_types
|
132
132
|
{
|
133
|
-
:'artifact' => :'String',
|
134
133
|
:'pulp_created' => :'DateTime',
|
134
|
+
:'artifact' => :'String',
|
135
135
|
:'pulp_href' => :'String',
|
136
|
+
:'sha256' => :'String',
|
136
137
|
:'md5' => :'String',
|
137
138
|
:'sha1' => :'String',
|
138
139
|
:'sha224' => :'String',
|
139
|
-
:'sha256' => :'String',
|
140
140
|
:'sha384' => :'String',
|
141
141
|
:'sha512' => :'String',
|
142
142
|
:'id' => :'String',
|
@@ -153,7 +153,7 @@ module PulpAnsibleClient
|
|
153
153
|
:'license' => :'Array<String>',
|
154
154
|
:'name' => :'String',
|
155
155
|
:'namespace' => :'String',
|
156
|
-
:'
|
156
|
+
:'origin_repository' => :'String',
|
157
157
|
:'tags' => :'Array<AnsibleTagResponse>',
|
158
158
|
:'version' => :'String',
|
159
159
|
:'requires_ansible' => :'String'
|
@@ -182,18 +182,22 @@ module PulpAnsibleClient
|
|
182
182
|
h[k.to_sym] = v
|
183
183
|
}
|
184
184
|
|
185
|
-
if attributes.key?(:'artifact')
|
186
|
-
self.artifact = attributes[:'artifact']
|
187
|
-
end
|
188
|
-
|
189
185
|
if attributes.key?(:'pulp_created')
|
190
186
|
self.pulp_created = attributes[:'pulp_created']
|
191
187
|
end
|
192
188
|
|
189
|
+
if attributes.key?(:'artifact')
|
190
|
+
self.artifact = attributes[:'artifact']
|
191
|
+
end
|
192
|
+
|
193
193
|
if attributes.key?(:'pulp_href')
|
194
194
|
self.pulp_href = attributes[:'pulp_href']
|
195
195
|
end
|
196
196
|
|
197
|
+
if attributes.key?(:'sha256')
|
198
|
+
self.sha256 = attributes[:'sha256']
|
199
|
+
end
|
200
|
+
|
197
201
|
if attributes.key?(:'md5')
|
198
202
|
self.md5 = attributes[:'md5']
|
199
203
|
end
|
@@ -206,10 +210,6 @@ module PulpAnsibleClient
|
|
206
210
|
self.sha224 = attributes[:'sha224']
|
207
211
|
end
|
208
212
|
|
209
|
-
if attributes.key?(:'sha256')
|
210
|
-
self.sha256 = attributes[:'sha256']
|
211
|
-
end
|
212
|
-
|
213
213
|
if attributes.key?(:'sha384')
|
214
214
|
self.sha384 = attributes[:'sha384']
|
215
215
|
end
|
@@ -278,8 +278,8 @@ module PulpAnsibleClient
|
|
278
278
|
self.namespace = attributes[:'namespace']
|
279
279
|
end
|
280
280
|
|
281
|
-
if attributes.key?(:'
|
282
|
-
self.
|
281
|
+
if attributes.key?(:'origin_repository')
|
282
|
+
self.origin_repository = attributes[:'origin_repository']
|
283
283
|
end
|
284
284
|
|
285
285
|
if attributes.key?(:'tags')
|
@@ -301,95 +301,31 @@ module PulpAnsibleClient
|
|
301
301
|
# @return Array for valid properties with the reasons
|
302
302
|
def list_invalid_properties
|
303
303
|
invalid_properties = Array.new
|
304
|
-
if
|
305
|
-
invalid_properties.push('invalid value for "id", id cannot be nil.')
|
306
|
-
end
|
307
|
-
|
308
|
-
if @authors.nil?
|
309
|
-
invalid_properties.push('invalid value for "authors", authors cannot be nil.')
|
310
|
-
end
|
311
|
-
|
312
|
-
if @contents.nil?
|
313
|
-
invalid_properties.push('invalid value for "contents", contents cannot be nil.')
|
314
|
-
end
|
315
|
-
|
316
|
-
if @dependencies.nil?
|
317
|
-
invalid_properties.push('invalid value for "dependencies", dependencies cannot be nil.')
|
318
|
-
end
|
319
|
-
|
320
|
-
if @description.nil?
|
321
|
-
invalid_properties.push('invalid value for "description", description cannot be nil.')
|
322
|
-
end
|
323
|
-
|
324
|
-
if @docs_blob.nil?
|
325
|
-
invalid_properties.push('invalid value for "docs_blob", docs_blob cannot be nil.')
|
326
|
-
end
|
327
|
-
|
328
|
-
if @manifest.nil?
|
329
|
-
invalid_properties.push('invalid value for "manifest", manifest cannot be nil.')
|
330
|
-
end
|
331
|
-
|
332
|
-
if @files.nil?
|
333
|
-
invalid_properties.push('invalid value for "files", files cannot be nil.')
|
334
|
-
end
|
335
|
-
|
336
|
-
if @documentation.nil?
|
337
|
-
invalid_properties.push('invalid value for "documentation", documentation cannot be nil.')
|
338
|
-
end
|
339
|
-
|
340
|
-
if @documentation.to_s.length > 2000
|
304
|
+
if !@documentation.nil? && @documentation.to_s.length > 2000
|
341
305
|
invalid_properties.push('invalid value for "documentation", the character length must be smaller than or equal to 2000.')
|
342
306
|
end
|
343
307
|
|
344
|
-
if
|
345
|
-
invalid_properties.push('invalid value for "homepage", homepage cannot be nil.')
|
346
|
-
end
|
347
|
-
|
348
|
-
if @homepage.to_s.length > 2000
|
308
|
+
if !@homepage.nil? && @homepage.to_s.length > 2000
|
349
309
|
invalid_properties.push('invalid value for "homepage", the character length must be smaller than or equal to 2000.')
|
350
310
|
end
|
351
311
|
|
352
|
-
if
|
353
|
-
invalid_properties.push('invalid value for "issues", issues cannot be nil.')
|
354
|
-
end
|
355
|
-
|
356
|
-
if @issues.to_s.length > 2000
|
312
|
+
if !@issues.nil? && @issues.to_s.length > 2000
|
357
313
|
invalid_properties.push('invalid value for "issues", the character length must be smaller than or equal to 2000.')
|
358
314
|
end
|
359
315
|
|
360
|
-
if
|
361
|
-
invalid_properties.push('invalid value for "license", license cannot be nil.')
|
362
|
-
end
|
363
|
-
|
364
|
-
if @name.nil?
|
365
|
-
invalid_properties.push('invalid value for "name", name cannot be nil.')
|
366
|
-
end
|
367
|
-
|
368
|
-
if @name.to_s.length > 64
|
316
|
+
if !@name.nil? && @name.to_s.length > 64
|
369
317
|
invalid_properties.push('invalid value for "name", the character length must be smaller than or equal to 64.')
|
370
318
|
end
|
371
319
|
|
372
|
-
if
|
373
|
-
invalid_properties.push('invalid value for "namespace", namespace cannot be nil.')
|
374
|
-
end
|
375
|
-
|
376
|
-
if @namespace.to_s.length > 64
|
320
|
+
if !@namespace.nil? && @namespace.to_s.length > 64
|
377
321
|
invalid_properties.push('invalid value for "namespace", the character length must be smaller than or equal to 64.')
|
378
322
|
end
|
379
323
|
|
380
|
-
if
|
381
|
-
invalid_properties.push('invalid value for "
|
324
|
+
if !@origin_repository.nil? && @origin_repository.to_s.length > 2000
|
325
|
+
invalid_properties.push('invalid value for "origin_repository", the character length must be smaller than or equal to 2000.')
|
382
326
|
end
|
383
327
|
|
384
|
-
if @
|
385
|
-
invalid_properties.push('invalid value for "repository", the character length must be smaller than or equal to 2000.')
|
386
|
-
end
|
387
|
-
|
388
|
-
if @version.nil?
|
389
|
-
invalid_properties.push('invalid value for "version", version cannot be nil.')
|
390
|
-
end
|
391
|
-
|
392
|
-
if @version.to_s.length > 128
|
328
|
+
if !@version.nil? && @version.to_s.length > 128
|
393
329
|
invalid_properties.push('invalid value for "version", the character length must be smaller than or equal to 128.')
|
394
330
|
end
|
395
331
|
|
@@ -403,29 +339,13 @@ module PulpAnsibleClient
|
|
403
339
|
# Check to see if the all the properties in the model are valid
|
404
340
|
# @return true if the model is valid
|
405
341
|
def valid?
|
406
|
-
return false if
|
407
|
-
return false if
|
408
|
-
return false if
|
409
|
-
return false if
|
410
|
-
return false if
|
411
|
-
return false if
|
412
|
-
return false if
|
413
|
-
return false if @files.nil?
|
414
|
-
return false if @documentation.nil?
|
415
|
-
return false if @documentation.to_s.length > 2000
|
416
|
-
return false if @homepage.nil?
|
417
|
-
return false if @homepage.to_s.length > 2000
|
418
|
-
return false if @issues.nil?
|
419
|
-
return false if @issues.to_s.length > 2000
|
420
|
-
return false if @license.nil?
|
421
|
-
return false if @name.nil?
|
422
|
-
return false if @name.to_s.length > 64
|
423
|
-
return false if @namespace.nil?
|
424
|
-
return false if @namespace.to_s.length > 64
|
425
|
-
return false if @repository.nil?
|
426
|
-
return false if @repository.to_s.length > 2000
|
427
|
-
return false if @version.nil?
|
428
|
-
return false if @version.to_s.length > 128
|
342
|
+
return false if !@documentation.nil? && @documentation.to_s.length > 2000
|
343
|
+
return false if !@homepage.nil? && @homepage.to_s.length > 2000
|
344
|
+
return false if !@issues.nil? && @issues.to_s.length > 2000
|
345
|
+
return false if !@name.nil? && @name.to_s.length > 64
|
346
|
+
return false if !@namespace.nil? && @namespace.to_s.length > 64
|
347
|
+
return false if !@origin_repository.nil? && @origin_repository.to_s.length > 2000
|
348
|
+
return false if !@version.nil? && @version.to_s.length > 128
|
429
349
|
return false if !@requires_ansible.nil? && @requires_ansible.to_s.length > 255
|
430
350
|
true
|
431
351
|
end
|
@@ -433,11 +353,7 @@ module PulpAnsibleClient
|
|
433
353
|
# Custom attribute writer method with validation
|
434
354
|
# @param [Object] documentation Value to be assigned
|
435
355
|
def documentation=(documentation)
|
436
|
-
if documentation.nil?
|
437
|
-
fail ArgumentError, 'documentation cannot be nil'
|
438
|
-
end
|
439
|
-
|
440
|
-
if documentation.to_s.length > 2000
|
356
|
+
if !documentation.nil? && documentation.to_s.length > 2000
|
441
357
|
fail ArgumentError, 'invalid value for "documentation", the character length must be smaller than or equal to 2000.'
|
442
358
|
end
|
443
359
|
|
@@ -447,11 +363,7 @@ module PulpAnsibleClient
|
|
447
363
|
# Custom attribute writer method with validation
|
448
364
|
# @param [Object] homepage Value to be assigned
|
449
365
|
def homepage=(homepage)
|
450
|
-
if homepage.nil?
|
451
|
-
fail ArgumentError, 'homepage cannot be nil'
|
452
|
-
end
|
453
|
-
|
454
|
-
if homepage.to_s.length > 2000
|
366
|
+
if !homepage.nil? && homepage.to_s.length > 2000
|
455
367
|
fail ArgumentError, 'invalid value for "homepage", the character length must be smaller than or equal to 2000.'
|
456
368
|
end
|
457
369
|
|
@@ -461,11 +373,7 @@ module PulpAnsibleClient
|
|
461
373
|
# Custom attribute writer method with validation
|
462
374
|
# @param [Object] issues Value to be assigned
|
463
375
|
def issues=(issues)
|
464
|
-
if issues.nil?
|
465
|
-
fail ArgumentError, 'issues cannot be nil'
|
466
|
-
end
|
467
|
-
|
468
|
-
if issues.to_s.length > 2000
|
376
|
+
if !issues.nil? && issues.to_s.length > 2000
|
469
377
|
fail ArgumentError, 'invalid value for "issues", the character length must be smaller than or equal to 2000.'
|
470
378
|
end
|
471
379
|
|
@@ -475,11 +383,7 @@ module PulpAnsibleClient
|
|
475
383
|
# Custom attribute writer method with validation
|
476
384
|
# @param [Object] name Value to be assigned
|
477
385
|
def name=(name)
|
478
|
-
if name.nil?
|
479
|
-
fail ArgumentError, 'name cannot be nil'
|
480
|
-
end
|
481
|
-
|
482
|
-
if name.to_s.length > 64
|
386
|
+
if !name.nil? && name.to_s.length > 64
|
483
387
|
fail ArgumentError, 'invalid value for "name", the character length must be smaller than or equal to 64.'
|
484
388
|
end
|
485
389
|
|
@@ -489,11 +393,7 @@ module PulpAnsibleClient
|
|
489
393
|
# Custom attribute writer method with validation
|
490
394
|
# @param [Object] namespace Value to be assigned
|
491
395
|
def namespace=(namespace)
|
492
|
-
if namespace.nil?
|
493
|
-
fail ArgumentError, 'namespace cannot be nil'
|
494
|
-
end
|
495
|
-
|
496
|
-
if namespace.to_s.length > 64
|
396
|
+
if !namespace.nil? && namespace.to_s.length > 64
|
497
397
|
fail ArgumentError, 'invalid value for "namespace", the character length must be smaller than or equal to 64.'
|
498
398
|
end
|
499
399
|
|
@@ -501,27 +401,19 @@ module PulpAnsibleClient
|
|
501
401
|
end
|
502
402
|
|
503
403
|
# Custom attribute writer method with validation
|
504
|
-
# @param [Object]
|
505
|
-
def
|
506
|
-
if
|
507
|
-
fail ArgumentError, '
|
404
|
+
# @param [Object] origin_repository Value to be assigned
|
405
|
+
def origin_repository=(origin_repository)
|
406
|
+
if !origin_repository.nil? && origin_repository.to_s.length > 2000
|
407
|
+
fail ArgumentError, 'invalid value for "origin_repository", the character length must be smaller than or equal to 2000.'
|
508
408
|
end
|
509
409
|
|
510
|
-
|
511
|
-
fail ArgumentError, 'invalid value for "repository", the character length must be smaller than or equal to 2000.'
|
512
|
-
end
|
513
|
-
|
514
|
-
@repository = repository
|
410
|
+
@origin_repository = origin_repository
|
515
411
|
end
|
516
412
|
|
517
413
|
# Custom attribute writer method with validation
|
518
414
|
# @param [Object] version Value to be assigned
|
519
415
|
def version=(version)
|
520
|
-
if version.nil?
|
521
|
-
fail ArgumentError, 'version cannot be nil'
|
522
|
-
end
|
523
|
-
|
524
|
-
if version.to_s.length > 128
|
416
|
+
if !version.nil? && version.to_s.length > 128
|
525
417
|
fail ArgumentError, 'invalid value for "version", the character length must be smaller than or equal to 128.'
|
526
418
|
end
|
527
419
|
|
@@ -543,13 +435,13 @@ module PulpAnsibleClient
|
|
543
435
|
def ==(o)
|
544
436
|
return true if self.equal?(o)
|
545
437
|
self.class == o.class &&
|
546
|
-
artifact == o.artifact &&
|
547
438
|
pulp_created == o.pulp_created &&
|
439
|
+
artifact == o.artifact &&
|
548
440
|
pulp_href == o.pulp_href &&
|
441
|
+
sha256 == o.sha256 &&
|
549
442
|
md5 == o.md5 &&
|
550
443
|
sha1 == o.sha1 &&
|
551
444
|
sha224 == o.sha224 &&
|
552
|
-
sha256 == o.sha256 &&
|
553
445
|
sha384 == o.sha384 &&
|
554
446
|
sha512 == o.sha512 &&
|
555
447
|
id == o.id &&
|
@@ -566,7 +458,7 @@ module PulpAnsibleClient
|
|
566
458
|
license == o.license &&
|
567
459
|
name == o.name &&
|
568
460
|
namespace == o.namespace &&
|
569
|
-
|
461
|
+
origin_repository == o.origin_repository &&
|
570
462
|
tags == o.tags &&
|
571
463
|
version == o.version &&
|
572
464
|
requires_ansible == o.requires_ansible
|
@@ -581,7 +473,7 @@ module PulpAnsibleClient
|
|
581
473
|
# Calculates hash code according to all attributes.
|
582
474
|
# @return [Integer] Hash code
|
583
475
|
def hash
|
584
|
-
[
|
476
|
+
[pulp_created, artifact, pulp_href, 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
|
585
477
|
end
|
586
478
|
|
587
479
|
# Builds the object from hash
|