pulp_rpm_client 3.27.2 → 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 +10 -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 +125 -75
- data/docs/ContentDistributionTreesApi.md +79 -46
- data/docs/ContentModulemdDefaultsApi.md +114 -64
- data/docs/ContentModulemdObsoletesApi.md +107 -57
- data/docs/ContentModulemdsApi.md +123 -73
- data/docs/ContentPackagecategoriesApi.md +79 -46
- data/docs/ContentPackageenvironmentsApi.md +79 -46
- data/docs/ContentPackagegroupsApi.md +79 -46
- data/docs/ContentPackagelangpacksApi.md +79 -46
- data/docs/ContentPackagesApi.md +148 -98
- data/docs/ContentRepoMetadataFilesApi.md +79 -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 +32 -31
- data/docs/RpmModulemdDefaults.md +16 -15
- data/docs/RpmModulemdDefaultsResponse.md +20 -19
- data/docs/RpmModulemdObsolete.md +28 -27
- data/docs/RpmModulemdObsoleteResponse.md +32 -31
- data/docs/RpmModulemdResponse.md +36 -35
- data/docs/RpmPackageCategoryResponse.md +30 -29
- data/docs/RpmPackageEnvironmentResponse.md +32 -31
- data/docs/RpmPackageGroupResponse.md +36 -35
- data/docs/RpmPackageLangpacksResponse.md +18 -17
- data/docs/RpmPackageResponse.md +100 -99
- data/docs/RpmPruneApi.md +30 -13
- data/docs/RpmRepoMetadataFileResponse.md +36 -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 +50 -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 +20 -14
- data/lib/pulp_rpm_client/api/content_distribution_trees_api.rb +11 -9
- data/lib/pulp_rpm_client/api/content_modulemd_defaults_api.rb +20 -14
- data/lib/pulp_rpm_client/api/content_modulemd_obsoletes_api.rb +20 -14
- data/lib/pulp_rpm_client/api/content_modulemds_api.rb +20 -14
- data/lib/pulp_rpm_client/api/content_packagecategories_api.rb +11 -9
- data/lib/pulp_rpm_client/api/content_packageenvironments_api.rb +11 -9
- data/lib/pulp_rpm_client/api/content_packagegroups_api.rb +11 -9
- data/lib/pulp_rpm_client/api/content_packagelangpacks_api.rb +11 -9
- data/lib/pulp_rpm_client/api/content_packages_api.rb +20 -14
- data/lib/pulp_rpm_client/api/content_repo_metadata_files_api.rb +11 -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 +50 -22
- data/lib/pulp_rpm_client/models/rpm_modulemd_defaults.rb +39 -27
- data/lib/pulp_rpm_client/models/rpm_modulemd_defaults_response.rb +39 -29
- data/lib/pulp_rpm_client/models/rpm_modulemd_obsolete.rb +55 -27
- data/lib/pulp_rpm_client/models/rpm_modulemd_obsolete_response.rb +50 -24
- data/lib/pulp_rpm_client/models/rpm_modulemd_response.rb +50 -24
- data/lib/pulp_rpm_client/models/rpm_package_category_response.rb +48 -24
- data/lib/pulp_rpm_client/models/rpm_package_environment_response.rb +50 -24
- data/lib/pulp_rpm_client/models/rpm_package_group_response.rb +48 -24
- data/lib/pulp_rpm_client/models/rpm_package_langpacks_response.rb +36 -24
- data/lib/pulp_rpm_client/models/rpm_package_response.rb +42 -24
- data/lib/pulp_rpm_client/models/rpm_repo_metadata_file_response.rb +40 -24
- 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 +32 -24
- 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 +12 -12
- data/spec/api/content_advisories_api_spec.rb +4 -4
- data/spec/api/content_distribution_trees_api_spec.rb +3 -3
- data/spec/api/content_modulemd_defaults_api_spec.rb +4 -4
- data/spec/api/content_modulemd_obsoletes_api_spec.rb +4 -4
- data/spec/api/content_modulemds_api_spec.rb +4 -4
- data/spec/api/content_packagecategories_api_spec.rb +3 -3
- data/spec/api/content_packageenvironments_api_spec.rb +3 -3
- data/spec/api/content_packagegroups_api_spec.rb +3 -3
- data/spec/api/content_packagelangpacks_api_spec.rb +3 -3
- data/spec/api/content_packages_api_spec.rb +4 -4
- data/spec/api/content_repo_metadata_files_api_spec.rb +3 -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 +13 -18
- data/spec/models/rpm_modulemd_defaults_spec.rb +11 -16
- data/spec/models/rpm_modulemd_obsolete_response_spec.rb +19 -24
- data/spec/models/rpm_modulemd_obsolete_spec.rb +17 -22
- data/spec/models/rpm_modulemd_response_spec.rb +21 -26
- data/spec/models/rpm_modulemd_spec.rb +19 -24
- data/spec/models/rpm_package_category_response_spec.rb +18 -23
- data/spec/models/rpm_package_environment_response_spec.rb +19 -24
- data/spec/models/rpm_package_group_response_spec.rb +21 -26
- data/spec/models/rpm_package_langpacks_response_spec.rb +12 -17
- data/spec/models/rpm_package_response_spec.rb +53 -58
- data/spec/models/rpm_repo_metadata_file_response_spec.rb +21 -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 +28 -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 +124 -112
- 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
data/docs/AddonResponse.md
CHANGED
@@ -2,24 +2,25 @@
|
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
|
7
|
-
**addon_id** | **String** | Addon id. |
|
8
|
-
**uid** | **String** | Addon uid. |
|
9
|
-
**name** | **String** | Addon name. |
|
10
|
-
**type** | **String** | Addon type. |
|
11
|
-
**packages** | **String** | Relative path to directory with binary RPMs. |
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **addon_id** | **String** | Addon id. | |
|
8
|
+
| **uid** | **String** | Addon uid. | |
|
9
|
+
| **name** | **String** | Addon name. | |
|
10
|
+
| **type** | **String** | Addon type. | |
|
11
|
+
| **packages** | **String** | Relative path to directory with binary RPMs. | |
|
12
12
|
|
13
|
-
##
|
13
|
+
## Example
|
14
14
|
|
15
15
|
```ruby
|
16
|
-
require '
|
16
|
+
require 'pulp_rpm_client'
|
17
17
|
|
18
|
-
instance = PulpRpmClient::AddonResponse.new(
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
18
|
+
instance = PulpRpmClient::AddonResponse.new(
|
19
|
+
addon_id: null,
|
20
|
+
uid: null,
|
21
|
+
name: null,
|
22
|
+
type: null,
|
23
|
+
packages: null
|
24
|
+
)
|
23
25
|
```
|
24
26
|
|
25
|
-
|
data/docs/ArtifactResponse.md
CHANGED
@@ -2,38 +2,39 @@
|
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
|
7
|
-
**pulp_href** | **String** | | [optional]
|
8
|
-
**prn** | **String** | The Pulp Resource Name (PRN). | [optional]
|
9
|
-
**pulp_created** | **
|
10
|
-
**pulp_last_updated** | **
|
11
|
-
**file** | **String** | The stored file. |
|
12
|
-
**size** | **Integer** | The size of the file in bytes. | [optional]
|
13
|
-
**md5** | **String** | The MD5 checksum of the file if available. | [optional]
|
14
|
-
**sha1** | **String** | The SHA-1 checksum of the file if available. | [optional]
|
15
|
-
**sha224** | **String** | The SHA-224 checksum of the file if available. | [optional]
|
16
|
-
**sha256** | **String** | The SHA-256 checksum of the file if available. | [optional]
|
17
|
-
**sha384** | **String** | The SHA-384 checksum of the file if available. | [optional]
|
18
|
-
**sha512** | **String** | The SHA-512 checksum of the file if available. | [optional]
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **pulp_href** | **String** | | [optional][readonly] |
|
8
|
+
| **prn** | **String** | The Pulp Resource Name (PRN). | [optional][readonly] |
|
9
|
+
| **pulp_created** | **Time** | Timestamp of creation. | [optional][readonly] |
|
10
|
+
| **pulp_last_updated** | **Time** | Timestamp of the last time this resource was updated. Note: for immutable resources - like content, repository versions, and publication - pulp_created and pulp_last_updated dates will be the same. | [optional][readonly] |
|
11
|
+
| **file** | **String** | The stored file. | |
|
12
|
+
| **size** | **Integer** | The size of the file in bytes. | [optional] |
|
13
|
+
| **md5** | **String** | The MD5 checksum of the file if available. | [optional] |
|
14
|
+
| **sha1** | **String** | The SHA-1 checksum of the file if available. | [optional] |
|
15
|
+
| **sha224** | **String** | The SHA-224 checksum of the file if available. | [optional] |
|
16
|
+
| **sha256** | **String** | The SHA-256 checksum of the file if available. | [optional] |
|
17
|
+
| **sha384** | **String** | The SHA-384 checksum of the file if available. | [optional] |
|
18
|
+
| **sha512** | **String** | The SHA-512 checksum of the file if available. | [optional] |
|
19
19
|
|
20
|
-
##
|
20
|
+
## Example
|
21
21
|
|
22
22
|
```ruby
|
23
|
-
require '
|
23
|
+
require 'pulp_rpm_client'
|
24
24
|
|
25
|
-
instance = PulpRpmClient::ArtifactResponse.new(
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
25
|
+
instance = PulpRpmClient::ArtifactResponse.new(
|
26
|
+
pulp_href: null,
|
27
|
+
prn: null,
|
28
|
+
pulp_created: null,
|
29
|
+
pulp_last_updated: null,
|
30
|
+
file: null,
|
31
|
+
size: null,
|
32
|
+
md5: null,
|
33
|
+
sha1: null,
|
34
|
+
sha224: null,
|
35
|
+
sha256: null,
|
36
|
+
sha384: null,
|
37
|
+
sha512: null
|
38
|
+
)
|
37
39
|
```
|
38
40
|
|
39
|
-
|
@@ -2,16 +2,17 @@
|
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
|
7
|
-
**task** | **String** | The href of the task. |
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **task** | **String** | The href of the task. | |
|
8
8
|
|
9
|
-
##
|
9
|
+
## Example
|
10
10
|
|
11
11
|
```ruby
|
12
|
-
require '
|
12
|
+
require 'pulp_rpm_client'
|
13
13
|
|
14
|
-
instance = PulpRpmClient::AsyncOperationResponse.new(
|
14
|
+
instance = PulpRpmClient::AsyncOperationResponse.new(
|
15
|
+
task: null
|
16
|
+
)
|
15
17
|
```
|
16
18
|
|
17
|
-
|
data/docs/ChecksumResponse.md
CHANGED
@@ -2,18 +2,19 @@
|
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
|
7
|
-
**path** | **String** | File path. |
|
8
|
-
**checksum** | **String** | Checksum for the file. |
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **path** | **String** | File path. | |
|
8
|
+
| **checksum** | **String** | Checksum for the file. | |
|
9
9
|
|
10
|
-
##
|
10
|
+
## Example
|
11
11
|
|
12
12
|
```ruby
|
13
|
-
require '
|
13
|
+
require 'pulp_rpm_client'
|
14
14
|
|
15
|
-
instance = PulpRpmClient::ChecksumResponse.new(
|
16
|
-
|
15
|
+
instance = PulpRpmClient::ChecksumResponse.new(
|
16
|
+
path: null,
|
17
|
+
checksum: null
|
18
|
+
)
|
17
19
|
```
|
18
20
|
|
19
|
-
|
data/docs/CompressionTypeEnum.md
CHANGED
@@ -2,15 +2,14 @@
|
|
2
2
|
|
3
3
|
## Properties
|
4
4
|
|
5
|
-
Name | Type | Description | Notes
|
6
|
-
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
7
|
|
8
|
-
##
|
8
|
+
## Example
|
9
9
|
|
10
10
|
```ruby
|
11
|
-
require '
|
11
|
+
require 'pulp_rpm_client'
|
12
12
|
|
13
13
|
instance = PulpRpmClient::CompressionTypeEnum.new()
|
14
14
|
```
|
15
15
|
|
16
|
-
|
@@ -2,26 +2,25 @@
|
|
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 |
|
11
10
|
|
12
11
|
|
13
12
|
## create
|
14
13
|
|
15
|
-
> AsyncOperationResponse create(opts)
|
14
|
+
> <AsyncOperationResponse> create(opts)
|
16
15
|
|
17
16
|
Create an update record
|
18
17
|
|
19
18
|
Trigger an asynchronous task to create content,optionally create new repository version.
|
20
19
|
|
21
|
-
###
|
20
|
+
### Examples
|
22
21
|
|
23
22
|
```ruby
|
24
|
-
|
23
|
+
require 'time'
|
25
24
|
require 'pulp_rpm_client'
|
26
25
|
# setup authorization
|
27
26
|
PulpRpmClient.configure do |config|
|
@@ -33,29 +32,46 @@ end
|
|
33
32
|
api_instance = PulpRpmClient::ContentAdvisoriesApi.new
|
34
33
|
opts = {
|
35
34
|
repository: 'repository_example', # String | A URI of a repository the new content unit should be associated with.
|
36
|
-
file: File.new('/path/to/file'), # File | An uploaded file that may be turned into the content unit.
|
35
|
+
file: File.new('/path/to/some/file'), # File | An uploaded file that may be turned into the content unit.
|
37
36
|
upload: 'upload_example', # String | An uncommitted upload that may be turned into the content unit.
|
38
37
|
file_url: 'file_url_example' # String | A url that Pulp can download and turn into the content unit.
|
39
38
|
}
|
40
39
|
|
41
40
|
begin
|
42
|
-
#Create an update record
|
41
|
+
# Create an update record
|
43
42
|
result = api_instance.create(opts)
|
44
43
|
p result
|
45
44
|
rescue PulpRpmClient::ApiError => e
|
46
|
-
puts "
|
45
|
+
puts "Error when calling ContentAdvisoriesApi->create: #{e}"
|
47
46
|
end
|
48
47
|
```
|
49
48
|
|
50
|
-
|
49
|
+
#### Using the create_with_http_info variant
|
50
|
+
|
51
|
+
This returns an Array which contains the response data, status code and headers.
|
52
|
+
|
53
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> create_with_http_info(opts)
|
54
|
+
|
55
|
+
```ruby
|
56
|
+
begin
|
57
|
+
# Create an update record
|
58
|
+
data, status_code, headers = api_instance.create_with_http_info(opts)
|
59
|
+
p status_code # => 2xx
|
60
|
+
p headers # => { ... }
|
61
|
+
p data # => <AsyncOperationResponse>
|
62
|
+
rescue PulpRpmClient::ApiError => e
|
63
|
+
puts "Error when calling ContentAdvisoriesApi->create_with_http_info: #{e}"
|
64
|
+
end
|
65
|
+
```
|
51
66
|
|
67
|
+
### Parameters
|
52
68
|
|
53
|
-
Name | Type | Description
|
54
|
-
|
55
|
-
**repository** | **String
|
56
|
-
**file** | **File
|
57
|
-
**upload** | **String
|
58
|
-
**file_url** | **String
|
69
|
+
| Name | Type | Description | Notes |
|
70
|
+
| ---- | ---- | ----------- | ----- |
|
71
|
+
| **repository** | **String** | A URI of a repository the new content unit should be associated with. | [optional] |
|
72
|
+
| **file** | **File** | An uploaded file that may be turned into the content unit. | [optional] |
|
73
|
+
| **upload** | **String** | An uncommitted upload that may be turned into the content unit. | [optional] |
|
74
|
+
| **file_url** | **String** | A url that Pulp can download and turn into the content unit. | [optional] |
|
59
75
|
|
60
76
|
### Return type
|
61
77
|
|
@@ -73,16 +89,16 @@ Name | Type | Description | Notes
|
|
73
89
|
|
74
90
|
## list
|
75
91
|
|
76
|
-
> PaginatedrpmUpdateRecordResponseList list(opts)
|
92
|
+
> <PaginatedrpmUpdateRecordResponseList> list(opts)
|
77
93
|
|
78
94
|
List update records
|
79
95
|
|
80
96
|
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
97
|
|
82
|
-
###
|
98
|
+
### Examples
|
83
99
|
|
84
100
|
```ruby
|
85
|
-
|
101
|
+
require 'time'
|
86
102
|
require 'pulp_rpm_client'
|
87
103
|
# setup authorization
|
88
104
|
PulpRpmClient.configure do |config|
|
@@ -94,69 +110,86 @@ end
|
|
94
110
|
api_instance = PulpRpmClient::ContentAdvisoriesApi.new
|
95
111
|
opts = {
|
96
112
|
id: 'id_example', # String | Filter results where id matches value
|
97
|
-
id__in: ['
|
113
|
+
id__in: ['inner_example'], # Array<String> | Filter results where id is in a comma-separated list of values
|
98
114
|
limit: 56, # Integer | Number of results to return per page.
|
99
115
|
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: ['
|
116
|
+
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) * `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)
|
117
|
+
orphaned_for: 8.14, # Float | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
|
118
|
+
prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
119
|
+
pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
120
|
+
pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
105
121
|
q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
|
106
122
|
repository_version: 'repository_version_example', # String | Repository Version referenced by HREF/PRN
|
107
123
|
repository_version_added: 'repository_version_added_example', # String | Repository Version referenced by HREF/PRN
|
108
124
|
repository_version_removed: 'repository_version_removed_example', # String | Repository Version referenced by HREF/PRN
|
109
125
|
severity: 'severity_example', # String | Filter results where severity matches value
|
110
|
-
severity__in: ['
|
126
|
+
severity__in: ['inner_example'], # Array<String> | Filter results where severity is in a comma-separated list of values
|
111
127
|
severity__ne: 'severity__ne_example', # String | Filter results where severity not equal to value
|
112
128
|
status: 'status_example', # String | Filter results where status matches value
|
113
|
-
status__in: ['
|
129
|
+
status__in: ['inner_example'], # Array<String> | Filter results where status is in a comma-separated list of values
|
114
130
|
status__ne: 'status__ne_example', # String | Filter results where status not equal to value
|
115
131
|
type: 'type_example', # String | Filter results where type matches value
|
116
|
-
type__in: ['
|
132
|
+
type__in: ['inner_example'], # Array<String> | Filter results where type is in a comma-separated list of values
|
117
133
|
type__ne: 'type__ne_example', # String | Filter results where type not equal to value
|
118
|
-
fields: ['
|
119
|
-
exclude_fields: ['
|
134
|
+
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
135
|
+
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
120
136
|
}
|
121
137
|
|
122
138
|
begin
|
123
|
-
#List update records
|
139
|
+
# List update records
|
124
140
|
result = api_instance.list(opts)
|
125
141
|
p result
|
126
142
|
rescue PulpRpmClient::ApiError => e
|
127
|
-
puts "
|
143
|
+
puts "Error when calling ContentAdvisoriesApi->list: #{e}"
|
128
144
|
end
|
129
145
|
```
|
130
146
|
|
131
|
-
|
147
|
+
#### Using the list_with_http_info variant
|
132
148
|
|
149
|
+
This returns an Array which contains the response data, status code and headers.
|
133
150
|
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
**
|
153
|
-
**
|
154
|
-
**
|
155
|
-
**
|
156
|
-
**
|
157
|
-
**
|
158
|
-
**
|
159
|
-
**
|
151
|
+
> <Array(<PaginatedrpmUpdateRecordResponseList>, Integer, Hash)> list_with_http_info(opts)
|
152
|
+
|
153
|
+
```ruby
|
154
|
+
begin
|
155
|
+
# List update records
|
156
|
+
data, status_code, headers = api_instance.list_with_http_info(opts)
|
157
|
+
p status_code # => 2xx
|
158
|
+
p headers # => { ... }
|
159
|
+
p data # => <PaginatedrpmUpdateRecordResponseList>
|
160
|
+
rescue PulpRpmClient::ApiError => e
|
161
|
+
puts "Error when calling ContentAdvisoriesApi->list_with_http_info: #{e}"
|
162
|
+
end
|
163
|
+
```
|
164
|
+
|
165
|
+
### Parameters
|
166
|
+
|
167
|
+
| Name | Type | Description | Notes |
|
168
|
+
| ---- | ---- | ----------- | ----- |
|
169
|
+
| **id** | **String** | Filter results where id matches value | [optional] |
|
170
|
+
| **id__in** | [**Array<String>**](String.md) | Filter results where id is in a comma-separated list of values | [optional] |
|
171
|
+
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
172
|
+
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
173
|
+
| **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] |
|
174
|
+
| **orphaned_for** | **Float** | Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME. | [optional] |
|
175
|
+
| **prn__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
176
|
+
| **pulp_href__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
177
|
+
| **pulp_id__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
178
|
+
| **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
|
179
|
+
| **repository_version** | **String** | Repository Version referenced by HREF/PRN | [optional] |
|
180
|
+
| **repository_version_added** | **String** | Repository Version referenced by HREF/PRN | [optional] |
|
181
|
+
| **repository_version_removed** | **String** | Repository Version referenced by HREF/PRN | [optional] |
|
182
|
+
| **severity** | **String** | Filter results where severity matches value | [optional] |
|
183
|
+
| **severity__in** | [**Array<String>**](String.md) | Filter results where severity is in a comma-separated list of values | [optional] |
|
184
|
+
| **severity__ne** | **String** | Filter results where severity not equal to value | [optional] |
|
185
|
+
| **status** | **String** | Filter results where status matches value | [optional] |
|
186
|
+
| **status__in** | [**Array<String>**](String.md) | Filter results where status is in a comma-separated list of values | [optional] |
|
187
|
+
| **status__ne** | **String** | Filter results where status not equal to value | [optional] |
|
188
|
+
| **type** | **String** | Filter results where type matches value | [optional] |
|
189
|
+
| **type__in** | [**Array<String>**](String.md) | Filter results where type is in a comma-separated list of values | [optional] |
|
190
|
+
| **type__ne** | **String** | Filter results where type not equal to value | [optional] |
|
191
|
+
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
192
|
+
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
160
193
|
|
161
194
|
### Return type
|
162
195
|
|
@@ -174,16 +207,16 @@ Name | Type | Description | Notes
|
|
174
207
|
|
175
208
|
## read
|
176
209
|
|
177
|
-
> RpmUpdateRecordResponse read(rpm_update_record_href, opts)
|
210
|
+
> <RpmUpdateRecordResponse> read(rpm_update_record_href, opts)
|
178
211
|
|
179
212
|
Inspect an update record
|
180
213
|
|
181
214
|
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
215
|
|
183
|
-
###
|
216
|
+
### Examples
|
184
217
|
|
185
218
|
```ruby
|
186
|
-
|
219
|
+
require 'time'
|
187
220
|
require 'pulp_rpm_client'
|
188
221
|
# setup authorization
|
189
222
|
PulpRpmClient.configure do |config|
|
@@ -195,27 +228,44 @@ end
|
|
195
228
|
api_instance = PulpRpmClient::ContentAdvisoriesApi.new
|
196
229
|
rpm_update_record_href = 'rpm_update_record_href_example' # String |
|
197
230
|
opts = {
|
198
|
-
fields: ['
|
199
|
-
exclude_fields: ['
|
231
|
+
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
232
|
+
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
200
233
|
}
|
201
234
|
|
202
235
|
begin
|
203
|
-
#Inspect an update record
|
236
|
+
# Inspect an update record
|
204
237
|
result = api_instance.read(rpm_update_record_href, opts)
|
205
238
|
p result
|
206
239
|
rescue PulpRpmClient::ApiError => e
|
207
|
-
puts "
|
240
|
+
puts "Error when calling ContentAdvisoriesApi->read: #{e}"
|
208
241
|
end
|
209
242
|
```
|
210
243
|
|
211
|
-
|
244
|
+
#### Using the read_with_http_info variant
|
245
|
+
|
246
|
+
This returns an Array which contains the response data, status code and headers.
|
247
|
+
|
248
|
+
> <Array(<RpmUpdateRecordResponse>, Integer, Hash)> read_with_http_info(rpm_update_record_href, opts)
|
212
249
|
|
250
|
+
```ruby
|
251
|
+
begin
|
252
|
+
# Inspect an update record
|
253
|
+
data, status_code, headers = api_instance.read_with_http_info(rpm_update_record_href, opts)
|
254
|
+
p status_code # => 2xx
|
255
|
+
p headers # => { ... }
|
256
|
+
p data # => <RpmUpdateRecordResponse>
|
257
|
+
rescue PulpRpmClient::ApiError => e
|
258
|
+
puts "Error when calling ContentAdvisoriesApi->read_with_http_info: #{e}"
|
259
|
+
end
|
260
|
+
```
|
261
|
+
|
262
|
+
### Parameters
|
213
263
|
|
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]
|
264
|
+
| Name | Type | Description | Notes |
|
265
|
+
| ---- | ---- | ----------- | ----- |
|
266
|
+
| **rpm_update_record_href** | **String** | | |
|
267
|
+
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
268
|
+
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
219
269
|
|
220
270
|
### Return type
|
221
271
|
|