pulpcore_client 3.69.1 → 3.70.0
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 +22 -17
- data/docs/AccessPoliciesApi.md +169 -84
- data/docs/AccessPolicy.md +14 -13
- data/docs/AccessPolicyResponse.md +26 -25
- data/docs/ApiAppStatusResponse.md +12 -11
- data/docs/ArtifactDistributionResponse.md +28 -27
- data/docs/ArtifactResponse.md +30 -29
- data/docs/ArtifactsApi.md +145 -78
- data/docs/AsyncOperationResponse.md +8 -7
- data/docs/CompositeContentGuard.md +12 -11
- data/docs/CompositeContentGuardResponse.md +20 -19
- data/docs/ContentApi.md +52 -36
- data/docs/ContentAppStatusResponse.md +12 -11
- data/docs/ContentGuardResponse.md +18 -17
- data/docs/ContentOpenpgpPublickeyApi.md +111 -61
- data/docs/ContentOpenpgpPublicsubkeyApi.md +80 -47
- data/docs/ContentOpenpgpSignatureApi.md +80 -47
- data/docs/ContentOpenpgpUserattributeApi.md +80 -47
- data/docs/ContentOpenpgpUseridApi.md +89 -56
- data/docs/ContentRedirectContentGuard.md +10 -9
- data/docs/ContentRedirectContentGuardResponse.md +18 -17
- data/docs/ContentSettingsResponse.md +10 -9
- data/docs/ContentSummaryResponse.md +12 -11
- data/docs/ContentguardsApi.md +57 -41
- data/docs/ContentguardsCompositeApi.md +315 -146
- data/docs/ContentguardsContentRedirectApi.md +315 -146
- data/docs/ContentguardsHeaderApi.md +315 -146
- data/docs/ContentguardsRbacApi.md +315 -146
- data/docs/DatabaseConnectionResponse.md +8 -7
- data/docs/DistributionResponse.md +30 -29
- data/docs/DistributionsApi.md +68 -52
- data/docs/DistributionsArtifactsApi.md +95 -62
- data/docs/DistributionsOpenpgpApi.md +248 -113
- data/docs/Domain.md +18 -17
- data/docs/DomainBackendMigrator.md +10 -9
- data/docs/DomainResponse.md +26 -25
- data/docs/DomainsApi.md +224 -106
- data/docs/EvaluationResponse.md +12 -11
- data/docs/ExportersFilesystemApi.md +196 -95
- data/docs/ExportersFilesystemExportsApi.md +120 -53
- data/docs/ExportersPulpApi.md +196 -95
- data/docs/ExportersPulpExportsApi.md +120 -53
- data/docs/FilesystemExport.md +14 -13
- data/docs/FilesystemExportResponse.md +20 -19
- data/docs/FilesystemExporter.md +12 -11
- data/docs/FilesystemExporterResponse.md +20 -19
- data/docs/GenericRemoteResponse.md +58 -0
- data/docs/GenericRemoteResponseHiddenFieldsInner.md +20 -0
- data/docs/Group.md +8 -7
- data/docs/GroupProgressReportResponse.md +16 -15
- data/docs/GroupResponse.md +14 -13
- data/docs/GroupRole.md +12 -11
- data/docs/GroupRoleResponse.md +24 -23
- data/docs/GroupUser.md +8 -7
- data/docs/GroupUserResponse.md +12 -11
- data/docs/GroupsApi.md +314 -145
- data/docs/GroupsRolesApi.md +139 -72
- data/docs/GroupsUsersApi.md +90 -40
- data/docs/HeaderContentGuard.md +16 -15
- data/docs/HeaderContentGuardResponse.md +24 -23
- data/docs/ImportResponse.md +18 -17
- data/docs/ImportersPulpApi.md +195 -94
- data/docs/ImportersPulpImportCheckApi.md +29 -13
- data/docs/ImportersPulpImportsApi.md +120 -53
- data/docs/LivezApi.md +25 -8
- data/docs/LoginApi.md +204 -0
- data/docs/LoginResponse.md +22 -0
- data/docs/MethodEnum.md +4 -5
- data/docs/MinimalTaskResponse.md +26 -25
- data/docs/MultipleArtifactContentResponse.md +16 -15
- data/docs/MyPermissionsResponse.md +8 -7
- data/docs/NestedOpenPGPPublicSubkey.md +10 -9
- data/docs/NestedOpenPGPPublicSubkeyResponse.md +12 -11
- data/docs/NestedOpenPGPSignature.md +18 -17
- data/docs/NestedOpenPGPSignatureResponse.md +20 -19
- data/docs/NestedOpenPGPUserAttribute.md +8 -7
- data/docs/NestedOpenPGPUserAttributeResponse.md +10 -9
- data/docs/NestedOpenPGPUserID.md +8 -7
- data/docs/NestedOpenPGPUserIDResponse.md +10 -9
- data/docs/NestedRole.md +12 -11
- data/docs/NestedRoleResponse.md +12 -11
- data/docs/ObjectRolesResponse.md +8 -7
- data/docs/OpenPGPDistribution.md +20 -19
- data/docs/OpenPGPDistributionResponse.md +32 -31
- data/docs/OpenPGPKeyring.md +16 -15
- data/docs/OpenPGPKeyringResponse.md +28 -27
- data/docs/OpenPGPPublicKeyResponse.md +24 -23
- data/docs/OpenPGPPublicSubkeyResponse.md +22 -21
- data/docs/OpenPGPSignatureResponse.md +30 -29
- data/docs/OpenPGPUserAttributeResponse.md +20 -19
- data/docs/OpenPGPUserIDResponse.md +20 -19
- data/docs/OrphansApi.md +26 -9
- data/docs/OrphansCleanup.md +10 -9
- data/docs/OrphansCleanupApi.md +29 -12
- data/docs/PaginatedAccessPolicyResponseList.md +14 -13
- data/docs/PaginatedArtifactDistributionResponseList.md +14 -13
- data/docs/PaginatedArtifactResponseList.md +14 -13
- data/docs/PaginatedCompositeContentGuardResponseList.md +14 -13
- data/docs/PaginatedContentGuardResponseList.md +14 -13
- data/docs/PaginatedContentRedirectContentGuardResponseList.md +14 -13
- data/docs/PaginatedDistributionResponseList.md +14 -13
- data/docs/PaginatedDomainResponseList.md +14 -13
- data/docs/PaginatedFilesystemExportResponseList.md +14 -13
- data/docs/PaginatedFilesystemExporterResponseList.md +14 -13
- data/docs/PaginatedGenericRemoteResponseList.md +24 -0
- data/docs/PaginatedGroupResponseList.md +14 -13
- data/docs/PaginatedGroupRoleResponseList.md +14 -13
- data/docs/PaginatedGroupUserResponseList.md +14 -13
- data/docs/PaginatedHeaderContentGuardResponseList.md +14 -13
- data/docs/PaginatedImportResponseList.md +14 -13
- data/docs/PaginatedMultipleArtifactContentResponseList.md +14 -13
- data/docs/PaginatedOpenPGPDistributionResponseList.md +14 -13
- data/docs/PaginatedOpenPGPKeyringResponseList.md +14 -13
- data/docs/PaginatedOpenPGPPublicKeyResponseList.md +14 -13
- data/docs/PaginatedOpenPGPPublicSubkeyResponseList.md +14 -13
- data/docs/PaginatedOpenPGPSignatureResponseList.md +14 -13
- data/docs/PaginatedOpenPGPUserAttributeResponseList.md +14 -13
- data/docs/PaginatedOpenPGPUserIDResponseList.md +14 -13
- data/docs/PaginatedPublicationResponseList.md +14 -13
- data/docs/PaginatedPulpExportResponseList.md +14 -13
- data/docs/PaginatedPulpExporterResponseList.md +14 -13
- data/docs/PaginatedPulpImporterResponseList.md +14 -13
- data/docs/PaginatedRBACContentGuardResponseList.md +14 -13
- data/docs/PaginatedRepositoryResponseList.md +14 -13
- data/docs/PaginatedRepositoryVersionResponseList.md +14 -13
- data/docs/PaginatedRoleResponseList.md +14 -13
- data/docs/PaginatedSigningServiceResponseList.md +14 -13
- data/docs/PaginatedTaskGroupResponseList.md +14 -13
- data/docs/PaginatedTaskResponseList.md +14 -13
- data/docs/PaginatedTaskScheduleResponseList.md +14 -13
- data/docs/PaginatedUploadResponseList.md +14 -13
- data/docs/PaginatedUpstreamPulpResponseList.md +14 -13
- data/docs/PaginatedUserResponseList.md +14 -13
- data/docs/PaginatedUserRoleResponseList.md +14 -13
- data/docs/PaginatedWorkerResponseList.md +14 -13
- data/docs/PatchedAccessPolicy.md +14 -13
- data/docs/PatchedCompositeContentGuard.md +12 -11
- data/docs/PatchedContentRedirectContentGuard.md +10 -9
- data/docs/PatchedDomain.md +18 -17
- data/docs/PatchedFilesystemExporter.md +12 -11
- data/docs/PatchedGroup.md +8 -7
- data/docs/PatchedHeaderContentGuard.md +16 -15
- data/docs/PatchedOpenPGPDistribution.md +20 -19
- data/docs/PatchedOpenPGPKeyring.md +16 -15
- data/docs/PatchedPulpExporter.md +14 -13
- data/docs/PatchedPulpImporter.md +10 -9
- data/docs/PatchedRBACContentGuard.md +10 -9
- data/docs/PatchedRole.md +12 -11
- data/docs/PatchedTaskCancel.md +8 -7
- data/docs/PatchedUpstreamPulp.md +28 -27
- data/docs/PatchedUser.md +20 -19
- data/docs/PolicyEnum.md +4 -5
- data/docs/ProfileArtifactResponse.md +8 -7
- data/docs/ProgressReportResponse.md +18 -17
- data/docs/PublicationResponse.md +18 -17
- data/docs/PublicationsApi.md +67 -49
- data/docs/PulpExport.md +18 -17
- data/docs/PulpExportResponse.md +24 -23
- data/docs/PulpExporter.md +14 -13
- data/docs/PulpExporterResponse.md +22 -21
- data/docs/PulpImport.md +12 -11
- data/docs/PulpImportCheck.md +12 -11
- data/docs/PulpImportCheckResponse.md +12 -11
- data/docs/PulpImporter.md +10 -9
- data/docs/PulpImporterResponse.md +18 -17
- data/docs/Purge.md +10 -9
- data/docs/RBACContentGuard.md +10 -9
- data/docs/RBACContentGuardResponse.md +22 -21
- data/docs/ReclaimSpace.md +10 -9
- data/docs/RedisConnectionResponse.md +8 -7
- data/docs/RemotesApi.md +73 -55
- data/docs/Repair.md +8 -7
- data/docs/RepairApi.md +29 -13
- data/docs/RepositoriesApi.md +71 -55
- data/docs/RepositoriesOpenpgpKeyringApi.md +416 -196
- data/docs/RepositoriesReclaimSpaceApi.md +30 -13
- data/docs/RepositoryAddRemoveContent.md +12 -11
- data/docs/RepositoryResponse.md +28 -27
- data/docs/RepositoryVersionResponse.md +22 -21
- data/docs/RepositoryVersionsApi.md +65 -47
- data/docs/Role.md +12 -11
- data/docs/RoleResponse.md +22 -21
- data/docs/RolesApi.md +203 -102
- data/docs/SetLabel.md +10 -9
- data/docs/SetLabelResponse.md +10 -9
- data/docs/SigningServiceResponse.md +22 -21
- data/docs/SigningServicesApi.md +75 -42
- data/docs/StatesEnum.md +4 -5
- data/docs/StatusApi.md +26 -9
- data/docs/StatusResponse.md +24 -23
- data/docs/StorageClassEnum.md +4 -5
- data/docs/StorageResponse.md +12 -11
- data/docs/TaskGroupOperationResponse.md +8 -7
- data/docs/TaskGroupResponse.md +32 -31
- data/docs/TaskGroupsApi.md +93 -43
- data/docs/TaskResponse.md +44 -43
- data/docs/TaskScheduleResponse.md +24 -23
- data/docs/TaskSchedulesApi.md +198 -97
- data/docs/TasksApi.md +382 -195
- data/docs/UnsetLabel.md +8 -7
- data/docs/UnsetLabelResponse.md +10 -9
- data/docs/Upload.md +8 -7
- data/docs/UploadChunkResponse.md +10 -9
- data/docs/UploadCommit.md +8 -7
- data/docs/UploadDetailResponse.md +20 -19
- data/docs/UploadResponse.md +18 -17
- data/docs/UploadsApi.md +313 -144
- data/docs/UpstreamPulp.md +28 -27
- data/docs/UpstreamPulpResponse.md +34 -33
- data/docs/UpstreamPulpsApi.md +366 -178
- data/docs/User.md +20 -19
- data/docs/UserGroup.md +8 -7
- data/docs/UserGroupResponse.md +12 -11
- data/docs/UserResponse.md +30 -29
- data/docs/UserRole.md +12 -11
- data/docs/UserRoleResponse.md +24 -23
- data/docs/UsersApi.md +211 -110
- data/docs/UsersRolesApi.md +139 -72
- data/docs/VersionResponse.md +16 -15
- data/docs/WorkerResponse.md +22 -21
- data/docs/WorkersApi.md +100 -65
- data/lib/pulpcore_client/api/access_policies_api.rb +34 -23
- data/lib/pulpcore_client/api/artifacts_api.rb +24 -17
- data/lib/pulpcore_client/api/content_api.rb +6 -5
- data/lib/pulpcore_client/api/content_openpgp_publickey_api.rb +20 -14
- data/lib/pulpcore_client/api/content_openpgp_publicsubkey_api.rb +11 -9
- data/lib/pulpcore_client/api/content_openpgp_signature_api.rb +11 -9
- data/lib/pulpcore_client/api/content_openpgp_userattribute_api.rb +11 -9
- data/lib/pulpcore_client/api/content_openpgp_userid_api.rb +11 -9
- data/lib/pulpcore_client/api/contentguards_api.rb +6 -5
- data/lib/pulpcore_client/api/contentguards_composite_api.rb +70 -45
- data/lib/pulpcore_client/api/contentguards_content_redirect_api.rb +70 -45
- data/lib/pulpcore_client/api/contentguards_header_api.rb +70 -45
- data/lib/pulpcore_client/api/contentguards_rbac_api.rb +70 -45
- data/lib/pulpcore_client/api/distributions_api.rb +6 -5
- data/lib/pulpcore_client/api/distributions_artifacts_api.rb +11 -9
- data/lib/pulpcore_client/api/distributions_openpgp_api.rb +61 -38
- data/lib/pulpcore_client/api/domains_api.rb +52 -33
- data/lib/pulpcore_client/api/exporters_filesystem_api.rb +43 -28
- data/lib/pulpcore_client/api/exporters_filesystem_exports_api.rb +24 -17
- data/lib/pulpcore_client/api/exporters_pulp_api.rb +43 -28
- data/lib/pulpcore_client/api/exporters_pulp_exports_api.rb +24 -17
- data/lib/pulpcore_client/api/groups_api.rb +70 -45
- data/lib/pulpcore_client/api/groups_roles_api.rb +24 -17
- data/lib/pulpcore_client/api/groups_users_api.rb +19 -13
- data/lib/pulpcore_client/api/importers_pulp_api.rb +42 -27
- data/lib/pulpcore_client/api/importers_pulp_import_check_api.rb +10 -6
- data/lib/pulpcore_client/api/importers_pulp_imports_api.rb +24 -17
- data/lib/pulpcore_client/api/livez_api.rb +5 -4
- data/lib/pulpcore_client/api/login_api.rb +179 -0
- data/lib/pulpcore_client/api/orphans_api.rb +6 -5
- data/lib/pulpcore_client/api/orphans_cleanup_api.rb +10 -6
- data/lib/pulpcore_client/api/publications_api.rb +21 -17
- data/lib/pulpcore_client/api/remotes_api.rb +23 -19
- data/lib/pulpcore_client/api/repair_api.rb +10 -6
- data/lib/pulpcore_client/api/repositories_api.rb +6 -5
- data/lib/pulpcore_client/api/repositories_openpgp_keyring_api.rb +98 -61
- data/lib/pulpcore_client/api/repositories_reclaim_space_api.rb +10 -6
- data/lib/pulpcore_client/api/repository_versions_api.rb +21 -17
- data/lib/pulpcore_client/api/roles_api.rb +42 -27
- data/lib/pulpcore_client/api/signing_services_api.rb +11 -9
- data/lib/pulpcore_client/api/status_api.rb +6 -5
- data/lib/pulpcore_client/api/task_groups_api.rb +20 -14
- data/lib/pulpcore_client/api/task_schedules_api.rb +39 -27
- data/lib/pulpcore_client/api/tasks_api.rb +117 -68
- data/lib/pulpcore_client/api/uploads_api.rb +70 -45
- data/lib/pulpcore_client/api/upstream_pulps_api.rb +93 -64
- data/lib/pulpcore_client/api/users_api.rb +42 -27
- data/lib/pulpcore_client/api/users_roles_api.rb +24 -17
- data/lib/pulpcore_client/api/workers_api.rb +26 -21
- data/lib/pulpcore_client/api_client.rb +137 -102
- data/lib/pulpcore_client/api_error.rb +2 -1
- data/lib/pulpcore_client/configuration.rb +162 -21
- data/lib/pulpcore_client/models/access_policy.rb +32 -22
- data/lib/pulpcore_client/models/access_policy_response.rb +34 -24
- data/lib/pulpcore_client/models/api_app_status_response.rb +31 -23
- data/lib/pulpcore_client/models/artifact_distribution_response.rb +82 -70
- data/lib/pulpcore_client/models/artifact_response.rb +34 -24
- data/lib/pulpcore_client/models/async_operation_response.rb +32 -22
- data/lib/pulpcore_client/models/composite_content_guard.rb +32 -22
- data/lib/pulpcore_client/models/composite_content_guard_response.rb +34 -24
- data/lib/pulpcore_client/models/content_app_status_response.rb +31 -23
- data/lib/pulpcore_client/models/content_guard_response.rb +34 -24
- data/lib/pulpcore_client/models/content_redirect_content_guard.rb +32 -22
- data/lib/pulpcore_client/models/content_redirect_content_guard_response.rb +34 -24
- data/lib/pulpcore_client/models/content_settings_response.rb +33 -27
- data/lib/pulpcore_client/models/content_summary_response.rb +36 -22
- data/lib/pulpcore_client/models/database_connection_response.rb +32 -22
- data/lib/pulpcore_client/models/distribution_response.rb +36 -24
- data/lib/pulpcore_client/models/domain.rb +58 -22
- data/lib/pulpcore_client/models/domain_backend_migrator.rb +56 -22
- data/lib/pulpcore_client/models/domain_response.rb +60 -24
- data/lib/pulpcore_client/models/evaluation_response.rb +36 -22
- data/lib/pulpcore_client/models/filesystem_export.rb +30 -22
- data/lib/pulpcore_client/models/filesystem_export_response.rb +32 -24
- data/lib/pulpcore_client/models/filesystem_exporter.rb +56 -22
- data/lib/pulpcore_client/models/filesystem_exporter_response.rb +58 -24
- data/lib/pulpcore_client/models/{remote_response.rb → generic_remote_response.rb} +63 -29
- data/lib/pulpcore_client/models/{remote_response_hidden_fields.rb → generic_remote_response_hidden_fields_inner.rb} +37 -25
- data/lib/pulpcore_client/models/group.rb +32 -22
- data/lib/pulpcore_client/models/group_progress_report_response.rb +30 -22
- data/lib/pulpcore_client/models/group_response.rb +32 -22
- data/lib/pulpcore_client/models/group_role.rb +35 -23
- data/lib/pulpcore_client/models/group_role_response.rb +36 -24
- data/lib/pulpcore_client/models/group_user.rb +32 -22
- data/lib/pulpcore_client/models/group_user_response.rb +32 -22
- data/lib/pulpcore_client/models/header_content_guard.rb +36 -22
- data/lib/pulpcore_client/models/header_content_guard_response.rb +38 -24
- data/lib/pulpcore_client/models/import_response.rb +36 -24
- data/lib/pulpcore_client/models/{upload_chunk.rb → login_response.rb} +55 -62
- data/lib/pulpcore_client/models/method_enum.rb +8 -4
- data/lib/pulpcore_client/models/minimal_task_response.rb +37 -27
- data/lib/pulpcore_client/models/multiple_artifact_content_response.rb +34 -24
- data/lib/pulpcore_client/models/my_permissions_response.rb +32 -22
- data/lib/pulpcore_client/models/nested_open_pgp_public_subkey.rb +35 -23
- data/lib/pulpcore_client/models/nested_open_pgp_public_subkey_response.rb +35 -23
- data/lib/pulpcore_client/models/nested_open_pgp_signature.rb +35 -23
- data/lib/pulpcore_client/models/nested_open_pgp_signature_response.rb +35 -23
- data/lib/pulpcore_client/models/nested_open_pgp_user_attribute.rb +32 -22
- data/lib/pulpcore_client/models/nested_open_pgp_user_attribute_response.rb +32 -22
- data/lib/pulpcore_client/models/nested_open_pgp_user_id.rb +32 -22
- data/lib/pulpcore_client/models/nested_open_pgp_user_id_response.rb +32 -22
- data/lib/pulpcore_client/models/nested_role.rb +32 -22
- data/lib/pulpcore_client/models/nested_role_response.rb +32 -22
- data/lib/pulpcore_client/models/object_roles_response.rb +32 -22
- data/lib/pulpcore_client/models/open_pgp_distribution.rb +34 -22
- data/lib/pulpcore_client/models/open_pgp_distribution_response.rb +36 -24
- data/lib/pulpcore_client/models/open_pgp_keyring.rb +32 -22
- data/lib/pulpcore_client/models/open_pgp_keyring_response.rb +34 -24
- data/lib/pulpcore_client/models/open_pgp_public_key_response.rb +38 -26
- data/lib/pulpcore_client/models/open_pgp_public_subkey_response.rb +37 -25
- data/lib/pulpcore_client/models/open_pgp_signature_response.rb +37 -25
- data/lib/pulpcore_client/models/open_pgp_user_attribute_response.rb +34 -24
- data/lib/pulpcore_client/models/open_pgp_user_id_response.rb +34 -24
- data/lib/pulpcore_client/models/orphans_cleanup.rb +31 -23
- data/lib/pulpcore_client/models/paginated_access_policy_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_artifact_distribution_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_artifact_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_composite_content_guard_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_content_guard_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_content_redirect_content_guard_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_distribution_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_domain_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_filesystem_export_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_filesystem_exporter_response_list.rb +34 -22
- data/lib/pulpcore_client/models/{paginated_remote_response_list.rb → paginated_generic_remote_response_list.rb} +38 -26
- data/lib/pulpcore_client/models/paginated_group_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_group_role_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_group_user_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_header_content_guard_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_import_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_multiple_artifact_content_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_open_pgp_distribution_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_open_pgp_keyring_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_open_pgp_public_key_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_open_pgp_public_subkey_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_open_pgp_signature_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_open_pgp_user_attribute_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_open_pgp_user_id_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_publication_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_pulp_export_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_pulp_exporter_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_pulp_importer_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_rbac_content_guard_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_repository_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_repository_version_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_role_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_signing_service_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_task_group_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_task_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_task_schedule_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_upload_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_upstream_pulp_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_user_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_user_role_response_list.rb +34 -22
- data/lib/pulpcore_client/models/paginated_worker_response_list.rb +34 -22
- data/lib/pulpcore_client/models/patched_access_policy.rb +30 -22
- data/lib/pulpcore_client/models/patched_composite_content_guard.rb +35 -23
- data/lib/pulpcore_client/models/patched_content_redirect_content_guard.rb +35 -23
- data/lib/pulpcore_client/models/patched_domain.rb +59 -25
- data/lib/pulpcore_client/models/patched_filesystem_exporter.rb +62 -24
- data/lib/pulpcore_client/models/patched_group.rb +36 -24
- data/lib/pulpcore_client/models/patched_header_content_guard.rb +45 -25
- data/lib/pulpcore_client/models/patched_open_pgp_distribution.rb +40 -24
- data/lib/pulpcore_client/models/patched_open_pgp_keyring.rb +35 -23
- data/lib/pulpcore_client/models/patched_pulp_exporter.rb +40 -24
- data/lib/pulpcore_client/models/patched_pulp_importer.rb +35 -23
- data/lib/pulpcore_client/models/patched_rbac_content_guard.rb +35 -23
- data/lib/pulpcore_client/models/patched_role.rb +35 -23
- data/lib/pulpcore_client/models/patched_task_cancel.rb +35 -23
- data/lib/pulpcore_client/models/patched_upstream_pulp.rb +45 -25
- data/lib/pulpcore_client/models/patched_user.rb +46 -26
- data/lib/pulpcore_client/models/policy_enum.rb +10 -5
- data/lib/pulpcore_client/models/profile_artifact_response.rb +32 -22
- data/lib/pulpcore_client/models/progress_report_response.rb +30 -22
- data/lib/pulpcore_client/models/publication_response.rb +32 -24
- data/lib/pulpcore_client/models/pulp_export.rb +35 -23
- data/lib/pulpcore_client/models/pulp_export_response.rb +32 -24
- data/lib/pulpcore_client/models/pulp_exporter.rb +36 -22
- data/lib/pulpcore_client/models/pulp_exporter_response.rb +38 -24
- data/lib/pulpcore_client/models/pulp_import.rb +40 -24
- data/lib/pulpcore_client/models/pulp_import_check.rb +45 -25
- data/lib/pulpcore_client/models/pulp_import_check_response.rb +30 -22
- data/lib/pulpcore_client/models/pulp_importer.rb +32 -22
- data/lib/pulpcore_client/models/pulp_importer_response.rb +34 -24
- data/lib/pulpcore_client/models/purge.rb +31 -23
- data/lib/pulpcore_client/models/rbac_content_guard.rb +32 -22
- data/lib/pulpcore_client/models/rbac_content_guard_response.rb +34 -24
- data/lib/pulpcore_client/models/reclaim_space.rb +33 -23
- data/lib/pulpcore_client/models/redis_connection_response.rb +32 -22
- data/lib/pulpcore_client/models/repair.rb +30 -22
- data/lib/pulpcore_client/models/repository_add_remove_content.rb +30 -22
- data/lib/pulpcore_client/models/repository_response.rb +34 -24
- data/lib/pulpcore_client/models/repository_version_response.rb +32 -24
- data/lib/pulpcore_client/models/role.rb +34 -22
- data/lib/pulpcore_client/models/role_response.rb +36 -24
- data/lib/pulpcore_client/models/set_label.rb +34 -22
- data/lib/pulpcore_client/models/set_label_response.rb +34 -22
- data/lib/pulpcore_client/models/signing_service_response.rb +40 -24
- data/lib/pulpcore_client/models/states_enum.rb +8 -4
- data/lib/pulpcore_client/models/status_response.rb +44 -22
- data/lib/pulpcore_client/models/storage_class_enum.rb +8 -4
- data/lib/pulpcore_client/models/storage_response.rb +39 -25
- data/lib/pulpcore_client/models/task_group_operation_response.rb +32 -22
- data/lib/pulpcore_client/models/task_group_response.rb +34 -22
- data/lib/pulpcore_client/models/task_response.rb +39 -27
- data/lib/pulpcore_client/models/task_schedule_response.rb +39 -25
- data/lib/pulpcore_client/models/unset_label.rb +32 -22
- data/lib/pulpcore_client/models/unset_label_response.rb +32 -22
- data/lib/pulpcore_client/models/upload.rb +32 -22
- data/lib/pulpcore_client/models/upload_chunk_response.rb +30 -22
- data/lib/pulpcore_client/models/upload_commit.rb +32 -22
- data/lib/pulpcore_client/models/upload_detail_response.rb +35 -25
- data/lib/pulpcore_client/models/upload_response.rb +35 -25
- data/lib/pulpcore_client/models/upstream_pulp.rb +36 -22
- data/lib/pulpcore_client/models/upstream_pulp_response.rb +40 -26
- data/lib/pulpcore_client/models/user.rb +42 -24
- data/lib/pulpcore_client/models/user_group.rb +32 -22
- data/lib/pulpcore_client/models/user_group_response.rb +32 -22
- data/lib/pulpcore_client/models/user_response.rb +44 -26
- data/lib/pulpcore_client/models/user_role.rb +35 -23
- data/lib/pulpcore_client/models/user_role_response.rb +36 -24
- data/lib/pulpcore_client/models/version_response.rb +40 -22
- data/lib/pulpcore_client/models/worker_response.rb +33 -25
- data/lib/pulpcore_client/version.rb +2 -2
- data/lib/pulpcore_client.rb +6 -7
- data/pulpcore_client.gemspec +9 -6
- data/spec/api/access_policies_api_spec.rb +6 -6
- data/spec/api/artifacts_api_spec.rb +5 -5
- data/spec/api/content_api_spec.rb +2 -2
- data/spec/api/content_openpgp_publickey_api_spec.rb +4 -4
- data/spec/api/content_openpgp_publicsubkey_api_spec.rb +3 -3
- data/spec/api/content_openpgp_signature_api_spec.rb +3 -3
- data/spec/api/content_openpgp_userattribute_api_spec.rb +3 -3
- data/spec/api/content_openpgp_userid_api_spec.rb +3 -3
- data/spec/api/contentguards_api_spec.rb +2 -2
- data/spec/api/contentguards_composite_api_spec.rb +11 -11
- data/spec/api/contentguards_content_redirect_api_spec.rb +11 -11
- data/spec/api/contentguards_header_api_spec.rb +11 -11
- data/spec/api/contentguards_rbac_api_spec.rb +11 -11
- data/spec/api/distributions_api_spec.rb +2 -2
- data/spec/api/distributions_artifacts_api_spec.rb +3 -3
- data/spec/api/distributions_openpgp_api_spec.rb +9 -9
- data/spec/api/domains_api_spec.rb +8 -8
- data/spec/api/exporters_filesystem_api_spec.rb +7 -7
- data/spec/api/exporters_filesystem_exports_api_spec.rb +5 -5
- data/spec/api/exporters_pulp_api_spec.rb +7 -7
- data/spec/api/exporters_pulp_exports_api_spec.rb +5 -5
- data/spec/api/groups_api_spec.rb +11 -11
- data/spec/api/groups_roles_api_spec.rb +5 -5
- data/spec/api/groups_users_api_spec.rb +4 -4
- data/spec/api/importers_pulp_api_spec.rb +7 -7
- data/spec/api/importers_pulp_import_check_api_spec.rb +2 -2
- data/spec/api/importers_pulp_imports_api_spec.rb +5 -5
- data/spec/api/livez_api_spec.rb +2 -2
- data/spec/api/login_api_spec.rb +62 -0
- data/spec/api/orphans_api_spec.rb +2 -2
- data/spec/api/orphans_cleanup_api_spec.rb +2 -2
- data/spec/api/publications_api_spec.rb +9 -8
- data/spec/api/remotes_api_spec.rb +10 -9
- data/spec/api/repair_api_spec.rb +2 -2
- data/spec/api/repositories_api_spec.rb +2 -2
- data/spec/api/repositories_openpgp_keyring_api_spec.rb +14 -14
- data/spec/api/repositories_reclaim_space_api_spec.rb +2 -2
- data/spec/api/repository_versions_api_spec.rb +9 -8
- data/spec/api/roles_api_spec.rb +7 -7
- data/spec/api/signing_services_api_spec.rb +3 -3
- data/spec/api/status_api_spec.rb +2 -2
- data/spec/api/task_groups_api_spec.rb +4 -4
- data/spec/api/task_schedules_api_spec.rb +7 -7
- data/spec/api/tasks_api_spec.rb +32 -23
- data/spec/api/uploads_api_spec.rb +11 -11
- data/spec/api/upstream_pulps_api_spec.rb +20 -19
- data/spec/api/users_api_spec.rb +7 -7
- data/spec/api/users_roles_api_spec.rb +5 -5
- data/spec/api/workers_api_spec.rb +10 -9
- data/spec/models/access_policy_response_spec.rb +16 -21
- data/spec/models/access_policy_spec.rb +10 -15
- data/spec/models/api_app_status_response_spec.rb +9 -14
- data/spec/models/artifact_distribution_response_spec.rb +26 -31
- data/spec/models/artifact_response_spec.rb +18 -23
- data/spec/models/async_operation_response_spec.rb +7 -12
- data/spec/models/composite_content_guard_response_spec.rb +13 -18
- data/spec/models/composite_content_guard_spec.rb +9 -14
- data/spec/models/content_app_status_response_spec.rb +9 -14
- data/spec/models/content_guard_response_spec.rb +12 -17
- data/spec/models/content_redirect_content_guard_response_spec.rb +12 -17
- data/spec/models/content_redirect_content_guard_spec.rb +8 -13
- data/spec/models/content_settings_response_spec.rb +8 -13
- data/spec/models/content_summary_response_spec.rb +9 -14
- data/spec/models/database_connection_response_spec.rb +7 -12
- data/spec/models/distribution_response_spec.rb +18 -23
- data/spec/models/domain_backend_migrator_spec.rb +8 -13
- data/spec/models/domain_response_spec.rb +16 -21
- data/spec/models/domain_spec.rb +12 -17
- data/spec/models/evaluation_response_spec.rb +9 -14
- data/spec/models/filesystem_export_response_spec.rb +13 -18
- data/spec/models/filesystem_export_spec.rb +10 -15
- data/spec/models/filesystem_exporter_response_spec.rb +13 -18
- data/spec/models/filesystem_exporter_spec.rb +9 -14
- data/spec/models/generic_remote_response_hidden_fields_inner_spec.rb +42 -0
- data/spec/models/generic_remote_response_spec.rb +156 -0
- data/spec/models/group_progress_report_response_spec.rb +11 -16
- data/spec/models/group_response_spec.rb +10 -15
- data/spec/models/group_role_response_spec.rb +15 -20
- data/spec/models/group_role_spec.rb +9 -14
- data/spec/models/group_spec.rb +7 -12
- data/spec/models/group_user_response_spec.rb +9 -14
- data/spec/models/group_user_spec.rb +7 -12
- data/spec/models/header_content_guard_response_spec.rb +15 -20
- data/spec/models/header_content_guard_spec.rb +11 -16
- data/spec/models/import_response_spec.rb +12 -17
- data/spec/models/login_response_spec.rb +48 -0
- data/spec/models/method_enum_spec.rb +6 -11
- data/spec/models/minimal_task_response_spec.rb +16 -21
- data/spec/models/multiple_artifact_content_response_spec.rb +11 -16
- data/spec/models/my_permissions_response_spec.rb +7 -12
- data/spec/models/nested_open_pgp_public_subkey_response_spec.rb +9 -14
- data/spec/models/nested_open_pgp_public_subkey_spec.rb +8 -13
- data/spec/models/nested_open_pgp_signature_response_spec.rb +13 -18
- data/spec/models/nested_open_pgp_signature_spec.rb +12 -17
- data/spec/models/nested_open_pgp_user_attribute_response_spec.rb +8 -13
- data/spec/models/nested_open_pgp_user_attribute_spec.rb +7 -12
- data/spec/models/nested_open_pgp_user_id_response_spec.rb +8 -13
- data/spec/models/nested_open_pgp_user_id_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/open_pgp_distribution_response_spec.rb +19 -24
- data/spec/models/open_pgp_distribution_spec.rb +13 -18
- data/spec/models/open_pgp_keyring_response_spec.rb +17 -22
- data/spec/models/open_pgp_keyring_spec.rb +11 -16
- data/spec/models/open_pgp_public_key_response_spec.rb +15 -20
- data/spec/models/open_pgp_public_subkey_response_spec.rb +14 -19
- data/spec/models/open_pgp_signature_response_spec.rb +18 -23
- data/spec/models/open_pgp_user_attribute_response_spec.rb +13 -18
- data/spec/models/open_pgp_user_id_response_spec.rb +13 -18
- data/spec/models/orphans_cleanup_spec.rb +8 -13
- data/spec/models/paginated_access_policy_response_list_spec.rb +10 -15
- data/spec/models/paginated_artifact_distribution_response_list_spec.rb +10 -15
- data/spec/models/paginated_artifact_response_list_spec.rb +10 -15
- data/spec/models/paginated_composite_content_guard_response_list_spec.rb +10 -15
- data/spec/models/paginated_content_guard_response_list_spec.rb +10 -15
- data/spec/models/paginated_content_redirect_content_guard_response_list_spec.rb +10 -15
- data/spec/models/paginated_distribution_response_list_spec.rb +10 -15
- data/spec/models/paginated_domain_response_list_spec.rb +10 -15
- data/spec/models/paginated_filesystem_export_response_list_spec.rb +10 -15
- data/spec/models/paginated_filesystem_exporter_response_list_spec.rb +10 -15
- data/spec/models/paginated_generic_remote_response_list_spec.rb +54 -0
- data/spec/models/paginated_group_response_list_spec.rb +10 -15
- data/spec/models/paginated_group_role_response_list_spec.rb +10 -15
- data/spec/models/paginated_group_user_response_list_spec.rb +10 -15
- data/spec/models/paginated_header_content_guard_response_list_spec.rb +10 -15
- data/spec/models/paginated_import_response_list_spec.rb +10 -15
- data/spec/models/paginated_multiple_artifact_content_response_list_spec.rb +10 -15
- data/spec/models/paginated_open_pgp_distribution_response_list_spec.rb +10 -15
- data/spec/models/paginated_open_pgp_keyring_response_list_spec.rb +10 -15
- data/spec/models/paginated_open_pgp_public_key_response_list_spec.rb +10 -15
- data/spec/models/paginated_open_pgp_public_subkey_response_list_spec.rb +10 -15
- data/spec/models/paginated_open_pgp_signature_response_list_spec.rb +10 -15
- data/spec/models/paginated_open_pgp_user_attribute_response_list_spec.rb +10 -15
- data/spec/models/paginated_open_pgp_user_id_response_list_spec.rb +10 -15
- data/spec/models/paginated_publication_response_list_spec.rb +10 -15
- data/spec/models/paginated_pulp_export_response_list_spec.rb +10 -15
- data/spec/models/paginated_pulp_exporter_response_list_spec.rb +10 -15
- data/spec/models/paginated_pulp_importer_response_list_spec.rb +10 -15
- data/spec/models/paginated_rbac_content_guard_response_list_spec.rb +10 -15
- data/spec/models/paginated_repository_response_list_spec.rb +10 -15
- data/spec/models/paginated_repository_version_response_list_spec.rb +10 -15
- data/spec/models/paginated_role_response_list_spec.rb +10 -15
- data/spec/models/paginated_signing_service_response_list_spec.rb +10 -15
- data/spec/models/paginated_task_group_response_list_spec.rb +10 -15
- data/spec/models/paginated_task_response_list_spec.rb +10 -15
- data/spec/models/paginated_task_schedule_response_list_spec.rb +10 -15
- data/spec/models/paginated_upload_response_list_spec.rb +10 -15
- data/spec/models/paginated_upstream_pulp_response_list_spec.rb +10 -15
- data/spec/models/paginated_user_response_list_spec.rb +10 -15
- data/spec/models/paginated_user_role_response_list_spec.rb +10 -15
- data/spec/models/paginated_worker_response_list_spec.rb +10 -15
- data/spec/models/patched_access_policy_spec.rb +10 -15
- data/spec/models/patched_composite_content_guard_spec.rb +9 -14
- data/spec/models/patched_content_redirect_content_guard_spec.rb +8 -13
- data/spec/models/patched_domain_spec.rb +12 -17
- data/spec/models/patched_filesystem_exporter_spec.rb +9 -14
- data/spec/models/patched_group_spec.rb +7 -12
- data/spec/models/patched_header_content_guard_spec.rb +11 -16
- data/spec/models/patched_open_pgp_distribution_spec.rb +13 -18
- data/spec/models/patched_open_pgp_keyring_spec.rb +11 -16
- data/spec/models/patched_pulp_exporter_spec.rb +10 -15
- data/spec/models/patched_pulp_importer_spec.rb +8 -13
- data/spec/models/patched_rbac_content_guard_spec.rb +8 -13
- data/spec/models/patched_role_spec.rb +9 -14
- data/spec/models/patched_task_cancel_spec.rb +7 -12
- data/spec/models/patched_upstream_pulp_spec.rb +17 -22
- data/spec/models/patched_user_spec.rb +13 -18
- data/spec/models/policy_enum_spec.rb +6 -11
- data/spec/models/profile_artifact_response_spec.rb +7 -12
- data/spec/models/progress_report_response_spec.rb +12 -17
- data/spec/models/publication_response_spec.rb +12 -17
- data/spec/models/pulp_export_response_spec.rb +15 -20
- data/spec/models/pulp_export_spec.rb +12 -17
- data/spec/models/pulp_exporter_response_spec.rb +14 -19
- data/spec/models/pulp_exporter_spec.rb +10 -15
- data/spec/models/pulp_import_check_response_spec.rb +9 -14
- data/spec/models/pulp_import_check_spec.rb +9 -14
- data/spec/models/pulp_import_spec.rb +9 -14
- data/spec/models/pulp_importer_response_spec.rb +12 -17
- data/spec/models/pulp_importer_spec.rb +8 -13
- data/spec/models/purge_spec.rb +8 -13
- data/spec/models/rbac_content_guard_response_spec.rb +14 -19
- data/spec/models/rbac_content_guard_spec.rb +8 -13
- data/spec/models/reclaim_space_spec.rb +8 -13
- data/spec/models/redis_connection_response_spec.rb +7 -12
- data/spec/models/repair_spec.rb +7 -12
- data/spec/models/repository_add_remove_content_spec.rb +9 -14
- data/spec/models/repository_response_spec.rb +17 -22
- data/spec/models/repository_version_response_spec.rb +14 -19
- data/spec/models/role_response_spec.rb +14 -19
- data/spec/models/role_spec.rb +9 -14
- data/spec/models/set_label_response_spec.rb +8 -13
- data/spec/models/set_label_spec.rb +8 -13
- data/spec/models/signing_service_response_spec.rb +14 -19
- data/spec/models/states_enum_spec.rb +6 -11
- data/spec/models/status_response_spec.rb +15 -20
- data/spec/models/storage_class_enum_spec.rb +6 -11
- data/spec/models/storage_response_spec.rb +9 -14
- data/spec/models/task_group_operation_response_spec.rb +7 -12
- data/spec/models/task_group_response_spec.rb +19 -24
- data/spec/models/task_response_spec.rb +25 -30
- data/spec/models/task_schedule_response_spec.rb +15 -20
- data/spec/models/unset_label_response_spec.rb +8 -13
- data/spec/models/unset_label_spec.rb +7 -12
- data/spec/models/upload_chunk_response_spec.rb +8 -13
- data/spec/models/upload_commit_spec.rb +7 -12
- data/spec/models/upload_detail_response_spec.rb +13 -18
- data/spec/models/upload_response_spec.rb +12 -17
- data/spec/models/upload_spec.rb +7 -12
- data/spec/models/upstream_pulp_response_spec.rb +20 -25
- data/spec/models/upstream_pulp_spec.rb +17 -22
- data/spec/models/user_group_response_spec.rb +9 -14
- data/spec/models/user_group_spec.rb +7 -12
- data/spec/models/user_response_spec.rb +18 -23
- data/spec/models/user_role_response_spec.rb +15 -20
- data/spec/models/user_role_spec.rb +9 -14
- data/spec/models/user_spec.rb +13 -18
- data/spec/models/version_response_spec.rb +11 -16
- data/spec/models/worker_response_spec.rb +14 -19
- data/spec/spec_helper.rb +1 -1
- metadata +61 -41
- data/docs/Artifact.md +0 -31
- data/docs/OpenPGPPublicKey.md +0 -23
- data/docs/PaginatedRemoteResponseList.md +0 -23
- data/docs/RemoteResponse.md +0 -57
- data/docs/RemoteResponseHiddenFields.md +0 -19
- data/docs/UploadChunk.md +0 -19
- data/lib/pulpcore_client/models/artifact.rb +0 -379
- data/lib/pulpcore_client/models/open_pgp_public_key.rb +0 -253
- data/spec/api_client_spec.rb +0 -188
- data/spec/configuration_spec.rb +0 -42
- data/spec/models/artifact_spec.rb +0 -83
- data/spec/models/open_pgp_public_key_spec.rb +0 -59
- data/spec/models/paginated_remote_response_list_spec.rb +0 -59
- data/spec/models/remote_response_hidden_fields_spec.rb +0 -47
- data/spec/models/remote_response_spec.rb +0 -161
- data/spec/models/upload_chunk_spec.rb +0 -47
@@ -2,36 +2,35 @@
|
|
2
2
|
|
3
3
|
All URIs are relative to *http://localhost:24817*
|
4
4
|
|
5
|
-
Method | HTTP request | Description
|
6
|
-
|
7
|
-
[**add_role**](RepositoriesOpenpgpKeyringApi.md#add_role) | **POST** {open_p_g_p_keyring_href}add_role/ | Add a role
|
8
|
-
[**create**](RepositoriesOpenpgpKeyringApi.md#create) | **POST** /pulp/api/v3/repositories/core/openpgp_keyring/ | Create an open pgp keyring
|
9
|
-
[**delete**](RepositoriesOpenpgpKeyringApi.md#delete) | **DELETE** {open_p_g_p_keyring_href} | Delete an open pgp keyring
|
10
|
-
[**list**](RepositoriesOpenpgpKeyringApi.md#list) | **GET** /pulp/api/v3/repositories/core/openpgp_keyring/ | List open pgp keyrings
|
11
|
-
[**list_roles**](RepositoriesOpenpgpKeyringApi.md#list_roles) | **GET** {open_p_g_p_keyring_href}list_roles/ | List roles
|
12
|
-
[**modify**](RepositoriesOpenpgpKeyringApi.md#modify) | **POST** {open_p_g_p_keyring_href}modify/ | Modify Repository Content
|
13
|
-
[**my_permissions**](RepositoriesOpenpgpKeyringApi.md#my_permissions) | **GET** {open_p_g_p_keyring_href}my_permissions/ | List user permissions
|
14
|
-
[**partial_update**](RepositoriesOpenpgpKeyringApi.md#partial_update) | **PATCH** {open_p_g_p_keyring_href} | Update an open pgp keyring
|
15
|
-
[**read**](RepositoriesOpenpgpKeyringApi.md#read) | **GET** {open_p_g_p_keyring_href} | Inspect an open pgp keyring
|
16
|
-
[**remove_role**](RepositoriesOpenpgpKeyringApi.md#remove_role) | **POST** {open_p_g_p_keyring_href}remove_role/ | Remove a role
|
17
|
-
[**set_label**](RepositoriesOpenpgpKeyringApi.md#set_label) | **POST** {open_p_g_p_keyring_href}set_label/ | Set a label
|
18
|
-
[**unset_label**](RepositoriesOpenpgpKeyringApi.md#unset_label) | **POST** {open_p_g_p_keyring_href}unset_label/ | Unset a label
|
19
|
-
[**update**](RepositoriesOpenpgpKeyringApi.md#update) | **PUT** {open_p_g_p_keyring_href} | Update an open pgp keyring
|
20
|
-
|
5
|
+
| Method | HTTP request | Description |
|
6
|
+
| ------ | ------------ | ----------- |
|
7
|
+
| [**add_role**](RepositoriesOpenpgpKeyringApi.md#add_role) | **POST** {open_p_g_p_keyring_href}add_role/ | Add a role |
|
8
|
+
| [**create**](RepositoriesOpenpgpKeyringApi.md#create) | **POST** /pulp/api/v3/repositories/core/openpgp_keyring/ | Create an open pgp keyring |
|
9
|
+
| [**delete**](RepositoriesOpenpgpKeyringApi.md#delete) | **DELETE** {open_p_g_p_keyring_href} | Delete an open pgp keyring |
|
10
|
+
| [**list**](RepositoriesOpenpgpKeyringApi.md#list) | **GET** /pulp/api/v3/repositories/core/openpgp_keyring/ | List open pgp keyrings |
|
11
|
+
| [**list_roles**](RepositoriesOpenpgpKeyringApi.md#list_roles) | **GET** {open_p_g_p_keyring_href}list_roles/ | List roles |
|
12
|
+
| [**modify**](RepositoriesOpenpgpKeyringApi.md#modify) | **POST** {open_p_g_p_keyring_href}modify/ | Modify Repository Content |
|
13
|
+
| [**my_permissions**](RepositoriesOpenpgpKeyringApi.md#my_permissions) | **GET** {open_p_g_p_keyring_href}my_permissions/ | List user permissions |
|
14
|
+
| [**partial_update**](RepositoriesOpenpgpKeyringApi.md#partial_update) | **PATCH** {open_p_g_p_keyring_href} | Update an open pgp keyring |
|
15
|
+
| [**read**](RepositoriesOpenpgpKeyringApi.md#read) | **GET** {open_p_g_p_keyring_href} | Inspect an open pgp keyring |
|
16
|
+
| [**remove_role**](RepositoriesOpenpgpKeyringApi.md#remove_role) | **POST** {open_p_g_p_keyring_href}remove_role/ | Remove a role |
|
17
|
+
| [**set_label**](RepositoriesOpenpgpKeyringApi.md#set_label) | **POST** {open_p_g_p_keyring_href}set_label/ | Set a label |
|
18
|
+
| [**unset_label**](RepositoriesOpenpgpKeyringApi.md#unset_label) | **POST** {open_p_g_p_keyring_href}unset_label/ | Unset a label |
|
19
|
+
| [**update**](RepositoriesOpenpgpKeyringApi.md#update) | **PUT** {open_p_g_p_keyring_href} | Update an open pgp keyring |
|
21
20
|
|
22
21
|
|
23
22
|
## add_role
|
24
23
|
|
25
|
-
> NestedRoleResponse add_role(open_p_g_p_keyring_href, nested_role)
|
24
|
+
> <NestedRoleResponse> add_role(open_p_g_p_keyring_href, nested_role)
|
26
25
|
|
27
26
|
Add a role
|
28
27
|
|
29
28
|
Add a role for this object to users/groups.
|
30
29
|
|
31
|
-
###
|
30
|
+
### Examples
|
32
31
|
|
33
32
|
```ruby
|
34
|
-
|
33
|
+
require 'time'
|
35
34
|
require 'pulpcore_client'
|
36
35
|
# setup authorization
|
37
36
|
PulpcoreClient.configure do |config|
|
@@ -42,24 +41,41 @@ end
|
|
42
41
|
|
43
42
|
api_instance = PulpcoreClient::RepositoriesOpenpgpKeyringApi.new
|
44
43
|
open_p_g_p_keyring_href = 'open_p_g_p_keyring_href_example' # String |
|
45
|
-
nested_role = PulpcoreClient::NestedRole.new # NestedRole |
|
44
|
+
nested_role = PulpcoreClient::NestedRole.new({role: 'role_example'}) # NestedRole |
|
46
45
|
|
47
46
|
begin
|
48
|
-
#Add a role
|
47
|
+
# Add a role
|
49
48
|
result = api_instance.add_role(open_p_g_p_keyring_href, nested_role)
|
50
49
|
p result
|
51
50
|
rescue PulpcoreClient::ApiError => e
|
52
|
-
puts "
|
51
|
+
puts "Error when calling RepositoriesOpenpgpKeyringApi->add_role: #{e}"
|
53
52
|
end
|
54
53
|
```
|
55
54
|
|
56
|
-
|
55
|
+
#### Using the add_role_with_http_info variant
|
57
56
|
|
57
|
+
This returns an Array which contains the response data, status code and headers.
|
58
58
|
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
59
|
+
> <Array(<NestedRoleResponse>, Integer, Hash)> add_role_with_http_info(open_p_g_p_keyring_href, nested_role)
|
60
|
+
|
61
|
+
```ruby
|
62
|
+
begin
|
63
|
+
# Add a role
|
64
|
+
data, status_code, headers = api_instance.add_role_with_http_info(open_p_g_p_keyring_href, nested_role)
|
65
|
+
p status_code # => 2xx
|
66
|
+
p headers # => { ... }
|
67
|
+
p data # => <NestedRoleResponse>
|
68
|
+
rescue PulpcoreClient::ApiError => e
|
69
|
+
puts "Error when calling RepositoriesOpenpgpKeyringApi->add_role_with_http_info: #{e}"
|
70
|
+
end
|
71
|
+
```
|
72
|
+
|
73
|
+
### Parameters
|
74
|
+
|
75
|
+
| Name | Type | Description | Notes |
|
76
|
+
| ---- | ---- | ----------- | ----- |
|
77
|
+
| **open_p_g_p_keyring_href** | **String** | | |
|
78
|
+
| **nested_role** | [**NestedRole**](NestedRole.md) | | |
|
63
79
|
|
64
80
|
### Return type
|
65
81
|
|
@@ -77,16 +93,16 @@ Name | Type | Description | Notes
|
|
77
93
|
|
78
94
|
## create
|
79
95
|
|
80
|
-
> OpenPGPKeyringResponse create(open_pgp_keyring)
|
96
|
+
> <OpenPGPKeyringResponse> create(open_pgp_keyring)
|
81
97
|
|
82
98
|
Create an open pgp keyring
|
83
99
|
|
84
100
|
A ViewSet for an ordinary repository.
|
85
101
|
|
86
|
-
###
|
102
|
+
### Examples
|
87
103
|
|
88
104
|
```ruby
|
89
|
-
|
105
|
+
require 'time'
|
90
106
|
require 'pulpcore_client'
|
91
107
|
# setup authorization
|
92
108
|
PulpcoreClient.configure do |config|
|
@@ -96,23 +112,40 @@ PulpcoreClient.configure do |config|
|
|
96
112
|
end
|
97
113
|
|
98
114
|
api_instance = PulpcoreClient::RepositoriesOpenpgpKeyringApi.new
|
99
|
-
open_pgp_keyring = PulpcoreClient::OpenPGPKeyring.new # OpenPGPKeyring |
|
115
|
+
open_pgp_keyring = PulpcoreClient::OpenPGPKeyring.new({name: 'name_example'}) # OpenPGPKeyring |
|
100
116
|
|
101
117
|
begin
|
102
|
-
#Create an open pgp keyring
|
118
|
+
# Create an open pgp keyring
|
103
119
|
result = api_instance.create(open_pgp_keyring)
|
104
120
|
p result
|
105
121
|
rescue PulpcoreClient::ApiError => e
|
106
|
-
puts "
|
122
|
+
puts "Error when calling RepositoriesOpenpgpKeyringApi->create: #{e}"
|
107
123
|
end
|
108
124
|
```
|
109
125
|
|
110
|
-
|
126
|
+
#### Using the create_with_http_info variant
|
111
127
|
|
128
|
+
This returns an Array which contains the response data, status code and headers.
|
112
129
|
|
113
|
-
|
114
|
-
|
115
|
-
|
130
|
+
> <Array(<OpenPGPKeyringResponse>, Integer, Hash)> create_with_http_info(open_pgp_keyring)
|
131
|
+
|
132
|
+
```ruby
|
133
|
+
begin
|
134
|
+
# Create an open pgp keyring
|
135
|
+
data, status_code, headers = api_instance.create_with_http_info(open_pgp_keyring)
|
136
|
+
p status_code # => 2xx
|
137
|
+
p headers # => { ... }
|
138
|
+
p data # => <OpenPGPKeyringResponse>
|
139
|
+
rescue PulpcoreClient::ApiError => e
|
140
|
+
puts "Error when calling RepositoriesOpenpgpKeyringApi->create_with_http_info: #{e}"
|
141
|
+
end
|
142
|
+
```
|
143
|
+
|
144
|
+
### Parameters
|
145
|
+
|
146
|
+
| Name | Type | Description | Notes |
|
147
|
+
| ---- | ---- | ----------- | ----- |
|
148
|
+
| **open_pgp_keyring** | [**OpenPGPKeyring**](OpenPGPKeyring.md) | | |
|
116
149
|
|
117
150
|
### Return type
|
118
151
|
|
@@ -130,16 +163,16 @@ Name | Type | Description | Notes
|
|
130
163
|
|
131
164
|
## delete
|
132
165
|
|
133
|
-
> AsyncOperationResponse delete(open_p_g_p_keyring_href)
|
166
|
+
> <AsyncOperationResponse> delete(open_p_g_p_keyring_href)
|
134
167
|
|
135
168
|
Delete an open pgp keyring
|
136
169
|
|
137
170
|
Trigger an asynchronous delete task
|
138
171
|
|
139
|
-
###
|
172
|
+
### Examples
|
140
173
|
|
141
174
|
```ruby
|
142
|
-
|
175
|
+
require 'time'
|
143
176
|
require 'pulpcore_client'
|
144
177
|
# setup authorization
|
145
178
|
PulpcoreClient.configure do |config|
|
@@ -152,20 +185,37 @@ api_instance = PulpcoreClient::RepositoriesOpenpgpKeyringApi.new
|
|
152
185
|
open_p_g_p_keyring_href = 'open_p_g_p_keyring_href_example' # String |
|
153
186
|
|
154
187
|
begin
|
155
|
-
#Delete an open pgp keyring
|
188
|
+
# Delete an open pgp keyring
|
156
189
|
result = api_instance.delete(open_p_g_p_keyring_href)
|
157
190
|
p result
|
158
191
|
rescue PulpcoreClient::ApiError => e
|
159
|
-
puts "
|
192
|
+
puts "Error when calling RepositoriesOpenpgpKeyringApi->delete: #{e}"
|
160
193
|
end
|
161
194
|
```
|
162
195
|
|
163
|
-
|
196
|
+
#### Using the delete_with_http_info variant
|
197
|
+
|
198
|
+
This returns an Array which contains the response data, status code and headers.
|
199
|
+
|
200
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> delete_with_http_info(open_p_g_p_keyring_href)
|
201
|
+
|
202
|
+
```ruby
|
203
|
+
begin
|
204
|
+
# Delete an open pgp keyring
|
205
|
+
data, status_code, headers = api_instance.delete_with_http_info(open_p_g_p_keyring_href)
|
206
|
+
p status_code # => 2xx
|
207
|
+
p headers # => { ... }
|
208
|
+
p data # => <AsyncOperationResponse>
|
209
|
+
rescue PulpcoreClient::ApiError => e
|
210
|
+
puts "Error when calling RepositoriesOpenpgpKeyringApi->delete_with_http_info: #{e}"
|
211
|
+
end
|
212
|
+
```
|
164
213
|
|
214
|
+
### Parameters
|
165
215
|
|
166
|
-
Name | Type | Description
|
167
|
-
|
168
|
-
**open_p_g_p_keyring_href** | **String
|
216
|
+
| Name | Type | Description | Notes |
|
217
|
+
| ---- | ---- | ----------- | ----- |
|
218
|
+
| **open_p_g_p_keyring_href** | **String** | | |
|
169
219
|
|
170
220
|
### Return type
|
171
221
|
|
@@ -183,16 +233,16 @@ Name | Type | Description | Notes
|
|
183
233
|
|
184
234
|
## list
|
185
235
|
|
186
|
-
> PaginatedOpenPGPKeyringResponseList list(opts)
|
236
|
+
> <PaginatedOpenPGPKeyringResponseList> list(opts)
|
187
237
|
|
188
238
|
List open pgp keyrings
|
189
239
|
|
190
240
|
A ViewSet for an ordinary repository.
|
191
241
|
|
192
|
-
###
|
242
|
+
### Examples
|
193
243
|
|
194
244
|
```ruby
|
195
|
-
|
245
|
+
require 'time'
|
196
246
|
require 'pulpcore_client'
|
197
247
|
# setup authorization
|
198
248
|
PulpcoreClient.configure do |config|
|
@@ -209,19 +259,19 @@ opts = {
|
|
209
259
|
name__contains: 'name__contains_example', # String | Filter results where name contains value
|
210
260
|
name__icontains: 'name__icontains_example', # String | Filter results where name contains value
|
211
261
|
name__iexact: 'name__iexact_example', # String | Filter results where name matches value
|
212
|
-
name__in: ['
|
262
|
+
name__in: ['inner_example'], # Array<String> | Filter results where name is in a comma-separated list of values
|
213
263
|
name__iregex: 'name__iregex_example', # String | Filter results where name matches regex value
|
214
264
|
name__istartswith: 'name__istartswith_example', # String | Filter results where name starts with value
|
215
265
|
name__regex: 'name__regex_example', # String | Filter results where name matches regex value
|
216
266
|
name__startswith: 'name__startswith_example', # String | Filter results where name starts with value
|
217
267
|
offset: 56, # Integer | The initial index from which to return the results.
|
218
|
-
ordering: ['
|
219
|
-
prn__in: ['
|
220
|
-
pulp_href__in: ['
|
221
|
-
pulp_id__in: ['
|
268
|
+
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) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
269
|
+
prn__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
270
|
+
pulp_href__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
271
|
+
pulp_id__in: ['inner_example'], # Array<String> | Multiple values may be separated by commas.
|
222
272
|
pulp_label_select: 'pulp_label_select_example', # String | Filter labels by search string
|
223
273
|
q: 'q_example', # String | Filter results by using NOT, AND and OR operations on other filters
|
224
|
-
remote: '
|
274
|
+
remote: '38400000-8cf0-11bd-b23e-10b96e4ef00d', # String | Foreign Key referenced by HREF
|
225
275
|
retain_repo_versions: 56, # Integer | Filter results where retain_repo_versions matches value
|
226
276
|
retain_repo_versions__gt: 56, # Integer | Filter results where retain_repo_versions is greater than value
|
227
277
|
retain_repo_versions__gte: 56, # Integer | Filter results where retain_repo_versions is greater than or equal to value
|
@@ -229,56 +279,73 @@ opts = {
|
|
229
279
|
retain_repo_versions__lt: 56, # Integer | Filter results where retain_repo_versions is less than value
|
230
280
|
retain_repo_versions__lte: 56, # Integer | Filter results where retain_repo_versions is less than or equal to value
|
231
281
|
retain_repo_versions__ne: 56, # Integer | Filter results where retain_repo_versions not equal to value
|
232
|
-
retain_repo_versions__range: [
|
282
|
+
retain_repo_versions__range: [37], # Array<Integer> | Filter results where retain_repo_versions is between two comma separated values
|
233
283
|
with_content: 'with_content_example', # String | Content Unit referenced by HREF/PRN
|
234
|
-
fields: ['
|
235
|
-
exclude_fields: ['
|
284
|
+
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
285
|
+
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
236
286
|
}
|
237
287
|
|
238
288
|
begin
|
239
|
-
#List open pgp keyrings
|
289
|
+
# List open pgp keyrings
|
240
290
|
result = api_instance.list(opts)
|
241
291
|
p result
|
242
292
|
rescue PulpcoreClient::ApiError => e
|
243
|
-
puts "
|
293
|
+
puts "Error when calling RepositoriesOpenpgpKeyringApi->list: #{e}"
|
244
294
|
end
|
245
295
|
```
|
246
296
|
|
247
|
-
|
297
|
+
#### Using the list_with_http_info variant
|
298
|
+
|
299
|
+
This returns an Array which contains the response data, status code and headers.
|
248
300
|
|
301
|
+
> <Array(<PaginatedOpenPGPKeyringResponseList>, Integer, Hash)> list_with_http_info(opts)
|
249
302
|
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
**
|
267
|
-
**
|
268
|
-
**
|
269
|
-
**
|
270
|
-
**
|
271
|
-
**
|
272
|
-
**
|
273
|
-
**
|
274
|
-
**
|
275
|
-
**
|
276
|
-
**
|
277
|
-
**
|
278
|
-
**
|
279
|
-
**
|
280
|
-
**
|
281
|
-
**
|
303
|
+
```ruby
|
304
|
+
begin
|
305
|
+
# List open pgp keyrings
|
306
|
+
data, status_code, headers = api_instance.list_with_http_info(opts)
|
307
|
+
p status_code # => 2xx
|
308
|
+
p headers # => { ... }
|
309
|
+
p data # => <PaginatedOpenPGPKeyringResponseList>
|
310
|
+
rescue PulpcoreClient::ApiError => e
|
311
|
+
puts "Error when calling RepositoriesOpenpgpKeyringApi->list_with_http_info: #{e}"
|
312
|
+
end
|
313
|
+
```
|
314
|
+
|
315
|
+
### Parameters
|
316
|
+
|
317
|
+
| Name | Type | Description | Notes |
|
318
|
+
| ---- | ---- | ----------- | ----- |
|
319
|
+
| **latest_with_content** | **String** | Content Unit referenced by HREF/PRN | [optional] |
|
320
|
+
| **limit** | **Integer** | Number of results to return per page. | [optional] |
|
321
|
+
| **name** | **String** | Filter results where name matches value | [optional] |
|
322
|
+
| **name__contains** | **String** | Filter results where name contains value | [optional] |
|
323
|
+
| **name__icontains** | **String** | Filter results where name contains value | [optional] |
|
324
|
+
| **name__iexact** | **String** | Filter results where name matches value | [optional] |
|
325
|
+
| **name__in** | [**Array<String>**](String.md) | Filter results where name is in a comma-separated list of values | [optional] |
|
326
|
+
| **name__iregex** | **String** | Filter results where name matches regex value | [optional] |
|
327
|
+
| **name__istartswith** | **String** | Filter results where name starts with value | [optional] |
|
328
|
+
| **name__regex** | **String** | Filter results where name matches regex value | [optional] |
|
329
|
+
| **name__startswith** | **String** | Filter results where name starts with value | [optional] |
|
330
|
+
| **offset** | **Integer** | The initial index from which to return the results. | [optional] |
|
331
|
+
| **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) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending) | [optional] |
|
332
|
+
| **prn__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
333
|
+
| **pulp_href__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
334
|
+
| **pulp_id__in** | [**Array<String>**](String.md) | Multiple values may be separated by commas. | [optional] |
|
335
|
+
| **pulp_label_select** | **String** | Filter labels by search string | [optional] |
|
336
|
+
| **q** | **String** | Filter results by using NOT, AND and OR operations on other filters | [optional] |
|
337
|
+
| **remote** | **String** | Foreign Key referenced by HREF | [optional] |
|
338
|
+
| **retain_repo_versions** | **Integer** | Filter results where retain_repo_versions matches value | [optional] |
|
339
|
+
| **retain_repo_versions__gt** | **Integer** | Filter results where retain_repo_versions is greater than value | [optional] |
|
340
|
+
| **retain_repo_versions__gte** | **Integer** | Filter results where retain_repo_versions is greater than or equal to value | [optional] |
|
341
|
+
| **retain_repo_versions__isnull** | **Boolean** | Filter results where retain_repo_versions has a null value | [optional] |
|
342
|
+
| **retain_repo_versions__lt** | **Integer** | Filter results where retain_repo_versions is less than value | [optional] |
|
343
|
+
| **retain_repo_versions__lte** | **Integer** | Filter results where retain_repo_versions is less than or equal to value | [optional] |
|
344
|
+
| **retain_repo_versions__ne** | **Integer** | Filter results where retain_repo_versions not equal to value | [optional] |
|
345
|
+
| **retain_repo_versions__range** | [**Array<Integer>**](Integer.md) | Filter results where retain_repo_versions is between two comma separated values | [optional] |
|
346
|
+
| **with_content** | **String** | Content Unit referenced by HREF/PRN | [optional] |
|
347
|
+
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
348
|
+
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
282
349
|
|
283
350
|
### Return type
|
284
351
|
|
@@ -296,16 +363,16 @@ Name | Type | Description | Notes
|
|
296
363
|
|
297
364
|
## list_roles
|
298
365
|
|
299
|
-
> ObjectRolesResponse list_roles(open_p_g_p_keyring_href, opts)
|
366
|
+
> <ObjectRolesResponse> list_roles(open_p_g_p_keyring_href, opts)
|
300
367
|
|
301
368
|
List roles
|
302
369
|
|
303
370
|
List roles assigned to this object.
|
304
371
|
|
305
|
-
###
|
372
|
+
### Examples
|
306
373
|
|
307
374
|
```ruby
|
308
|
-
|
375
|
+
require 'time'
|
309
376
|
require 'pulpcore_client'
|
310
377
|
# setup authorization
|
311
378
|
PulpcoreClient.configure do |config|
|
@@ -317,27 +384,44 @@ end
|
|
317
384
|
api_instance = PulpcoreClient::RepositoriesOpenpgpKeyringApi.new
|
318
385
|
open_p_g_p_keyring_href = 'open_p_g_p_keyring_href_example' # String |
|
319
386
|
opts = {
|
320
|
-
fields: ['
|
321
|
-
exclude_fields: ['
|
387
|
+
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
388
|
+
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
322
389
|
}
|
323
390
|
|
324
391
|
begin
|
325
|
-
#List roles
|
392
|
+
# List roles
|
326
393
|
result = api_instance.list_roles(open_p_g_p_keyring_href, opts)
|
327
394
|
p result
|
328
395
|
rescue PulpcoreClient::ApiError => e
|
329
|
-
puts "
|
396
|
+
puts "Error when calling RepositoriesOpenpgpKeyringApi->list_roles: #{e}"
|
330
397
|
end
|
331
398
|
```
|
332
399
|
|
333
|
-
|
400
|
+
#### Using the list_roles_with_http_info variant
|
334
401
|
|
402
|
+
This returns an Array which contains the response data, status code and headers.
|
335
403
|
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
404
|
+
> <Array(<ObjectRolesResponse>, Integer, Hash)> list_roles_with_http_info(open_p_g_p_keyring_href, opts)
|
405
|
+
|
406
|
+
```ruby
|
407
|
+
begin
|
408
|
+
# List roles
|
409
|
+
data, status_code, headers = api_instance.list_roles_with_http_info(open_p_g_p_keyring_href, opts)
|
410
|
+
p status_code # => 2xx
|
411
|
+
p headers # => { ... }
|
412
|
+
p data # => <ObjectRolesResponse>
|
413
|
+
rescue PulpcoreClient::ApiError => e
|
414
|
+
puts "Error when calling RepositoriesOpenpgpKeyringApi->list_roles_with_http_info: #{e}"
|
415
|
+
end
|
416
|
+
```
|
417
|
+
|
418
|
+
### Parameters
|
419
|
+
|
420
|
+
| Name | Type | Description | Notes |
|
421
|
+
| ---- | ---- | ----------- | ----- |
|
422
|
+
| **open_p_g_p_keyring_href** | **String** | | |
|
423
|
+
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
424
|
+
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
341
425
|
|
342
426
|
### Return type
|
343
427
|
|
@@ -355,16 +439,16 @@ Name | Type | Description | Notes
|
|
355
439
|
|
356
440
|
## modify
|
357
441
|
|
358
|
-
> AsyncOperationResponse modify(open_p_g_p_keyring_href, repository_add_remove_content)
|
442
|
+
> <AsyncOperationResponse> modify(open_p_g_p_keyring_href, repository_add_remove_content)
|
359
443
|
|
360
444
|
Modify Repository Content
|
361
445
|
|
362
446
|
Trigger an asynchronous task to create a new repository version.
|
363
447
|
|
364
|
-
###
|
448
|
+
### Examples
|
365
449
|
|
366
450
|
```ruby
|
367
|
-
|
451
|
+
require 'time'
|
368
452
|
require 'pulpcore_client'
|
369
453
|
# setup authorization
|
370
454
|
PulpcoreClient.configure do |config|
|
@@ -378,21 +462,38 @@ open_p_g_p_keyring_href = 'open_p_g_p_keyring_href_example' # String |
|
|
378
462
|
repository_add_remove_content = PulpcoreClient::RepositoryAddRemoveContent.new # RepositoryAddRemoveContent |
|
379
463
|
|
380
464
|
begin
|
381
|
-
#Modify Repository Content
|
465
|
+
# Modify Repository Content
|
382
466
|
result = api_instance.modify(open_p_g_p_keyring_href, repository_add_remove_content)
|
383
467
|
p result
|
384
468
|
rescue PulpcoreClient::ApiError => e
|
385
|
-
puts "
|
469
|
+
puts "Error when calling RepositoriesOpenpgpKeyringApi->modify: #{e}"
|
386
470
|
end
|
387
471
|
```
|
388
472
|
|
389
|
-
|
473
|
+
#### Using the modify_with_http_info variant
|
474
|
+
|
475
|
+
This returns an Array which contains the response data, status code and headers.
|
476
|
+
|
477
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> modify_with_http_info(open_p_g_p_keyring_href, repository_add_remove_content)
|
478
|
+
|
479
|
+
```ruby
|
480
|
+
begin
|
481
|
+
# Modify Repository Content
|
482
|
+
data, status_code, headers = api_instance.modify_with_http_info(open_p_g_p_keyring_href, repository_add_remove_content)
|
483
|
+
p status_code # => 2xx
|
484
|
+
p headers # => { ... }
|
485
|
+
p data # => <AsyncOperationResponse>
|
486
|
+
rescue PulpcoreClient::ApiError => e
|
487
|
+
puts "Error when calling RepositoriesOpenpgpKeyringApi->modify_with_http_info: #{e}"
|
488
|
+
end
|
489
|
+
```
|
390
490
|
|
491
|
+
### Parameters
|
391
492
|
|
392
|
-
Name | Type | Description
|
393
|
-
|
394
|
-
**open_p_g_p_keyring_href** | **String
|
395
|
-
**repository_add_remove_content** | [**RepositoryAddRemoveContent**](RepositoryAddRemoveContent.md)| |
|
493
|
+
| Name | Type | Description | Notes |
|
494
|
+
| ---- | ---- | ----------- | ----- |
|
495
|
+
| **open_p_g_p_keyring_href** | **String** | | |
|
496
|
+
| **repository_add_remove_content** | [**RepositoryAddRemoveContent**](RepositoryAddRemoveContent.md) | | |
|
396
497
|
|
397
498
|
### Return type
|
398
499
|
|
@@ -410,16 +511,16 @@ Name | Type | Description | Notes
|
|
410
511
|
|
411
512
|
## my_permissions
|
412
513
|
|
413
|
-
> MyPermissionsResponse my_permissions(open_p_g_p_keyring_href, opts)
|
514
|
+
> <MyPermissionsResponse> my_permissions(open_p_g_p_keyring_href, opts)
|
414
515
|
|
415
516
|
List user permissions
|
416
517
|
|
417
518
|
List permissions available to the current user on this object.
|
418
519
|
|
419
|
-
###
|
520
|
+
### Examples
|
420
521
|
|
421
522
|
```ruby
|
422
|
-
|
523
|
+
require 'time'
|
423
524
|
require 'pulpcore_client'
|
424
525
|
# setup authorization
|
425
526
|
PulpcoreClient.configure do |config|
|
@@ -431,27 +532,44 @@ end
|
|
431
532
|
api_instance = PulpcoreClient::RepositoriesOpenpgpKeyringApi.new
|
432
533
|
open_p_g_p_keyring_href = 'open_p_g_p_keyring_href_example' # String |
|
433
534
|
opts = {
|
434
|
-
fields: ['
|
435
|
-
exclude_fields: ['
|
535
|
+
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
536
|
+
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
436
537
|
}
|
437
538
|
|
438
539
|
begin
|
439
|
-
#List user permissions
|
540
|
+
# List user permissions
|
440
541
|
result = api_instance.my_permissions(open_p_g_p_keyring_href, opts)
|
441
542
|
p result
|
442
543
|
rescue PulpcoreClient::ApiError => e
|
443
|
-
puts "
|
544
|
+
puts "Error when calling RepositoriesOpenpgpKeyringApi->my_permissions: #{e}"
|
444
545
|
end
|
445
546
|
```
|
446
547
|
|
447
|
-
|
548
|
+
#### Using the my_permissions_with_http_info variant
|
448
549
|
|
550
|
+
This returns an Array which contains the response data, status code and headers.
|
449
551
|
|
450
|
-
|
451
|
-
|
452
|
-
|
453
|
-
|
454
|
-
|
552
|
+
> <Array(<MyPermissionsResponse>, Integer, Hash)> my_permissions_with_http_info(open_p_g_p_keyring_href, opts)
|
553
|
+
|
554
|
+
```ruby
|
555
|
+
begin
|
556
|
+
# List user permissions
|
557
|
+
data, status_code, headers = api_instance.my_permissions_with_http_info(open_p_g_p_keyring_href, opts)
|
558
|
+
p status_code # => 2xx
|
559
|
+
p headers # => { ... }
|
560
|
+
p data # => <MyPermissionsResponse>
|
561
|
+
rescue PulpcoreClient::ApiError => e
|
562
|
+
puts "Error when calling RepositoriesOpenpgpKeyringApi->my_permissions_with_http_info: #{e}"
|
563
|
+
end
|
564
|
+
```
|
565
|
+
|
566
|
+
### Parameters
|
567
|
+
|
568
|
+
| Name | Type | Description | Notes |
|
569
|
+
| ---- | ---- | ----------- | ----- |
|
570
|
+
| **open_p_g_p_keyring_href** | **String** | | |
|
571
|
+
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
572
|
+
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
455
573
|
|
456
574
|
### Return type
|
457
575
|
|
@@ -469,16 +587,16 @@ Name | Type | Description | Notes
|
|
469
587
|
|
470
588
|
## partial_update
|
471
589
|
|
472
|
-
> AsyncOperationResponse partial_update(open_p_g_p_keyring_href, patched_open_pgp_keyring)
|
590
|
+
> <AsyncOperationResponse> partial_update(open_p_g_p_keyring_href, patched_open_pgp_keyring)
|
473
591
|
|
474
592
|
Update an open pgp keyring
|
475
593
|
|
476
594
|
Trigger an asynchronous partial update task
|
477
595
|
|
478
|
-
###
|
596
|
+
### Examples
|
479
597
|
|
480
598
|
```ruby
|
481
|
-
|
599
|
+
require 'time'
|
482
600
|
require 'pulpcore_client'
|
483
601
|
# setup authorization
|
484
602
|
PulpcoreClient.configure do |config|
|
@@ -492,21 +610,38 @@ open_p_g_p_keyring_href = 'open_p_g_p_keyring_href_example' # String |
|
|
492
610
|
patched_open_pgp_keyring = PulpcoreClient::PatchedOpenPGPKeyring.new # PatchedOpenPGPKeyring |
|
493
611
|
|
494
612
|
begin
|
495
|
-
#Update an open pgp keyring
|
613
|
+
# Update an open pgp keyring
|
496
614
|
result = api_instance.partial_update(open_p_g_p_keyring_href, patched_open_pgp_keyring)
|
497
615
|
p result
|
498
616
|
rescue PulpcoreClient::ApiError => e
|
499
|
-
puts "
|
617
|
+
puts "Error when calling RepositoriesOpenpgpKeyringApi->partial_update: #{e}"
|
500
618
|
end
|
501
619
|
```
|
502
620
|
|
503
|
-
|
621
|
+
#### Using the partial_update_with_http_info variant
|
504
622
|
|
623
|
+
This returns an Array which contains the response data, status code and headers.
|
505
624
|
|
506
|
-
|
507
|
-
|
508
|
-
|
509
|
-
|
625
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> partial_update_with_http_info(open_p_g_p_keyring_href, patched_open_pgp_keyring)
|
626
|
+
|
627
|
+
```ruby
|
628
|
+
begin
|
629
|
+
# Update an open pgp keyring
|
630
|
+
data, status_code, headers = api_instance.partial_update_with_http_info(open_p_g_p_keyring_href, patched_open_pgp_keyring)
|
631
|
+
p status_code # => 2xx
|
632
|
+
p headers # => { ... }
|
633
|
+
p data # => <AsyncOperationResponse>
|
634
|
+
rescue PulpcoreClient::ApiError => e
|
635
|
+
puts "Error when calling RepositoriesOpenpgpKeyringApi->partial_update_with_http_info: #{e}"
|
636
|
+
end
|
637
|
+
```
|
638
|
+
|
639
|
+
### Parameters
|
640
|
+
|
641
|
+
| Name | Type | Description | Notes |
|
642
|
+
| ---- | ---- | ----------- | ----- |
|
643
|
+
| **open_p_g_p_keyring_href** | **String** | | |
|
644
|
+
| **patched_open_pgp_keyring** | [**PatchedOpenPGPKeyring**](PatchedOpenPGPKeyring.md) | | |
|
510
645
|
|
511
646
|
### Return type
|
512
647
|
|
@@ -524,16 +659,16 @@ Name | Type | Description | Notes
|
|
524
659
|
|
525
660
|
## read
|
526
661
|
|
527
|
-
> OpenPGPKeyringResponse read(open_p_g_p_keyring_href, opts)
|
662
|
+
> <OpenPGPKeyringResponse> read(open_p_g_p_keyring_href, opts)
|
528
663
|
|
529
664
|
Inspect an open pgp keyring
|
530
665
|
|
531
666
|
A ViewSet for an ordinary repository.
|
532
667
|
|
533
|
-
###
|
668
|
+
### Examples
|
534
669
|
|
535
670
|
```ruby
|
536
|
-
|
671
|
+
require 'time'
|
537
672
|
require 'pulpcore_client'
|
538
673
|
# setup authorization
|
539
674
|
PulpcoreClient.configure do |config|
|
@@ -545,27 +680,44 @@ end
|
|
545
680
|
api_instance = PulpcoreClient::RepositoriesOpenpgpKeyringApi.new
|
546
681
|
open_p_g_p_keyring_href = 'open_p_g_p_keyring_href_example' # String |
|
547
682
|
opts = {
|
548
|
-
fields: ['
|
549
|
-
exclude_fields: ['
|
683
|
+
fields: ['inner_example'], # Array<String> | A list of fields to include in the response.
|
684
|
+
exclude_fields: ['inner_example'] # Array<String> | A list of fields to exclude from the response.
|
550
685
|
}
|
551
686
|
|
552
687
|
begin
|
553
|
-
#Inspect an open pgp keyring
|
688
|
+
# Inspect an open pgp keyring
|
554
689
|
result = api_instance.read(open_p_g_p_keyring_href, opts)
|
555
690
|
p result
|
556
691
|
rescue PulpcoreClient::ApiError => e
|
557
|
-
puts "
|
692
|
+
puts "Error when calling RepositoriesOpenpgpKeyringApi->read: #{e}"
|
558
693
|
end
|
559
694
|
```
|
560
695
|
|
561
|
-
|
696
|
+
#### Using the read_with_http_info variant
|
562
697
|
|
698
|
+
This returns an Array which contains the response data, status code and headers.
|
563
699
|
|
564
|
-
|
565
|
-
|
566
|
-
|
567
|
-
|
568
|
-
|
700
|
+
> <Array(<OpenPGPKeyringResponse>, Integer, Hash)> read_with_http_info(open_p_g_p_keyring_href, opts)
|
701
|
+
|
702
|
+
```ruby
|
703
|
+
begin
|
704
|
+
# Inspect an open pgp keyring
|
705
|
+
data, status_code, headers = api_instance.read_with_http_info(open_p_g_p_keyring_href, opts)
|
706
|
+
p status_code # => 2xx
|
707
|
+
p headers # => { ... }
|
708
|
+
p data # => <OpenPGPKeyringResponse>
|
709
|
+
rescue PulpcoreClient::ApiError => e
|
710
|
+
puts "Error when calling RepositoriesOpenpgpKeyringApi->read_with_http_info: #{e}"
|
711
|
+
end
|
712
|
+
```
|
713
|
+
|
714
|
+
### Parameters
|
715
|
+
|
716
|
+
| Name | Type | Description | Notes |
|
717
|
+
| ---- | ---- | ----------- | ----- |
|
718
|
+
| **open_p_g_p_keyring_href** | **String** | | |
|
719
|
+
| **fields** | [**Array<String>**](String.md) | A list of fields to include in the response. | [optional] |
|
720
|
+
| **exclude_fields** | [**Array<String>**](String.md) | A list of fields to exclude from the response. | [optional] |
|
569
721
|
|
570
722
|
### Return type
|
571
723
|
|
@@ -583,16 +735,16 @@ Name | Type | Description | Notes
|
|
583
735
|
|
584
736
|
## remove_role
|
585
737
|
|
586
|
-
> NestedRoleResponse remove_role(open_p_g_p_keyring_href, nested_role)
|
738
|
+
> <NestedRoleResponse> remove_role(open_p_g_p_keyring_href, nested_role)
|
587
739
|
|
588
740
|
Remove a role
|
589
741
|
|
590
742
|
Remove a role for this object from users/groups.
|
591
743
|
|
592
|
-
###
|
744
|
+
### Examples
|
593
745
|
|
594
746
|
```ruby
|
595
|
-
|
747
|
+
require 'time'
|
596
748
|
require 'pulpcore_client'
|
597
749
|
# setup authorization
|
598
750
|
PulpcoreClient.configure do |config|
|
@@ -603,24 +755,41 @@ end
|
|
603
755
|
|
604
756
|
api_instance = PulpcoreClient::RepositoriesOpenpgpKeyringApi.new
|
605
757
|
open_p_g_p_keyring_href = 'open_p_g_p_keyring_href_example' # String |
|
606
|
-
nested_role = PulpcoreClient::NestedRole.new # NestedRole |
|
758
|
+
nested_role = PulpcoreClient::NestedRole.new({role: 'role_example'}) # NestedRole |
|
607
759
|
|
608
760
|
begin
|
609
|
-
#Remove a role
|
761
|
+
# Remove a role
|
610
762
|
result = api_instance.remove_role(open_p_g_p_keyring_href, nested_role)
|
611
763
|
p result
|
612
764
|
rescue PulpcoreClient::ApiError => e
|
613
|
-
puts "
|
765
|
+
puts "Error when calling RepositoriesOpenpgpKeyringApi->remove_role: #{e}"
|
614
766
|
end
|
615
767
|
```
|
616
768
|
|
617
|
-
|
769
|
+
#### Using the remove_role_with_http_info variant
|
770
|
+
|
771
|
+
This returns an Array which contains the response data, status code and headers.
|
618
772
|
|
773
|
+
> <Array(<NestedRoleResponse>, Integer, Hash)> remove_role_with_http_info(open_p_g_p_keyring_href, nested_role)
|
619
774
|
|
620
|
-
|
621
|
-
|
622
|
-
|
623
|
-
|
775
|
+
```ruby
|
776
|
+
begin
|
777
|
+
# Remove a role
|
778
|
+
data, status_code, headers = api_instance.remove_role_with_http_info(open_p_g_p_keyring_href, nested_role)
|
779
|
+
p status_code # => 2xx
|
780
|
+
p headers # => { ... }
|
781
|
+
p data # => <NestedRoleResponse>
|
782
|
+
rescue PulpcoreClient::ApiError => e
|
783
|
+
puts "Error when calling RepositoriesOpenpgpKeyringApi->remove_role_with_http_info: #{e}"
|
784
|
+
end
|
785
|
+
```
|
786
|
+
|
787
|
+
### Parameters
|
788
|
+
|
789
|
+
| Name | Type | Description | Notes |
|
790
|
+
| ---- | ---- | ----------- | ----- |
|
791
|
+
| **open_p_g_p_keyring_href** | **String** | | |
|
792
|
+
| **nested_role** | [**NestedRole**](NestedRole.md) | | |
|
624
793
|
|
625
794
|
### Return type
|
626
795
|
|
@@ -638,16 +807,16 @@ Name | Type | Description | Notes
|
|
638
807
|
|
639
808
|
## set_label
|
640
809
|
|
641
|
-
> SetLabelResponse set_label(open_p_g_p_keyring_href, set_label)
|
810
|
+
> <SetLabelResponse> set_label(open_p_g_p_keyring_href, set_label)
|
642
811
|
|
643
812
|
Set a label
|
644
813
|
|
645
814
|
Set a single pulp_label on the object to a specific value or null.
|
646
815
|
|
647
|
-
###
|
816
|
+
### Examples
|
648
817
|
|
649
818
|
```ruby
|
650
|
-
|
819
|
+
require 'time'
|
651
820
|
require 'pulpcore_client'
|
652
821
|
# setup authorization
|
653
822
|
PulpcoreClient.configure do |config|
|
@@ -658,24 +827,41 @@ end
|
|
658
827
|
|
659
828
|
api_instance = PulpcoreClient::RepositoriesOpenpgpKeyringApi.new
|
660
829
|
open_p_g_p_keyring_href = 'open_p_g_p_keyring_href_example' # String |
|
661
|
-
set_label = PulpcoreClient::SetLabel.new # SetLabel |
|
830
|
+
set_label = PulpcoreClient::SetLabel.new({key: 'key_example', value: 'value_example'}) # SetLabel |
|
662
831
|
|
663
832
|
begin
|
664
|
-
#Set a label
|
833
|
+
# Set a label
|
665
834
|
result = api_instance.set_label(open_p_g_p_keyring_href, set_label)
|
666
835
|
p result
|
667
836
|
rescue PulpcoreClient::ApiError => e
|
668
|
-
puts "
|
837
|
+
puts "Error when calling RepositoriesOpenpgpKeyringApi->set_label: #{e}"
|
669
838
|
end
|
670
839
|
```
|
671
840
|
|
672
|
-
|
841
|
+
#### Using the set_label_with_http_info variant
|
842
|
+
|
843
|
+
This returns an Array which contains the response data, status code and headers.
|
844
|
+
|
845
|
+
> <Array(<SetLabelResponse>, Integer, Hash)> set_label_with_http_info(open_p_g_p_keyring_href, set_label)
|
846
|
+
|
847
|
+
```ruby
|
848
|
+
begin
|
849
|
+
# Set a label
|
850
|
+
data, status_code, headers = api_instance.set_label_with_http_info(open_p_g_p_keyring_href, set_label)
|
851
|
+
p status_code # => 2xx
|
852
|
+
p headers # => { ... }
|
853
|
+
p data # => <SetLabelResponse>
|
854
|
+
rescue PulpcoreClient::ApiError => e
|
855
|
+
puts "Error when calling RepositoriesOpenpgpKeyringApi->set_label_with_http_info: #{e}"
|
856
|
+
end
|
857
|
+
```
|
673
858
|
|
859
|
+
### Parameters
|
674
860
|
|
675
|
-
Name | Type | Description
|
676
|
-
|
677
|
-
**open_p_g_p_keyring_href** | **String
|
678
|
-
**set_label** | [**SetLabel**](SetLabel.md)| |
|
861
|
+
| Name | Type | Description | Notes |
|
862
|
+
| ---- | ---- | ----------- | ----- |
|
863
|
+
| **open_p_g_p_keyring_href** | **String** | | |
|
864
|
+
| **set_label** | [**SetLabel**](SetLabel.md) | | |
|
679
865
|
|
680
866
|
### Return type
|
681
867
|
|
@@ -693,16 +879,16 @@ Name | Type | Description | Notes
|
|
693
879
|
|
694
880
|
## unset_label
|
695
881
|
|
696
|
-
> UnsetLabelResponse unset_label(open_p_g_p_keyring_href, unset_label)
|
882
|
+
> <UnsetLabelResponse> unset_label(open_p_g_p_keyring_href, unset_label)
|
697
883
|
|
698
884
|
Unset a label
|
699
885
|
|
700
886
|
Unset a single pulp_label on the object.
|
701
887
|
|
702
|
-
###
|
888
|
+
### Examples
|
703
889
|
|
704
890
|
```ruby
|
705
|
-
|
891
|
+
require 'time'
|
706
892
|
require 'pulpcore_client'
|
707
893
|
# setup authorization
|
708
894
|
PulpcoreClient.configure do |config|
|
@@ -713,24 +899,41 @@ end
|
|
713
899
|
|
714
900
|
api_instance = PulpcoreClient::RepositoriesOpenpgpKeyringApi.new
|
715
901
|
open_p_g_p_keyring_href = 'open_p_g_p_keyring_href_example' # String |
|
716
|
-
unset_label = PulpcoreClient::UnsetLabel.new # UnsetLabel |
|
902
|
+
unset_label = PulpcoreClient::UnsetLabel.new({key: 'key_example'}) # UnsetLabel |
|
717
903
|
|
718
904
|
begin
|
719
|
-
#Unset a label
|
905
|
+
# Unset a label
|
720
906
|
result = api_instance.unset_label(open_p_g_p_keyring_href, unset_label)
|
721
907
|
p result
|
722
908
|
rescue PulpcoreClient::ApiError => e
|
723
|
-
puts "
|
909
|
+
puts "Error when calling RepositoriesOpenpgpKeyringApi->unset_label: #{e}"
|
724
910
|
end
|
725
911
|
```
|
726
912
|
|
727
|
-
|
913
|
+
#### Using the unset_label_with_http_info variant
|
914
|
+
|
915
|
+
This returns an Array which contains the response data, status code and headers.
|
916
|
+
|
917
|
+
> <Array(<UnsetLabelResponse>, Integer, Hash)> unset_label_with_http_info(open_p_g_p_keyring_href, unset_label)
|
918
|
+
|
919
|
+
```ruby
|
920
|
+
begin
|
921
|
+
# Unset a label
|
922
|
+
data, status_code, headers = api_instance.unset_label_with_http_info(open_p_g_p_keyring_href, unset_label)
|
923
|
+
p status_code # => 2xx
|
924
|
+
p headers # => { ... }
|
925
|
+
p data # => <UnsetLabelResponse>
|
926
|
+
rescue PulpcoreClient::ApiError => e
|
927
|
+
puts "Error when calling RepositoriesOpenpgpKeyringApi->unset_label_with_http_info: #{e}"
|
928
|
+
end
|
929
|
+
```
|
728
930
|
|
931
|
+
### Parameters
|
729
932
|
|
730
|
-
Name | Type | Description
|
731
|
-
|
732
|
-
**open_p_g_p_keyring_href** | **String
|
733
|
-
**unset_label** | [**UnsetLabel**](UnsetLabel.md)| |
|
933
|
+
| Name | Type | Description | Notes |
|
934
|
+
| ---- | ---- | ----------- | ----- |
|
935
|
+
| **open_p_g_p_keyring_href** | **String** | | |
|
936
|
+
| **unset_label** | [**UnsetLabel**](UnsetLabel.md) | | |
|
734
937
|
|
735
938
|
### Return type
|
736
939
|
|
@@ -748,16 +951,16 @@ Name | Type | Description | Notes
|
|
748
951
|
|
749
952
|
## update
|
750
953
|
|
751
|
-
> AsyncOperationResponse update(open_p_g_p_keyring_href, open_pgp_keyring)
|
954
|
+
> <AsyncOperationResponse> update(open_p_g_p_keyring_href, open_pgp_keyring)
|
752
955
|
|
753
956
|
Update an open pgp keyring
|
754
957
|
|
755
958
|
Trigger an asynchronous update task
|
756
959
|
|
757
|
-
###
|
960
|
+
### Examples
|
758
961
|
|
759
962
|
```ruby
|
760
|
-
|
963
|
+
require 'time'
|
761
964
|
require 'pulpcore_client'
|
762
965
|
# setup authorization
|
763
966
|
PulpcoreClient.configure do |config|
|
@@ -768,24 +971,41 @@ end
|
|
768
971
|
|
769
972
|
api_instance = PulpcoreClient::RepositoriesOpenpgpKeyringApi.new
|
770
973
|
open_p_g_p_keyring_href = 'open_p_g_p_keyring_href_example' # String |
|
771
|
-
open_pgp_keyring = PulpcoreClient::OpenPGPKeyring.new # OpenPGPKeyring |
|
974
|
+
open_pgp_keyring = PulpcoreClient::OpenPGPKeyring.new({name: 'name_example'}) # OpenPGPKeyring |
|
772
975
|
|
773
976
|
begin
|
774
|
-
#Update an open pgp keyring
|
977
|
+
# Update an open pgp keyring
|
775
978
|
result = api_instance.update(open_p_g_p_keyring_href, open_pgp_keyring)
|
776
979
|
p result
|
777
980
|
rescue PulpcoreClient::ApiError => e
|
778
|
-
puts "
|
981
|
+
puts "Error when calling RepositoriesOpenpgpKeyringApi->update: #{e}"
|
779
982
|
end
|
780
983
|
```
|
781
984
|
|
782
|
-
|
985
|
+
#### Using the update_with_http_info variant
|
986
|
+
|
987
|
+
This returns an Array which contains the response data, status code and headers.
|
783
988
|
|
989
|
+
> <Array(<AsyncOperationResponse>, Integer, Hash)> update_with_http_info(open_p_g_p_keyring_href, open_pgp_keyring)
|
990
|
+
|
991
|
+
```ruby
|
992
|
+
begin
|
993
|
+
# Update an open pgp keyring
|
994
|
+
data, status_code, headers = api_instance.update_with_http_info(open_p_g_p_keyring_href, open_pgp_keyring)
|
995
|
+
p status_code # => 2xx
|
996
|
+
p headers # => { ... }
|
997
|
+
p data # => <AsyncOperationResponse>
|
998
|
+
rescue PulpcoreClient::ApiError => e
|
999
|
+
puts "Error when calling RepositoriesOpenpgpKeyringApi->update_with_http_info: #{e}"
|
1000
|
+
end
|
1001
|
+
```
|
1002
|
+
|
1003
|
+
### Parameters
|
784
1004
|
|
785
|
-
Name | Type | Description
|
786
|
-
|
787
|
-
**open_p_g_p_keyring_href** | **String
|
788
|
-
**open_pgp_keyring** | [**OpenPGPKeyring**](OpenPGPKeyring.md)| |
|
1005
|
+
| Name | Type | Description | Notes |
|
1006
|
+
| ---- | ---- | ----------- | ----- |
|
1007
|
+
| **open_p_g_p_keyring_href** | **String** | | |
|
1008
|
+
| **open_pgp_keyring** | [**OpenPGPKeyring**](OpenPGPKeyring.md) | | |
|
789
1009
|
|
790
1010
|
### Return type
|
791
1011
|
|