pulp_deb_client 3.5.0 → 3.5.2
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 +37 -9
- data/docs/AptRepositorySyncURL.md +12 -11
- data/docs/AsyncOperationResponse.md +8 -7
- data/docs/ContentGenericContentsApi.md +264 -64
- data/docs/ContentInstallerFileIndicesApi.md +259 -61
- data/docs/ContentInstallerPackagesApi.md +280 -80
- data/docs/ContentPackageIndicesApi.md +259 -61
- data/docs/ContentPackageReleaseComponentsApi.md +259 -61
- data/docs/ContentPackagesApi.md +294 -94
- data/docs/ContentReleaseArchitecturesApi.md +257 -59
- data/docs/ContentReleaseComponentsApi.md +258 -60
- data/docs/ContentReleaseFilesApi.md +259 -61
- data/docs/ContentReleasesApi.md +262 -64
- data/docs/ContentSourceIndicesApi.md +258 -60
- data/docs/ContentSourcePackagesApi.md +285 -87
- data/docs/ContentSourceReleaseComponentsApi.md +259 -61
- data/docs/ContentSummaryResponse.md +12 -11
- data/docs/Copy.md +12 -11
- data/docs/DebAptDistribution.md +20 -19
- data/docs/DebAptDistributionResponse.md +32 -31
- data/docs/DebAptPublication.md +18 -17
- data/docs/DebAptPublicationResponse.md +26 -25
- data/docs/DebAptRemote.md +64 -63
- data/docs/DebAptRemoteResponse.md +64 -63
- data/docs/DebAptRemoteResponseHiddenFieldsInner.md +20 -0
- data/docs/DebAptRepository.md +22 -21
- data/docs/DebAptRepositoryResponse.md +34 -33
- data/docs/DebCopyApi.md +30 -14
- data/docs/DebGenericContentResponse.md +32 -29
- data/docs/DebInstallerFileIndex.md +18 -15
- data/docs/DebInstallerFileIndexResponse.md +24 -21
- data/docs/DebInstallerPackageResponse.md +90 -87
- data/docs/DebPackageIndex.md +18 -15
- data/docs/DebPackageIndexResponse.md +24 -21
- data/docs/DebPackageReleaseComponent.md +14 -11
- data/docs/DebPackageReleaseComponentResponse.md +20 -17
- data/docs/DebPackageResponse.md +94 -91
- data/docs/DebRelease.md +28 -25
- data/docs/DebReleaseArchitecture.md +14 -11
- data/docs/DebReleaseArchitectureResponse.md +20 -17
- data/docs/DebReleaseComponent.md +14 -11
- data/docs/DebReleaseComponentResponse.md +22 -19
- data/docs/DebReleaseFile.md +20 -17
- data/docs/DebReleaseFileResponse.md +26 -23
- data/docs/DebReleaseResponse.md +34 -31
- data/docs/DebSourceIndex.md +18 -15
- data/docs/DebSourceIndexResponse.md +24 -21
- data/docs/DebSourcePackage.md +14 -11
- data/docs/DebSourcePackageReleaseComponent.md +14 -11
- data/docs/DebSourcePackageReleaseComponentResponse.md +20 -17
- data/docs/DebSourcePackageResponse.md +76 -73
- data/docs/DebVerbatimPublication.md +10 -9
- data/docs/DebVerbatimPublicationResponse.md +18 -17
- data/docs/DistributionsAptApi.md +387 -182
- data/docs/MyPermissionsResponse.md +8 -7
- data/docs/NestedRole.md +12 -11
- data/docs/NestedRoleResponse.md +12 -11
- data/docs/ObjectRolesResponse.md +8 -7
- data/docs/PaginatedRepositoryVersionResponseList.md +14 -13
- data/docs/PaginateddebAptDistributionResponseList.md +14 -13
- data/docs/PaginateddebAptPublicationResponseList.md +14 -13
- data/docs/PaginateddebAptRemoteResponseList.md +14 -13
- data/docs/PaginateddebAptRepositoryResponseList.md +14 -13
- data/docs/PaginateddebGenericContentResponseList.md +14 -13
- data/docs/PaginateddebInstallerFileIndexResponseList.md +14 -13
- data/docs/PaginateddebInstallerPackageResponseList.md +14 -13
- data/docs/PaginateddebPackageIndexResponseList.md +14 -13
- data/docs/PaginateddebPackageReleaseComponentResponseList.md +14 -13
- data/docs/PaginateddebPackageResponseList.md +14 -13
- data/docs/PaginateddebReleaseArchitectureResponseList.md +14 -13
- data/docs/PaginateddebReleaseComponentResponseList.md +14 -13
- data/docs/PaginateddebReleaseFileResponseList.md +14 -13
- data/docs/PaginateddebReleaseResponseList.md +14 -13
- data/docs/PaginateddebSourceIndexResponseList.md +14 -13
- data/docs/PaginateddebSourcePackageReleaseComponentResponseList.md +14 -13
- data/docs/PaginateddebSourcePackageResponseList.md +14 -13
- data/docs/PaginateddebVerbatimPublicationResponseList.md +14 -13
- data/docs/PatcheddebAptDistribution.md +20 -19
- data/docs/PatcheddebAptRemote.md +64 -63
- data/docs/PatcheddebAptRepository.md +22 -21
- data/docs/PolicyEnum.md +4 -5
- data/docs/PublicationsAptApi.md +269 -130
- data/docs/PublicationsVerbatimApi.md +269 -130
- data/docs/RemotesAptApi.md +389 -184
- data/docs/Repair.md +8 -7
- data/docs/RepositoriesAptApi.md +444 -207
- data/docs/RepositoriesAptVersionsApi.md +152 -82
- data/docs/RepositoryAddRemoveContent.md +12 -11
- data/docs/RepositoryVersionResponse.md +22 -21
- data/docs/SetLabel.md +10 -9
- data/docs/SetLabelResponse.md +10 -9
- data/docs/UnsetLabel.md +8 -7
- data/docs/UnsetLabelResponse.md +10 -9
- data/lib/pulp_deb_client/api/content_generic_contents_api.rb +177 -17
- data/lib/pulp_deb_client/api/content_installer_file_indices_api.rb +174 -17
- data/lib/pulp_deb_client/api/content_installer_packages_api.rb +177 -25
- data/lib/pulp_deb_client/api/content_package_indices_api.rb +174 -17
- data/lib/pulp_deb_client/api/content_package_release_components_api.rb +174 -17
- data/lib/pulp_deb_client/api/content_packages_api.rb +177 -25
- data/lib/pulp_deb_client/api/content_release_architectures_api.rb +174 -17
- data/lib/pulp_deb_client/api/content_release_components_api.rb +174 -17
- data/lib/pulp_deb_client/api/content_release_files_api.rb +174 -17
- data/lib/pulp_deb_client/api/content_releases_api.rb +174 -17
- data/lib/pulp_deb_client/api/content_source_indices_api.rb +174 -17
- data/lib/pulp_deb_client/api/content_source_packages_api.rb +174 -17
- data/lib/pulp_deb_client/api/content_source_release_components_api.rb +174 -17
- data/lib/pulp_deb_client/api/deb_copy_api.rb +10 -6
- data/lib/pulp_deb_client/api/distributions_apt_api.rb +95 -59
- data/lib/pulp_deb_client/api/publications_apt_api.rb +73 -50
- data/lib/pulp_deb_client/api/publications_verbatim_api.rb +73 -50
- data/lib/pulp_deb_client/api/remotes_apt_api.rb +104 -68
- data/lib/pulp_deb_client/api/repositories_apt_api.rb +107 -66
- data/lib/pulp_deb_client/api/repositories_apt_versions_api.rb +40 -30
- data/lib/pulp_deb_client/api_client.rb +137 -102
- data/lib/pulp_deb_client/api_error.rb +2 -1
- data/lib/pulp_deb_client/configuration.rb +162 -21
- data/lib/pulp_deb_client/models/apt_repository_sync_url.rb +30 -22
- data/lib/pulp_deb_client/models/async_operation_response.rb +32 -22
- data/lib/pulp_deb_client/models/content_summary_response.rb +36 -22
- data/lib/pulp_deb_client/models/copy.rb +34 -28
- data/lib/pulp_deb_client/models/deb_apt_distribution.rb +34 -22
- data/lib/pulp_deb_client/models/deb_apt_distribution_response.rb +36 -24
- data/lib/pulp_deb_client/models/deb_apt_publication.rb +30 -22
- data/lib/pulp_deb_client/models/deb_apt_publication_response.rb +32 -24
- data/lib/pulp_deb_client/models/deb_apt_remote.rb +58 -22
- data/lib/pulp_deb_client/models/deb_apt_remote_response.rb +61 -25
- data/lib/pulp_deb_client/models/{deb_apt_remote_response_hidden_fields.rb → deb_apt_remote_response_hidden_fields_inner.rb} +37 -25
- data/lib/pulp_deb_client/models/deb_apt_repository.rb +32 -22
- data/lib/pulp_deb_client/models/deb_apt_repository_response.rb +34 -24
- data/lib/pulp_deb_client/models/deb_generic_content_response.rb +47 -25
- data/lib/pulp_deb_client/models/deb_installer_file_index.rb +54 -24
- data/lib/pulp_deb_client/models/deb_installer_file_index_response.rb +51 -25
- data/lib/pulp_deb_client/models/deb_installer_package_response.rb +45 -25
- data/lib/pulp_deb_client/models/deb_package_index.rb +60 -26
- data/lib/pulp_deb_client/models/deb_package_index_response.rb +47 -25
- data/lib/pulp_deb_client/models/deb_package_release_component.rb +47 -23
- data/lib/pulp_deb_client/models/deb_package_release_component_response.rb +49 -25
- data/lib/pulp_deb_client/models/deb_package_response.rb +45 -25
- data/lib/pulp_deb_client/models/deb_release.rb +49 -23
- data/lib/pulp_deb_client/models/deb_release_architecture.rb +47 -23
- data/lib/pulp_deb_client/models/deb_release_architecture_response.rb +49 -25
- data/lib/pulp_deb_client/models/deb_release_component.rb +47 -23
- data/lib/pulp_deb_client/models/deb_release_component_response.rb +49 -25
- data/lib/pulp_deb_client/models/deb_release_file.rb +62 -26
- data/lib/pulp_deb_client/models/deb_release_file_response.rb +49 -25
- data/lib/pulp_deb_client/models/deb_release_response.rb +51 -25
- data/lib/pulp_deb_client/models/deb_source_index.rb +54 -24
- data/lib/pulp_deb_client/models/deb_source_index_response.rb +51 -25
- data/lib/pulp_deb_client/models/deb_source_package.rb +50 -24
- data/lib/pulp_deb_client/models/deb_source_package_release_component.rb +47 -23
- data/lib/pulp_deb_client/models/deb_source_package_release_component_response.rb +49 -25
- data/lib/pulp_deb_client/models/deb_source_package_response.rb +47 -25
- data/lib/pulp_deb_client/models/deb_verbatim_publication.rb +30 -22
- data/lib/pulp_deb_client/models/deb_verbatim_publication_response.rb +32 -24
- data/lib/pulp_deb_client/models/my_permissions_response.rb +32 -22
- data/lib/pulp_deb_client/models/nested_role.rb +32 -22
- data/lib/pulp_deb_client/models/nested_role_response.rb +32 -22
- data/lib/pulp_deb_client/models/object_roles_response.rb +32 -22
- data/lib/pulp_deb_client/models/paginated_repository_version_response_list.rb +34 -22
- data/lib/pulp_deb_client/models/paginateddeb_apt_distribution_response_list.rb +34 -22
- data/lib/pulp_deb_client/models/paginateddeb_apt_publication_response_list.rb +34 -22
- data/lib/pulp_deb_client/models/paginateddeb_apt_remote_response_list.rb +34 -22
- data/lib/pulp_deb_client/models/paginateddeb_apt_repository_response_list.rb +34 -22
- data/lib/pulp_deb_client/models/paginateddeb_generic_content_response_list.rb +34 -22
- data/lib/pulp_deb_client/models/paginateddeb_installer_file_index_response_list.rb +34 -22
- data/lib/pulp_deb_client/models/paginateddeb_installer_package_response_list.rb +34 -22
- data/lib/pulp_deb_client/models/paginateddeb_package_index_response_list.rb +34 -22
- data/lib/pulp_deb_client/models/paginateddeb_package_release_component_response_list.rb +34 -22
- data/lib/pulp_deb_client/models/paginateddeb_package_response_list.rb +34 -22
- data/lib/pulp_deb_client/models/paginateddeb_release_architecture_response_list.rb +34 -22
- data/lib/pulp_deb_client/models/paginateddeb_release_component_response_list.rb +34 -22
- data/lib/pulp_deb_client/models/paginateddeb_release_file_response_list.rb +34 -22
- data/lib/pulp_deb_client/models/paginateddeb_release_response_list.rb +34 -22
- data/lib/pulp_deb_client/models/paginateddeb_source_index_response_list.rb +34 -22
- data/lib/pulp_deb_client/models/paginateddeb_source_package_release_component_response_list.rb +34 -22
- data/lib/pulp_deb_client/models/paginateddeb_source_package_response_list.rb +34 -22
- data/lib/pulp_deb_client/models/paginateddeb_verbatim_publication_response_list.rb +34 -22
- data/lib/pulp_deb_client/models/patcheddeb_apt_distribution.rb +40 -24
- data/lib/pulp_deb_client/models/patcheddeb_apt_remote.rb +67 -25
- data/lib/pulp_deb_client/models/patcheddeb_apt_repository.rb +35 -23
- data/lib/pulp_deb_client/models/policy_enum.rb +8 -4
- data/lib/pulp_deb_client/models/repair.rb +30 -22
- data/lib/pulp_deb_client/models/repository_add_remove_content.rb +30 -22
- data/lib/pulp_deb_client/models/repository_version_response.rb +32 -24
- data/lib/pulp_deb_client/models/set_label.rb +34 -22
- data/lib/pulp_deb_client/models/set_label_response.rb +34 -22
- data/lib/pulp_deb_client/models/unset_label.rb +33 -23
- data/lib/pulp_deb_client/models/unset_label_response.rb +33 -23
- data/lib/pulp_deb_client/version.rb +2 -2
- data/lib/pulp_deb_client.rb +2 -5
- data/pulp_deb_client.gemspec +7 -5
- data/spec/api/content_generic_contents_api_spec.rb +33 -5
- data/spec/api/content_installer_file_indices_api_spec.rb +32 -5
- data/spec/api/content_installer_packages_api_spec.rb +33 -5
- data/spec/api/content_package_indices_api_spec.rb +32 -5
- data/spec/api/content_package_release_components_api_spec.rb +32 -5
- data/spec/api/content_packages_api_spec.rb +33 -5
- data/spec/api/content_release_architectures_api_spec.rb +32 -5
- data/spec/api/content_release_components_api_spec.rb +32 -5
- data/spec/api/content_release_files_api_spec.rb +32 -5
- data/spec/api/content_releases_api_spec.rb +32 -5
- data/spec/api/content_source_indices_api_spec.rb +32 -5
- data/spec/api/content_source_packages_api_spec.rb +32 -5
- data/spec/api/content_source_release_components_api_spec.rb +32 -5
- data/spec/api/deb_copy_api_spec.rb +2 -2
- data/spec/api/distributions_apt_api_spec.rb +15 -14
- data/spec/api/publications_apt_api_spec.rb +18 -16
- data/spec/api/publications_verbatim_api_spec.rb +18 -16
- data/spec/api/remotes_apt_api_spec.rb +20 -19
- data/spec/api/repositories_apt_api_spec.rb +15 -15
- data/spec/api/repositories_apt_versions_api_spec.rb +12 -11
- data/spec/models/apt_repository_sync_url_spec.rb +9 -14
- data/spec/models/async_operation_response_spec.rb +7 -12
- data/spec/models/content_summary_response_spec.rb +9 -14
- data/spec/models/copy_spec.rb +9 -14
- data/spec/models/deb_apt_distribution_response_spec.rb +19 -24
- data/spec/models/deb_apt_distribution_spec.rb +13 -18
- data/spec/models/deb_apt_publication_response_spec.rb +16 -21
- data/spec/models/deb_apt_publication_spec.rb +12 -17
- data/spec/models/{deb_apt_remote_response_hidden_fields_spec.rb → deb_apt_remote_response_hidden_fields_inner_spec.rb} +11 -16
- data/spec/models/deb_apt_remote_response_spec.rb +35 -40
- data/spec/models/deb_apt_remote_spec.rb +35 -40
- data/spec/models/deb_apt_repository_response_spec.rb +20 -25
- data/spec/models/deb_apt_repository_spec.rb +14 -19
- data/spec/models/deb_generic_content_response_spec.rb +24 -23
- data/spec/models/deb_installer_file_index_response_spec.rb +20 -19
- data/spec/models/deb_installer_file_index_spec.rb +17 -16
- data/spec/models/deb_installer_package_response_spec.rb +53 -52
- data/spec/models/deb_package_index_response_spec.rb +20 -19
- data/spec/models/deb_package_index_spec.rb +17 -16
- data/spec/models/deb_package_release_component_response_spec.rb +18 -17
- data/spec/models/deb_package_release_component_spec.rb +15 -14
- data/spec/models/deb_package_response_spec.rb +55 -54
- data/spec/models/deb_release_architecture_response_spec.rb +18 -17
- data/spec/models/deb_release_architecture_spec.rb +15 -14
- data/spec/models/deb_release_component_response_spec.rb +19 -18
- data/spec/models/deb_release_component_spec.rb +15 -14
- data/spec/models/deb_release_file_response_spec.rb +21 -20
- data/spec/models/deb_release_file_spec.rb +18 -17
- data/spec/models/deb_release_response_spec.rb +25 -24
- data/spec/models/deb_release_spec.rb +22 -21
- data/spec/models/deb_source_index_response_spec.rb +20 -19
- data/spec/models/deb_source_index_spec.rb +17 -16
- data/spec/models/deb_source_package_release_component_response_spec.rb +18 -17
- data/spec/models/deb_source_package_release_component_spec.rb +15 -14
- data/spec/models/deb_source_package_response_spec.rb +46 -45
- data/spec/models/deb_source_package_spec.rb +15 -14
- data/spec/models/deb_verbatim_publication_response_spec.rb +12 -17
- data/spec/models/deb_verbatim_publication_spec.rb +8 -13
- data/spec/models/my_permissions_response_spec.rb +7 -12
- data/spec/models/nested_role_response_spec.rb +9 -14
- data/spec/models/nested_role_spec.rb +9 -14
- data/spec/models/object_roles_response_spec.rb +7 -12
- data/spec/models/paginated_repository_version_response_list_spec.rb +10 -15
- data/spec/models/paginateddeb_apt_distribution_response_list_spec.rb +10 -15
- data/spec/models/paginateddeb_apt_publication_response_list_spec.rb +10 -15
- data/spec/models/paginateddeb_apt_remote_response_list_spec.rb +10 -15
- data/spec/models/paginateddeb_apt_repository_response_list_spec.rb +10 -15
- data/spec/models/paginateddeb_generic_content_response_list_spec.rb +10 -15
- data/spec/models/paginateddeb_installer_file_index_response_list_spec.rb +10 -15
- data/spec/models/paginateddeb_installer_package_response_list_spec.rb +10 -15
- data/spec/models/paginateddeb_package_index_response_list_spec.rb +10 -15
- data/spec/models/paginateddeb_package_release_component_response_list_spec.rb +10 -15
- data/spec/models/paginateddeb_package_response_list_spec.rb +10 -15
- data/spec/models/paginateddeb_release_architecture_response_list_spec.rb +10 -15
- data/spec/models/paginateddeb_release_component_response_list_spec.rb +10 -15
- data/spec/models/paginateddeb_release_file_response_list_spec.rb +10 -15
- data/spec/models/paginateddeb_release_response_list_spec.rb +10 -15
- data/spec/models/paginateddeb_source_index_response_list_spec.rb +10 -15
- data/spec/models/paginateddeb_source_package_release_component_response_list_spec.rb +10 -15
- data/spec/models/paginateddeb_source_package_response_list_spec.rb +10 -15
- data/spec/models/paginateddeb_verbatim_publication_response_list_spec.rb +10 -15
- data/spec/models/patcheddeb_apt_distribution_spec.rb +13 -18
- data/spec/models/patcheddeb_apt_remote_spec.rb +35 -40
- data/spec/models/patcheddeb_apt_repository_spec.rb +14 -19
- data/spec/models/policy_enum_spec.rb +6 -11
- data/spec/models/repair_spec.rb +7 -12
- data/spec/models/repository_add_remove_content_spec.rb +9 -14
- data/spec/models/repository_version_response_spec.rb +14 -19
- data/spec/models/set_label_response_spec.rb +8 -13
- data/spec/models/set_label_spec.rb +8 -13
- data/spec/models/unset_label_response_spec.rb +8 -13
- data/spec/models/unset_label_spec.rb +7 -12
- data/spec/spec_helper.rb +1 -1
- metadata +92 -100
- data/docs/DebAptRemoteResponseHiddenFields.md +0 -19
- data/docs/DebGenericContent.md +0 -27
- data/docs/DebInstallerPackage.md +0 -27
- data/docs/DebPackage.md +0 -31
- data/lib/pulp_deb_client/models/deb_generic_content.rb +0 -297
- data/lib/pulp_deb_client/models/deb_installer_package.rb +0 -288
- data/lib/pulp_deb_client/models/deb_package.rb +0 -338
- data/spec/api_client_spec.rb +0 -188
- data/spec/configuration_spec.rb +0 -42
- data/spec/models/deb_generic_content_spec.rb +0 -71
- data/spec/models/deb_installer_package_spec.rb +0 -71
- data/spec/models/deb_package_spec.rb +0 -83
@@ -6,11 +6,12 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
|
9
|
+
Generator version: 7.10.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
require 'date'
|
14
|
+
require 'time'
|
14
15
|
|
15
16
|
module PulpDebClient
|
16
17
|
# A Serializer for ReleaseComponent.
|
@@ -18,6 +19,9 @@ module PulpDebClient
|
|
18
19
|
# A URI of a repository the new content unit should be associated with.
|
19
20
|
attr_accessor :repository
|
20
21
|
|
22
|
+
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
23
|
+
attr_accessor :pulp_labels
|
24
|
+
|
21
25
|
# Name of the component.
|
22
26
|
attr_accessor :component
|
23
27
|
|
@@ -28,15 +32,22 @@ module PulpDebClient
|
|
28
32
|
def self.attribute_map
|
29
33
|
{
|
30
34
|
:'repository' => :'repository',
|
35
|
+
:'pulp_labels' => :'pulp_labels',
|
31
36
|
:'component' => :'component',
|
32
37
|
:'distribution' => :'distribution'
|
33
38
|
}
|
34
39
|
end
|
35
40
|
|
41
|
+
# Returns all the JSON keys this model knows about
|
42
|
+
def self.acceptable_attributes
|
43
|
+
attribute_map.values
|
44
|
+
end
|
45
|
+
|
36
46
|
# Attribute type mapping.
|
37
47
|
def self.openapi_types
|
38
48
|
{
|
39
49
|
:'repository' => :'String',
|
50
|
+
:'pulp_labels' => :'Hash<String, String>',
|
40
51
|
:'component' => :'String',
|
41
52
|
:'distribution' => :'String'
|
42
53
|
}
|
@@ -67,18 +78,29 @@ module PulpDebClient
|
|
67
78
|
self.repository = attributes[:'repository']
|
68
79
|
end
|
69
80
|
|
81
|
+
if attributes.key?(:'pulp_labels')
|
82
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
83
|
+
self.pulp_labels = value
|
84
|
+
end
|
85
|
+
end
|
86
|
+
|
70
87
|
if attributes.key?(:'component')
|
71
88
|
self.component = attributes[:'component']
|
89
|
+
else
|
90
|
+
self.component = nil
|
72
91
|
end
|
73
92
|
|
74
93
|
if attributes.key?(:'distribution')
|
75
94
|
self.distribution = attributes[:'distribution']
|
95
|
+
else
|
96
|
+
self.distribution = nil
|
76
97
|
end
|
77
98
|
end
|
78
99
|
|
79
100
|
# Show invalid properties with the reasons. Usually used together with valid?
|
80
101
|
# @return Array for valid properties with the reasons
|
81
102
|
def list_invalid_properties
|
103
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
82
104
|
invalid_properties = Array.new
|
83
105
|
if @component.nil?
|
84
106
|
invalid_properties.push('invalid value for "component", component cannot be nil.')
|
@@ -102,6 +124,7 @@ module PulpDebClient
|
|
102
124
|
# Check to see if the all the properties in the model are valid
|
103
125
|
# @return true if the model is valid
|
104
126
|
def valid?
|
127
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
105
128
|
return false if @component.nil?
|
106
129
|
return false if @component.to_s.length < 1
|
107
130
|
return false if @distribution.nil?
|
@@ -143,6 +166,7 @@ module PulpDebClient
|
|
143
166
|
return true if self.equal?(o)
|
144
167
|
self.class == o.class &&
|
145
168
|
repository == o.repository &&
|
169
|
+
pulp_labels == o.pulp_labels &&
|
146
170
|
component == o.component &&
|
147
171
|
distribution == o.distribution
|
148
172
|
end
|
@@ -156,44 +180,40 @@ module PulpDebClient
|
|
156
180
|
# Calculates hash code according to all attributes.
|
157
181
|
# @return [Integer] Hash code
|
158
182
|
def hash
|
159
|
-
[repository, component, distribution].hash
|
183
|
+
[repository, pulp_labels, component, distribution].hash
|
160
184
|
end
|
161
185
|
|
162
186
|
# Builds the object from hash
|
163
187
|
# @param [Hash] attributes Model attributes in the form of hash
|
164
188
|
# @return [Object] Returns the model itself
|
165
189
|
def self.build_from_hash(attributes)
|
166
|
-
new.build_from_hash(attributes)
|
167
|
-
end
|
168
|
-
|
169
|
-
# Builds the object from hash
|
170
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
171
|
-
# @return [Object] Returns the model itself
|
172
|
-
def build_from_hash(attributes)
|
173
190
|
return nil unless attributes.is_a?(Hash)
|
174
|
-
|
175
|
-
|
191
|
+
attributes = attributes.transform_keys(&:to_sym)
|
192
|
+
transformed_hash = {}
|
193
|
+
openapi_types.each_pair do |key, type|
|
194
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
195
|
+
transformed_hash["#{key}"] = nil
|
196
|
+
elsif type =~ /\AArray<(.*)>/i
|
176
197
|
# check to ensure the input is an array given that the attribute
|
177
198
|
# is documented as an array but the input is not
|
178
|
-
if attributes[
|
179
|
-
|
199
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
200
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
180
201
|
end
|
181
|
-
elsif !attributes[
|
182
|
-
|
183
|
-
end
|
202
|
+
elsif !attributes[attribute_map[key]].nil?
|
203
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
204
|
+
end
|
184
205
|
end
|
185
|
-
|
186
|
-
self
|
206
|
+
new(transformed_hash)
|
187
207
|
end
|
188
208
|
|
189
209
|
# Deserializes the data based on type
|
190
210
|
# @param string type Data type
|
191
211
|
# @param string value Value to be deserialized
|
192
212
|
# @return [Object] Deserialized data
|
193
|
-
def _deserialize(type, value)
|
213
|
+
def self._deserialize(type, value)
|
194
214
|
case type.to_sym
|
195
|
-
when :
|
196
|
-
|
215
|
+
when :Time
|
216
|
+
Time.parse(value)
|
197
217
|
when :Date
|
198
218
|
Date.parse(value)
|
199
219
|
when :String
|
@@ -223,7 +243,9 @@ module PulpDebClient
|
|
223
243
|
end
|
224
244
|
end
|
225
245
|
else # model
|
226
|
-
|
246
|
+
# models (e.g. Pet) or oneOf
|
247
|
+
klass = PulpDebClient.const_get(type)
|
248
|
+
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
227
249
|
end
|
228
250
|
end
|
229
251
|
|
@@ -249,7 +271,7 @@ module PulpDebClient
|
|
249
271
|
is_nullable = self.class.openapi_nullable.include?(attr)
|
250
272
|
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
251
273
|
end
|
252
|
-
|
274
|
+
|
253
275
|
hash[param] = _to_hash(value)
|
254
276
|
end
|
255
277
|
hash
|
@@ -272,5 +294,7 @@ module PulpDebClient
|
|
272
294
|
value
|
273
295
|
end
|
274
296
|
end
|
297
|
+
|
275
298
|
end
|
299
|
+
|
276
300
|
end
|
@@ -6,11 +6,12 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
|
9
|
+
Generator version: 7.10.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
require 'date'
|
14
|
+
require 'time'
|
14
15
|
|
15
16
|
module PulpDebClient
|
16
17
|
# A Serializer for ReleaseComponent.
|
@@ -26,6 +27,9 @@ module PulpDebClient
|
|
26
27
|
# Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same.
|
27
28
|
attr_accessor :pulp_last_updated
|
28
29
|
|
30
|
+
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
31
|
+
attr_accessor :pulp_labels
|
32
|
+
|
29
33
|
# Name of the component.
|
30
34
|
attr_accessor :component
|
31
35
|
|
@@ -42,19 +46,26 @@ module PulpDebClient
|
|
42
46
|
:'prn' => :'prn',
|
43
47
|
:'pulp_created' => :'pulp_created',
|
44
48
|
:'pulp_last_updated' => :'pulp_last_updated',
|
49
|
+
:'pulp_labels' => :'pulp_labels',
|
45
50
|
:'component' => :'component',
|
46
51
|
:'distribution' => :'distribution',
|
47
52
|
:'plain_component' => :'plain_component'
|
48
53
|
}
|
49
54
|
end
|
50
55
|
|
56
|
+
# Returns all the JSON keys this model knows about
|
57
|
+
def self.acceptable_attributes
|
58
|
+
attribute_map.values
|
59
|
+
end
|
60
|
+
|
51
61
|
# Attribute type mapping.
|
52
62
|
def self.openapi_types
|
53
63
|
{
|
54
64
|
:'pulp_href' => :'String',
|
55
65
|
:'prn' => :'String',
|
56
|
-
:'pulp_created' => :'
|
57
|
-
:'pulp_last_updated' => :'
|
66
|
+
:'pulp_created' => :'Time',
|
67
|
+
:'pulp_last_updated' => :'Time',
|
68
|
+
:'pulp_labels' => :'Hash<String, String>',
|
58
69
|
:'component' => :'String',
|
59
70
|
:'distribution' => :'String',
|
60
71
|
:'plain_component' => :'String'
|
@@ -98,12 +109,22 @@ module PulpDebClient
|
|
98
109
|
self.pulp_last_updated = attributes[:'pulp_last_updated']
|
99
110
|
end
|
100
111
|
|
112
|
+
if attributes.key?(:'pulp_labels')
|
113
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
114
|
+
self.pulp_labels = value
|
115
|
+
end
|
116
|
+
end
|
117
|
+
|
101
118
|
if attributes.key?(:'component')
|
102
119
|
self.component = attributes[:'component']
|
120
|
+
else
|
121
|
+
self.component = nil
|
103
122
|
end
|
104
123
|
|
105
124
|
if attributes.key?(:'distribution')
|
106
125
|
self.distribution = attributes[:'distribution']
|
126
|
+
else
|
127
|
+
self.distribution = nil
|
107
128
|
end
|
108
129
|
|
109
130
|
if attributes.key?(:'plain_component')
|
@@ -114,6 +135,7 @@ module PulpDebClient
|
|
114
135
|
# Show invalid properties with the reasons. Usually used together with valid?
|
115
136
|
# @return Array for valid properties with the reasons
|
116
137
|
def list_invalid_properties
|
138
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
117
139
|
invalid_properties = Array.new
|
118
140
|
if @component.nil?
|
119
141
|
invalid_properties.push('invalid value for "component", component cannot be nil.')
|
@@ -129,6 +151,7 @@ module PulpDebClient
|
|
129
151
|
# Check to see if the all the properties in the model are valid
|
130
152
|
# @return true if the model is valid
|
131
153
|
def valid?
|
154
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
132
155
|
return false if @component.nil?
|
133
156
|
return false if @distribution.nil?
|
134
157
|
true
|
@@ -143,6 +166,7 @@ module PulpDebClient
|
|
143
166
|
prn == o.prn &&
|
144
167
|
pulp_created == o.pulp_created &&
|
145
168
|
pulp_last_updated == o.pulp_last_updated &&
|
169
|
+
pulp_labels == o.pulp_labels &&
|
146
170
|
component == o.component &&
|
147
171
|
distribution == o.distribution &&
|
148
172
|
plain_component == o.plain_component
|
@@ -157,44 +181,40 @@ module PulpDebClient
|
|
157
181
|
# Calculates hash code according to all attributes.
|
158
182
|
# @return [Integer] Hash code
|
159
183
|
def hash
|
160
|
-
[pulp_href, prn, pulp_created, pulp_last_updated, component, distribution, plain_component].hash
|
184
|
+
[pulp_href, prn, pulp_created, pulp_last_updated, pulp_labels, component, distribution, plain_component].hash
|
161
185
|
end
|
162
186
|
|
163
187
|
# Builds the object from hash
|
164
188
|
# @param [Hash] attributes Model attributes in the form of hash
|
165
189
|
# @return [Object] Returns the model itself
|
166
190
|
def self.build_from_hash(attributes)
|
167
|
-
new.build_from_hash(attributes)
|
168
|
-
end
|
169
|
-
|
170
|
-
# Builds the object from hash
|
171
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
172
|
-
# @return [Object] Returns the model itself
|
173
|
-
def build_from_hash(attributes)
|
174
191
|
return nil unless attributes.is_a?(Hash)
|
175
|
-
|
176
|
-
|
192
|
+
attributes = attributes.transform_keys(&:to_sym)
|
193
|
+
transformed_hash = {}
|
194
|
+
openapi_types.each_pair do |key, type|
|
195
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
196
|
+
transformed_hash["#{key}"] = nil
|
197
|
+
elsif type =~ /\AArray<(.*)>/i
|
177
198
|
# check to ensure the input is an array given that the attribute
|
178
199
|
# is documented as an array but the input is not
|
179
|
-
if attributes[
|
180
|
-
|
200
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
201
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
181
202
|
end
|
182
|
-
elsif !attributes[
|
183
|
-
|
184
|
-
end
|
203
|
+
elsif !attributes[attribute_map[key]].nil?
|
204
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
205
|
+
end
|
185
206
|
end
|
186
|
-
|
187
|
-
self
|
207
|
+
new(transformed_hash)
|
188
208
|
end
|
189
209
|
|
190
210
|
# Deserializes the data based on type
|
191
211
|
# @param string type Data type
|
192
212
|
# @param string value Value to be deserialized
|
193
213
|
# @return [Object] Deserialized data
|
194
|
-
def _deserialize(type, value)
|
214
|
+
def self._deserialize(type, value)
|
195
215
|
case type.to_sym
|
196
|
-
when :
|
197
|
-
|
216
|
+
when :Time
|
217
|
+
Time.parse(value)
|
198
218
|
when :Date
|
199
219
|
Date.parse(value)
|
200
220
|
when :String
|
@@ -224,7 +244,9 @@ module PulpDebClient
|
|
224
244
|
end
|
225
245
|
end
|
226
246
|
else # model
|
227
|
-
|
247
|
+
# models (e.g. Pet) or oneOf
|
248
|
+
klass = PulpDebClient.const_get(type)
|
249
|
+
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
228
250
|
end
|
229
251
|
end
|
230
252
|
|
@@ -250,7 +272,7 @@ module PulpDebClient
|
|
250
272
|
is_nullable = self.class.openapi_nullable.include?(attr)
|
251
273
|
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
252
274
|
end
|
253
|
-
|
275
|
+
|
254
276
|
hash[param] = _to_hash(value)
|
255
277
|
end
|
256
278
|
hash
|
@@ -273,5 +295,7 @@ module PulpDebClient
|
|
273
295
|
value
|
274
296
|
end
|
275
297
|
end
|
298
|
+
|
276
299
|
end
|
300
|
+
|
277
301
|
end
|
@@ -6,11 +6,12 @@
|
|
6
6
|
The version of the OpenAPI document: v3
|
7
7
|
Contact: pulp-list@redhat.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
|
9
|
+
Generator version: 7.10.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
require 'date'
|
14
|
+
require 'time'
|
14
15
|
|
15
16
|
module PulpDebClient
|
16
17
|
# A serializer for ReleaseFile.
|
@@ -18,6 +19,9 @@ module PulpDebClient
|
|
18
19
|
# A URI of a repository the new content unit should be associated with.
|
19
20
|
attr_accessor :repository
|
20
21
|
|
22
|
+
# A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
23
|
+
attr_accessor :pulp_labels
|
24
|
+
|
21
25
|
# A dict mapping relative paths inside the Content to the correspondingArtifact URLs. E.g.: {'relative/path': '/artifacts/1/'
|
22
26
|
attr_accessor :artifacts
|
23
27
|
|
@@ -37,6 +41,7 @@ module PulpDebClient
|
|
37
41
|
def self.attribute_map
|
38
42
|
{
|
39
43
|
:'repository' => :'repository',
|
44
|
+
:'pulp_labels' => :'pulp_labels',
|
40
45
|
:'artifacts' => :'artifacts',
|
41
46
|
:'codename' => :'codename',
|
42
47
|
:'suite' => :'suite',
|
@@ -45,10 +50,16 @@ module PulpDebClient
|
|
45
50
|
}
|
46
51
|
end
|
47
52
|
|
53
|
+
# Returns all the JSON keys this model knows about
|
54
|
+
def self.acceptable_attributes
|
55
|
+
attribute_map.values
|
56
|
+
end
|
57
|
+
|
48
58
|
# Attribute type mapping.
|
49
59
|
def self.openapi_types
|
50
60
|
{
|
51
61
|
:'repository' => :'String',
|
62
|
+
:'pulp_labels' => :'Hash<String, String>',
|
52
63
|
:'artifacts' => :'Object',
|
53
64
|
:'codename' => :'String',
|
54
65
|
:'suite' => :'String',
|
@@ -82,8 +93,16 @@ module PulpDebClient
|
|
82
93
|
self.repository = attributes[:'repository']
|
83
94
|
end
|
84
95
|
|
96
|
+
if attributes.key?(:'pulp_labels')
|
97
|
+
if (value = attributes[:'pulp_labels']).is_a?(Hash)
|
98
|
+
self.pulp_labels = value
|
99
|
+
end
|
100
|
+
end
|
101
|
+
|
85
102
|
if attributes.key?(:'artifacts')
|
86
103
|
self.artifacts = attributes[:'artifacts']
|
104
|
+
else
|
105
|
+
self.artifacts = nil
|
87
106
|
end
|
88
107
|
|
89
108
|
if attributes.key?(:'codename')
|
@@ -96,6 +115,8 @@ module PulpDebClient
|
|
96
115
|
|
97
116
|
if attributes.key?(:'distribution')
|
98
117
|
self.distribution = attributes[:'distribution']
|
118
|
+
else
|
119
|
+
self.distribution = nil
|
99
120
|
end
|
100
121
|
|
101
122
|
if attributes.key?(:'relative_path')
|
@@ -106,6 +127,7 @@ module PulpDebClient
|
|
106
127
|
# Show invalid properties with the reasons. Usually used together with valid?
|
107
128
|
# @return Array for valid properties with the reasons
|
108
129
|
def list_invalid_properties
|
130
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
109
131
|
invalid_properties = Array.new
|
110
132
|
if @artifacts.nil?
|
111
133
|
invalid_properties.push('invalid value for "artifacts", artifacts cannot be nil.')
|
@@ -137,6 +159,7 @@ module PulpDebClient
|
|
137
159
|
# Check to see if the all the properties in the model are valid
|
138
160
|
# @return true if the model is valid
|
139
161
|
def valid?
|
162
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
140
163
|
return false if @artifacts.nil?
|
141
164
|
return false if !@codename.nil? && @codename.to_s.length < 1
|
142
165
|
return false if !@suite.nil? && @suite.to_s.length < 1
|
@@ -149,7 +172,11 @@ module PulpDebClient
|
|
149
172
|
# Custom attribute writer method with validation
|
150
173
|
# @param [Object] codename Value to be assigned
|
151
174
|
def codename=(codename)
|
152
|
-
if
|
175
|
+
if codename.nil?
|
176
|
+
fail ArgumentError, 'codename cannot be nil'
|
177
|
+
end
|
178
|
+
|
179
|
+
if codename.to_s.length < 1
|
153
180
|
fail ArgumentError, 'invalid value for "codename", the character length must be great than or equal to 1.'
|
154
181
|
end
|
155
182
|
|
@@ -159,7 +186,11 @@ module PulpDebClient
|
|
159
186
|
# Custom attribute writer method with validation
|
160
187
|
# @param [Object] suite Value to be assigned
|
161
188
|
def suite=(suite)
|
162
|
-
if
|
189
|
+
if suite.nil?
|
190
|
+
fail ArgumentError, 'suite cannot be nil'
|
191
|
+
end
|
192
|
+
|
193
|
+
if suite.to_s.length < 1
|
163
194
|
fail ArgumentError, 'invalid value for "suite", the character length must be great than or equal to 1.'
|
164
195
|
end
|
165
196
|
|
@@ -183,7 +214,11 @@ module PulpDebClient
|
|
183
214
|
# Custom attribute writer method with validation
|
184
215
|
# @param [Object] relative_path Value to be assigned
|
185
216
|
def relative_path=(relative_path)
|
186
|
-
if
|
217
|
+
if relative_path.nil?
|
218
|
+
fail ArgumentError, 'relative_path cannot be nil'
|
219
|
+
end
|
220
|
+
|
221
|
+
if relative_path.to_s.length < 1
|
187
222
|
fail ArgumentError, 'invalid value for "relative_path", the character length must be great than or equal to 1.'
|
188
223
|
end
|
189
224
|
|
@@ -196,6 +231,7 @@ module PulpDebClient
|
|
196
231
|
return true if self.equal?(o)
|
197
232
|
self.class == o.class &&
|
198
233
|
repository == o.repository &&
|
234
|
+
pulp_labels == o.pulp_labels &&
|
199
235
|
artifacts == o.artifacts &&
|
200
236
|
codename == o.codename &&
|
201
237
|
suite == o.suite &&
|
@@ -212,44 +248,40 @@ module PulpDebClient
|
|
212
248
|
# Calculates hash code according to all attributes.
|
213
249
|
# @return [Integer] Hash code
|
214
250
|
def hash
|
215
|
-
[repository, artifacts, codename, suite, distribution, relative_path].hash
|
251
|
+
[repository, pulp_labels, artifacts, codename, suite, distribution, relative_path].hash
|
216
252
|
end
|
217
253
|
|
218
254
|
# Builds the object from hash
|
219
255
|
# @param [Hash] attributes Model attributes in the form of hash
|
220
256
|
# @return [Object] Returns the model itself
|
221
257
|
def self.build_from_hash(attributes)
|
222
|
-
new.build_from_hash(attributes)
|
223
|
-
end
|
224
|
-
|
225
|
-
# Builds the object from hash
|
226
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
227
|
-
# @return [Object] Returns the model itself
|
228
|
-
def build_from_hash(attributes)
|
229
258
|
return nil unless attributes.is_a?(Hash)
|
230
|
-
|
231
|
-
|
259
|
+
attributes = attributes.transform_keys(&:to_sym)
|
260
|
+
transformed_hash = {}
|
261
|
+
openapi_types.each_pair do |key, type|
|
262
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
263
|
+
transformed_hash["#{key}"] = nil
|
264
|
+
elsif type =~ /\AArray<(.*)>/i
|
232
265
|
# check to ensure the input is an array given that the attribute
|
233
266
|
# is documented as an array but the input is not
|
234
|
-
if attributes[
|
235
|
-
|
267
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
268
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
236
269
|
end
|
237
|
-
elsif !attributes[
|
238
|
-
|
239
|
-
end
|
270
|
+
elsif !attributes[attribute_map[key]].nil?
|
271
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
272
|
+
end
|
240
273
|
end
|
241
|
-
|
242
|
-
self
|
274
|
+
new(transformed_hash)
|
243
275
|
end
|
244
276
|
|
245
277
|
# Deserializes the data based on type
|
246
278
|
# @param string type Data type
|
247
279
|
# @param string value Value to be deserialized
|
248
280
|
# @return [Object] Deserialized data
|
249
|
-
def _deserialize(type, value)
|
281
|
+
def self._deserialize(type, value)
|
250
282
|
case type.to_sym
|
251
|
-
when :
|
252
|
-
|
283
|
+
when :Time
|
284
|
+
Time.parse(value)
|
253
285
|
when :Date
|
254
286
|
Date.parse(value)
|
255
287
|
when :String
|
@@ -279,7 +311,9 @@ module PulpDebClient
|
|
279
311
|
end
|
280
312
|
end
|
281
313
|
else # model
|
282
|
-
|
314
|
+
# models (e.g. Pet) or oneOf
|
315
|
+
klass = PulpDebClient.const_get(type)
|
316
|
+
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
283
317
|
end
|
284
318
|
end
|
285
319
|
|
@@ -305,7 +339,7 @@ module PulpDebClient
|
|
305
339
|
is_nullable = self.class.openapi_nullable.include?(attr)
|
306
340
|
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
307
341
|
end
|
308
|
-
|
342
|
+
|
309
343
|
hash[param] = _to_hash(value)
|
310
344
|
end
|
311
345
|
hash
|
@@ -328,5 +362,7 @@ module PulpDebClient
|
|
328
362
|
value
|
329
363
|
end
|
330
364
|
end
|
365
|
+
|
331
366
|
end
|
367
|
+
|
332
368
|
end
|