pulp_rpm_client 3.27.1 → 3.28.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 +11 -10
- data/docs/AcsRpmApi.md +346 -157
- data/docs/AddonResponse.md +16 -15
- data/docs/ArtifactResponse.md +30 -27
- data/docs/AsyncOperationResponse.md +8 -7
- data/docs/ChecksumResponse.md +10 -9
- data/docs/CompressionTypeEnum.md +4 -5
- data/docs/ContentAdvisoriesApi.md +132 -78
- data/docs/ContentDistributionTreesApi.md +84 -49
- data/docs/ContentModulemdDefaultsApi.md +119 -67
- data/docs/ContentModulemdObsoletesApi.md +112 -60
- data/docs/ContentModulemdsApi.md +128 -76
- data/docs/ContentPackagecategoriesApi.md +84 -49
- data/docs/ContentPackageenvironmentsApi.md +84 -49
- data/docs/ContentPackagegroupsApi.md +84 -49
- data/docs/ContentPackagelangpacksApi.md +84 -49
- data/docs/ContentPackagesApi.md +155 -101
- data/docs/ContentRepoMetadataFilesApi.md +84 -49
- data/docs/ContentSummaryResponse.md +12 -11
- data/docs/Copy.md +10 -9
- data/docs/DistributionsRpmApi.md +388 -183
- data/docs/ImageResponse.md +14 -13
- 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/PackageChecksumTypeEnum.md +4 -5
- data/docs/PaginatedRepositoryVersionResponseList.md +14 -13
- data/docs/PaginatedrpmDistributionTreeResponseList.md +14 -13
- data/docs/PaginatedrpmModulemdDefaultsResponseList.md +14 -13
- data/docs/PaginatedrpmModulemdObsoleteResponseList.md +14 -13
- data/docs/PaginatedrpmModulemdResponseList.md +14 -13
- data/docs/PaginatedrpmPackageCategoryResponseList.md +14 -13
- data/docs/PaginatedrpmPackageEnvironmentResponseList.md +14 -13
- data/docs/PaginatedrpmPackageGroupResponseList.md +14 -13
- data/docs/PaginatedrpmPackageLangpacksResponseList.md +14 -13
- data/docs/PaginatedrpmPackageResponseList.md +14 -13
- data/docs/PaginatedrpmRepoMetadataFileResponseList.md +14 -13
- data/docs/PaginatedrpmRpmAlternateContentSourceResponseList.md +14 -13
- data/docs/PaginatedrpmRpmDistributionResponseList.md +14 -13
- data/docs/PaginatedrpmRpmPublicationResponseList.md +14 -13
- data/docs/PaginatedrpmRpmRemoteResponseList.md +14 -13
- data/docs/PaginatedrpmRpmRepositoryResponseList.md +14 -13
- data/docs/PaginatedrpmUlnRemoteResponseList.md +14 -13
- data/docs/PaginatedrpmUpdateRecordResponseList.md +14 -13
- data/docs/PatchedrpmRpmAlternateContentSource.md +14 -13
- data/docs/PatchedrpmRpmDistribution.md +22 -21
- data/docs/PatchedrpmRpmRemote.md +50 -49
- data/docs/PatchedrpmRpmRepository.md +40 -39
- data/docs/PatchedrpmUlnRemote.md +50 -49
- data/docs/PolicyEnum.md +4 -5
- data/docs/PrunePackages.md +12 -11
- data/docs/PublicationsRpmApi.md +271 -132
- data/docs/RemotesRpmApi.md +392 -185
- data/docs/RemotesUlnApi.md +392 -185
- data/docs/Repair.md +8 -7
- data/docs/RepositoriesRpmApi.md +449 -210
- data/docs/RepositoriesRpmVersionsApi.md +155 -83
- data/docs/RepositoryAddRemoveContent.md +12 -11
- data/docs/RepositoryVersionResponse.md +22 -19
- data/docs/RpmCompsApi.md +33 -17
- data/docs/RpmCopyApi.md +31 -15
- data/docs/RpmDistributionTreeResponse.md +46 -43
- data/docs/RpmModulemd.md +32 -31
- data/docs/RpmModulemdDefaults.md +16 -15
- data/docs/RpmModulemdDefaultsResponse.md +20 -17
- data/docs/RpmModulemdObsolete.md +28 -27
- data/docs/RpmModulemdObsoleteResponse.md +32 -29
- data/docs/RpmModulemdResponse.md +36 -33
- data/docs/RpmPackageCategoryResponse.md +30 -27
- data/docs/RpmPackageEnvironmentResponse.md +32 -29
- data/docs/RpmPackageGroupResponse.md +36 -33
- data/docs/RpmPackageLangpacksResponse.md +18 -15
- data/docs/RpmPackageResponse.md +100 -97
- data/docs/RpmPruneApi.md +31 -14
- data/docs/RpmRepoMetadataFileResponse.md +36 -33
- data/docs/RpmRepositorySyncURL.md +16 -15
- data/docs/RpmRpmAlternateContentSource.md +14 -13
- data/docs/RpmRpmAlternateContentSourceResponse.md +22 -19
- data/docs/RpmRpmDistribution.md +22 -21
- data/docs/RpmRpmDistributionResponse.md +34 -29
- data/docs/RpmRpmPublication.md +24 -23
- data/docs/RpmRpmPublicationResponse.md +34 -31
- data/docs/RpmRpmRemote.md +50 -49
- data/docs/RpmRpmRemoteResponse.md +50 -47
- data/docs/RpmRpmRemoteResponseHiddenFieldsInner.md +20 -0
- data/docs/RpmRpmRepository.md +40 -39
- data/docs/RpmRpmRepositoryResponse.md +54 -51
- data/docs/RpmUlnRemote.md +50 -49
- data/docs/RpmUlnRemoteResponse.md +50 -47
- data/docs/RpmUpdateCollection.md +12 -11
- data/docs/RpmUpdateCollectionResponse.md +14 -13
- data/docs/RpmUpdateRecordResponse.md +50 -47
- data/docs/SetLabel.md +10 -9
- data/docs/SetLabelResponse.md +10 -9
- data/docs/SkipTypesEnum.md +4 -5
- data/docs/SyncPolicyEnum.md +4 -5
- data/docs/TaskGroupOperationResponse.md +8 -7
- data/docs/UnsetLabel.md +8 -7
- data/docs/UnsetLabelResponse.md +10 -9
- data/docs/VariantResponse.md +26 -25
- data/lib/pulp_rpm_client/api/acs_rpm_api.rb +81 -52
- data/lib/pulp_rpm_client/api/content_advisories_api.rb +38 -22
- data/lib/pulp_rpm_client/api/content_distribution_trees_api.rb +22 -17
- data/lib/pulp_rpm_client/api/content_modulemd_defaults_api.rb +31 -22
- data/lib/pulp_rpm_client/api/content_modulemd_obsoletes_api.rb +31 -22
- data/lib/pulp_rpm_client/api/content_modulemds_api.rb +31 -22
- data/lib/pulp_rpm_client/api/content_packagecategories_api.rb +22 -17
- data/lib/pulp_rpm_client/api/content_packageenvironments_api.rb +22 -17
- data/lib/pulp_rpm_client/api/content_packagegroups_api.rb +22 -17
- data/lib/pulp_rpm_client/api/content_packagelangpacks_api.rb +22 -17
- data/lib/pulp_rpm_client/api/content_packages_api.rb +38 -22
- data/lib/pulp_rpm_client/api/content_repo_metadata_files_api.rb +22 -17
- data/lib/pulp_rpm_client/api/distributions_rpm_api.rb +94 -58
- data/lib/pulp_rpm_client/api/publications_rpm_api.rb +81 -58
- data/lib/pulp_rpm_client/api/remotes_rpm_api.rb +109 -70
- data/lib/pulp_rpm_client/api/remotes_uln_api.rb +109 -70
- data/lib/pulp_rpm_client/api/repositories_rpm_api.rb +116 -72
- data/lib/pulp_rpm_client/api/repositories_rpm_versions_api.rb +50 -37
- data/lib/pulp_rpm_client/api/rpm_comps_api.rb +10 -6
- data/lib/pulp_rpm_client/api/rpm_copy_api.rb +10 -6
- data/lib/pulp_rpm_client/api/rpm_prune_api.rb +10 -6
- data/lib/pulp_rpm_client/api_client.rb +137 -102
- data/lib/pulp_rpm_client/api_error.rb +2 -1
- data/lib/pulp_rpm_client/configuration.rb +162 -21
- data/lib/pulp_rpm_client/models/addon_response.rb +40 -22
- data/lib/pulp_rpm_client/models/artifact_response.rb +46 -26
- data/lib/pulp_rpm_client/models/async_operation_response.rb +32 -22
- data/lib/pulp_rpm_client/models/checksum_response.rb +34 -22
- data/lib/pulp_rpm_client/models/compression_type_enum.rb +8 -4
- data/lib/pulp_rpm_client/models/content_summary_response.rb +36 -22
- data/lib/pulp_rpm_client/models/copy.rb +35 -29
- data/lib/pulp_rpm_client/models/image_response.rb +38 -22
- data/lib/pulp_rpm_client/models/my_permissions_response.rb +32 -22
- data/lib/pulp_rpm_client/models/nested_role.rb +32 -22
- data/lib/pulp_rpm_client/models/nested_role_response.rb +32 -22
- data/lib/pulp_rpm_client/models/object_roles_response.rb +32 -22
- data/lib/pulp_rpm_client/models/package_checksum_type_enum.rb +8 -4
- data/lib/pulp_rpm_client/models/paginated_repository_version_response_list.rb +34 -22
- data/lib/pulp_rpm_client/models/paginatedrpm_distribution_tree_response_list.rb +34 -22
- data/lib/pulp_rpm_client/models/paginatedrpm_modulemd_defaults_response_list.rb +34 -22
- data/lib/pulp_rpm_client/models/paginatedrpm_modulemd_obsolete_response_list.rb +34 -22
- data/lib/pulp_rpm_client/models/paginatedrpm_modulemd_response_list.rb +34 -22
- data/lib/pulp_rpm_client/models/paginatedrpm_package_category_response_list.rb +34 -22
- data/lib/pulp_rpm_client/models/paginatedrpm_package_environment_response_list.rb +34 -22
- data/lib/pulp_rpm_client/models/paginatedrpm_package_group_response_list.rb +34 -22
- data/lib/pulp_rpm_client/models/paginatedrpm_package_langpacks_response_list.rb +34 -22
- data/lib/pulp_rpm_client/models/paginatedrpm_package_response_list.rb +34 -22
- data/lib/pulp_rpm_client/models/paginatedrpm_repo_metadata_file_response_list.rb +34 -22
- data/lib/pulp_rpm_client/models/paginatedrpm_rpm_alternate_content_source_response_list.rb +34 -22
- data/lib/pulp_rpm_client/models/paginatedrpm_rpm_distribution_response_list.rb +34 -22
- data/lib/pulp_rpm_client/models/paginatedrpm_rpm_publication_response_list.rb +34 -22
- data/lib/pulp_rpm_client/models/paginatedrpm_rpm_remote_response_list.rb +34 -22
- data/lib/pulp_rpm_client/models/paginatedrpm_rpm_repository_response_list.rb +34 -22
- data/lib/pulp_rpm_client/models/paginatedrpm_uln_remote_response_list.rb +34 -22
- data/lib/pulp_rpm_client/models/paginatedrpm_update_record_response_list.rb +34 -22
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_alternate_content_source.rb +36 -24
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_distribution.rb +40 -24
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_remote.rb +62 -24
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_repository.rb +69 -26
- data/lib/pulp_rpm_client/models/patchedrpm_uln_remote.rb +72 -26
- data/lib/pulp_rpm_client/models/policy_enum.rb +8 -4
- data/lib/pulp_rpm_client/models/prune_packages.rb +37 -23
- data/lib/pulp_rpm_client/models/repair.rb +30 -22
- data/lib/pulp_rpm_client/models/repository_add_remove_content.rb +31 -23
- data/lib/pulp_rpm_client/models/repository_version_response.rb +44 -26
- data/lib/pulp_rpm_client/models/rpm_distribution_tree_response.rb +77 -23
- data/lib/pulp_rpm_client/models/rpm_modulemd.rb +53 -25
- data/lib/pulp_rpm_client/models/rpm_modulemd_defaults.rb +40 -28
- data/lib/pulp_rpm_client/models/rpm_modulemd_defaults_response.rb +51 -31
- data/lib/pulp_rpm_client/models/rpm_modulemd_obsolete.rb +55 -27
- data/lib/pulp_rpm_client/models/rpm_modulemd_obsolete_response.rb +61 -25
- data/lib/pulp_rpm_client/models/rpm_modulemd_response.rb +64 -28
- data/lib/pulp_rpm_client/models/rpm_package_category_response.rb +62 -28
- data/lib/pulp_rpm_client/models/rpm_package_environment_response.rb +65 -29
- data/lib/pulp_rpm_client/models/rpm_package_group_response.rb +62 -28
- data/lib/pulp_rpm_client/models/rpm_package_langpacks_response.rb +48 -26
- data/lib/pulp_rpm_client/models/rpm_package_response.rb +63 -35
- data/lib/pulp_rpm_client/models/rpm_repo_metadata_file_response.rb +51 -25
- data/lib/pulp_rpm_client/models/rpm_repository_sync_url.rb +52 -22
- data/lib/pulp_rpm_client/models/rpm_rpm_alternate_content_source.rb +35 -23
- data/lib/pulp_rpm_client/models/rpm_rpm_alternate_content_source_response.rb +48 -26
- data/lib/pulp_rpm_client/models/rpm_rpm_distribution.rb +34 -22
- data/lib/pulp_rpm_client/models/rpm_rpm_distribution_response.rb +57 -25
- data/lib/pulp_rpm_client/models/rpm_rpm_publication.rb +54 -23
- data/lib/pulp_rpm_client/models/rpm_rpm_publication_response.rb +67 -26
- data/lib/pulp_rpm_client/models/rpm_rpm_remote.rb +56 -22
- data/lib/pulp_rpm_client/models/rpm_rpm_remote_response.rb +70 -26
- data/lib/pulp_rpm_client/models/{rpm_rpm_remote_response_hidden_fields.rb → rpm_rpm_remote_response_hidden_fields_inner.rb} +37 -25
- data/lib/pulp_rpm_client/models/rpm_rpm_repository.rb +66 -25
- data/lib/pulp_rpm_client/models/rpm_rpm_repository_response.rb +79 -28
- data/lib/pulp_rpm_client/models/rpm_uln_remote.rb +60 -22
- data/lib/pulp_rpm_client/models/rpm_uln_remote_response.rb +70 -26
- data/lib/pulp_rpm_client/models/rpm_update_collection.rb +37 -23
- data/lib/pulp_rpm_client/models/rpm_update_collection_response.rb +37 -23
- data/lib/pulp_rpm_client/models/rpm_update_record_response.rb +43 -25
- data/lib/pulp_rpm_client/models/set_label.rb +34 -22
- data/lib/pulp_rpm_client/models/set_label_response.rb +34 -22
- data/lib/pulp_rpm_client/models/skip_types_enum.rb +8 -4
- data/lib/pulp_rpm_client/models/sync_policy_enum.rb +8 -4
- data/lib/pulp_rpm_client/models/task_group_operation_response.rb +32 -22
- data/lib/pulp_rpm_client/models/unset_label.rb +32 -22
- data/lib/pulp_rpm_client/models/unset_label_response.rb +32 -22
- data/lib/pulp_rpm_client/models/variant_response.rb +50 -22
- data/lib/pulp_rpm_client/version.rb +2 -2
- data/lib/pulp_rpm_client.rb +2 -5
- data/pulp_rpm_client.gemspec +9 -6
- data/spec/api/acs_rpm_api_spec.rb +14 -13
- data/spec/api/content_advisories_api_spec.rb +10 -8
- data/spec/api/content_distribution_trees_api_spec.rb +8 -7
- data/spec/api/content_modulemd_defaults_api_spec.rb +9 -8
- data/spec/api/content_modulemd_obsoletes_api_spec.rb +9 -8
- data/spec/api/content_modulemds_api_spec.rb +9 -8
- data/spec/api/content_packagecategories_api_spec.rb +8 -7
- data/spec/api/content_packageenvironments_api_spec.rb +8 -7
- data/spec/api/content_packagegroups_api_spec.rb +8 -7
- data/spec/api/content_packagelangpacks_api_spec.rb +8 -7
- data/spec/api/content_packages_api_spec.rb +10 -8
- data/spec/api/content_repo_metadata_files_api_spec.rb +8 -7
- data/spec/api/distributions_rpm_api_spec.rb +15 -14
- data/spec/api/publications_rpm_api_spec.rb +22 -20
- data/spec/api/remotes_rpm_api_spec.rb +22 -20
- data/spec/api/remotes_uln_api_spec.rb +22 -20
- data/spec/api/repositories_rpm_api_spec.rb +19 -18
- data/spec/api/repositories_rpm_versions_api_spec.rb +16 -14
- data/spec/api/rpm_comps_api_spec.rb +2 -2
- data/spec/api/rpm_copy_api_spec.rb +2 -2
- data/spec/api/rpm_prune_api_spec.rb +2 -2
- data/spec/models/addon_response_spec.rb +11 -16
- data/spec/models/artifact_response_spec.rb +23 -22
- data/spec/models/async_operation_response_spec.rb +7 -12
- data/spec/models/checksum_response_spec.rb +8 -13
- data/spec/models/compression_type_enum_spec.rb +6 -11
- data/spec/models/content_summary_response_spec.rb +9 -14
- data/spec/models/copy_spec.rb +8 -13
- data/spec/models/image_response_spec.rb +10 -15
- 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/package_checksum_type_enum_spec.rb +6 -11
- data/spec/models/paginated_repository_version_response_list_spec.rb +10 -15
- data/spec/models/paginatedrpm_distribution_tree_response_list_spec.rb +10 -15
- data/spec/models/paginatedrpm_modulemd_defaults_response_list_spec.rb +10 -15
- data/spec/models/paginatedrpm_modulemd_obsolete_response_list_spec.rb +10 -15
- data/spec/models/paginatedrpm_modulemd_response_list_spec.rb +10 -15
- data/spec/models/paginatedrpm_package_category_response_list_spec.rb +10 -15
- data/spec/models/paginatedrpm_package_environment_response_list_spec.rb +10 -15
- data/spec/models/paginatedrpm_package_group_response_list_spec.rb +10 -15
- data/spec/models/paginatedrpm_package_langpacks_response_list_spec.rb +10 -15
- data/spec/models/paginatedrpm_package_response_list_spec.rb +10 -15
- data/spec/models/paginatedrpm_repo_metadata_file_response_list_spec.rb +10 -15
- data/spec/models/paginatedrpm_rpm_alternate_content_source_response_list_spec.rb +10 -15
- data/spec/models/paginatedrpm_rpm_distribution_response_list_spec.rb +10 -15
- data/spec/models/paginatedrpm_rpm_publication_response_list_spec.rb +10 -15
- data/spec/models/paginatedrpm_rpm_remote_response_list_spec.rb +10 -15
- data/spec/models/paginatedrpm_rpm_repository_response_list_spec.rb +10 -15
- data/spec/models/paginatedrpm_uln_remote_response_list_spec.rb +10 -15
- data/spec/models/paginatedrpm_update_record_response_list_spec.rb +10 -15
- data/spec/models/patchedrpm_rpm_alternate_content_source_spec.rb +10 -15
- data/spec/models/patchedrpm_rpm_distribution_spec.rb +14 -19
- data/spec/models/patchedrpm_rpm_remote_spec.rb +28 -33
- data/spec/models/patchedrpm_rpm_repository_spec.rb +23 -28
- data/spec/models/patchedrpm_uln_remote_spec.rb +28 -33
- data/spec/models/policy_enum_spec.rb +6 -11
- data/spec/models/prune_packages_spec.rb +9 -14
- 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 +19 -18
- data/spec/models/rpm_distribution_tree_response_spec.rb +31 -30
- data/spec/models/rpm_modulemd_defaults_response_spec.rb +18 -17
- data/spec/models/rpm_modulemd_defaults_spec.rb +11 -16
- data/spec/models/rpm_modulemd_obsolete_response_spec.rb +24 -23
- data/spec/models/rpm_modulemd_obsolete_spec.rb +17 -22
- data/spec/models/rpm_modulemd_response_spec.rb +26 -25
- data/spec/models/rpm_modulemd_spec.rb +19 -24
- data/spec/models/rpm_package_category_response_spec.rb +23 -22
- data/spec/models/rpm_package_environment_response_spec.rb +24 -23
- data/spec/models/rpm_package_group_response_spec.rb +26 -25
- data/spec/models/rpm_package_langpacks_response_spec.rb +17 -16
- data/spec/models/rpm_package_response_spec.rb +58 -57
- data/spec/models/rpm_repo_metadata_file_response_spec.rb +26 -25
- data/spec/models/rpm_repository_sync_url_spec.rb +11 -16
- data/spec/models/rpm_rpm_alternate_content_source_response_spec.rb +19 -18
- data/spec/models/rpm_rpm_alternate_content_source_spec.rb +10 -15
- data/spec/models/rpm_rpm_distribution_response_spec.rb +30 -23
- data/spec/models/rpm_rpm_distribution_spec.rb +14 -19
- data/spec/models/rpm_rpm_publication_response_spec.rb +25 -24
- data/spec/models/rpm_rpm_publication_spec.rb +15 -20
- data/spec/models/{rpm_rpm_remote_response_hidden_fields_spec.rb → rpm_rpm_remote_response_hidden_fields_inner_spec.rb} +11 -16
- data/spec/models/rpm_rpm_remote_response_spec.rb +33 -32
- data/spec/models/rpm_rpm_remote_spec.rb +28 -33
- data/spec/models/rpm_rpm_repository_response_spec.rb +35 -34
- data/spec/models/rpm_rpm_repository_spec.rb +23 -28
- data/spec/models/rpm_uln_remote_response_spec.rb +33 -32
- data/spec/models/rpm_uln_remote_spec.rb +28 -33
- data/spec/models/rpm_update_collection_response_spec.rb +10 -15
- data/spec/models/rpm_update_collection_spec.rb +9 -14
- data/spec/models/rpm_update_record_response_spec.rb +33 -32
- data/spec/models/set_label_response_spec.rb +8 -13
- data/spec/models/set_label_spec.rb +8 -13
- data/spec/models/skip_types_enum_spec.rb +6 -11
- data/spec/models/sync_policy_enum_spec.rb +6 -11
- data/spec/models/task_group_operation_response_spec.rb +7 -12
- data/spec/models/unset_label_response_spec.rb +8 -13
- data/spec/models/unset_label_spec.rb +7 -12
- data/spec/models/variant_response_spec.rb +16 -21
- data/spec/spec_helper.rb +1 -1
- metadata +133 -121
- data/docs/CompsXml.md +0 -21
- data/docs/RpmPackage.md +0 -25
- data/docs/RpmRpmRemoteResponseHiddenFields.md +0 -19
- data/docs/RpmUpdateRecord.md +0 -21
- data/lib/pulp_rpm_client/models/comps_xml.rb +0 -233
- data/lib/pulp_rpm_client/models/rpm_package.rb +0 -263
- data/lib/pulp_rpm_client/models/rpm_update_record.rb +0 -228
- data/spec/api_client_spec.rb +0 -188
- data/spec/configuration_spec.rb +0 -42
- data/spec/models/comps_xml_spec.rb +0 -53
- data/spec/models/rpm_package_spec.rb +0 -65
- data/spec/models/rpm_update_record_spec.rb +0 -53
@@ -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 PulpRpmClient
|
16
17
|
# Serializer for synchronously setting a label.
|
@@ -27,6 +28,11 @@ module PulpRpmClient
|
|
27
28
|
}
|
28
29
|
end
|
29
30
|
|
31
|
+
# Returns all the JSON keys this model knows about
|
32
|
+
def self.acceptable_attributes
|
33
|
+
attribute_map.values
|
34
|
+
end
|
35
|
+
|
30
36
|
# Attribute type mapping.
|
31
37
|
def self.openapi_types
|
32
38
|
{
|
@@ -58,6 +64,8 @@ module PulpRpmClient
|
|
58
64
|
|
59
65
|
if attributes.key?(:'key')
|
60
66
|
self.key = attributes[:'key']
|
67
|
+
else
|
68
|
+
self.key = nil
|
61
69
|
end
|
62
70
|
|
63
71
|
if attributes.key?(:'value')
|
@@ -68,6 +76,7 @@ module PulpRpmClient
|
|
68
76
|
# Show invalid properties with the reasons. Usually used together with valid?
|
69
77
|
# @return Array for valid properties with the reasons
|
70
78
|
def list_invalid_properties
|
79
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
71
80
|
invalid_properties = Array.new
|
72
81
|
if @key.nil?
|
73
82
|
invalid_properties.push('invalid value for "key", key cannot be nil.')
|
@@ -84,6 +93,7 @@ module PulpRpmClient
|
|
84
93
|
# Check to see if the all the properties in the model are valid
|
85
94
|
# @return true if the model is valid
|
86
95
|
def valid?
|
96
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
87
97
|
return false if @key.nil?
|
88
98
|
return false if @key !~ Regexp.new(/^[-a-zA-Z0-9_]+$/)
|
89
99
|
true
|
@@ -129,37 +139,33 @@ module PulpRpmClient
|
|
129
139
|
# @param [Hash] attributes Model attributes in the form of hash
|
130
140
|
# @return [Object] Returns the model itself
|
131
141
|
def self.build_from_hash(attributes)
|
132
|
-
new.build_from_hash(attributes)
|
133
|
-
end
|
134
|
-
|
135
|
-
# Builds the object from hash
|
136
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
137
|
-
# @return [Object] Returns the model itself
|
138
|
-
def build_from_hash(attributes)
|
139
142
|
return nil unless attributes.is_a?(Hash)
|
140
|
-
|
141
|
-
|
143
|
+
attributes = attributes.transform_keys(&:to_sym)
|
144
|
+
transformed_hash = {}
|
145
|
+
openapi_types.each_pair do |key, type|
|
146
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
147
|
+
transformed_hash["#{key}"] = nil
|
148
|
+
elsif type =~ /\AArray<(.*)>/i
|
142
149
|
# check to ensure the input is an array given that the attribute
|
143
150
|
# is documented as an array but the input is not
|
144
|
-
if attributes[
|
145
|
-
|
151
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
152
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
146
153
|
end
|
147
|
-
elsif !attributes[
|
148
|
-
|
149
|
-
end
|
154
|
+
elsif !attributes[attribute_map[key]].nil?
|
155
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
156
|
+
end
|
150
157
|
end
|
151
|
-
|
152
|
-
self
|
158
|
+
new(transformed_hash)
|
153
159
|
end
|
154
160
|
|
155
161
|
# Deserializes the data based on type
|
156
162
|
# @param string type Data type
|
157
163
|
# @param string value Value to be deserialized
|
158
164
|
# @return [Object] Deserialized data
|
159
|
-
def _deserialize(type, value)
|
165
|
+
def self._deserialize(type, value)
|
160
166
|
case type.to_sym
|
161
|
-
when :
|
162
|
-
|
167
|
+
when :Time
|
168
|
+
Time.parse(value)
|
163
169
|
when :Date
|
164
170
|
Date.parse(value)
|
165
171
|
when :String
|
@@ -189,7 +195,9 @@ module PulpRpmClient
|
|
189
195
|
end
|
190
196
|
end
|
191
197
|
else # model
|
192
|
-
|
198
|
+
# models (e.g. Pet) or oneOf
|
199
|
+
klass = PulpRpmClient.const_get(type)
|
200
|
+
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
193
201
|
end
|
194
202
|
end
|
195
203
|
|
@@ -215,7 +223,7 @@ module PulpRpmClient
|
|
215
223
|
is_nullable = self.class.openapi_nullable.include?(attr)
|
216
224
|
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
217
225
|
end
|
218
|
-
|
226
|
+
|
219
227
|
hash[param] = _to_hash(value)
|
220
228
|
end
|
221
229
|
hash
|
@@ -238,5 +246,7 @@ module PulpRpmClient
|
|
238
246
|
value
|
239
247
|
end
|
240
248
|
end
|
249
|
+
|
241
250
|
end
|
251
|
+
|
242
252
|
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 PulpRpmClient
|
16
17
|
# Variant serializer.
|
@@ -61,6 +62,11 @@ module PulpRpmClient
|
|
61
62
|
}
|
62
63
|
end
|
63
64
|
|
65
|
+
# Returns all the JSON keys this model knows about
|
66
|
+
def self.acceptable_attributes
|
67
|
+
attribute_map.values
|
68
|
+
end
|
69
|
+
|
64
70
|
# Attribute type mapping.
|
65
71
|
def self.openapi_types
|
66
72
|
{
|
@@ -105,48 +111,69 @@ module PulpRpmClient
|
|
105
111
|
|
106
112
|
if attributes.key?(:'variant_id')
|
107
113
|
self.variant_id = attributes[:'variant_id']
|
114
|
+
else
|
115
|
+
self.variant_id = nil
|
108
116
|
end
|
109
117
|
|
110
118
|
if attributes.key?(:'uid')
|
111
119
|
self.uid = attributes[:'uid']
|
120
|
+
else
|
121
|
+
self.uid = nil
|
112
122
|
end
|
113
123
|
|
114
124
|
if attributes.key?(:'name')
|
115
125
|
self.name = attributes[:'name']
|
126
|
+
else
|
127
|
+
self.name = nil
|
116
128
|
end
|
117
129
|
|
118
130
|
if attributes.key?(:'type')
|
119
131
|
self.type = attributes[:'type']
|
132
|
+
else
|
133
|
+
self.type = nil
|
120
134
|
end
|
121
135
|
|
122
136
|
if attributes.key?(:'packages')
|
123
137
|
self.packages = attributes[:'packages']
|
138
|
+
else
|
139
|
+
self.packages = nil
|
124
140
|
end
|
125
141
|
|
126
142
|
if attributes.key?(:'source_packages')
|
127
143
|
self.source_packages = attributes[:'source_packages']
|
144
|
+
else
|
145
|
+
self.source_packages = nil
|
128
146
|
end
|
129
147
|
|
130
148
|
if attributes.key?(:'source_repository')
|
131
149
|
self.source_repository = attributes[:'source_repository']
|
150
|
+
else
|
151
|
+
self.source_repository = nil
|
132
152
|
end
|
133
153
|
|
134
154
|
if attributes.key?(:'debug_packages')
|
135
155
|
self.debug_packages = attributes[:'debug_packages']
|
156
|
+
else
|
157
|
+
self.debug_packages = nil
|
136
158
|
end
|
137
159
|
|
138
160
|
if attributes.key?(:'debug_repository')
|
139
161
|
self.debug_repository = attributes[:'debug_repository']
|
162
|
+
else
|
163
|
+
self.debug_repository = nil
|
140
164
|
end
|
141
165
|
|
142
166
|
if attributes.key?(:'identity')
|
143
167
|
self.identity = attributes[:'identity']
|
168
|
+
else
|
169
|
+
self.identity = nil
|
144
170
|
end
|
145
171
|
end
|
146
172
|
|
147
173
|
# Show invalid properties with the reasons. Usually used together with valid?
|
148
174
|
# @return Array for valid properties with the reasons
|
149
175
|
def list_invalid_properties
|
176
|
+
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
150
177
|
invalid_properties = Array.new
|
151
178
|
if @variant_id.nil?
|
152
179
|
invalid_properties.push('invalid value for "variant_id", variant_id cannot be nil.')
|
@@ -174,6 +201,7 @@ module PulpRpmClient
|
|
174
201
|
# Check to see if the all the properties in the model are valid
|
175
202
|
# @return true if the model is valid
|
176
203
|
def valid?
|
204
|
+
warn '[DEPRECATED] the `valid?` method is obsolete'
|
177
205
|
return false if @variant_id.nil?
|
178
206
|
return false if @uid.nil?
|
179
207
|
return false if @name.nil?
|
@@ -215,37 +243,33 @@ module PulpRpmClient
|
|
215
243
|
# @param [Hash] attributes Model attributes in the form of hash
|
216
244
|
# @return [Object] Returns the model itself
|
217
245
|
def self.build_from_hash(attributes)
|
218
|
-
new.build_from_hash(attributes)
|
219
|
-
end
|
220
|
-
|
221
|
-
# Builds the object from hash
|
222
|
-
# @param [Hash] attributes Model attributes in the form of hash
|
223
|
-
# @return [Object] Returns the model itself
|
224
|
-
def build_from_hash(attributes)
|
225
246
|
return nil unless attributes.is_a?(Hash)
|
226
|
-
|
227
|
-
|
247
|
+
attributes = attributes.transform_keys(&:to_sym)
|
248
|
+
transformed_hash = {}
|
249
|
+
openapi_types.each_pair do |key, type|
|
250
|
+
if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
|
251
|
+
transformed_hash["#{key}"] = nil
|
252
|
+
elsif type =~ /\AArray<(.*)>/i
|
228
253
|
# check to ensure the input is an array given that the attribute
|
229
254
|
# is documented as an array but the input is not
|
230
|
-
if attributes[
|
231
|
-
|
255
|
+
if attributes[attribute_map[key]].is_a?(Array)
|
256
|
+
transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
|
232
257
|
end
|
233
|
-
elsif !attributes[
|
234
|
-
|
235
|
-
end
|
258
|
+
elsif !attributes[attribute_map[key]].nil?
|
259
|
+
transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
|
260
|
+
end
|
236
261
|
end
|
237
|
-
|
238
|
-
self
|
262
|
+
new(transformed_hash)
|
239
263
|
end
|
240
264
|
|
241
265
|
# Deserializes the data based on type
|
242
266
|
# @param string type Data type
|
243
267
|
# @param string value Value to be deserialized
|
244
268
|
# @return [Object] Deserialized data
|
245
|
-
def _deserialize(type, value)
|
269
|
+
def self._deserialize(type, value)
|
246
270
|
case type.to_sym
|
247
|
-
when :
|
248
|
-
|
271
|
+
when :Time
|
272
|
+
Time.parse(value)
|
249
273
|
when :Date
|
250
274
|
Date.parse(value)
|
251
275
|
when :String
|
@@ -275,7 +299,9 @@ module PulpRpmClient
|
|
275
299
|
end
|
276
300
|
end
|
277
301
|
else # model
|
278
|
-
|
302
|
+
# models (e.g. Pet) or oneOf
|
303
|
+
klass = PulpRpmClient.const_get(type)
|
304
|
+
klass.respond_to?(:openapi_any_of) || klass.respond_to?(:openapi_one_of) ? klass.build(value) : klass.build_from_hash(value)
|
279
305
|
end
|
280
306
|
end
|
281
307
|
|
@@ -301,7 +327,7 @@ module PulpRpmClient
|
|
301
327
|
is_nullable = self.class.openapi_nullable.include?(attr)
|
302
328
|
next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
|
303
329
|
end
|
304
|
-
|
330
|
+
|
305
331
|
hash[param] = _to_hash(value)
|
306
332
|
end
|
307
333
|
hash
|
@@ -324,5 +350,7 @@ module PulpRpmClient
|
|
324
350
|
value
|
325
351
|
end
|
326
352
|
end
|
353
|
+
|
327
354
|
end
|
355
|
+
|
328
356
|
end
|
@@ -6,10 +6,10 @@
|
|
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
|
module PulpRpmClient
|
14
|
-
VERSION = '3.
|
14
|
+
VERSION = '3.28.0'
|
15
15
|
end
|
data/lib/pulp_rpm_client.rb
CHANGED
@@ -6,7 +6,7 @@
|
|
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
|
|
@@ -22,7 +22,6 @@ require 'pulp_rpm_client/models/artifact_response'
|
|
22
22
|
require 'pulp_rpm_client/models/async_operation_response'
|
23
23
|
require 'pulp_rpm_client/models/checksum_response'
|
24
24
|
require 'pulp_rpm_client/models/compression_type_enum'
|
25
|
-
require 'pulp_rpm_client/models/comps_xml'
|
26
25
|
require 'pulp_rpm_client/models/content_summary_response'
|
27
26
|
require 'pulp_rpm_client/models/copy'
|
28
27
|
require 'pulp_rpm_client/models/image_response'
|
@@ -66,7 +65,6 @@ require 'pulp_rpm_client/models/rpm_modulemd_defaults_response'
|
|
66
65
|
require 'pulp_rpm_client/models/rpm_modulemd_obsolete'
|
67
66
|
require 'pulp_rpm_client/models/rpm_modulemd_obsolete_response'
|
68
67
|
require 'pulp_rpm_client/models/rpm_modulemd_response'
|
69
|
-
require 'pulp_rpm_client/models/rpm_package'
|
70
68
|
require 'pulp_rpm_client/models/rpm_package_category_response'
|
71
69
|
require 'pulp_rpm_client/models/rpm_package_environment_response'
|
72
70
|
require 'pulp_rpm_client/models/rpm_package_group_response'
|
@@ -82,14 +80,13 @@ require 'pulp_rpm_client/models/rpm_rpm_publication'
|
|
82
80
|
require 'pulp_rpm_client/models/rpm_rpm_publication_response'
|
83
81
|
require 'pulp_rpm_client/models/rpm_rpm_remote'
|
84
82
|
require 'pulp_rpm_client/models/rpm_rpm_remote_response'
|
85
|
-
require 'pulp_rpm_client/models/
|
83
|
+
require 'pulp_rpm_client/models/rpm_rpm_remote_response_hidden_fields_inner'
|
86
84
|
require 'pulp_rpm_client/models/rpm_rpm_repository'
|
87
85
|
require 'pulp_rpm_client/models/rpm_rpm_repository_response'
|
88
86
|
require 'pulp_rpm_client/models/rpm_uln_remote'
|
89
87
|
require 'pulp_rpm_client/models/rpm_uln_remote_response'
|
90
88
|
require 'pulp_rpm_client/models/rpm_update_collection'
|
91
89
|
require 'pulp_rpm_client/models/rpm_update_collection_response'
|
92
|
-
require 'pulp_rpm_client/models/rpm_update_record'
|
93
90
|
require 'pulp_rpm_client/models/rpm_update_record_response'
|
94
91
|
require 'pulp_rpm_client/models/set_label'
|
95
92
|
require 'pulp_rpm_client/models/set_label_response'
|
data/pulp_rpm_client.gemspec
CHANGED
@@ -8,7 +8,7 @@
|
|
8
8
|
The version of the OpenAPI document: v3
|
9
9
|
Contact: pulp-list@redhat.com
|
10
10
|
Generated by: https://openapi-generator.tech
|
11
|
-
|
11
|
+
Generator version: 7.10.0
|
12
12
|
|
13
13
|
=end
|
14
14
|
|
@@ -24,11 +24,14 @@ Gem::Specification.new do |s|
|
|
24
24
|
s.homepage = "https://github.com/pulp/pulp_rpm"
|
25
25
|
s.summary = "Pulp 3 API Ruby Gem"
|
26
26
|
s.description = "Fetch, Upload, Organize, and Distribute Software Packages"
|
27
|
-
s.license =
|
28
|
-
s.required_ruby_version = ">=
|
29
|
-
|
30
|
-
|
31
|
-
s.add_runtime_dependency '
|
27
|
+
s.license = "GPLv2+"
|
28
|
+
s.required_ruby_version = ">= 2.7"
|
29
|
+
s.metadata = {}
|
30
|
+
|
31
|
+
s.add_runtime_dependency 'faraday-net_http', '>= 2.0', '< 3.1'
|
32
|
+
s.add_runtime_dependency 'faraday', '>= 1.0.1', '< 2.9'
|
33
|
+
s.add_runtime_dependency 'faraday-multipart'
|
34
|
+
s.add_runtime_dependency 'marcel'
|
32
35
|
|
33
36
|
s.add_development_dependency 'rspec', '~> 3.6', '>= 3.6.0'
|
34
37
|
|
@@ -6,7 +6,7 @@
|
|
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
|
|
@@ -41,7 +41,7 @@ describe 'AcsRpmApi' do
|
|
41
41
|
# @return [NestedRoleResponse]
|
42
42
|
describe 'add_role test' do
|
43
43
|
it 'should work' do
|
44
|
-
# assertion here. ref: https://
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
45
45
|
end
|
46
46
|
end
|
47
47
|
|
@@ -53,7 +53,7 @@ describe 'AcsRpmApi' do
|
|
53
53
|
# @return [RpmRpmAlternateContentSourceResponse]
|
54
54
|
describe 'create test' do
|
55
55
|
it 'should work' do
|
56
|
-
# assertion here. ref: https://
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
57
57
|
end
|
58
58
|
end
|
59
59
|
|
@@ -65,7 +65,7 @@ describe 'AcsRpmApi' do
|
|
65
65
|
# @return [AsyncOperationResponse]
|
66
66
|
describe 'delete test' do
|
67
67
|
it 'should work' do
|
68
|
-
# assertion here. ref: https://
|
68
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
69
69
|
end
|
70
70
|
end
|
71
71
|
|
@@ -85,15 +85,16 @@ describe 'AcsRpmApi' do
|
|
85
85
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
86
86
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
87
87
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `last_refreshed` - Last refreshed * `-last_refreshed` - Last refreshed (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
88
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
88
89
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
89
90
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
90
|
-
# @option opts [String] :q
|
91
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
91
92
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
92
93
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
93
94
|
# @return [PaginatedrpmRpmAlternateContentSourceResponseList]
|
94
95
|
describe 'list test' do
|
95
96
|
it 'should work' do
|
96
|
-
# assertion here. ref: https://
|
97
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
97
98
|
end
|
98
99
|
end
|
99
100
|
|
@@ -107,7 +108,7 @@ describe 'AcsRpmApi' do
|
|
107
108
|
# @return [ObjectRolesResponse]
|
108
109
|
describe 'list_roles test' do
|
109
110
|
it 'should work' do
|
110
|
-
# assertion here. ref: https://
|
111
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
111
112
|
end
|
112
113
|
end
|
113
114
|
|
@@ -121,7 +122,7 @@ describe 'AcsRpmApi' do
|
|
121
122
|
# @return [MyPermissionsResponse]
|
122
123
|
describe 'my_permissions test' do
|
123
124
|
it 'should work' do
|
124
|
-
# assertion here. ref: https://
|
125
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
125
126
|
end
|
126
127
|
end
|
127
128
|
|
@@ -134,7 +135,7 @@ describe 'AcsRpmApi' do
|
|
134
135
|
# @return [AsyncOperationResponse]
|
135
136
|
describe 'partial_update test' do
|
136
137
|
it 'should work' do
|
137
|
-
# assertion here. ref: https://
|
138
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
138
139
|
end
|
139
140
|
end
|
140
141
|
|
@@ -148,7 +149,7 @@ describe 'AcsRpmApi' do
|
|
148
149
|
# @return [RpmRpmAlternateContentSourceResponse]
|
149
150
|
describe 'read test' do
|
150
151
|
it 'should work' do
|
151
|
-
# assertion here. ref: https://
|
152
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
152
153
|
end
|
153
154
|
end
|
154
155
|
|
@@ -159,7 +160,7 @@ describe 'AcsRpmApi' do
|
|
159
160
|
# @return [TaskGroupOperationResponse]
|
160
161
|
describe 'refresh test' do
|
161
162
|
it 'should work' do
|
162
|
-
# assertion here. ref: https://
|
163
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
163
164
|
end
|
164
165
|
end
|
165
166
|
|
@@ -172,7 +173,7 @@ describe 'AcsRpmApi' do
|
|
172
173
|
# @return [NestedRoleResponse]
|
173
174
|
describe 'remove_role test' do
|
174
175
|
it 'should work' do
|
175
|
-
# assertion here. ref: https://
|
176
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
176
177
|
end
|
177
178
|
end
|
178
179
|
|
@@ -185,7 +186,7 @@ describe 'AcsRpmApi' do
|
|
185
186
|
# @return [AsyncOperationResponse]
|
186
187
|
describe 'update test' do
|
187
188
|
it 'should work' do
|
188
|
-
# assertion here. ref: https://
|
189
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
189
190
|
end
|
190
191
|
end
|
191
192
|
|
@@ -6,7 +6,7 @@
|
|
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
|
|
@@ -39,10 +39,11 @@ describe 'ContentAdvisoriesApi' do
|
|
39
39
|
# @option opts [String] :repository A URI of a repository the new content unit should be associated with.
|
40
40
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
41
41
|
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
42
|
+
# @option opts [String] :file_url A url that Pulp can download and turn into the content unit.
|
42
43
|
# @return [AsyncOperationResponse]
|
43
44
|
describe 'create test' do
|
44
45
|
it 'should work' do
|
45
|
-
# assertion here. ref: https://
|
46
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
46
47
|
end
|
47
48
|
end
|
48
49
|
|
@@ -56,12 +57,13 @@ describe 'ContentAdvisoriesApi' do
|
|
56
57
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
57
58
|
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `upstream_id` - Upstream id * `-upstream_id` - Upstream id (descending) * `timestamp_of_interest` - Timestamp of interest * `-timestamp_of_interest` - Timestamp of interest (descending) * `id` - Id * `-id` - Id (descending) * `updated_date` - Updated date * `-updated_date` - Updated date (descending) * `description` - Description * `-description` - Description (descending) * `issued_date` - Issued date * `-issued_date` - Issued date (descending) * `fromstr` - Fromstr * `-fromstr` - Fromstr (descending) * `status` - Status * `-status` - Status (descending) * `title` - Title * `-title` - Title (descending) * `summary` - Summary * `-summary` - Summary (descending) * `version` - Version * `-version` - Version (descending) * `type` - Type * `-type` - Type (descending) * `severity` - Severity * `-severity` - Severity (descending) * `solution` - Solution * `-solution` - Solution (descending) * `release` - Release * `-release` - Release (descending) * `rights` - Rights * `-rights` - Rights (descending) * `reboot_suggested` - Reboot suggested * `-reboot_suggested` - Reboot suggested (descending) * `pushcount` - Pushcount * `-pushcount` - Pushcount (descending) * `digest` - Digest * `-digest` - Digest (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
58
59
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
60
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
59
61
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
60
62
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
61
|
-
# @option opts [String] :q
|
62
|
-
# @option opts [String] :repository_version Repository Version referenced by HREF
|
63
|
-
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
64
|
-
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
63
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
64
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
65
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
|
66
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF/PRN
|
65
67
|
# @option opts [String] :severity Filter results where severity matches value
|
66
68
|
# @option opts [Array<String>] :severity__in Filter results where severity is in a comma-separated list of values
|
67
69
|
# @option opts [String] :severity__ne Filter results where severity not equal to value
|
@@ -76,7 +78,7 @@ describe 'ContentAdvisoriesApi' do
|
|
76
78
|
# @return [PaginatedrpmUpdateRecordResponseList]
|
77
79
|
describe 'list test' do
|
78
80
|
it 'should work' do
|
79
|
-
# assertion here. ref: https://
|
81
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
80
82
|
end
|
81
83
|
end
|
82
84
|
|
@@ -90,7 +92,7 @@ describe 'ContentAdvisoriesApi' do
|
|
90
92
|
# @return [RpmUpdateRecordResponse]
|
91
93
|
describe 'read test' do
|
92
94
|
it 'should work' do
|
93
|
-
# assertion here. ref: https://
|
95
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
94
96
|
end
|
95
97
|
end
|
96
98
|
|
@@ -6,7 +6,7 @@
|
|
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
|
|
@@ -40,18 +40,19 @@ describe 'ContentDistributionTreesApi' do
|
|
40
40
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
41
41
|
# @option opts [Array<String>] :ordering Ordering * `pk` - Pk * `-pk` - Pk (descending)
|
42
42
|
# @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
43
|
+
# @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
|
43
44
|
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
44
45
|
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
45
|
-
# @option opts [String] :q
|
46
|
-
# @option opts [String] :repository_version Repository Version referenced by HREF
|
47
|
-
# @option opts [String] :repository_version_added Repository Version referenced by HREF
|
48
|
-
# @option opts [String] :repository_version_removed Repository Version referenced by HREF
|
46
|
+
# @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
|
47
|
+
# @option opts [String] :repository_version Repository Version referenced by HREF/PRN
|
48
|
+
# @option opts [String] :repository_version_added Repository Version referenced by HREF/PRN
|
49
|
+
# @option opts [String] :repository_version_removed Repository Version referenced by HREF/PRN
|
49
50
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
50
51
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
51
52
|
# @return [PaginatedrpmDistributionTreeResponseList]
|
52
53
|
describe 'list test' do
|
53
54
|
it 'should work' do
|
54
|
-
# assertion here. ref: https://
|
55
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
55
56
|
end
|
56
57
|
end
|
57
58
|
|
@@ -65,7 +66,7 @@ describe 'ContentDistributionTreesApi' do
|
|
65
66
|
# @return [RpmDistributionTreeResponse]
|
66
67
|
describe 'read test' do
|
67
68
|
it 'should work' do
|
68
|
-
# assertion here. ref: https://
|
69
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
69
70
|
end
|
70
71
|
end
|
71
72
|
|