pulp_file_client 3.49.14 → 3.50.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 +77 -420
- data/docs/AcsFileApi.md +56 -56
- data/docs/ContentFilesApi.md +16 -16
- data/docs/DistributionsFileApi.md +61 -61
- data/docs/FileFileRemote.md +1 -1
- data/docs/FileFileRemoteResponse.md +2 -2
- data/docs/{RemoteResponseHiddenFields.md → FileFileRemoteResponseHiddenFields.md} +2 -2
- data/docs/PatchedfileFileRemote.md +1 -1
- data/docs/{MethodEnum.md → PolicyEnum.md} +2 -2
- data/docs/PublicationsFileApi.md +41 -41
- data/docs/RemotesFileApi.md +61 -61
- data/docs/RepositoriesFileApi.md +71 -71
- data/docs/RepositoriesFileVersionsApi.md +21 -21
- data/lib/pulp_file_client/api/acs_file_api.rb +69 -69
- data/lib/pulp_file_client/api/content_files_api.rb +18 -18
- data/lib/pulp_file_client/api/distributions_file_api.rb +77 -77
- data/lib/pulp_file_client/api/publications_file_api.rb +49 -49
- data/lib/pulp_file_client/api/remotes_file_api.rb +77 -77
- data/lib/pulp_file_client/api/repositories_file_api.rb +91 -91
- data/lib/pulp_file_client/api/repositories_file_versions_api.rb +25 -25
- data/lib/pulp_file_client/configuration.rb +2 -2
- data/lib/pulp_file_client/models/file_file_remote.rb +21 -21
- data/lib/pulp_file_client/models/file_file_remote_response.rb +22 -22
- data/lib/pulp_file_client/models/{remote_response_hidden_fields.rb → file_file_remote_response_hidden_fields.rb} +3 -3
- data/lib/pulp_file_client/models/patchedfile_file_remote.rb +21 -21
- data/lib/pulp_file_client/models/{policy762_enum.rb → policy_enum.rb} +3 -3
- data/lib/pulp_file_client/version.rb +1 -1
- data/lib/pulp_file_client.rb +2 -182
- data/spec/api/acs_file_api_spec.rb +22 -22
- data/spec/api/content_files_api_spec.rb +6 -6
- data/spec/api/distributions_file_api_spec.rb +24 -24
- data/spec/api/publications_file_api_spec.rb +16 -16
- data/spec/api/remotes_file_api_spec.rb +24 -24
- data/spec/api/repositories_file_api_spec.rb +28 -28
- data/spec/api/repositories_file_versions_api_spec.rb +8 -8
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/{remote_response_hidden_fields_spec.rb → file_file_remote_response_hidden_fields_spec.rb} +6 -6
- data/spec/models/{policy762_enum_spec.rb → policy_enum_spec.rb} +6 -6
- metadata +54 -774
- data/docs/AccessPoliciesApi.md +0 -323
- data/docs/AccessPolicy.md +0 -23
- data/docs/AccessPolicyResponse.md +0 -33
- data/docs/ApiAppStatusResponse.md +0 -21
- data/docs/Artifact.md +0 -31
- data/docs/ArtifactDistributionResponse.md +0 -33
- data/docs/ArtifactResponse.md +0 -37
- data/docs/ArtifactsApi.md +0 -277
- data/docs/CertguardRHSMCertGuard.md +0 -21
- data/docs/CertguardRHSMCertGuardResponse.md +0 -27
- data/docs/CertguardX509CertGuard.md +0 -21
- data/docs/CertguardX509CertGuardResponse.md +0 -27
- data/docs/CompositeContentGuard.md +0 -21
- data/docs/CompositeContentGuardResponse.md +0 -27
- data/docs/ContentApi.md +0 -90
- data/docs/ContentAppStatusResponse.md +0 -21
- data/docs/ContentGuardResponse.md +0 -25
- data/docs/ContentRedirectContentGuard.md +0 -19
- data/docs/ContentRedirectContentGuardResponse.md +0 -25
- data/docs/ContentSettingsResponse.md +0 -19
- data/docs/ContentguardsApi.md +0 -100
- data/docs/ContentguardsCompositeApi.md +0 -607
- data/docs/ContentguardsContentRedirectApi.md +0 -607
- data/docs/ContentguardsHeaderApi.md +0 -607
- data/docs/ContentguardsRbacApi.md +0 -607
- data/docs/ContentguardsRhsmApi.md +0 -375
- data/docs/ContentguardsX509Api.md +0 -375
- data/docs/DatabaseConnectionResponse.md +0 -17
- data/docs/DistributionResponse.md +0 -35
- data/docs/DistributionsApi.md +0 -116
- data/docs/DistributionsArtifactsApi.md +0 -172
- data/docs/DocsApiJsonApi.md +0 -61
- data/docs/DocsApiYamlApi.md +0 -61
- data/docs/Domain.md +0 -27
- data/docs/DomainResponse.md +0 -33
- data/docs/DomainsApi.md +0 -376
- data/docs/EvaluationResponse.md +0 -21
- data/docs/ExportersFilesystemApi.md +0 -376
- data/docs/ExportersFilesystemExportsApi.md +0 -241
- data/docs/ExportersPulpApi.md +0 -376
- data/docs/ExportersPulpExportsApi.md +0 -241
- data/docs/FilesystemExport.md +0 -23
- data/docs/FilesystemExportResponse.md +0 -27
- data/docs/FilesystemExporter.md +0 -21
- data/docs/FilesystemExporterResponse.md +0 -27
- data/docs/Group.md +0 -17
- data/docs/GroupProgressReportResponse.md +0 -25
- data/docs/GroupResponse.md +0 -21
- data/docs/GroupRole.md +0 -21
- data/docs/GroupRoleResponse.md +0 -31
- data/docs/GroupUser.md +0 -17
- data/docs/GroupUserResponse.md +0 -19
- data/docs/GroupsApi.md +0 -603
- data/docs/GroupsRolesApi.md +0 -263
- data/docs/GroupsUsersApi.md +0 -181
- data/docs/HeaderContentGuard.md +0 -25
- data/docs/HeaderContentGuardResponse.md +0 -31
- data/docs/ImportResponse.md +0 -25
- data/docs/ImportersPulpApi.md +0 -375
- data/docs/ImportersPulpImportCheckApi.md +0 -62
- data/docs/ImportersPulpImportsApi.md +0 -241
- data/docs/MinimalTaskResponse.md +0 -33
- data/docs/MultipleArtifactContentResponse.md +0 -23
- data/docs/OrphansApi.md +0 -58
- data/docs/OrphansCleanup.md +0 -19
- data/docs/OrphansCleanupApi.md +0 -61
- data/docs/PaginatedAccessPolicyResponseList.md +0 -23
- data/docs/PaginatedArtifactDistributionResponseList.md +0 -23
- data/docs/PaginatedArtifactResponseList.md +0 -23
- data/docs/PaginatedCompositeContentGuardResponseList.md +0 -23
- data/docs/PaginatedContentGuardResponseList.md +0 -23
- data/docs/PaginatedContentRedirectContentGuardResponseList.md +0 -23
- data/docs/PaginatedDistributionResponseList.md +0 -23
- data/docs/PaginatedDomainResponseList.md +0 -23
- data/docs/PaginatedFilesystemExportResponseList.md +0 -23
- data/docs/PaginatedFilesystemExporterResponseList.md +0 -23
- data/docs/PaginatedGroupResponseList.md +0 -23
- data/docs/PaginatedGroupRoleResponseList.md +0 -23
- data/docs/PaginatedGroupUserResponseList.md +0 -23
- data/docs/PaginatedHeaderContentGuardResponseList.md +0 -23
- data/docs/PaginatedImportResponseList.md +0 -23
- data/docs/PaginatedMultipleArtifactContentResponseList.md +0 -23
- data/docs/PaginatedPublicationResponseList.md +0 -23
- data/docs/PaginatedPulpExportResponseList.md +0 -23
- data/docs/PaginatedPulpExporterResponseList.md +0 -23
- data/docs/PaginatedPulpImporterResponseList.md +0 -23
- data/docs/PaginatedRBACContentGuardResponseList.md +0 -23
- data/docs/PaginatedRemoteResponseList.md +0 -23
- data/docs/PaginatedRepositoryResponseList.md +0 -23
- data/docs/PaginatedRoleResponseList.md +0 -23
- data/docs/PaginatedSigningServiceResponseList.md +0 -23
- data/docs/PaginatedTaskGroupResponseList.md +0 -23
- data/docs/PaginatedTaskResponseList.md +0 -23
- data/docs/PaginatedTaskScheduleResponseList.md +0 -23
- data/docs/PaginatedUploadResponseList.md +0 -23
- data/docs/PaginatedUpstreamPulpResponseList.md +0 -23
- data/docs/PaginatedUserResponseList.md +0 -23
- data/docs/PaginatedUserRoleResponseList.md +0 -23
- data/docs/PaginatedWorkerResponseList.md +0 -23
- data/docs/PaginatedcertguardRHSMCertGuardResponseList.md +0 -23
- data/docs/PaginatedcertguardX509CertGuardResponseList.md +0 -23
- data/docs/PatchedAccessPolicy.md +0 -23
- data/docs/PatchedCompositeContentGuard.md +0 -21
- data/docs/PatchedContentRedirectContentGuard.md +0 -19
- data/docs/PatchedDomain.md +0 -27
- data/docs/PatchedFilesystemExporter.md +0 -21
- data/docs/PatchedGroup.md +0 -17
- data/docs/PatchedHeaderContentGuard.md +0 -25
- data/docs/PatchedPulpExporter.md +0 -23
- data/docs/PatchedPulpImporter.md +0 -19
- data/docs/PatchedRBACContentGuard.md +0 -19
- data/docs/PatchedRole.md +0 -21
- data/docs/PatchedTaskCancel.md +0 -17
- data/docs/PatchedUpstreamPulp.md +0 -37
- data/docs/PatchedUser.md +0 -29
- data/docs/PatchedcertguardRHSMCertGuard.md +0 -21
- data/docs/PatchedcertguardX509CertGuard.md +0 -21
- data/docs/Policy762Enum.md +0 -16
- data/docs/ProgressReportResponse.md +0 -27
- data/docs/PublicationResponse.md +0 -25
- data/docs/PublicationsApi.md +0 -102
- data/docs/PulpExport.md +0 -27
- data/docs/PulpExportResponse.md +0 -31
- data/docs/PulpExporter.md +0 -23
- data/docs/PulpExporterResponse.md +0 -29
- data/docs/PulpImport.md +0 -21
- data/docs/PulpImportCheck.md +0 -21
- data/docs/PulpImportCheckResponse.md +0 -21
- data/docs/PulpImporter.md +0 -19
- data/docs/PulpImporterResponse.md +0 -25
- data/docs/Purge.md +0 -19
- data/docs/RBACContentGuard.md +0 -19
- data/docs/RBACContentGuardResponse.md +0 -29
- data/docs/ReclaimSpace.md +0 -19
- data/docs/RedisConnectionResponse.md +0 -17
- data/docs/RemoteResponse.md +0 -55
- data/docs/RemoteResponsePolicyEnum.md +0 -16
- data/docs/RemotesApi.md +0 -114
- data/docs/RepairApi.md +0 -62
- data/docs/RepositoriesApi.md +0 -124
- data/docs/RepositoriesReclaimSpaceApi.md +0 -61
- data/docs/RepositoryResponse.md +0 -35
- data/docs/RepositoryVersionsApi.md +0 -104
- data/docs/Role.md +0 -21
- data/docs/RoleResponse.md +0 -29
- data/docs/RolesApi.md +0 -389
- data/docs/SigningServiceResponse.md +0 -29
- data/docs/SigningServicesApi.md +0 -140
- data/docs/StatesEnum.md +0 -16
- data/docs/StatusApi.md +0 -52
- data/docs/StatusResponse.md +0 -33
- data/docs/StorageClassEnum.md +0 -16
- data/docs/StorageResponse.md +0 -21
- data/docs/TaskGroupResponse.md +0 -39
- data/docs/TaskGroupsApi.md +0 -130
- data/docs/TaskResponse.md +0 -51
- data/docs/TaskScheduleResponse.md +0 -31
- data/docs/TaskSchedulesApi.md +0 -378
- data/docs/TasksApi.md +0 -603
- data/docs/Upload.md +0 -17
- data/docs/UploadChunk.md +0 -19
- data/docs/UploadChunkResponse.md +0 -19
- data/docs/UploadCommit.md +0 -17
- data/docs/UploadDetailResponse.md +0 -27
- data/docs/UploadResponse.md +0 -25
- data/docs/UploadsApi.md +0 -603
- data/docs/UpstreamPulp.md +0 -37
- data/docs/UpstreamPulpResponse.md +0 -39
- data/docs/UpstreamPulpsApi.md +0 -635
- data/docs/User.md +0 -29
- data/docs/UserGroup.md +0 -17
- data/docs/UserGroupResponse.md +0 -19
- data/docs/UserResponse.md +0 -37
- data/docs/UserRole.md +0 -21
- data/docs/UserRoleResponse.md +0 -31
- data/docs/UsersApi.md +0 -401
- data/docs/UsersRolesApi.md +0 -263
- data/docs/VersionResponse.md +0 -25
- data/docs/WorkerResponse.md +0 -29
- data/docs/WorkersApi.md +0 -172
- data/lib/pulp_file_client/api/access_policies_api.rb +0 -404
- data/lib/pulp_file_client/api/artifacts_api.rb +0 -368
- data/lib/pulp_file_client/api/content_api.rb +0 -132
- data/lib/pulp_file_client/api/contentguards_api.rb +0 -147
- data/lib/pulp_file_client/api/contentguards_composite_api.rb +0 -741
- data/lib/pulp_file_client/api/contentguards_content_redirect_api.rb +0 -741
- data/lib/pulp_file_client/api/contentguards_header_api.rb +0 -741
- data/lib/pulp_file_client/api/contentguards_rbac_api.rb +0 -741
- data/lib/pulp_file_client/api/contentguards_rhsm_api.rb +0 -465
- data/lib/pulp_file_client/api/contentguards_x509_api.rb +0 -465
- data/lib/pulp_file_client/api/distributions_api.rb +0 -171
- data/lib/pulp_file_client/api/distributions_artifacts_api.rb +0 -225
- data/lib/pulp_file_client/api/docs_api_json_api.rb +0 -89
- data/lib/pulp_file_client/api/docs_api_yaml_api.rb +0 -89
- data/lib/pulp_file_client/api/domains_api.rb +0 -467
- data/lib/pulp_file_client/api/exporters_filesystem_api.rb +0 -467
- data/lib/pulp_file_client/api/exporters_filesystem_exports_api.rb +0 -294
- data/lib/pulp_file_client/api/exporters_pulp_api.rb +0 -467
- data/lib/pulp_file_client/api/exporters_pulp_exports_api.rb +0 -294
- data/lib/pulp_file_client/api/groups_api.rb +0 -735
- data/lib/pulp_file_client/api/groups_roles_api.rb +0 -331
- data/lib/pulp_file_client/api/groups_users_api.rb +0 -226
- data/lib/pulp_file_client/api/importers_pulp_api.rb +0 -465
- data/lib/pulp_file_client/api/importers_pulp_import_check_api.rb +0 -86
- data/lib/pulp_file_client/api/importers_pulp_imports_api.rb +0 -294
- data/lib/pulp_file_client/api/orphans_api.rb +0 -78
- data/lib/pulp_file_client/api/orphans_cleanup_api.rb +0 -84
- data/lib/pulp_file_client/api/publications_api.rb +0 -150
- data/lib/pulp_file_client/api/remotes_api.rb +0 -168
- data/lib/pulp_file_client/api/repair_api.rb +0 -86
- data/lib/pulp_file_client/api/repositories_api.rb +0 -183
- data/lib/pulp_file_client/api/repositories_reclaim_space_api.rb +0 -84
- data/lib/pulp_file_client/api/repository_versions_api.rb +0 -145
- data/lib/pulp_file_client/api/roles_api.rb +0 -486
- data/lib/pulp_file_client/api/signing_services_api.rb +0 -177
- data/lib/pulp_file_client/api/status_api.rb +0 -78
- data/lib/pulp_file_client/api/task_groups_api.rb +0 -158
- data/lib/pulp_file_client/api/task_schedules_api.rb +0 -462
- data/lib/pulp_file_client/api/tasks_api.rb +0 -753
- data/lib/pulp_file_client/api/uploads_api.rb +0 -741
- data/lib/pulp_file_client/api/upstream_pulps_api.rb +0 -760
- data/lib/pulp_file_client/api/users_api.rb +0 -504
- data/lib/pulp_file_client/api/users_roles_api.rb +0 -331
- data/lib/pulp_file_client/api/workers_api.rb +0 -225
- data/lib/pulp_file_client/models/access_policy.rb +0 -249
- data/lib/pulp_file_client/models/access_policy_response.rb +0 -298
- data/lib/pulp_file_client/models/api_app_status_response.rb +0 -230
- data/lib/pulp_file_client/models/artifact.rb +0 -379
- data/lib/pulp_file_client/models/artifact_distribution_response.rb +0 -301
- data/lib/pulp_file_client/models/artifact_response.rb +0 -318
- data/lib/pulp_file_client/models/certguard_rhsm_cert_guard.rb +0 -292
- data/lib/pulp_file_client/models/certguard_rhsm_cert_guard_response.rb +0 -268
- data/lib/pulp_file_client/models/certguard_x509_cert_guard.rb +0 -292
- data/lib/pulp_file_client/models/certguard_x509_cert_guard_response.rb +0 -268
- data/lib/pulp_file_client/models/composite_content_guard.rb +0 -270
- data/lib/pulp_file_client/models/composite_content_guard_response.rb +0 -265
- data/lib/pulp_file_client/models/content_app_status_response.rb +0 -230
- data/lib/pulp_file_client/models/content_guard_response.rb +0 -253
- data/lib/pulp_file_client/models/content_redirect_content_guard.rb +0 -258
- data/lib/pulp_file_client/models/content_redirect_content_guard_response.rb +0 -253
- data/lib/pulp_file_client/models/content_settings_response.rb +0 -228
- data/lib/pulp_file_client/models/database_connection_response.rb +0 -213
- data/lib/pulp_file_client/models/distribution_response.rb +0 -312
- data/lib/pulp_file_client/models/domain.rb +0 -332
- data/lib/pulp_file_client/models/domain_response.rb +0 -337
- data/lib/pulp_file_client/models/evaluation_response.rb +0 -245
- data/lib/pulp_file_client/models/filesystem_export.rb +0 -239
- data/lib/pulp_file_client/models/filesystem_export_response.rb +0 -260
- data/lib/pulp_file_client/models/filesystem_exporter.rb +0 -276
- data/lib/pulp_file_client/models/filesystem_exporter_response.rb +0 -267
- data/lib/pulp_file_client/models/group.rb +0 -241
- data/lib/pulp_file_client/models/group_progress_report_response.rb +0 -249
- data/lib/pulp_file_client/models/group_response.rb +0 -250
- data/lib/pulp_file_client/models/group_role.rb +0 -268
- data/lib/pulp_file_client/models/group_role_response.rb +0 -283
- data/lib/pulp_file_client/models/group_user.rb +0 -241
- data/lib/pulp_file_client/models/group_user_response.rb +0 -241
- data/lib/pulp_file_client/models/header_content_guard.rb +0 -352
- data/lib/pulp_file_client/models/header_content_guard_response.rb +0 -294
- data/lib/pulp_file_client/models/import_response.rb +0 -257
- data/lib/pulp_file_client/models/method_enum.rb +0 -37
- data/lib/pulp_file_client/models/minimal_task_response.rb +0 -292
- data/lib/pulp_file_client/models/multiple_artifact_content_response.rb +0 -242
- data/lib/pulp_file_client/models/orphans_cleanup.rb +0 -220
- data/lib/pulp_file_client/models/paginated_access_policy_response_list.rb +0 -247
- data/lib/pulp_file_client/models/paginated_artifact_distribution_response_list.rb +0 -247
- data/lib/pulp_file_client/models/paginated_artifact_response_list.rb +0 -247
- data/lib/pulp_file_client/models/paginated_composite_content_guard_response_list.rb +0 -247
- data/lib/pulp_file_client/models/paginated_content_guard_response_list.rb +0 -247
- data/lib/pulp_file_client/models/paginated_content_redirect_content_guard_response_list.rb +0 -247
- data/lib/pulp_file_client/models/paginated_distribution_response_list.rb +0 -247
- data/lib/pulp_file_client/models/paginated_domain_response_list.rb +0 -247
- data/lib/pulp_file_client/models/paginated_filesystem_export_response_list.rb +0 -247
- data/lib/pulp_file_client/models/paginated_filesystem_exporter_response_list.rb +0 -247
- data/lib/pulp_file_client/models/paginated_group_response_list.rb +0 -247
- data/lib/pulp_file_client/models/paginated_group_role_response_list.rb +0 -247
- data/lib/pulp_file_client/models/paginated_group_user_response_list.rb +0 -247
- data/lib/pulp_file_client/models/paginated_header_content_guard_response_list.rb +0 -247
- data/lib/pulp_file_client/models/paginated_import_response_list.rb +0 -247
- data/lib/pulp_file_client/models/paginated_multiple_artifact_content_response_list.rb +0 -247
- data/lib/pulp_file_client/models/paginated_publication_response_list.rb +0 -247
- data/lib/pulp_file_client/models/paginated_pulp_export_response_list.rb +0 -247
- data/lib/pulp_file_client/models/paginated_pulp_exporter_response_list.rb +0 -247
- data/lib/pulp_file_client/models/paginated_pulp_importer_response_list.rb +0 -247
- data/lib/pulp_file_client/models/paginated_rbac_content_guard_response_list.rb +0 -247
- data/lib/pulp_file_client/models/paginated_remote_response_list.rb +0 -247
- data/lib/pulp_file_client/models/paginated_repository_response_list.rb +0 -247
- data/lib/pulp_file_client/models/paginated_role_response_list.rb +0 -247
- data/lib/pulp_file_client/models/paginated_signing_service_response_list.rb +0 -247
- data/lib/pulp_file_client/models/paginated_task_group_response_list.rb +0 -247
- data/lib/pulp_file_client/models/paginated_task_response_list.rb +0 -247
- data/lib/pulp_file_client/models/paginated_task_schedule_response_list.rb +0 -247
- data/lib/pulp_file_client/models/paginated_upload_response_list.rb +0 -247
- data/lib/pulp_file_client/models/paginated_upstream_pulp_response_list.rb +0 -247
- data/lib/pulp_file_client/models/paginated_user_response_list.rb +0 -247
- data/lib/pulp_file_client/models/paginated_user_role_response_list.rb +0 -247
- data/lib/pulp_file_client/models/paginated_worker_response_list.rb +0 -247
- data/lib/pulp_file_client/models/paginatedcertguard_rhsm_cert_guard_response_list.rb +0 -247
- data/lib/pulp_file_client/models/paginatedcertguard_x509_cert_guard_response_list.rb +0 -247
- data/lib/pulp_file_client/models/patched_access_policy.rb +0 -244
- data/lib/pulp_file_client/models/patched_composite_content_guard.rb +0 -261
- data/lib/pulp_file_client/models/patched_content_redirect_content_guard.rb +0 -249
- data/lib/pulp_file_client/models/patched_domain.rb +0 -313
- data/lib/pulp_file_client/models/patched_filesystem_exporter.rb +0 -258
- data/lib/pulp_file_client/models/patched_group.rb +0 -232
- data/lib/pulp_file_client/models/patched_header_content_guard.rb +0 -325
- data/lib/pulp_file_client/models/patched_pulp_exporter.rb +0 -270
- data/lib/pulp_file_client/models/patched_pulp_importer.rb +0 -235
- data/lib/pulp_file_client/models/patched_rbac_content_guard.rb +0 -249
- data/lib/pulp_file_client/models/patched_role.rb +0 -261
- data/lib/pulp_file_client/models/patched_task_cancel.rb +0 -223
- data/lib/pulp_file_client/models/patched_upstream_pulp.rb +0 -450
- data/lib/pulp_file_client/models/patched_user.rb +0 -342
- data/lib/pulp_file_client/models/patchedcertguard_rhsm_cert_guard.rb +0 -274
- data/lib/pulp_file_client/models/patchedcertguard_x509_cert_guard.rb +0 -274
- data/lib/pulp_file_client/models/progress_report_response.rb +0 -259
- data/lib/pulp_file_client/models/publication_response.rb +0 -246
- data/lib/pulp_file_client/models/pulp_export.rb +0 -282
- data/lib/pulp_file_client/models/pulp_export_response.rb +0 -280
- data/lib/pulp_file_client/models/pulp_exporter.rb +0 -293
- data/lib/pulp_file_client/models/pulp_exporter_response.rb +0 -284
- data/lib/pulp_file_client/models/pulp_import.rb +0 -260
- data/lib/pulp_file_client/models/pulp_import_check.rb +0 -273
- data/lib/pulp_file_client/models/pulp_import_check_response.rb +0 -228
- data/lib/pulp_file_client/models/pulp_importer.rb +0 -244
- data/lib/pulp_file_client/models/pulp_importer_response.rb +0 -254
- data/lib/pulp_file_client/models/purge.rb +0 -219
- data/lib/pulp_file_client/models/rbac_content_guard.rb +0 -258
- data/lib/pulp_file_client/models/rbac_content_guard_response.rb +0 -275
- data/lib/pulp_file_client/models/reclaim_space.rb +0 -227
- data/lib/pulp_file_client/models/redis_connection_response.rb +0 -213
- data/lib/pulp_file_client/models/remote_response.rb +0 -497
- data/lib/pulp_file_client/models/remote_response_policy_enum.rb +0 -36
- data/lib/pulp_file_client/models/repository_response.rb +0 -319
- data/lib/pulp_file_client/models/role.rb +0 -275
- data/lib/pulp_file_client/models/role_response.rb +0 -280
- data/lib/pulp_file_client/models/signing_service_response.rb +0 -287
- data/lib/pulp_file_client/models/states_enum.rb +0 -38
- data/lib/pulp_file_client/models/status_response.rb +0 -331
- data/lib/pulp_file_client/models/storage_class_enum.rb +0 -37
- data/lib/pulp_file_client/models/storage_response.rb +0 -276
- data/lib/pulp_file_client/models/task_group_response.rb +0 -329
- data/lib/pulp_file_client/models/task_response.rb +0 -396
- data/lib/pulp_file_client/models/task_schedule_response.rb +0 -289
- data/lib/pulp_file_client/models/upload.rb +0 -213
- data/lib/pulp_file_client/models/upload_chunk.rb +0 -239
- data/lib/pulp_file_client/models/upload_chunk_response.rb +0 -216
- data/lib/pulp_file_client/models/upload_commit.rb +0 -232
- data/lib/pulp_file_client/models/upload_detail_response.rb +0 -263
- data/lib/pulp_file_client/models/upload_response.rb +0 -252
- data/lib/pulp_file_client/models/upstream_pulp.rb +0 -477
- data/lib/pulp_file_client/models/upstream_pulp_response.rb +0 -338
- data/lib/pulp_file_client/models/user.rb +0 -351
- data/lib/pulp_file_client/models/user_group.rb +0 -241
- data/lib/pulp_file_client/models/user_group_response.rb +0 -241
- data/lib/pulp_file_client/models/user_response.rb +0 -367
- data/lib/pulp_file_client/models/user_role.rb +0 -268
- data/lib/pulp_file_client/models/user_role_response.rb +0 -283
- data/lib/pulp_file_client/models/version_response.rb +0 -273
- data/lib/pulp_file_client/models/worker_response.rb +0 -269
- data/spec/api/access_policies_api_spec.rb +0 -115
- data/spec/api/artifacts_api_spec.rb +0 -107
- data/spec/api/content_api_spec.rb +0 -60
- data/spec/api/contentguards_api_spec.rb +0 -65
- data/spec/api/contentguards_composite_api_spec.rb +0 -181
- data/spec/api/contentguards_content_redirect_api_spec.rb +0 -181
- data/spec/api/contentguards_header_api_spec.rb +0 -181
- data/spec/api/contentguards_rbac_api_spec.rb +0 -181
- data/spec/api/contentguards_rhsm_api_spec.rb +0 -127
- data/spec/api/contentguards_x509_api_spec.rb +0 -127
- data/spec/api/distributions_api_spec.rb +0 -73
- data/spec/api/distributions_artifacts_api_spec.rb +0 -85
- data/spec/api/docs_api_json_api_spec.rb +0 -48
- data/spec/api/docs_api_yaml_api_spec.rb +0 -48
- data/spec/api/domains_api_spec.rb +0 -127
- data/spec/api/exporters_filesystem_api_spec.rb +0 -127
- data/spec/api/exporters_filesystem_exports_api_spec.rb +0 -90
- data/spec/api/exporters_pulp_api_spec.rb +0 -127
- data/spec/api/exporters_pulp_exports_api_spec.rb +0 -90
- data/spec/api/groups_api_spec.rb +0 -179
- data/spec/api/groups_roles_api_spec.rb +0 -101
- data/spec/api/groups_users_api_spec.rb +0 -76
- data/spec/api/importers_pulp_api_spec.rb +0 -127
- data/spec/api/importers_pulp_import_check_api_spec.rb +0 -47
- data/spec/api/importers_pulp_imports_api_spec.rb +0 -90
- data/spec/api/orphans_api_spec.rb +0 -46
- data/spec/api/orphans_cleanup_api_spec.rb +0 -46
- data/spec/api/publications_api_spec.rb +0 -66
- data/spec/api/remotes_api_spec.rb +0 -72
- data/spec/api/repair_api_spec.rb +0 -47
- data/spec/api/repositories_api_spec.rb +0 -77
- data/spec/api/repositories_reclaim_space_api_spec.rb +0 -46
- data/spec/api/repository_versions_api_spec.rb +0 -67
- data/spec/api/roles_api_spec.rb +0 -134
- data/spec/api/signing_services_api_spec.rb +0 -69
- data/spec/api/status_api_spec.rb +0 -46
- data/spec/api/task_groups_api_spec.rb +0 -64
- data/spec/api/task_schedules_api_spec.rb +0 -126
- data/spec/api/tasks_api_spec.rb +0 -194
- data/spec/api/uploads_api_spec.rb +0 -178
- data/spec/api/upstream_pulps_api_spec.rb +0 -180
- data/spec/api/users_api_spec.rb +0 -140
- data/spec/api/users_roles_api_spec.rb +0 -101
- data/spec/api/workers_api_spec.rb +0 -85
- data/spec/models/access_policy_response_spec.rb +0 -89
- data/spec/models/access_policy_spec.rb +0 -59
- data/spec/models/api_app_status_response_spec.rb +0 -53
- data/spec/models/artifact_distribution_response_spec.rb +0 -89
- data/spec/models/artifact_response_spec.rb +0 -101
- data/spec/models/artifact_spec.rb +0 -83
- data/spec/models/certguard_rhsm_cert_guard_response_spec.rb +0 -71
- data/spec/models/certguard_rhsm_cert_guard_spec.rb +0 -53
- data/spec/models/certguard_x509_cert_guard_response_spec.rb +0 -71
- data/spec/models/certguard_x509_cert_guard_spec.rb +0 -53
- data/spec/models/composite_content_guard_response_spec.rb +0 -71
- data/spec/models/composite_content_guard_spec.rb +0 -53
- data/spec/models/content_app_status_response_spec.rb +0 -53
- data/spec/models/content_guard_response_spec.rb +0 -65
- data/spec/models/content_redirect_content_guard_response_spec.rb +0 -65
- data/spec/models/content_redirect_content_guard_spec.rb +0 -47
- data/spec/models/content_settings_response_spec.rb +0 -47
- data/spec/models/database_connection_response_spec.rb +0 -41
- data/spec/models/distribution_response_spec.rb +0 -95
- data/spec/models/domain_response_spec.rb +0 -89
- data/spec/models/domain_spec.rb +0 -71
- data/spec/models/evaluation_response_spec.rb +0 -53
- data/spec/models/filesystem_export_response_spec.rb +0 -71
- data/spec/models/filesystem_export_spec.rb +0 -59
- data/spec/models/filesystem_exporter_response_spec.rb +0 -71
- data/spec/models/filesystem_exporter_spec.rb +0 -53
- data/spec/models/group_progress_report_response_spec.rb +0 -65
- data/spec/models/group_response_spec.rb +0 -53
- data/spec/models/group_role_response_spec.rb +0 -83
- data/spec/models/group_role_spec.rb +0 -53
- data/spec/models/group_spec.rb +0 -41
- data/spec/models/group_user_response_spec.rb +0 -47
- data/spec/models/group_user_spec.rb +0 -41
- data/spec/models/header_content_guard_response_spec.rb +0 -83
- data/spec/models/header_content_guard_spec.rb +0 -65
- data/spec/models/import_response_spec.rb +0 -65
- data/spec/models/method_enum_spec.rb +0 -35
- data/spec/models/minimal_task_response_spec.rb +0 -89
- data/spec/models/multiple_artifact_content_response_spec.rb +0 -59
- data/spec/models/orphans_cleanup_spec.rb +0 -47
- data/spec/models/paginated_access_policy_response_list_spec.rb +0 -59
- data/spec/models/paginated_artifact_distribution_response_list_spec.rb +0 -59
- data/spec/models/paginated_artifact_response_list_spec.rb +0 -59
- data/spec/models/paginated_composite_content_guard_response_list_spec.rb +0 -59
- data/spec/models/paginated_content_guard_response_list_spec.rb +0 -59
- data/spec/models/paginated_content_redirect_content_guard_response_list_spec.rb +0 -59
- data/spec/models/paginated_distribution_response_list_spec.rb +0 -59
- data/spec/models/paginated_domain_response_list_spec.rb +0 -59
- data/spec/models/paginated_filesystem_export_response_list_spec.rb +0 -59
- data/spec/models/paginated_filesystem_exporter_response_list_spec.rb +0 -59
- data/spec/models/paginated_group_response_list_spec.rb +0 -59
- data/spec/models/paginated_group_role_response_list_spec.rb +0 -59
- data/spec/models/paginated_group_user_response_list_spec.rb +0 -59
- data/spec/models/paginated_header_content_guard_response_list_spec.rb +0 -59
- data/spec/models/paginated_import_response_list_spec.rb +0 -59
- data/spec/models/paginated_multiple_artifact_content_response_list_spec.rb +0 -59
- data/spec/models/paginated_publication_response_list_spec.rb +0 -59
- data/spec/models/paginated_pulp_export_response_list_spec.rb +0 -59
- data/spec/models/paginated_pulp_exporter_response_list_spec.rb +0 -59
- data/spec/models/paginated_pulp_importer_response_list_spec.rb +0 -59
- data/spec/models/paginated_rbac_content_guard_response_list_spec.rb +0 -59
- data/spec/models/paginated_remote_response_list_spec.rb +0 -59
- data/spec/models/paginated_repository_response_list_spec.rb +0 -59
- data/spec/models/paginated_role_response_list_spec.rb +0 -59
- data/spec/models/paginated_signing_service_response_list_spec.rb +0 -59
- data/spec/models/paginated_task_group_response_list_spec.rb +0 -59
- data/spec/models/paginated_task_response_list_spec.rb +0 -59
- data/spec/models/paginated_task_schedule_response_list_spec.rb +0 -59
- data/spec/models/paginated_upload_response_list_spec.rb +0 -59
- data/spec/models/paginated_upstream_pulp_response_list_spec.rb +0 -59
- data/spec/models/paginated_user_response_list_spec.rb +0 -59
- data/spec/models/paginated_user_role_response_list_spec.rb +0 -59
- data/spec/models/paginated_worker_response_list_spec.rb +0 -59
- data/spec/models/paginatedcertguard_rhsm_cert_guard_response_list_spec.rb +0 -59
- data/spec/models/paginatedcertguard_x509_cert_guard_response_list_spec.rb +0 -59
- data/spec/models/patched_access_policy_spec.rb +0 -59
- data/spec/models/patched_composite_content_guard_spec.rb +0 -53
- data/spec/models/patched_content_redirect_content_guard_spec.rb +0 -47
- data/spec/models/patched_domain_spec.rb +0 -71
- data/spec/models/patched_filesystem_exporter_spec.rb +0 -53
- data/spec/models/patched_group_spec.rb +0 -41
- data/spec/models/patched_header_content_guard_spec.rb +0 -65
- data/spec/models/patched_pulp_exporter_spec.rb +0 -59
- data/spec/models/patched_pulp_importer_spec.rb +0 -47
- data/spec/models/patched_rbac_content_guard_spec.rb +0 -47
- data/spec/models/patched_role_spec.rb +0 -53
- data/spec/models/patched_task_cancel_spec.rb +0 -41
- data/spec/models/patched_upstream_pulp_spec.rb +0 -101
- data/spec/models/patched_user_spec.rb +0 -77
- data/spec/models/patchedcertguard_rhsm_cert_guard_spec.rb +0 -53
- data/spec/models/patchedcertguard_x509_cert_guard_spec.rb +0 -53
- data/spec/models/progress_report_response_spec.rb +0 -71
- data/spec/models/publication_response_spec.rb +0 -65
- data/spec/models/pulp_export_response_spec.rb +0 -83
- data/spec/models/pulp_export_spec.rb +0 -71
- data/spec/models/pulp_exporter_response_spec.rb +0 -77
- data/spec/models/pulp_exporter_spec.rb +0 -59
- data/spec/models/pulp_import_check_response_spec.rb +0 -53
- data/spec/models/pulp_import_check_spec.rb +0 -53
- data/spec/models/pulp_import_spec.rb +0 -53
- data/spec/models/pulp_importer_response_spec.rb +0 -65
- data/spec/models/pulp_importer_spec.rb +0 -47
- data/spec/models/purge_spec.rb +0 -47
- data/spec/models/rbac_content_guard_response_spec.rb +0 -77
- data/spec/models/rbac_content_guard_spec.rb +0 -47
- data/spec/models/reclaim_space_spec.rb +0 -47
- data/spec/models/redis_connection_response_spec.rb +0 -41
- data/spec/models/remote_response_policy_enum_spec.rb +0 -35
- data/spec/models/remote_response_spec.rb +0 -155
- data/spec/models/repository_response_spec.rb +0 -95
- data/spec/models/role_response_spec.rb +0 -77
- data/spec/models/role_spec.rb +0 -53
- data/spec/models/signing_service_response_spec.rb +0 -77
- data/spec/models/states_enum_spec.rb +0 -35
- data/spec/models/status_response_spec.rb +0 -89
- data/spec/models/storage_class_enum_spec.rb +0 -35
- data/spec/models/storage_response_spec.rb +0 -53
- data/spec/models/task_group_response_spec.rb +0 -107
- data/spec/models/task_response_spec.rb +0 -143
- data/spec/models/task_schedule_response_spec.rb +0 -83
- data/spec/models/upload_chunk_response_spec.rb +0 -47
- data/spec/models/upload_chunk_spec.rb +0 -47
- data/spec/models/upload_commit_spec.rb +0 -41
- data/spec/models/upload_detail_response_spec.rb +0 -71
- data/spec/models/upload_response_spec.rb +0 -65
- data/spec/models/upload_spec.rb +0 -41
- data/spec/models/upstream_pulp_response_spec.rb +0 -107
- data/spec/models/upstream_pulp_spec.rb +0 -101
- data/spec/models/user_group_response_spec.rb +0 -47
- data/spec/models/user_group_spec.rb +0 -41
- data/spec/models/user_response_spec.rb +0 -101
- data/spec/models/user_role_response_spec.rb +0 -83
- data/spec/models/user_role_spec.rb +0 -53
- data/spec/models/user_spec.rb +0 -77
- data/spec/models/version_response_spec.rb +0 -65
- data/spec/models/worker_response_spec.rb +0 -77
@@ -25,8 +25,8 @@ module PulpFileClient
|
|
25
25
|
# @param nested_role [NestedRole]
|
26
26
|
# @param [Hash] opts the optional parameters
|
27
27
|
# @return [NestedRoleResponse]
|
28
|
-
def
|
29
|
-
data, _status_code, _headers =
|
28
|
+
def add_role(file_file_repository_href, nested_role, opts = {})
|
29
|
+
data, _status_code, _headers = add_role_with_http_info(file_file_repository_href, nested_role, opts)
|
30
30
|
data
|
31
31
|
end
|
32
32
|
|
@@ -36,17 +36,17 @@ module PulpFileClient
|
|
36
36
|
# @param nested_role [NestedRole]
|
37
37
|
# @param [Hash] opts the optional parameters
|
38
38
|
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
39
|
-
def
|
39
|
+
def add_role_with_http_info(file_file_repository_href, nested_role, opts = {})
|
40
40
|
if @api_client.config.debugging
|
41
|
-
@api_client.config.logger.debug 'Calling API: RepositoriesFileApi.
|
41
|
+
@api_client.config.logger.debug 'Calling API: RepositoriesFileApi.add_role ...'
|
42
42
|
end
|
43
43
|
# verify the required parameter 'file_file_repository_href' is set
|
44
44
|
if @api_client.config.client_side_validation && file_file_repository_href.nil?
|
45
|
-
fail ArgumentError, "Missing the required parameter 'file_file_repository_href' when calling RepositoriesFileApi.
|
45
|
+
fail ArgumentError, "Missing the required parameter 'file_file_repository_href' when calling RepositoriesFileApi.add_role"
|
46
46
|
end
|
47
47
|
# verify the required parameter 'nested_role' is set
|
48
48
|
if @api_client.config.client_side_validation && nested_role.nil?
|
49
|
-
fail ArgumentError, "Missing the required parameter 'nested_role' when calling RepositoriesFileApi.
|
49
|
+
fail ArgumentError, "Missing the required parameter 'nested_role' when calling RepositoriesFileApi.add_role"
|
50
50
|
end
|
51
51
|
# resource path
|
52
52
|
local_var_path = '{file_file_repository_href}add_role/'.sub('{' + 'file_file_repository_href' + '}', CGI.escape(file_file_repository_href.to_s).gsub('%2F', '/'))
|
@@ -84,7 +84,7 @@ module PulpFileClient
|
|
84
84
|
|
85
85
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
86
86
|
if @api_client.config.debugging
|
87
|
-
@api_client.config.logger.debug "API called: RepositoriesFileApi#
|
87
|
+
@api_client.config.logger.debug "API called: RepositoriesFileApi#add_role\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
88
88
|
end
|
89
89
|
return data, status_code, headers
|
90
90
|
end
|
@@ -94,8 +94,8 @@ module PulpFileClient
|
|
94
94
|
# @param file_file_repository [FileFileRepository]
|
95
95
|
# @param [Hash] opts the optional parameters
|
96
96
|
# @return [FileFileRepositoryResponse]
|
97
|
-
def
|
98
|
-
data, _status_code, _headers =
|
97
|
+
def create(file_file_repository, opts = {})
|
98
|
+
data, _status_code, _headers = create_with_http_info(file_file_repository, opts)
|
99
99
|
data
|
100
100
|
end
|
101
101
|
|
@@ -104,13 +104,13 @@ module PulpFileClient
|
|
104
104
|
# @param file_file_repository [FileFileRepository]
|
105
105
|
# @param [Hash] opts the optional parameters
|
106
106
|
# @return [Array<(FileFileRepositoryResponse, Integer, Hash)>] FileFileRepositoryResponse data, response status code and response headers
|
107
|
-
def
|
107
|
+
def create_with_http_info(file_file_repository, opts = {})
|
108
108
|
if @api_client.config.debugging
|
109
|
-
@api_client.config.logger.debug 'Calling API: RepositoriesFileApi.
|
109
|
+
@api_client.config.logger.debug 'Calling API: RepositoriesFileApi.create ...'
|
110
110
|
end
|
111
111
|
# verify the required parameter 'file_file_repository' is set
|
112
112
|
if @api_client.config.client_side_validation && file_file_repository.nil?
|
113
|
-
fail ArgumentError, "Missing the required parameter 'file_file_repository' when calling RepositoriesFileApi.
|
113
|
+
fail ArgumentError, "Missing the required parameter 'file_file_repository' when calling RepositoriesFileApi.create"
|
114
114
|
end
|
115
115
|
# resource path
|
116
116
|
local_var_path = '/pulp/api/v3/repositories/file/file/'
|
@@ -148,7 +148,7 @@ module PulpFileClient
|
|
148
148
|
|
149
149
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
150
150
|
if @api_client.config.debugging
|
151
|
-
@api_client.config.logger.debug "API called: RepositoriesFileApi#
|
151
|
+
@api_client.config.logger.debug "API called: RepositoriesFileApi#create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
152
152
|
end
|
153
153
|
return data, status_code, headers
|
154
154
|
end
|
@@ -158,8 +158,8 @@ module PulpFileClient
|
|
158
158
|
# @param file_file_repository_href [String]
|
159
159
|
# @param [Hash] opts the optional parameters
|
160
160
|
# @return [AsyncOperationResponse]
|
161
|
-
def
|
162
|
-
data, _status_code, _headers =
|
161
|
+
def delete(file_file_repository_href, opts = {})
|
162
|
+
data, _status_code, _headers = delete_with_http_info(file_file_repository_href, opts)
|
163
163
|
data
|
164
164
|
end
|
165
165
|
|
@@ -168,13 +168,13 @@ module PulpFileClient
|
|
168
168
|
# @param file_file_repository_href [String]
|
169
169
|
# @param [Hash] opts the optional parameters
|
170
170
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
171
|
-
def
|
171
|
+
def delete_with_http_info(file_file_repository_href, opts = {})
|
172
172
|
if @api_client.config.debugging
|
173
|
-
@api_client.config.logger.debug 'Calling API: RepositoriesFileApi.
|
173
|
+
@api_client.config.logger.debug 'Calling API: RepositoriesFileApi.delete ...'
|
174
174
|
end
|
175
175
|
# verify the required parameter 'file_file_repository_href' is set
|
176
176
|
if @api_client.config.client_side_validation && file_file_repository_href.nil?
|
177
|
-
fail ArgumentError, "Missing the required parameter 'file_file_repository_href' when calling RepositoriesFileApi.
|
177
|
+
fail ArgumentError, "Missing the required parameter 'file_file_repository_href' when calling RepositoriesFileApi.delete"
|
178
178
|
end
|
179
179
|
# resource path
|
180
180
|
local_var_path = '{file_file_repository_href}'.sub('{' + 'file_file_repository_href' + '}', CGI.escape(file_file_repository_href.to_s).gsub('%2F', '/'))
|
@@ -210,7 +210,7 @@ module PulpFileClient
|
|
210
210
|
|
211
211
|
data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, new_options)
|
212
212
|
if @api_client.config.debugging
|
213
|
-
@api_client.config.logger.debug "API called: RepositoriesFileApi#
|
213
|
+
@api_client.config.logger.debug "API called: RepositoriesFileApi#delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
214
214
|
end
|
215
215
|
return data, status_code, headers
|
216
216
|
end
|
@@ -248,8 +248,8 @@ module PulpFileClient
|
|
248
248
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
249
249
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
250
250
|
# @return [PaginatedfileFileRepositoryResponseList]
|
251
|
-
def
|
252
|
-
data, _status_code, _headers =
|
251
|
+
def list(opts = {})
|
252
|
+
data, _status_code, _headers = list_with_http_info(opts)
|
253
253
|
data
|
254
254
|
end
|
255
255
|
|
@@ -286,9 +286,9 @@ module PulpFileClient
|
|
286
286
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
287
287
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
288
288
|
# @return [Array<(PaginatedfileFileRepositoryResponseList, Integer, Hash)>] PaginatedfileFileRepositoryResponseList data, response status code and response headers
|
289
|
-
def
|
289
|
+
def list_with_http_info(opts = {})
|
290
290
|
if @api_client.config.debugging
|
291
|
-
@api_client.config.logger.debug 'Calling API: RepositoriesFileApi.
|
291
|
+
@api_client.config.logger.debug 'Calling API: RepositoriesFileApi.list ...'
|
292
292
|
end
|
293
293
|
allowable_values = ["-description", "-name", "-next_version", "-pk", "-pulp_created", "-pulp_id", "-pulp_labels", "-pulp_last_updated", "-pulp_type", "-retain_repo_versions", "-user_hidden", "description", "name", "next_version", "pk", "pulp_created", "pulp_id", "pulp_labels", "pulp_last_updated", "pulp_type", "retain_repo_versions", "user_hidden"]
|
294
294
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
@@ -357,7 +357,7 @@ module PulpFileClient
|
|
357
357
|
|
358
358
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
359
359
|
if @api_client.config.debugging
|
360
|
-
@api_client.config.logger.debug "API called: RepositoriesFileApi#
|
360
|
+
@api_client.config.logger.debug "API called: RepositoriesFileApi#list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
361
361
|
end
|
362
362
|
return data, status_code, headers
|
363
363
|
end
|
@@ -369,8 +369,8 @@ module PulpFileClient
|
|
369
369
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
370
370
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
371
371
|
# @return [ObjectRolesResponse]
|
372
|
-
def
|
373
|
-
data, _status_code, _headers =
|
372
|
+
def list_roles(file_file_repository_href, opts = {})
|
373
|
+
data, _status_code, _headers = list_roles_with_http_info(file_file_repository_href, opts)
|
374
374
|
data
|
375
375
|
end
|
376
376
|
|
@@ -381,13 +381,13 @@ module PulpFileClient
|
|
381
381
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
382
382
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
383
383
|
# @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
|
384
|
-
def
|
384
|
+
def list_roles_with_http_info(file_file_repository_href, opts = {})
|
385
385
|
if @api_client.config.debugging
|
386
|
-
@api_client.config.logger.debug 'Calling API: RepositoriesFileApi.
|
386
|
+
@api_client.config.logger.debug 'Calling API: RepositoriesFileApi.list_roles ...'
|
387
387
|
end
|
388
388
|
# verify the required parameter 'file_file_repository_href' is set
|
389
389
|
if @api_client.config.client_side_validation && file_file_repository_href.nil?
|
390
|
-
fail ArgumentError, "Missing the required parameter 'file_file_repository_href' when calling RepositoriesFileApi.
|
390
|
+
fail ArgumentError, "Missing the required parameter 'file_file_repository_href' when calling RepositoriesFileApi.list_roles"
|
391
391
|
end
|
392
392
|
# resource path
|
393
393
|
local_var_path = '{file_file_repository_href}list_roles/'.sub('{' + 'file_file_repository_href' + '}', CGI.escape(file_file_repository_href.to_s).gsub('%2F', '/'))
|
@@ -425,7 +425,7 @@ module PulpFileClient
|
|
425
425
|
|
426
426
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
427
427
|
if @api_client.config.debugging
|
428
|
-
@api_client.config.logger.debug "API called: RepositoriesFileApi#
|
428
|
+
@api_client.config.logger.debug "API called: RepositoriesFileApi#list_roles\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
429
429
|
end
|
430
430
|
return data, status_code, headers
|
431
431
|
end
|
@@ -436,8 +436,8 @@ module PulpFileClient
|
|
436
436
|
# @param repository_add_remove_content [RepositoryAddRemoveContent]
|
437
437
|
# @param [Hash] opts the optional parameters
|
438
438
|
# @return [AsyncOperationResponse]
|
439
|
-
def
|
440
|
-
data, _status_code, _headers =
|
439
|
+
def modify(file_file_repository_href, repository_add_remove_content, opts = {})
|
440
|
+
data, _status_code, _headers = modify_with_http_info(file_file_repository_href, repository_add_remove_content, opts)
|
441
441
|
data
|
442
442
|
end
|
443
443
|
|
@@ -447,17 +447,17 @@ module PulpFileClient
|
|
447
447
|
# @param repository_add_remove_content [RepositoryAddRemoveContent]
|
448
448
|
# @param [Hash] opts the optional parameters
|
449
449
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
450
|
-
def
|
450
|
+
def modify_with_http_info(file_file_repository_href, repository_add_remove_content, opts = {})
|
451
451
|
if @api_client.config.debugging
|
452
|
-
@api_client.config.logger.debug 'Calling API: RepositoriesFileApi.
|
452
|
+
@api_client.config.logger.debug 'Calling API: RepositoriesFileApi.modify ...'
|
453
453
|
end
|
454
454
|
# verify the required parameter 'file_file_repository_href' is set
|
455
455
|
if @api_client.config.client_side_validation && file_file_repository_href.nil?
|
456
|
-
fail ArgumentError, "Missing the required parameter 'file_file_repository_href' when calling RepositoriesFileApi.
|
456
|
+
fail ArgumentError, "Missing the required parameter 'file_file_repository_href' when calling RepositoriesFileApi.modify"
|
457
457
|
end
|
458
458
|
# verify the required parameter 'repository_add_remove_content' is set
|
459
459
|
if @api_client.config.client_side_validation && repository_add_remove_content.nil?
|
460
|
-
fail ArgumentError, "Missing the required parameter 'repository_add_remove_content' when calling RepositoriesFileApi.
|
460
|
+
fail ArgumentError, "Missing the required parameter 'repository_add_remove_content' when calling RepositoriesFileApi.modify"
|
461
461
|
end
|
462
462
|
# resource path
|
463
463
|
local_var_path = '{file_file_repository_href}modify/'.sub('{' + 'file_file_repository_href' + '}', CGI.escape(file_file_repository_href.to_s).gsub('%2F', '/'))
|
@@ -495,7 +495,7 @@ module PulpFileClient
|
|
495
495
|
|
496
496
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
497
497
|
if @api_client.config.debugging
|
498
|
-
@api_client.config.logger.debug "API called: RepositoriesFileApi#
|
498
|
+
@api_client.config.logger.debug "API called: RepositoriesFileApi#modify\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
499
499
|
end
|
500
500
|
return data, status_code, headers
|
501
501
|
end
|
@@ -507,8 +507,8 @@ module PulpFileClient
|
|
507
507
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
508
508
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
509
509
|
# @return [MyPermissionsResponse]
|
510
|
-
def
|
511
|
-
data, _status_code, _headers =
|
510
|
+
def my_permissions(file_file_repository_href, opts = {})
|
511
|
+
data, _status_code, _headers = my_permissions_with_http_info(file_file_repository_href, opts)
|
512
512
|
data
|
513
513
|
end
|
514
514
|
|
@@ -519,13 +519,13 @@ module PulpFileClient
|
|
519
519
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
520
520
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
521
521
|
# @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
|
522
|
-
def
|
522
|
+
def my_permissions_with_http_info(file_file_repository_href, opts = {})
|
523
523
|
if @api_client.config.debugging
|
524
|
-
@api_client.config.logger.debug 'Calling API: RepositoriesFileApi.
|
524
|
+
@api_client.config.logger.debug 'Calling API: RepositoriesFileApi.my_permissions ...'
|
525
525
|
end
|
526
526
|
# verify the required parameter 'file_file_repository_href' is set
|
527
527
|
if @api_client.config.client_side_validation && file_file_repository_href.nil?
|
528
|
-
fail ArgumentError, "Missing the required parameter 'file_file_repository_href' when calling RepositoriesFileApi.
|
528
|
+
fail ArgumentError, "Missing the required parameter 'file_file_repository_href' when calling RepositoriesFileApi.my_permissions"
|
529
529
|
end
|
530
530
|
# resource path
|
531
531
|
local_var_path = '{file_file_repository_href}my_permissions/'.sub('{' + 'file_file_repository_href' + '}', CGI.escape(file_file_repository_href.to_s).gsub('%2F', '/'))
|
@@ -563,7 +563,7 @@ module PulpFileClient
|
|
563
563
|
|
564
564
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
565
565
|
if @api_client.config.debugging
|
566
|
-
@api_client.config.logger.debug "API called: RepositoriesFileApi#
|
566
|
+
@api_client.config.logger.debug "API called: RepositoriesFileApi#my_permissions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
567
567
|
end
|
568
568
|
return data, status_code, headers
|
569
569
|
end
|
@@ -574,8 +574,8 @@ module PulpFileClient
|
|
574
574
|
# @param patchedfile_file_repository [PatchedfileFileRepository]
|
575
575
|
# @param [Hash] opts the optional parameters
|
576
576
|
# @return [AsyncOperationResponse]
|
577
|
-
def
|
578
|
-
data, _status_code, _headers =
|
577
|
+
def partial_update(file_file_repository_href, patchedfile_file_repository, opts = {})
|
578
|
+
data, _status_code, _headers = partial_update_with_http_info(file_file_repository_href, patchedfile_file_repository, opts)
|
579
579
|
data
|
580
580
|
end
|
581
581
|
|
@@ -585,17 +585,17 @@ module PulpFileClient
|
|
585
585
|
# @param patchedfile_file_repository [PatchedfileFileRepository]
|
586
586
|
# @param [Hash] opts the optional parameters
|
587
587
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
588
|
-
def
|
588
|
+
def partial_update_with_http_info(file_file_repository_href, patchedfile_file_repository, opts = {})
|
589
589
|
if @api_client.config.debugging
|
590
|
-
@api_client.config.logger.debug 'Calling API: RepositoriesFileApi.
|
590
|
+
@api_client.config.logger.debug 'Calling API: RepositoriesFileApi.partial_update ...'
|
591
591
|
end
|
592
592
|
# verify the required parameter 'file_file_repository_href' is set
|
593
593
|
if @api_client.config.client_side_validation && file_file_repository_href.nil?
|
594
|
-
fail ArgumentError, "Missing the required parameter 'file_file_repository_href' when calling RepositoriesFileApi.
|
594
|
+
fail ArgumentError, "Missing the required parameter 'file_file_repository_href' when calling RepositoriesFileApi.partial_update"
|
595
595
|
end
|
596
596
|
# verify the required parameter 'patchedfile_file_repository' is set
|
597
597
|
if @api_client.config.client_side_validation && patchedfile_file_repository.nil?
|
598
|
-
fail ArgumentError, "Missing the required parameter 'patchedfile_file_repository' when calling RepositoriesFileApi.
|
598
|
+
fail ArgumentError, "Missing the required parameter 'patchedfile_file_repository' when calling RepositoriesFileApi.partial_update"
|
599
599
|
end
|
600
600
|
# resource path
|
601
601
|
local_var_path = '{file_file_repository_href}'.sub('{' + 'file_file_repository_href' + '}', CGI.escape(file_file_repository_href.to_s).gsub('%2F', '/'))
|
@@ -633,7 +633,7 @@ module PulpFileClient
|
|
633
633
|
|
634
634
|
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
|
635
635
|
if @api_client.config.debugging
|
636
|
-
@api_client.config.logger.debug "API called: RepositoriesFileApi#
|
636
|
+
@api_client.config.logger.debug "API called: RepositoriesFileApi#partial_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
637
637
|
end
|
638
638
|
return data, status_code, headers
|
639
639
|
end
|
@@ -645,8 +645,8 @@ module PulpFileClient
|
|
645
645
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
646
646
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
647
647
|
# @return [FileFileRepositoryResponse]
|
648
|
-
def
|
649
|
-
data, _status_code, _headers =
|
648
|
+
def read(file_file_repository_href, opts = {})
|
649
|
+
data, _status_code, _headers = read_with_http_info(file_file_repository_href, opts)
|
650
650
|
data
|
651
651
|
end
|
652
652
|
|
@@ -657,13 +657,13 @@ module PulpFileClient
|
|
657
657
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
658
658
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
659
659
|
# @return [Array<(FileFileRepositoryResponse, Integer, Hash)>] FileFileRepositoryResponse data, response status code and response headers
|
660
|
-
def
|
660
|
+
def read_with_http_info(file_file_repository_href, opts = {})
|
661
661
|
if @api_client.config.debugging
|
662
|
-
@api_client.config.logger.debug 'Calling API: RepositoriesFileApi.
|
662
|
+
@api_client.config.logger.debug 'Calling API: RepositoriesFileApi.read ...'
|
663
663
|
end
|
664
664
|
# verify the required parameter 'file_file_repository_href' is set
|
665
665
|
if @api_client.config.client_side_validation && file_file_repository_href.nil?
|
666
|
-
fail ArgumentError, "Missing the required parameter 'file_file_repository_href' when calling RepositoriesFileApi.
|
666
|
+
fail ArgumentError, "Missing the required parameter 'file_file_repository_href' when calling RepositoriesFileApi.read"
|
667
667
|
end
|
668
668
|
# resource path
|
669
669
|
local_var_path = '{file_file_repository_href}'.sub('{' + 'file_file_repository_href' + '}', CGI.escape(file_file_repository_href.to_s).gsub('%2F', '/'))
|
@@ -701,7 +701,7 @@ module PulpFileClient
|
|
701
701
|
|
702
702
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
703
703
|
if @api_client.config.debugging
|
704
|
-
@api_client.config.logger.debug "API called: RepositoriesFileApi#
|
704
|
+
@api_client.config.logger.debug "API called: RepositoriesFileApi#read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
705
705
|
end
|
706
706
|
return data, status_code, headers
|
707
707
|
end
|
@@ -712,8 +712,8 @@ module PulpFileClient
|
|
712
712
|
# @param nested_role [NestedRole]
|
713
713
|
# @param [Hash] opts the optional parameters
|
714
714
|
# @return [NestedRoleResponse]
|
715
|
-
def
|
716
|
-
data, _status_code, _headers =
|
715
|
+
def remove_role(file_file_repository_href, nested_role, opts = {})
|
716
|
+
data, _status_code, _headers = remove_role_with_http_info(file_file_repository_href, nested_role, opts)
|
717
717
|
data
|
718
718
|
end
|
719
719
|
|
@@ -723,17 +723,17 @@ module PulpFileClient
|
|
723
723
|
# @param nested_role [NestedRole]
|
724
724
|
# @param [Hash] opts the optional parameters
|
725
725
|
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
726
|
-
def
|
726
|
+
def remove_role_with_http_info(file_file_repository_href, nested_role, opts = {})
|
727
727
|
if @api_client.config.debugging
|
728
|
-
@api_client.config.logger.debug 'Calling API: RepositoriesFileApi.
|
728
|
+
@api_client.config.logger.debug 'Calling API: RepositoriesFileApi.remove_role ...'
|
729
729
|
end
|
730
730
|
# verify the required parameter 'file_file_repository_href' is set
|
731
731
|
if @api_client.config.client_side_validation && file_file_repository_href.nil?
|
732
|
-
fail ArgumentError, "Missing the required parameter 'file_file_repository_href' when calling RepositoriesFileApi.
|
732
|
+
fail ArgumentError, "Missing the required parameter 'file_file_repository_href' when calling RepositoriesFileApi.remove_role"
|
733
733
|
end
|
734
734
|
# verify the required parameter 'nested_role' is set
|
735
735
|
if @api_client.config.client_side_validation && nested_role.nil?
|
736
|
-
fail ArgumentError, "Missing the required parameter 'nested_role' when calling RepositoriesFileApi.
|
736
|
+
fail ArgumentError, "Missing the required parameter 'nested_role' when calling RepositoriesFileApi.remove_role"
|
737
737
|
end
|
738
738
|
# resource path
|
739
739
|
local_var_path = '{file_file_repository_href}remove_role/'.sub('{' + 'file_file_repository_href' + '}', CGI.escape(file_file_repository_href.to_s).gsub('%2F', '/'))
|
@@ -771,7 +771,7 @@ module PulpFileClient
|
|
771
771
|
|
772
772
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
773
773
|
if @api_client.config.debugging
|
774
|
-
@api_client.config.logger.debug "API called: RepositoriesFileApi#
|
774
|
+
@api_client.config.logger.debug "API called: RepositoriesFileApi#remove_role\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
775
775
|
end
|
776
776
|
return data, status_code, headers
|
777
777
|
end
|
@@ -782,8 +782,8 @@ module PulpFileClient
|
|
782
782
|
# @param set_label [SetLabel]
|
783
783
|
# @param [Hash] opts the optional parameters
|
784
784
|
# @return [SetLabelResponse]
|
785
|
-
def
|
786
|
-
data, _status_code, _headers =
|
785
|
+
def set_label(file_file_repository_href, set_label, opts = {})
|
786
|
+
data, _status_code, _headers = set_label_with_http_info(file_file_repository_href, set_label, opts)
|
787
787
|
data
|
788
788
|
end
|
789
789
|
|
@@ -793,17 +793,17 @@ module PulpFileClient
|
|
793
793
|
# @param set_label [SetLabel]
|
794
794
|
# @param [Hash] opts the optional parameters
|
795
795
|
# @return [Array<(SetLabelResponse, Integer, Hash)>] SetLabelResponse data, response status code and response headers
|
796
|
-
def
|
796
|
+
def set_label_with_http_info(file_file_repository_href, set_label, opts = {})
|
797
797
|
if @api_client.config.debugging
|
798
|
-
@api_client.config.logger.debug 'Calling API: RepositoriesFileApi.
|
798
|
+
@api_client.config.logger.debug 'Calling API: RepositoriesFileApi.set_label ...'
|
799
799
|
end
|
800
800
|
# verify the required parameter 'file_file_repository_href' is set
|
801
801
|
if @api_client.config.client_side_validation && file_file_repository_href.nil?
|
802
|
-
fail ArgumentError, "Missing the required parameter 'file_file_repository_href' when calling RepositoriesFileApi.
|
802
|
+
fail ArgumentError, "Missing the required parameter 'file_file_repository_href' when calling RepositoriesFileApi.set_label"
|
803
803
|
end
|
804
804
|
# verify the required parameter 'set_label' is set
|
805
805
|
if @api_client.config.client_side_validation && set_label.nil?
|
806
|
-
fail ArgumentError, "Missing the required parameter 'set_label' when calling RepositoriesFileApi.
|
806
|
+
fail ArgumentError, "Missing the required parameter 'set_label' when calling RepositoriesFileApi.set_label"
|
807
807
|
end
|
808
808
|
# resource path
|
809
809
|
local_var_path = '{file_file_repository_href}set_label/'.sub('{' + 'file_file_repository_href' + '}', CGI.escape(file_file_repository_href.to_s).gsub('%2F', '/'))
|
@@ -841,7 +841,7 @@ module PulpFileClient
|
|
841
841
|
|
842
842
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
843
843
|
if @api_client.config.debugging
|
844
|
-
@api_client.config.logger.debug "API called: RepositoriesFileApi#
|
844
|
+
@api_client.config.logger.debug "API called: RepositoriesFileApi#set_label\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
845
845
|
end
|
846
846
|
return data, status_code, headers
|
847
847
|
end
|
@@ -852,8 +852,8 @@ module PulpFileClient
|
|
852
852
|
# @param repository_sync_url [RepositorySyncURL]
|
853
853
|
# @param [Hash] opts the optional parameters
|
854
854
|
# @return [AsyncOperationResponse]
|
855
|
-
def
|
856
|
-
data, _status_code, _headers =
|
855
|
+
def sync(file_file_repository_href, repository_sync_url, opts = {})
|
856
|
+
data, _status_code, _headers = sync_with_http_info(file_file_repository_href, repository_sync_url, opts)
|
857
857
|
data
|
858
858
|
end
|
859
859
|
|
@@ -863,17 +863,17 @@ module PulpFileClient
|
|
863
863
|
# @param repository_sync_url [RepositorySyncURL]
|
864
864
|
# @param [Hash] opts the optional parameters
|
865
865
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
866
|
-
def
|
866
|
+
def sync_with_http_info(file_file_repository_href, repository_sync_url, opts = {})
|
867
867
|
if @api_client.config.debugging
|
868
|
-
@api_client.config.logger.debug 'Calling API: RepositoriesFileApi.
|
868
|
+
@api_client.config.logger.debug 'Calling API: RepositoriesFileApi.sync ...'
|
869
869
|
end
|
870
870
|
# verify the required parameter 'file_file_repository_href' is set
|
871
871
|
if @api_client.config.client_side_validation && file_file_repository_href.nil?
|
872
|
-
fail ArgumentError, "Missing the required parameter 'file_file_repository_href' when calling RepositoriesFileApi.
|
872
|
+
fail ArgumentError, "Missing the required parameter 'file_file_repository_href' when calling RepositoriesFileApi.sync"
|
873
873
|
end
|
874
874
|
# verify the required parameter 'repository_sync_url' is set
|
875
875
|
if @api_client.config.client_side_validation && repository_sync_url.nil?
|
876
|
-
fail ArgumentError, "Missing the required parameter 'repository_sync_url' when calling RepositoriesFileApi.
|
876
|
+
fail ArgumentError, "Missing the required parameter 'repository_sync_url' when calling RepositoriesFileApi.sync"
|
877
877
|
end
|
878
878
|
# resource path
|
879
879
|
local_var_path = '{file_file_repository_href}sync/'.sub('{' + 'file_file_repository_href' + '}', CGI.escape(file_file_repository_href.to_s).gsub('%2F', '/'))
|
@@ -911,7 +911,7 @@ module PulpFileClient
|
|
911
911
|
|
912
912
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
913
913
|
if @api_client.config.debugging
|
914
|
-
@api_client.config.logger.debug "API called: RepositoriesFileApi#
|
914
|
+
@api_client.config.logger.debug "API called: RepositoriesFileApi#sync\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
915
915
|
end
|
916
916
|
return data, status_code, headers
|
917
917
|
end
|
@@ -922,8 +922,8 @@ module PulpFileClient
|
|
922
922
|
# @param unset_label [UnsetLabel]
|
923
923
|
# @param [Hash] opts the optional parameters
|
924
924
|
# @return [UnsetLabelResponse]
|
925
|
-
def
|
926
|
-
data, _status_code, _headers =
|
925
|
+
def unset_label(file_file_repository_href, unset_label, opts = {})
|
926
|
+
data, _status_code, _headers = unset_label_with_http_info(file_file_repository_href, unset_label, opts)
|
927
927
|
data
|
928
928
|
end
|
929
929
|
|
@@ -933,17 +933,17 @@ module PulpFileClient
|
|
933
933
|
# @param unset_label [UnsetLabel]
|
934
934
|
# @param [Hash] opts the optional parameters
|
935
935
|
# @return [Array<(UnsetLabelResponse, Integer, Hash)>] UnsetLabelResponse data, response status code and response headers
|
936
|
-
def
|
936
|
+
def unset_label_with_http_info(file_file_repository_href, unset_label, opts = {})
|
937
937
|
if @api_client.config.debugging
|
938
|
-
@api_client.config.logger.debug 'Calling API: RepositoriesFileApi.
|
938
|
+
@api_client.config.logger.debug 'Calling API: RepositoriesFileApi.unset_label ...'
|
939
939
|
end
|
940
940
|
# verify the required parameter 'file_file_repository_href' is set
|
941
941
|
if @api_client.config.client_side_validation && file_file_repository_href.nil?
|
942
|
-
fail ArgumentError, "Missing the required parameter 'file_file_repository_href' when calling RepositoriesFileApi.
|
942
|
+
fail ArgumentError, "Missing the required parameter 'file_file_repository_href' when calling RepositoriesFileApi.unset_label"
|
943
943
|
end
|
944
944
|
# verify the required parameter 'unset_label' is set
|
945
945
|
if @api_client.config.client_side_validation && unset_label.nil?
|
946
|
-
fail ArgumentError, "Missing the required parameter 'unset_label' when calling RepositoriesFileApi.
|
946
|
+
fail ArgumentError, "Missing the required parameter 'unset_label' when calling RepositoriesFileApi.unset_label"
|
947
947
|
end
|
948
948
|
# resource path
|
949
949
|
local_var_path = '{file_file_repository_href}unset_label/'.sub('{' + 'file_file_repository_href' + '}', CGI.escape(file_file_repository_href.to_s).gsub('%2F', '/'))
|
@@ -981,7 +981,7 @@ module PulpFileClient
|
|
981
981
|
|
982
982
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
983
983
|
if @api_client.config.debugging
|
984
|
-
@api_client.config.logger.debug "API called: RepositoriesFileApi#
|
984
|
+
@api_client.config.logger.debug "API called: RepositoriesFileApi#unset_label\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
985
985
|
end
|
986
986
|
return data, status_code, headers
|
987
987
|
end
|
@@ -992,8 +992,8 @@ module PulpFileClient
|
|
992
992
|
# @param file_file_repository [FileFileRepository]
|
993
993
|
# @param [Hash] opts the optional parameters
|
994
994
|
# @return [AsyncOperationResponse]
|
995
|
-
def
|
996
|
-
data, _status_code, _headers =
|
995
|
+
def update(file_file_repository_href, file_file_repository, opts = {})
|
996
|
+
data, _status_code, _headers = update_with_http_info(file_file_repository_href, file_file_repository, opts)
|
997
997
|
data
|
998
998
|
end
|
999
999
|
|
@@ -1003,17 +1003,17 @@ module PulpFileClient
|
|
1003
1003
|
# @param file_file_repository [FileFileRepository]
|
1004
1004
|
# @param [Hash] opts the optional parameters
|
1005
1005
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
1006
|
-
def
|
1006
|
+
def update_with_http_info(file_file_repository_href, file_file_repository, opts = {})
|
1007
1007
|
if @api_client.config.debugging
|
1008
|
-
@api_client.config.logger.debug 'Calling API: RepositoriesFileApi.
|
1008
|
+
@api_client.config.logger.debug 'Calling API: RepositoriesFileApi.update ...'
|
1009
1009
|
end
|
1010
1010
|
# verify the required parameter 'file_file_repository_href' is set
|
1011
1011
|
if @api_client.config.client_side_validation && file_file_repository_href.nil?
|
1012
|
-
fail ArgumentError, "Missing the required parameter 'file_file_repository_href' when calling RepositoriesFileApi.
|
1012
|
+
fail ArgumentError, "Missing the required parameter 'file_file_repository_href' when calling RepositoriesFileApi.update"
|
1013
1013
|
end
|
1014
1014
|
# verify the required parameter 'file_file_repository' is set
|
1015
1015
|
if @api_client.config.client_side_validation && file_file_repository.nil?
|
1016
|
-
fail ArgumentError, "Missing the required parameter 'file_file_repository' when calling RepositoriesFileApi.
|
1016
|
+
fail ArgumentError, "Missing the required parameter 'file_file_repository' when calling RepositoriesFileApi.update"
|
1017
1017
|
end
|
1018
1018
|
# resource path
|
1019
1019
|
local_var_path = '{file_file_repository_href}'.sub('{' + 'file_file_repository_href' + '}', CGI.escape(file_file_repository_href.to_s).gsub('%2F', '/'))
|
@@ -1051,7 +1051,7 @@ module PulpFileClient
|
|
1051
1051
|
|
1052
1052
|
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
1053
1053
|
if @api_client.config.debugging
|
1054
|
-
@api_client.config.logger.debug "API called: RepositoriesFileApi#
|
1054
|
+
@api_client.config.logger.debug "API called: RepositoriesFileApi#update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1055
1055
|
end
|
1056
1056
|
return data, status_code, headers
|
1057
1057
|
end
|