pulp_rpm_client 3.27.2 → 3.28.1
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 +32 -9
- data/docs/AcsRpmApi.md +343 -156
- data/docs/AddonResponse.md +16 -15
- data/docs/ArtifactResponse.md +30 -29
- data/docs/AsyncOperationResponse.md +8 -7
- data/docs/ChecksumResponse.md +10 -9
- data/docs/CompressionTypeEnum.md +4 -5
- data/docs/ContentAdvisoriesApi.md +275 -75
- data/docs/ContentDistributionTreesApi.md +227 -46
- data/docs/ContentModulemdDefaultsApi.md +262 -64
- data/docs/ContentModulemdObsoletesApi.md +255 -57
- data/docs/ContentModulemdsApi.md +271 -73
- data/docs/ContentPackagecategoriesApi.md +227 -46
- data/docs/ContentPackageenvironmentsApi.md +227 -46
- data/docs/ContentPackagegroupsApi.md +227 -46
- data/docs/ContentPackagelangpacksApi.md +227 -46
- data/docs/ContentPackagesApi.md +298 -98
- data/docs/ContentRepoMetadataFilesApi.md +227 -46
- data/docs/ContentSummaryResponse.md +12 -11
- data/docs/Copy.md +10 -9
- data/docs/DistributionsRpmApi.md +385 -182
- 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 +267 -130
- data/docs/RemotesRpmApi.md +389 -184
- data/docs/RemotesUlnApi.md +389 -184
- data/docs/Repair.md +8 -7
- data/docs/RepositoriesRpmApi.md +444 -207
- data/docs/RepositoriesRpmVersionsApi.md +152 -82
- data/docs/RepositoryAddRemoveContent.md +12 -11
- data/docs/RepositoryVersionResponse.md +22 -21
- data/docs/RpmCompsApi.md +32 -16
- data/docs/RpmCopyApi.md +30 -14
- data/docs/RpmDistributionTreeResponse.md +46 -43
- data/docs/RpmModulemd.md +34 -31
- data/docs/RpmModulemdDefaults.md +18 -15
- data/docs/RpmModulemdDefaultsResponse.md +22 -19
- data/docs/RpmModulemdObsolete.md +30 -27
- data/docs/RpmModulemdObsoleteResponse.md +34 -31
- data/docs/RpmModulemdResponse.md +38 -35
- data/docs/RpmPackageCategoryResponse.md +32 -29
- data/docs/RpmPackageEnvironmentResponse.md +34 -31
- data/docs/RpmPackageGroupResponse.md +38 -35
- data/docs/RpmPackageLangpacksResponse.md +20 -17
- data/docs/RpmPackageResponse.md +102 -99
- data/docs/RpmPruneApi.md +30 -13
- data/docs/RpmRepoMetadataFileResponse.md +38 -35
- data/docs/RpmRepositorySyncURL.md +16 -15
- data/docs/RpmRpmAlternateContentSource.md +14 -13
- data/docs/RpmRpmAlternateContentSourceResponse.md +22 -21
- data/docs/RpmRpmDistribution.md +22 -21
- data/docs/RpmRpmDistributionResponse.md +34 -33
- data/docs/RpmRpmPublication.md +24 -23
- data/docs/RpmRpmPublicationResponse.md +34 -33
- data/docs/RpmRpmRemote.md +50 -49
- data/docs/RpmRpmRemoteResponse.md +50 -49
- data/docs/RpmRpmRemoteResponseHiddenFieldsInner.md +20 -0
- data/docs/RpmRpmRepository.md +40 -39
- data/docs/RpmRpmRepositoryResponse.md +54 -53
- data/docs/RpmUlnRemote.md +50 -49
- data/docs/RpmUlnRemoteResponse.md +50 -49
- data/docs/RpmUpdateCollection.md +12 -11
- data/docs/RpmUpdateCollectionResponse.md +14 -13
- data/docs/RpmUpdateRecordResponse.md +52 -49
- 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 +76 -50
- data/lib/pulp_rpm_client/api/content_advisories_api.rb +177 -17
- data/lib/pulp_rpm_client/api/content_distribution_trees_api.rb +162 -9
- data/lib/pulp_rpm_client/api/content_modulemd_defaults_api.rb +174 -17
- data/lib/pulp_rpm_client/api/content_modulemd_obsoletes_api.rb +171 -14
- data/lib/pulp_rpm_client/api/content_modulemds_api.rb +174 -17
- data/lib/pulp_rpm_client/api/content_packagecategories_api.rb +162 -9
- data/lib/pulp_rpm_client/api/content_packageenvironments_api.rb +162 -9
- data/lib/pulp_rpm_client/api/content_packagegroups_api.rb +162 -9
- data/lib/pulp_rpm_client/api/content_packagelangpacks_api.rb +162 -9
- data/lib/pulp_rpm_client/api/content_packages_api.rb +177 -17
- data/lib/pulp_rpm_client/api/content_repo_metadata_files_api.rb +162 -9
- data/lib/pulp_rpm_client/api/distributions_rpm_api.rb +89 -56
- data/lib/pulp_rpm_client/api/publications_rpm_api.rb +67 -47
- data/lib/pulp_rpm_client/api/remotes_rpm_api.rb +104 -68
- data/lib/pulp_rpm_client/api/remotes_uln_api.rb +104 -68
- data/lib/pulp_rpm_client/api/repositories_rpm_api.rb +107 -66
- data/lib/pulp_rpm_client/api/repositories_rpm_versions_api.rb +40 -30
- 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 +34 -24
- 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 +34 -28
- 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 +82 -44
- data/lib/pulp_rpm_client/models/patchedrpm_rpm_repository.rb +68 -25
- data/lib/pulp_rpm_client/models/patchedrpm_uln_remote.rb +92 -46
- 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 +30 -22
- data/lib/pulp_rpm_client/models/repository_version_response.rb +32 -24
- data/lib/pulp_rpm_client/models/rpm_distribution_tree_response.rb +77 -23
- data/lib/pulp_rpm_client/models/rpm_modulemd.rb +63 -23
- data/lib/pulp_rpm_client/models/rpm_modulemd_defaults.rb +52 -28
- data/lib/pulp_rpm_client/models/rpm_modulemd_defaults_response.rb +52 -30
- data/lib/pulp_rpm_client/models/rpm_modulemd_obsolete.rb +68 -28
- data/lib/pulp_rpm_client/models/rpm_modulemd_obsolete_response.rb +63 -25
- data/lib/pulp_rpm_client/models/rpm_modulemd_response.rb +63 -25
- data/lib/pulp_rpm_client/models/rpm_package_category_response.rb +61 -25
- data/lib/pulp_rpm_client/models/rpm_package_environment_response.rb +63 -25
- data/lib/pulp_rpm_client/models/rpm_package_group_response.rb +61 -25
- data/lib/pulp_rpm_client/models/rpm_package_langpacks_response.rb +49 -25
- data/lib/pulp_rpm_client/models/rpm_package_response.rb +55 -25
- data/lib/pulp_rpm_client/models/rpm_repo_metadata_file_response.rb +53 -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 +37 -25
- data/lib/pulp_rpm_client/models/rpm_rpm_distribution.rb +34 -22
- data/lib/pulp_rpm_client/models/rpm_rpm_distribution_response.rb +36 -24
- data/lib/pulp_rpm_client/models/rpm_rpm_publication.rb +53 -22
- data/lib/pulp_rpm_client/models/rpm_rpm_publication_response.rb +55 -24
- data/lib/pulp_rpm_client/models/rpm_rpm_remote.rb +76 -42
- data/lib/pulp_rpm_client/models/rpm_rpm_remote_response.rb +79 -45
- 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 +65 -24
- data/lib/pulp_rpm_client/models/rpm_rpm_repository_response.rb +67 -26
- data/lib/pulp_rpm_client/models/rpm_uln_remote.rb +80 -42
- data/lib/pulp_rpm_client/models/rpm_uln_remote_response.rb +79 -45
- data/lib/pulp_rpm_client/models/rpm_update_collection.rb +36 -22
- data/lib/pulp_rpm_client/models/rpm_update_collection_response.rb +36 -22
- data/lib/pulp_rpm_client/models/rpm_update_record_response.rb +45 -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 +33 -23
- data/lib/pulp_rpm_client/models/unset_label_response.rb +33 -23
- 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 +12 -12
- data/spec/api/content_advisories_api_spec.rb +33 -5
- data/spec/api/content_distribution_trees_api_spec.rb +30 -3
- data/spec/api/content_modulemd_defaults_api_spec.rb +32 -5
- data/spec/api/content_modulemd_obsoletes_api_spec.rb +31 -4
- data/spec/api/content_modulemds_api_spec.rb +32 -5
- data/spec/api/content_packagecategories_api_spec.rb +30 -3
- data/spec/api/content_packageenvironments_api_spec.rb +30 -3
- data/spec/api/content_packagegroups_api_spec.rb +30 -3
- data/spec/api/content_packagelangpacks_api_spec.rb +30 -3
- data/spec/api/content_packages_api_spec.rb +33 -5
- data/spec/api/content_repo_metadata_files_api_spec.rb +30 -3
- data/spec/api/distributions_rpm_api_spec.rb +13 -13
- data/spec/api/publications_rpm_api_spec.rb +16 -15
- data/spec/api/remotes_rpm_api_spec.rb +20 -19
- data/spec/api/remotes_uln_api_spec.rb +20 -19
- data/spec/api/repositories_rpm_api_spec.rb +15 -15
- data/spec/api/repositories_rpm_versions_api_spec.rb +12 -11
- 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 +18 -23
- 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 +14 -19
- data/spec/models/rpm_distribution_tree_response_spec.rb +31 -30
- data/spec/models/rpm_modulemd_defaults_response_spec.rb +19 -18
- data/spec/models/rpm_modulemd_defaults_spec.rb +17 -16
- data/spec/models/rpm_modulemd_obsolete_response_spec.rb +25 -24
- data/spec/models/rpm_modulemd_obsolete_spec.rb +23 -22
- data/spec/models/rpm_modulemd_response_spec.rb +27 -26
- data/spec/models/rpm_modulemd_spec.rb +25 -24
- data/spec/models/rpm_package_category_response_spec.rb +24 -23
- data/spec/models/rpm_package_environment_response_spec.rb +25 -24
- data/spec/models/rpm_package_group_response_spec.rb +27 -26
- data/spec/models/rpm_package_langpacks_response_spec.rb +18 -17
- data/spec/models/rpm_package_response_spec.rb +59 -58
- data/spec/models/rpm_repo_metadata_file_response_spec.rb +27 -26
- data/spec/models/rpm_repository_sync_url_spec.rb +11 -16
- data/spec/models/rpm_rpm_alternate_content_source_response_spec.rb +14 -19
- data/spec/models/rpm_rpm_alternate_content_source_spec.rb +10 -15
- data/spec/models/rpm_rpm_distribution_response_spec.rb +20 -25
- data/spec/models/rpm_rpm_distribution_spec.rb +14 -19
- data/spec/models/rpm_rpm_publication_response_spec.rb +20 -25
- 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 +28 -33
- data/spec/models/rpm_rpm_remote_spec.rb +28 -33
- data/spec/models/rpm_rpm_repository_response_spec.rb +30 -35
- data/spec/models/rpm_rpm_repository_spec.rb +23 -28
- data/spec/models/rpm_uln_remote_response_spec.rb +28 -33
- 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 +34 -33
- 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 +127 -115
- data/docs/CompsXml.md +0 -21
- data/docs/RpmPackage.md +0 -27
- data/docs/RpmRpmRemoteResponseHiddenFields.md +0 -19
- data/docs/RpmUpdateRecord.md +0 -23
- data/lib/pulp_rpm_client/models/comps_xml.rb +0 -233
- data/lib/pulp_rpm_client/models/rpm_package.rb +0 -288
- data/lib/pulp_rpm_client/models/rpm_update_record.rb +0 -253
- 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 -71
- data/spec/models/rpm_update_record_spec.rb +0 -59
@@ -2,26 +2,27 @@
|
|
2
2
|
|
3
3
|
All URIs are relative to *http://localhost:24817*
|
4
4
|
|
5
|
-
Method | HTTP request | Description
|
6
|
-
|
7
|
-
[**create**](ContentAdvisoriesApi.md#create) | **POST** /pulp/api/v3/content/rpm/advisories/ | Create an update record
|
8
|
-
[**list**](ContentAdvisoriesApi.md#list) | **GET** /pulp/api/v3/content/rpm/advisories/ | List update records
|
9
|
-
[**read**](ContentAdvisoriesApi.md#read) | **GET** {rpm_update_record_href} | Inspect an update record
|
10
|
-
|
5
|
+
| Method | HTTP request | Description |
|
6
|
+
| ------ | ------------ | ----------- |
|
7
|
+
| [**create**](ContentAdvisoriesApi.md#create) | **POST** /pulp/api/v3/content/rpm/advisories/ | Create an update record |
|
8
|
+
| [**list**](ContentAdvisoriesApi.md#list) | **GET** /pulp/api/v3/content/rpm/advisories/ | List update records |
|
9
|
+
| [**read**](ContentAdvisoriesApi.md#read) | **GET** {rpm_update_record_href} | Inspect an update record |
|
10
|
+
| [**set_label**](ContentAdvisoriesApi.md#set_label) | **POST** {rpm_update_record_href}set_label/ | Set a label |
|
11
|
+
| [**unset_label**](ContentAdvisoriesApi.md#unset_label) | **POST** {rpm_update_record_href}unset_label/ | Unset a label |
|
11
12
|
|
12
13
|
|
13
14
|
## create
|
14
15
|
|
15
|
-
> AsyncOperationResponse create(opts)
|
16
|
+
> <AsyncOperationResponse> create(opts)
|
16
17
|
|
17
18
|
Create an update record
|
18
19
|
|
19
20
|
Trigger an asynchronous task to create content,optionally create new repository version.
|
20
21
|
|
21
|
-
###
|
22
|
+
### Examples
|
22
23
|
|
23
24
|
```ruby
|
24
|
-
|
25
|
+
require 'time'
|
25
26
|
require 'pulp_rpm_client'
|
26
27
|
# setup authorization
|
27
28
|
PulpRpmClient.configure do |config|
|
@@ -33,29 +34,48 @@ end
|
|
33
34
|
api_instance = PulpRpmClient::ContentAdvisoriesApi.new
|
34
35
|
opts = {
|
35
36
|
repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
|
36
|
-
|
37
|
+
pulp_labels: { key: 'inner_example'}, # Hash<String, String> | A dictionary of arbitrary key/value pairs used to describe a specific Content instance.
|
38
|
+
file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned into the content unit.
|
37
39
|
upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
|
38
40
|
file_url: 'file_url_example' # String | A url that Pulp can download and turn into the content unit.
|
39
41
|
}
|
40
42
|
|
41
43
|
begin
|
42
|
-
#Create an update record
|
44
|
+
# Create an update record
|
43
45
|
result = api_instance.create(opts)
|
44
46
|
p result
|
45
47
|
rescue PulpRpmClient::ApiError => e
|
46
|
-
puts "
|
48
|
+
puts "Error when calling ContentAdvisoriesApi->create: #{e}"
|
47
49
|
end
|
48
50
|
```
|
49
51
|
|
50
|
-
|
52
|
+
#### Using the create_with_http_info variant
|
53
|
+
|
54
|
+
This returns an Array which contains the response data, status code and headers.
|
55
|
+
|
56
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> create_with_http_info(opts)
|
57
|
+
|
58
|
+
```ruby
|
59
|
+
begin
|
60
|
+
# Create an update record
|
61
|
+
data, status_code, headers = api_instance.create_with_http_info(opts)
|
62
|
+
p status_code # => 2xx
|
63
|
+
p headers # => { ... }
|
64
|
+
p data # => <AsyncOperationResponse>
|
65
|
+
rescue PulpRpmClient::ApiError => e
|
66
|
+
puts "Error when calling ContentAdvisoriesApi->create_with_http_info: #{e}"
|
67
|
+
end
|
68
|
+
```
|
51
69
|
|
70
|
+
### Parameters
|
52
71
|
|
53
|
-
Name | Type | Description
|
54
|
-
|
55
|
-
**repository** | **String
|
56
|
-
**
|
57
|
-
**
|
58
|
-
**
|
72
|
+
| Name | Type | Description | Notes |
|
73
|
+
| ---- | ---- | ----------- | ----- |
|
74
|
+
| **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
|
75
|
+
| **pulp_labels** | [**Hash<String, String>**](Hash.md) | A dictionary of arbitrary key/value pairs used to describe a specific Content instance. | [optional] |
|
76
|
+
| **file** | **File** | An uploaded file that may be turned into the content unit. | [optional] |
|
77
|
+
| **upload** | **String** | An uncommitted upload that may be turned into the content unit. | [optional] |
|
78
|
+
| **file_url** | **String** | A url that Pulp can download and turn into the content unit. | [optional] |
|
59
79
|
|
60
80
|
### Return type
|
61
81
|
|
@@ -73,16 +93,16 @@ Name | Type | Description | Notes
|
|
73
93
|
|
74
94
|
## list
|
75
95
|
|
76
|
-
> PaginatedrpmUpdateRecordResponseList list(opts)
|
96
|
+
> <PaginatedrpmUpdateRecordResponseList> list(opts)
|
77
97
|
|
78
98
|
List update records
|
79
99
|
|
80
100
|
A ViewSet for UpdateRecord. Define endpoint name which will appear in the API endpoint for this content type. For example:: http://pulp.example.com/pulp/api/v3/content/rpm/advisories/ Also specify queryset and serializer for UpdateRecord.
|
81
101
|
|
82
|
-
###
|
102
|
+
### Examples
|
83
103
|
|
84
104
|
```ruby
|
85
|
-
|
105
|
+
require 'time'
|
86
106
|
require 'pulp_rpm_client'
|
87
107
|
# setup authorization
|
88
108
|
PulpRpmClient.configure do |config|
|
@@ -94,69 +114,88 @@ end
|
|
94
114
|
api_instance = PulpRpmClient::ContentAdvisoriesApi.new
|
95
115
|
opts = {
|
96
116
|
id: 'id_example', # String | Filter results where id matches value
|
97
|
-
id__in: ['
|
117
|
+
id__in: ['inner_example'], # Array<String> | Filter results where id is in a comma-separated list of values
|
98
118
|
limit: 56, # Integer | Number of results to return per page.
|
99
119
|
offset: 56, # Integer | The initial index from which to return the results.
|
100
|
-
ordering: ['
|
101
|
-
orphaned_for:
|
102
|
-
prn__in: ['
|
103
|
-
pulp_href__in: ['
|
104
|
-
pulp_id__in: ['
|
120
|
+
ordering: ['-description'], # Array<String> | 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) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (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)
|
121
|
+
orphaned_for: 8.14, # Float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
122
|
+
prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
123
|
+
pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
124
|
+
pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
125
|
+
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
105
126
|
q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
|
106
127
|
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF/PRN
|
107
128
|
repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF/PRN
|
108
129
|
repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF/PRN
|
109
130
|
severity: 'severity_example', # String | Filter results where severity matches value
|
110
|
-
severity__in: ['
|
131
|
+
severity__in: ['inner_example'], # Array<String> | Filter results where severity is in a comma-separated list of values
|
111
132
|
severity__ne: 'severity__ne_example', # String | Filter results where severity not equal to value
|
112
133
|
status: 'status_example', # String | Filter results where status matches value
|
113
|
-
status__in: ['
|
134
|
+
status__in: ['inner_example'], # Array<String> | Filter results where status is in a comma-separated list of values
|
114
135
|
status__ne: 'status__ne_example', # String | Filter results where status not equal to value
|
115
136
|
type: 'type_example', # String | Filter results where type matches value
|
116
|
-
type__in: ['
|
137
|
+
type__in: ['inner_example'], # Array<String> | Filter results where type is in a comma-separated list of values
|
117
138
|
type__ne: 'type__ne_example', # String | Filter results where type not equal to value
|
118
|
-
fields: ['
|
119
|
-
exclude_fields: ['
|
139
|
+
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
140
|
+
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
120
141
|
}
|
121
142
|
|
122
143
|
begin
|
123
|
-
#List update records
|
144
|
+
# List update records
|
124
145
|
result = api_instance.list(opts)
|
125
146
|
p result
|
126
147
|
rescue PulpRpmClient::ApiError => e
|
127
|
-
puts "
|
148
|
+
puts "Error when calling ContentAdvisoriesApi->list: #{e}"
|
128
149
|
end
|
129
150
|
```
|
130
151
|
|
131
|
-
|
152
|
+
#### Using the list_with_http_info variant
|
153
|
+
|
154
|
+
This returns an Array which contains the response data, status code and headers.
|
155
|
+
|
156
|
+
> <Array(<PaginatedrpmUpdateRecordResponseList>, Integer, Hash)> list_with_http_info(opts)
|
157
|
+
|
158
|
+
```ruby
|
159
|
+
begin
|
160
|
+
# List update records
|
161
|
+
data, status_code, headers = api_instance.list_with_http_info(opts)
|
162
|
+
p status_code # => 2xx
|
163
|
+
p headers # => { ... }
|
164
|
+
p data # => <PaginatedrpmUpdateRecordResponseList>
|
165
|
+
rescue PulpRpmClient::ApiError => e
|
166
|
+
puts "Error when calling ContentAdvisoriesApi->list_with_http_info: #{e}"
|
167
|
+
end
|
168
|
+
```
|
132
169
|
|
170
|
+
### Parameters
|
133
171
|
|
134
|
-
Name | Type | Description
|
135
|
-
|
136
|
-
**id** | **String
|
137
|
-
**id__in** | [**Array<String>**](String.md)| Filter results where id is in a comma-separated list of values | [optional]
|
138
|
-
**limit** | **Integer
|
139
|
-
**offset** | **Integer
|
140
|
-
**ordering** | [**Array<String>**](String.md)| 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) | [optional]
|
141
|
-
**orphaned_for** | **Float
|
142
|
-
**prn__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
143
|
-
**pulp_href__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
144
|
-
**pulp_id__in** | [**Array<String>**](String.md)| Multiple values may be separated by commas. | [optional]
|
145
|
-
**
|
146
|
-
**
|
147
|
-
**
|
148
|
-
**
|
149
|
-
**
|
150
|
-
**
|
151
|
-
**
|
152
|
-
**
|
153
|
-
**
|
154
|
-
**
|
155
|
-
**
|
156
|
-
**
|
157
|
-
**
|
158
|
-
**
|
159
|
-
**
|
172
|
+
| Name | Type | Description | Notes |
|
173
|
+
| ---- | ---- | ----------- | ----- |
|
174
|
+
| **id** | **String** | Filter results where id matches value | [optional] |
|
175
|
+
| **id__in** | [**Array<String>**](String.md) | Filter results where id is in a comma-separated list of values | [optional] |
|
176
|
+
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
177
|
+
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
178
|
+
| **ordering** | [**Array<String>**](String.md) | 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) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (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) | [optional] |
|
179
|
+
| **orphaned_for** | **Float** | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [optional] |
|
180
|
+
| **prn__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
181
|
+
| **pulp_href__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
182
|
+
| **pulp_id__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
183
|
+
| **pulp_label_select** | **String** | Filter labels by search string | [optional] |
|
184
|
+
| **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
|
185
|
+
| **repository_version** | **String** | Repository Version referenced by HREF/PRN | [optional] |
|
186
|
+
| **repository_version_added** | **String** | Repository Version referenced by HREF/PRN | [optional] |
|
187
|
+
| **repository_version_removed** | **String** | Repository Version referenced by HREF/PRN | [optional] |
|
188
|
+
| **severity** | **String** | Filter results where severity matches value | [optional] |
|
189
|
+
| **severity__in** | [**Array<String>**](String.md) | Filter results where severity is in a comma-separated list of values | [optional] |
|
190
|
+
| **severity__ne** | **String** | Filter results where severity not equal to value | [optional] |
|
191
|
+
| **status** | **String** | Filter results where status matches value | [optional] |
|
192
|
+
| **status__in** | [**Array<String>**](String.md) | Filter results where status is in a comma-separated list of values | [optional] |
|
193
|
+
| **status__ne** | **String** | Filter results where status not equal to value | [optional] |
|
194
|
+
| **type** | **String** | Filter results where type matches value | [optional] |
|
195
|
+
| **type__in** | [**Array<String>**](String.md) | Filter results where type is in a comma-separated list of values | [optional] |
|
196
|
+
| **type__ne** | **String** | Filter results where type not equal to value | [optional] |
|
197
|
+
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
198
|
+
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
160
199
|
|
161
200
|
### Return type
|
162
201
|
|
@@ -174,16 +213,16 @@ Name | Type | Description | Notes
|
|
174
213
|
|
175
214
|
## read
|
176
215
|
|
177
|
-
> RpmUpdateRecordResponse read(rpm_update_record_href, opts)
|
216
|
+
> <RpmUpdateRecordResponse> read(rpm_update_record_href, opts)
|
178
217
|
|
179
218
|
Inspect an update record
|
180
219
|
|
181
220
|
A ViewSet for UpdateRecord. Define endpoint name which will appear in the API endpoint for this content type. For example:: http://pulp.example.com/pulp/api/v3/content/rpm/advisories/ Also specify queryset and serializer for UpdateRecord.
|
182
221
|
|
183
|
-
###
|
222
|
+
### Examples
|
184
223
|
|
185
224
|
```ruby
|
186
|
-
|
225
|
+
require 'time'
|
187
226
|
require 'pulp_rpm_client'
|
188
227
|
# setup authorization
|
189
228
|
PulpRpmClient.configure do |config|
|
@@ -195,27 +234,44 @@ end
|
|
195
234
|
api_instance = PulpRpmClient::ContentAdvisoriesApi.new
|
196
235
|
rpm_update_record_href = 'rpm_update_record_href_example' # String |
|
197
236
|
opts = {
|
198
|
-
fields: ['
|
199
|
-
exclude_fields: ['
|
237
|
+
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
238
|
+
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
200
239
|
}
|
201
240
|
|
202
241
|
begin
|
203
|
-
#Inspect an update record
|
242
|
+
# Inspect an update record
|
204
243
|
result = api_instance.read(rpm_update_record_href, opts)
|
205
244
|
p result
|
206
245
|
rescue PulpRpmClient::ApiError => e
|
207
|
-
puts "
|
246
|
+
puts "Error when calling ContentAdvisoriesApi->read: #{e}"
|
208
247
|
end
|
209
248
|
```
|
210
249
|
|
211
|
-
|
250
|
+
#### Using the read_with_http_info variant
|
251
|
+
|
252
|
+
This returns an Array which contains the response data, status code and headers.
|
253
|
+
|
254
|
+
> <Array(<RpmUpdateRecordResponse>, Integer, Hash)> read_with_http_info(rpm_update_record_href, opts)
|
212
255
|
|
256
|
+
```ruby
|
257
|
+
begin
|
258
|
+
# Inspect an update record
|
259
|
+
data, status_code, headers = api_instance.read_with_http_info(rpm_update_record_href, opts)
|
260
|
+
p status_code # => 2xx
|
261
|
+
p headers # => { ... }
|
262
|
+
p data # => <RpmUpdateRecordResponse>
|
263
|
+
rescue PulpRpmClient::ApiError => e
|
264
|
+
puts "Error when calling ContentAdvisoriesApi->read_with_http_info: #{e}"
|
265
|
+
end
|
266
|
+
```
|
267
|
+
|
268
|
+
### Parameters
|
213
269
|
|
214
|
-
Name | Type | Description
|
215
|
-
|
216
|
-
**rpm_update_record_href** | **String
|
217
|
-
**fields** | [**Array<String>**](String.md)| A list of fields to include in the response. | [optional]
|
218
|
-
**exclude_fields** | [**Array<String>**](String.md)| A list of fields to exclude from the response. | [optional]
|
270
|
+
| Name | Type | Description | Notes |
|
271
|
+
| ---- | ---- | ----------- | ----- |
|
272
|
+
| **rpm_update_record_href** | **String** | | |
|
273
|
+
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
274
|
+
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
219
275
|
|
220
276
|
### Return type
|
221
277
|
|
@@ -230,3 +286,147 @@ Name | Type | Description | Notes
|
|
230
286
|
- **Content-Type**: Not defined
|
231
287
|
- **Accept**: application/json
|
232
288
|
|
289
|
+
|
290
|
+
## set_label
|
291
|
+
|
292
|
+
> <SetLabelResponse> set_label(rpm_update_record_href, set_label)
|
293
|
+
|
294
|
+
Set a label
|
295
|
+
|
296
|
+
Set a single pulp_label on the object to a specific value or null.
|
297
|
+
|
298
|
+
### Examples
|
299
|
+
|
300
|
+
```ruby
|
301
|
+
require 'time'
|
302
|
+
require 'pulp_rpm_client'
|
303
|
+
# setup authorization
|
304
|
+
PulpRpmClient.configure do |config|
|
305
|
+
# Configure HTTP basic authorization: basicAuth
|
306
|
+
config.username = 'YOUR USERNAME'
|
307
|
+
config.password = 'YOUR PASSWORD'
|
308
|
+
end
|
309
|
+
|
310
|
+
api_instance = PulpRpmClient::ContentAdvisoriesApi.new
|
311
|
+
rpm_update_record_href = 'rpm_update_record_href_example' # String |
|
312
|
+
set_label = PulpRpmClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
|
313
|
+
|
314
|
+
begin
|
315
|
+
# Set a label
|
316
|
+
result = api_instance.set_label(rpm_update_record_href, set_label)
|
317
|
+
p result
|
318
|
+
rescue PulpRpmClient::ApiError => e
|
319
|
+
puts "Error when calling ContentAdvisoriesApi->set_label: #{e}"
|
320
|
+
end
|
321
|
+
```
|
322
|
+
|
323
|
+
#### Using the set_label_with_http_info variant
|
324
|
+
|
325
|
+
This returns an Array which contains the response data, status code and headers.
|
326
|
+
|
327
|
+
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(rpm_update_record_href, set_label)
|
328
|
+
|
329
|
+
```ruby
|
330
|
+
begin
|
331
|
+
# Set a label
|
332
|
+
data, status_code, headers = api_instance.set_label_with_http_info(rpm_update_record_href, set_label)
|
333
|
+
p status_code # => 2xx
|
334
|
+
p headers # => { ... }
|
335
|
+
p data # => <SetLabelResponse>
|
336
|
+
rescue PulpRpmClient::ApiError => e
|
337
|
+
puts "Error when calling ContentAdvisoriesApi->set_label_with_http_info: #{e}"
|
338
|
+
end
|
339
|
+
```
|
340
|
+
|
341
|
+
### Parameters
|
342
|
+
|
343
|
+
| Name | Type | Description | Notes |
|
344
|
+
| ---- | ---- | ----------- | ----- |
|
345
|
+
| **rpm_update_record_href** | **String** | | |
|
346
|
+
| **set_label** | [**SetLabel**](SetLabel.md) | | |
|
347
|
+
|
348
|
+
### Return type
|
349
|
+
|
350
|
+
[**SetLabelResponse**](SetLabelResponse.md)
|
351
|
+
|
352
|
+
### Authorization
|
353
|
+
|
354
|
+
[basicAuth](../README.md#basicAuth)
|
355
|
+
|
356
|
+
### HTTP request headers
|
357
|
+
|
358
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
359
|
+
- **Accept**: application/json
|
360
|
+
|
361
|
+
|
362
|
+
## unset_label
|
363
|
+
|
364
|
+
> <UnsetLabelResponse> unset_label(rpm_update_record_href, unset_label)
|
365
|
+
|
366
|
+
Unset a label
|
367
|
+
|
368
|
+
Unset a single pulp_label on the object.
|
369
|
+
|
370
|
+
### Examples
|
371
|
+
|
372
|
+
```ruby
|
373
|
+
require 'time'
|
374
|
+
require 'pulp_rpm_client'
|
375
|
+
# setup authorization
|
376
|
+
PulpRpmClient.configure do |config|
|
377
|
+
# Configure HTTP basic authorization: basicAuth
|
378
|
+
config.username = 'YOUR USERNAME'
|
379
|
+
config.password = 'YOUR PASSWORD'
|
380
|
+
end
|
381
|
+
|
382
|
+
api_instance = PulpRpmClient::ContentAdvisoriesApi.new
|
383
|
+
rpm_update_record_href = 'rpm_update_record_href_example' # String |
|
384
|
+
unset_label = PulpRpmClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
|
385
|
+
|
386
|
+
begin
|
387
|
+
# Unset a label
|
388
|
+
result = api_instance.unset_label(rpm_update_record_href, unset_label)
|
389
|
+
p result
|
390
|
+
rescue PulpRpmClient::ApiError => e
|
391
|
+
puts "Error when calling ContentAdvisoriesApi->unset_label: #{e}"
|
392
|
+
end
|
393
|
+
```
|
394
|
+
|
395
|
+
#### Using the unset_label_with_http_info variant
|
396
|
+
|
397
|
+
This returns an Array which contains the response data, status code and headers.
|
398
|
+
|
399
|
+
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(rpm_update_record_href, unset_label)
|
400
|
+
|
401
|
+
```ruby
|
402
|
+
begin
|
403
|
+
# Unset a label
|
404
|
+
data, status_code, headers = api_instance.unset_label_with_http_info(rpm_update_record_href, unset_label)
|
405
|
+
p status_code # => 2xx
|
406
|
+
p headers # => { ... }
|
407
|
+
p data # => <UnsetLabelResponse>
|
408
|
+
rescue PulpRpmClient::ApiError => e
|
409
|
+
puts "Error when calling ContentAdvisoriesApi->unset_label_with_http_info: #{e}"
|
410
|
+
end
|
411
|
+
```
|
412
|
+
|
413
|
+
### Parameters
|
414
|
+
|
415
|
+
| Name | Type | Description | Notes |
|
416
|
+
| ---- | ---- | ----------- | ----- |
|
417
|
+
| **rpm_update_record_href** | **String** | | |
|
418
|
+
| **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
|
419
|
+
|
420
|
+
### Return type
|
421
|
+
|
422
|
+
[**UnsetLabelResponse**](UnsetLabelResponse.md)
|
423
|
+
|
424
|
+
### Authorization
|
425
|
+
|
426
|
+
[basicAuth](../README.md#basicAuth)
|
427
|
+
|
428
|
+
### HTTP request headers
|
429
|
+
|
430
|
+
- **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
|
431
|
+
- **Accept**: application/json
|
432
|
+
|