pulp_file_client 3.49.14 → 3.49.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +76 -419
- data/docs/AcsFileApi.md +55 -55
- data/docs/ContentFilesApi.md +15 -15
- data/docs/DistributionsFileApi.md +60 -60
- 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 +40 -40
- data/docs/RemotesFileApi.md +60 -60
- data/docs/RepositoriesFileApi.md +70 -70
- data/docs/RepositoriesFileVersionsApi.md +20 -20
- 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/models/file_file_remote.rb +1 -1
- data/lib/pulp_file_client/models/file_file_remote_response.rb +2 -2
- 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 +1 -1
- 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/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 +10 -730
- 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_alternate_content_source_href, nested_role, opts = {})
|
29
|
+
data, _status_code, _headers = add_role_with_http_info(file_file_alternate_content_source_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_alternate_content_source_href, nested_role, opts = {})
|
40
40
|
if @api_client.config.debugging
|
41
|
-
@api_client.config.logger.debug 'Calling API: AcsFileApi.
|
41
|
+
@api_client.config.logger.debug 'Calling API: AcsFileApi.add_role ...'
|
42
42
|
end
|
43
43
|
# verify the required parameter 'file_file_alternate_content_source_href' is set
|
44
44
|
if @api_client.config.client_side_validation && file_file_alternate_content_source_href.nil?
|
45
|
-
fail ArgumentError, "Missing the required parameter 'file_file_alternate_content_source_href' when calling AcsFileApi.
|
45
|
+
fail ArgumentError, "Missing the required parameter 'file_file_alternate_content_source_href' when calling AcsFileApi.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 AcsFileApi.
|
49
|
+
fail ArgumentError, "Missing the required parameter 'nested_role' when calling AcsFileApi.add_role"
|
50
50
|
end
|
51
51
|
# resource path
|
52
52
|
local_var_path = '{file_file_alternate_content_source_href}add_role/'.sub('{' + 'file_file_alternate_content_source_href' + '}', CGI.escape(file_file_alternate_content_source_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: AcsFileApi#
|
87
|
+
@api_client.config.logger.debug "API called: AcsFileApi#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_alternate_content_source [FileFileAlternateContentSource]
|
95
95
|
# @param [Hash] opts the optional parameters
|
96
96
|
# @return [FileFileAlternateContentSourceResponse]
|
97
|
-
def
|
98
|
-
data, _status_code, _headers =
|
97
|
+
def create(file_file_alternate_content_source, opts = {})
|
98
|
+
data, _status_code, _headers = create_with_http_info(file_file_alternate_content_source, opts)
|
99
99
|
data
|
100
100
|
end
|
101
101
|
|
@@ -104,13 +104,13 @@ module PulpFileClient
|
|
104
104
|
# @param file_file_alternate_content_source [FileFileAlternateContentSource]
|
105
105
|
# @param [Hash] opts the optional parameters
|
106
106
|
# @return [Array<(FileFileAlternateContentSourceResponse, Integer, Hash)>] FileFileAlternateContentSourceResponse data, response status code and response headers
|
107
|
-
def
|
107
|
+
def create_with_http_info(file_file_alternate_content_source, opts = {})
|
108
108
|
if @api_client.config.debugging
|
109
|
-
@api_client.config.logger.debug 'Calling API: AcsFileApi.
|
109
|
+
@api_client.config.logger.debug 'Calling API: AcsFileApi.create ...'
|
110
110
|
end
|
111
111
|
# verify the required parameter 'file_file_alternate_content_source' is set
|
112
112
|
if @api_client.config.client_side_validation && file_file_alternate_content_source.nil?
|
113
|
-
fail ArgumentError, "Missing the required parameter 'file_file_alternate_content_source' when calling AcsFileApi.
|
113
|
+
fail ArgumentError, "Missing the required parameter 'file_file_alternate_content_source' when calling AcsFileApi.create"
|
114
114
|
end
|
115
115
|
# resource path
|
116
116
|
local_var_path = '/pulp/api/v3/acs/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: AcsFileApi#
|
151
|
+
@api_client.config.logger.debug "API called: AcsFileApi#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_alternate_content_source_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_alternate_content_source_href, opts = {})
|
162
|
+
data, _status_code, _headers = delete_with_http_info(file_file_alternate_content_source_href, opts)
|
163
163
|
data
|
164
164
|
end
|
165
165
|
|
@@ -168,13 +168,13 @@ module PulpFileClient
|
|
168
168
|
# @param file_file_alternate_content_source_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_alternate_content_source_href, opts = {})
|
172
172
|
if @api_client.config.debugging
|
173
|
-
@api_client.config.logger.debug 'Calling API: AcsFileApi.
|
173
|
+
@api_client.config.logger.debug 'Calling API: AcsFileApi.delete ...'
|
174
174
|
end
|
175
175
|
# verify the required parameter 'file_file_alternate_content_source_href' is set
|
176
176
|
if @api_client.config.client_side_validation && file_file_alternate_content_source_href.nil?
|
177
|
-
fail ArgumentError, "Missing the required parameter 'file_file_alternate_content_source_href' when calling AcsFileApi.
|
177
|
+
fail ArgumentError, "Missing the required parameter 'file_file_alternate_content_source_href' when calling AcsFileApi.delete"
|
178
178
|
end
|
179
179
|
# resource path
|
180
180
|
local_var_path = '{file_file_alternate_content_source_href}'.sub('{' + 'file_file_alternate_content_source_href' + '}', CGI.escape(file_file_alternate_content_source_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: AcsFileApi#
|
213
|
+
@api_client.config.logger.debug "API called: AcsFileApi#delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
214
214
|
end
|
215
215
|
return data, status_code, headers
|
216
216
|
end
|
@@ -236,8 +236,8 @@ module PulpFileClient
|
|
236
236
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
237
237
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
238
238
|
# @return [PaginatedfileFileAlternateContentSourceResponseList]
|
239
|
-
def
|
240
|
-
data, _status_code, _headers =
|
239
|
+
def list(opts = {})
|
240
|
+
data, _status_code, _headers = list_with_http_info(opts)
|
241
241
|
data
|
242
242
|
end
|
243
243
|
|
@@ -262,9 +262,9 @@ module PulpFileClient
|
|
262
262
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
263
263
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
264
264
|
# @return [Array<(PaginatedfileFileAlternateContentSourceResponseList, Integer, Hash)>] PaginatedfileFileAlternateContentSourceResponseList data, response status code and response headers
|
265
|
-
def
|
265
|
+
def list_with_http_info(opts = {})
|
266
266
|
if @api_client.config.debugging
|
267
|
-
@api_client.config.logger.debug 'Calling API: AcsFileApi.
|
267
|
+
@api_client.config.logger.debug 'Calling API: AcsFileApi.list ...'
|
268
268
|
end
|
269
269
|
allowable_values = ["-last_refreshed", "-name", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "last_refreshed", "name", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type"]
|
270
270
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
@@ -321,7 +321,7 @@ module PulpFileClient
|
|
321
321
|
|
322
322
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
323
323
|
if @api_client.config.debugging
|
324
|
-
@api_client.config.logger.debug "API called: AcsFileApi#
|
324
|
+
@api_client.config.logger.debug "API called: AcsFileApi#list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
325
325
|
end
|
326
326
|
return data, status_code, headers
|
327
327
|
end
|
@@ -333,8 +333,8 @@ module PulpFileClient
|
|
333
333
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
334
334
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
335
335
|
# @return [ObjectRolesResponse]
|
336
|
-
def
|
337
|
-
data, _status_code, _headers =
|
336
|
+
def list_roles(file_file_alternate_content_source_href, opts = {})
|
337
|
+
data, _status_code, _headers = list_roles_with_http_info(file_file_alternate_content_source_href, opts)
|
338
338
|
data
|
339
339
|
end
|
340
340
|
|
@@ -345,13 +345,13 @@ module PulpFileClient
|
|
345
345
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
346
346
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
347
347
|
# @return [Array<(ObjectRolesResponse, Integer, Hash)>] ObjectRolesResponse data, response status code and response headers
|
348
|
-
def
|
348
|
+
def list_roles_with_http_info(file_file_alternate_content_source_href, opts = {})
|
349
349
|
if @api_client.config.debugging
|
350
|
-
@api_client.config.logger.debug 'Calling API: AcsFileApi.
|
350
|
+
@api_client.config.logger.debug 'Calling API: AcsFileApi.list_roles ...'
|
351
351
|
end
|
352
352
|
# verify the required parameter 'file_file_alternate_content_source_href' is set
|
353
353
|
if @api_client.config.client_side_validation && file_file_alternate_content_source_href.nil?
|
354
|
-
fail ArgumentError, "Missing the required parameter 'file_file_alternate_content_source_href' when calling AcsFileApi.
|
354
|
+
fail ArgumentError, "Missing the required parameter 'file_file_alternate_content_source_href' when calling AcsFileApi.list_roles"
|
355
355
|
end
|
356
356
|
# resource path
|
357
357
|
local_var_path = '{file_file_alternate_content_source_href}list_roles/'.sub('{' + 'file_file_alternate_content_source_href' + '}', CGI.escape(file_file_alternate_content_source_href.to_s).gsub('%2F', '/'))
|
@@ -389,7 +389,7 @@ module PulpFileClient
|
|
389
389
|
|
390
390
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
391
391
|
if @api_client.config.debugging
|
392
|
-
@api_client.config.logger.debug "API called: AcsFileApi#
|
392
|
+
@api_client.config.logger.debug "API called: AcsFileApi#list_roles\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
393
393
|
end
|
394
394
|
return data, status_code, headers
|
395
395
|
end
|
@@ -401,8 +401,8 @@ module PulpFileClient
|
|
401
401
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
402
402
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
403
403
|
# @return [MyPermissionsResponse]
|
404
|
-
def
|
405
|
-
data, _status_code, _headers =
|
404
|
+
def my_permissions(file_file_alternate_content_source_href, opts = {})
|
405
|
+
data, _status_code, _headers = my_permissions_with_http_info(file_file_alternate_content_source_href, opts)
|
406
406
|
data
|
407
407
|
end
|
408
408
|
|
@@ -413,13 +413,13 @@ module PulpFileClient
|
|
413
413
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
414
414
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
415
415
|
# @return [Array<(MyPermissionsResponse, Integer, Hash)>] MyPermissionsResponse data, response status code and response headers
|
416
|
-
def
|
416
|
+
def my_permissions_with_http_info(file_file_alternate_content_source_href, opts = {})
|
417
417
|
if @api_client.config.debugging
|
418
|
-
@api_client.config.logger.debug 'Calling API: AcsFileApi.
|
418
|
+
@api_client.config.logger.debug 'Calling API: AcsFileApi.my_permissions ...'
|
419
419
|
end
|
420
420
|
# verify the required parameter 'file_file_alternate_content_source_href' is set
|
421
421
|
if @api_client.config.client_side_validation && file_file_alternate_content_source_href.nil?
|
422
|
-
fail ArgumentError, "Missing the required parameter 'file_file_alternate_content_source_href' when calling AcsFileApi.
|
422
|
+
fail ArgumentError, "Missing the required parameter 'file_file_alternate_content_source_href' when calling AcsFileApi.my_permissions"
|
423
423
|
end
|
424
424
|
# resource path
|
425
425
|
local_var_path = '{file_file_alternate_content_source_href}my_permissions/'.sub('{' + 'file_file_alternate_content_source_href' + '}', CGI.escape(file_file_alternate_content_source_href.to_s).gsub('%2F', '/'))
|
@@ -457,7 +457,7 @@ module PulpFileClient
|
|
457
457
|
|
458
458
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
459
459
|
if @api_client.config.debugging
|
460
|
-
@api_client.config.logger.debug "API called: AcsFileApi#
|
460
|
+
@api_client.config.logger.debug "API called: AcsFileApi#my_permissions\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
461
461
|
end
|
462
462
|
return data, status_code, headers
|
463
463
|
end
|
@@ -468,8 +468,8 @@ module PulpFileClient
|
|
468
468
|
# @param patchedfile_file_alternate_content_source [PatchedfileFileAlternateContentSource]
|
469
469
|
# @param [Hash] opts the optional parameters
|
470
470
|
# @return [AsyncOperationResponse]
|
471
|
-
def
|
472
|
-
data, _status_code, _headers =
|
471
|
+
def partial_update(file_file_alternate_content_source_href, patchedfile_file_alternate_content_source, opts = {})
|
472
|
+
data, _status_code, _headers = partial_update_with_http_info(file_file_alternate_content_source_href, patchedfile_file_alternate_content_source, opts)
|
473
473
|
data
|
474
474
|
end
|
475
475
|
|
@@ -479,17 +479,17 @@ module PulpFileClient
|
|
479
479
|
# @param patchedfile_file_alternate_content_source [PatchedfileFileAlternateContentSource]
|
480
480
|
# @param [Hash] opts the optional parameters
|
481
481
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
482
|
-
def
|
482
|
+
def partial_update_with_http_info(file_file_alternate_content_source_href, patchedfile_file_alternate_content_source, opts = {})
|
483
483
|
if @api_client.config.debugging
|
484
|
-
@api_client.config.logger.debug 'Calling API: AcsFileApi.
|
484
|
+
@api_client.config.logger.debug 'Calling API: AcsFileApi.partial_update ...'
|
485
485
|
end
|
486
486
|
# verify the required parameter 'file_file_alternate_content_source_href' is set
|
487
487
|
if @api_client.config.client_side_validation && file_file_alternate_content_source_href.nil?
|
488
|
-
fail ArgumentError, "Missing the required parameter 'file_file_alternate_content_source_href' when calling AcsFileApi.
|
488
|
+
fail ArgumentError, "Missing the required parameter 'file_file_alternate_content_source_href' when calling AcsFileApi.partial_update"
|
489
489
|
end
|
490
490
|
# verify the required parameter 'patchedfile_file_alternate_content_source' is set
|
491
491
|
if @api_client.config.client_side_validation && patchedfile_file_alternate_content_source.nil?
|
492
|
-
fail ArgumentError, "Missing the required parameter 'patchedfile_file_alternate_content_source' when calling AcsFileApi.
|
492
|
+
fail ArgumentError, "Missing the required parameter 'patchedfile_file_alternate_content_source' when calling AcsFileApi.partial_update"
|
493
493
|
end
|
494
494
|
# resource path
|
495
495
|
local_var_path = '{file_file_alternate_content_source_href}'.sub('{' + 'file_file_alternate_content_source_href' + '}', CGI.escape(file_file_alternate_content_source_href.to_s).gsub('%2F', '/'))
|
@@ -527,7 +527,7 @@ module PulpFileClient
|
|
527
527
|
|
528
528
|
data, status_code, headers = @api_client.call_api(:PATCH, local_var_path, new_options)
|
529
529
|
if @api_client.config.debugging
|
530
|
-
@api_client.config.logger.debug "API called: AcsFileApi#
|
530
|
+
@api_client.config.logger.debug "API called: AcsFileApi#partial_update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
531
531
|
end
|
532
532
|
return data, status_code, headers
|
533
533
|
end
|
@@ -539,8 +539,8 @@ module PulpFileClient
|
|
539
539
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
540
540
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
541
541
|
# @return [FileFileAlternateContentSourceResponse]
|
542
|
-
def
|
543
|
-
data, _status_code, _headers =
|
542
|
+
def read(file_file_alternate_content_source_href, opts = {})
|
543
|
+
data, _status_code, _headers = read_with_http_info(file_file_alternate_content_source_href, opts)
|
544
544
|
data
|
545
545
|
end
|
546
546
|
|
@@ -551,13 +551,13 @@ module PulpFileClient
|
|
551
551
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
552
552
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
553
553
|
# @return [Array<(FileFileAlternateContentSourceResponse, Integer, Hash)>] FileFileAlternateContentSourceResponse data, response status code and response headers
|
554
|
-
def
|
554
|
+
def read_with_http_info(file_file_alternate_content_source_href, opts = {})
|
555
555
|
if @api_client.config.debugging
|
556
|
-
@api_client.config.logger.debug 'Calling API: AcsFileApi.
|
556
|
+
@api_client.config.logger.debug 'Calling API: AcsFileApi.read ...'
|
557
557
|
end
|
558
558
|
# verify the required parameter 'file_file_alternate_content_source_href' is set
|
559
559
|
if @api_client.config.client_side_validation && file_file_alternate_content_source_href.nil?
|
560
|
-
fail ArgumentError, "Missing the required parameter 'file_file_alternate_content_source_href' when calling AcsFileApi.
|
560
|
+
fail ArgumentError, "Missing the required parameter 'file_file_alternate_content_source_href' when calling AcsFileApi.read"
|
561
561
|
end
|
562
562
|
# resource path
|
563
563
|
local_var_path = '{file_file_alternate_content_source_href}'.sub('{' + 'file_file_alternate_content_source_href' + '}', CGI.escape(file_file_alternate_content_source_href.to_s).gsub('%2F', '/'))
|
@@ -595,7 +595,7 @@ module PulpFileClient
|
|
595
595
|
|
596
596
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
597
597
|
if @api_client.config.debugging
|
598
|
-
@api_client.config.logger.debug "API called: AcsFileApi#
|
598
|
+
@api_client.config.logger.debug "API called: AcsFileApi#read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
599
599
|
end
|
600
600
|
return data, status_code, headers
|
601
601
|
end
|
@@ -605,8 +605,8 @@ module PulpFileClient
|
|
605
605
|
# @param file_file_alternate_content_source_href [String]
|
606
606
|
# @param [Hash] opts the optional parameters
|
607
607
|
# @return [TaskGroupOperationResponse]
|
608
|
-
def
|
609
|
-
data, _status_code, _headers =
|
608
|
+
def refresh(file_file_alternate_content_source_href, opts = {})
|
609
|
+
data, _status_code, _headers = refresh_with_http_info(file_file_alternate_content_source_href, opts)
|
610
610
|
data
|
611
611
|
end
|
612
612
|
|
@@ -615,13 +615,13 @@ module PulpFileClient
|
|
615
615
|
# @param file_file_alternate_content_source_href [String]
|
616
616
|
# @param [Hash] opts the optional parameters
|
617
617
|
# @return [Array<(TaskGroupOperationResponse, Integer, Hash)>] TaskGroupOperationResponse data, response status code and response headers
|
618
|
-
def
|
618
|
+
def refresh_with_http_info(file_file_alternate_content_source_href, opts = {})
|
619
619
|
if @api_client.config.debugging
|
620
|
-
@api_client.config.logger.debug 'Calling API: AcsFileApi.
|
620
|
+
@api_client.config.logger.debug 'Calling API: AcsFileApi.refresh ...'
|
621
621
|
end
|
622
622
|
# verify the required parameter 'file_file_alternate_content_source_href' is set
|
623
623
|
if @api_client.config.client_side_validation && file_file_alternate_content_source_href.nil?
|
624
|
-
fail ArgumentError, "Missing the required parameter 'file_file_alternate_content_source_href' when calling AcsFileApi.
|
624
|
+
fail ArgumentError, "Missing the required parameter 'file_file_alternate_content_source_href' when calling AcsFileApi.refresh"
|
625
625
|
end
|
626
626
|
# resource path
|
627
627
|
local_var_path = '{file_file_alternate_content_source_href}refresh/'.sub('{' + 'file_file_alternate_content_source_href' + '}', CGI.escape(file_file_alternate_content_source_href.to_s).gsub('%2F', '/'))
|
@@ -657,7 +657,7 @@ module PulpFileClient
|
|
657
657
|
|
658
658
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
659
659
|
if @api_client.config.debugging
|
660
|
-
@api_client.config.logger.debug "API called: AcsFileApi#
|
660
|
+
@api_client.config.logger.debug "API called: AcsFileApi#refresh\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
661
661
|
end
|
662
662
|
return data, status_code, headers
|
663
663
|
end
|
@@ -668,8 +668,8 @@ module PulpFileClient
|
|
668
668
|
# @param nested_role [NestedRole]
|
669
669
|
# @param [Hash] opts the optional parameters
|
670
670
|
# @return [NestedRoleResponse]
|
671
|
-
def
|
672
|
-
data, _status_code, _headers =
|
671
|
+
def remove_role(file_file_alternate_content_source_href, nested_role, opts = {})
|
672
|
+
data, _status_code, _headers = remove_role_with_http_info(file_file_alternate_content_source_href, nested_role, opts)
|
673
673
|
data
|
674
674
|
end
|
675
675
|
|
@@ -679,17 +679,17 @@ module PulpFileClient
|
|
679
679
|
# @param nested_role [NestedRole]
|
680
680
|
# @param [Hash] opts the optional parameters
|
681
681
|
# @return [Array<(NestedRoleResponse, Integer, Hash)>] NestedRoleResponse data, response status code and response headers
|
682
|
-
def
|
682
|
+
def remove_role_with_http_info(file_file_alternate_content_source_href, nested_role, opts = {})
|
683
683
|
if @api_client.config.debugging
|
684
|
-
@api_client.config.logger.debug 'Calling API: AcsFileApi.
|
684
|
+
@api_client.config.logger.debug 'Calling API: AcsFileApi.remove_role ...'
|
685
685
|
end
|
686
686
|
# verify the required parameter 'file_file_alternate_content_source_href' is set
|
687
687
|
if @api_client.config.client_side_validation && file_file_alternate_content_source_href.nil?
|
688
|
-
fail ArgumentError, "Missing the required parameter 'file_file_alternate_content_source_href' when calling AcsFileApi.
|
688
|
+
fail ArgumentError, "Missing the required parameter 'file_file_alternate_content_source_href' when calling AcsFileApi.remove_role"
|
689
689
|
end
|
690
690
|
# verify the required parameter 'nested_role' is set
|
691
691
|
if @api_client.config.client_side_validation && nested_role.nil?
|
692
|
-
fail ArgumentError, "Missing the required parameter 'nested_role' when calling AcsFileApi.
|
692
|
+
fail ArgumentError, "Missing the required parameter 'nested_role' when calling AcsFileApi.remove_role"
|
693
693
|
end
|
694
694
|
# resource path
|
695
695
|
local_var_path = '{file_file_alternate_content_source_href}remove_role/'.sub('{' + 'file_file_alternate_content_source_href' + '}', CGI.escape(file_file_alternate_content_source_href.to_s).gsub('%2F', '/'))
|
@@ -727,7 +727,7 @@ module PulpFileClient
|
|
727
727
|
|
728
728
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
729
729
|
if @api_client.config.debugging
|
730
|
-
@api_client.config.logger.debug "API called: AcsFileApi#
|
730
|
+
@api_client.config.logger.debug "API called: AcsFileApi#remove_role\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
731
731
|
end
|
732
732
|
return data, status_code, headers
|
733
733
|
end
|
@@ -738,8 +738,8 @@ module PulpFileClient
|
|
738
738
|
# @param file_file_alternate_content_source [FileFileAlternateContentSource]
|
739
739
|
# @param [Hash] opts the optional parameters
|
740
740
|
# @return [AsyncOperationResponse]
|
741
|
-
def
|
742
|
-
data, _status_code, _headers =
|
741
|
+
def update(file_file_alternate_content_source_href, file_file_alternate_content_source, opts = {})
|
742
|
+
data, _status_code, _headers = update_with_http_info(file_file_alternate_content_source_href, file_file_alternate_content_source, opts)
|
743
743
|
data
|
744
744
|
end
|
745
745
|
|
@@ -749,17 +749,17 @@ module PulpFileClient
|
|
749
749
|
# @param file_file_alternate_content_source [FileFileAlternateContentSource]
|
750
750
|
# @param [Hash] opts the optional parameters
|
751
751
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
752
|
-
def
|
752
|
+
def update_with_http_info(file_file_alternate_content_source_href, file_file_alternate_content_source, opts = {})
|
753
753
|
if @api_client.config.debugging
|
754
|
-
@api_client.config.logger.debug 'Calling API: AcsFileApi.
|
754
|
+
@api_client.config.logger.debug 'Calling API: AcsFileApi.update ...'
|
755
755
|
end
|
756
756
|
# verify the required parameter 'file_file_alternate_content_source_href' is set
|
757
757
|
if @api_client.config.client_side_validation && file_file_alternate_content_source_href.nil?
|
758
|
-
fail ArgumentError, "Missing the required parameter 'file_file_alternate_content_source_href' when calling AcsFileApi.
|
758
|
+
fail ArgumentError, "Missing the required parameter 'file_file_alternate_content_source_href' when calling AcsFileApi.update"
|
759
759
|
end
|
760
760
|
# verify the required parameter 'file_file_alternate_content_source' is set
|
761
761
|
if @api_client.config.client_side_validation && file_file_alternate_content_source.nil?
|
762
|
-
fail ArgumentError, "Missing the required parameter 'file_file_alternate_content_source' when calling AcsFileApi.
|
762
|
+
fail ArgumentError, "Missing the required parameter 'file_file_alternate_content_source' when calling AcsFileApi.update"
|
763
763
|
end
|
764
764
|
# resource path
|
765
765
|
local_var_path = '{file_file_alternate_content_source_href}'.sub('{' + 'file_file_alternate_content_source_href' + '}', CGI.escape(file_file_alternate_content_source_href.to_s).gsub('%2F', '/'))
|
@@ -797,7 +797,7 @@ module PulpFileClient
|
|
797
797
|
|
798
798
|
data, status_code, headers = @api_client.call_api(:PUT, local_var_path, new_options)
|
799
799
|
if @api_client.config.debugging
|
800
|
-
@api_client.config.logger.debug "API called: AcsFileApi#
|
800
|
+
@api_client.config.logger.debug "API called: AcsFileApi#update\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
801
801
|
end
|
802
802
|
return data, status_code, headers
|
803
803
|
end
|
@@ -28,8 +28,8 @@ module PulpFileClient
|
|
28
28
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
29
29
|
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
30
30
|
# @return [AsyncOperationResponse]
|
31
|
-
def
|
32
|
-
data, _status_code, _headers =
|
31
|
+
def create(relative_path, opts = {})
|
32
|
+
data, _status_code, _headers = create_with_http_info(relative_path, opts)
|
33
33
|
data
|
34
34
|
end
|
35
35
|
|
@@ -42,16 +42,16 @@ module PulpFileClient
|
|
42
42
|
# @option opts [File] :file An uploaded file that may be turned into the content unit.
|
43
43
|
# @option opts [String] :upload An uncommitted upload that may be turned into the content unit.
|
44
44
|
# @return [Array<(AsyncOperationResponse, Integer, Hash)>] AsyncOperationResponse data, response status code and response headers
|
45
|
-
def
|
45
|
+
def create_with_http_info(relative_path, opts = {})
|
46
46
|
if @api_client.config.debugging
|
47
|
-
@api_client.config.logger.debug 'Calling API: ContentFilesApi.
|
47
|
+
@api_client.config.logger.debug 'Calling API: ContentFilesApi.create ...'
|
48
48
|
end
|
49
49
|
# verify the required parameter 'relative_path' is set
|
50
50
|
if @api_client.config.client_side_validation && relative_path.nil?
|
51
|
-
fail ArgumentError, "Missing the required parameter 'relative_path' when calling ContentFilesApi.
|
51
|
+
fail ArgumentError, "Missing the required parameter 'relative_path' when calling ContentFilesApi.create"
|
52
52
|
end
|
53
53
|
if @api_client.config.client_side_validation && relative_path.to_s.length < 1
|
54
|
-
fail ArgumentError, 'invalid value for "relative_path" when calling ContentFilesApi.
|
54
|
+
fail ArgumentError, 'invalid value for "relative_path" when calling ContentFilesApi.create, the character length must be great than or equal to 1.'
|
55
55
|
end
|
56
56
|
|
57
57
|
# resource path
|
@@ -95,7 +95,7 @@ module PulpFileClient
|
|
95
95
|
|
96
96
|
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
97
97
|
if @api_client.config.debugging
|
98
|
-
@api_client.config.logger.debug "API called: ContentFilesApi#
|
98
|
+
@api_client.config.logger.debug "API called: ContentFilesApi#create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
99
99
|
end
|
100
100
|
return data, status_code, headers
|
101
101
|
end
|
@@ -118,8 +118,8 @@ module PulpFileClient
|
|
118
118
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
119
119
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
120
120
|
# @return [PaginatedfileFileContentResponseList]
|
121
|
-
def
|
122
|
-
data, _status_code, _headers =
|
121
|
+
def list(opts = {})
|
122
|
+
data, _status_code, _headers = list_with_http_info(opts)
|
123
123
|
data
|
124
124
|
end
|
125
125
|
|
@@ -141,9 +141,9 @@ module PulpFileClient
|
|
141
141
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
142
142
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
143
143
|
# @return [Array<(PaginatedfileFileContentResponseList, Integer, Hash)>] PaginatedfileFileContentResponseList data, response status code and response headers
|
144
|
-
def
|
144
|
+
def list_with_http_info(opts = {})
|
145
145
|
if @api_client.config.debugging
|
146
|
-
@api_client.config.logger.debug 'Calling API: ContentFilesApi.
|
146
|
+
@api_client.config.logger.debug 'Calling API: ContentFilesApi.list ...'
|
147
147
|
end
|
148
148
|
allowable_values = ["-digest", "-pk", "-pulp_created", "-pulp_id", "-pulp_last_updated", "-pulp_type", "-relative_path", "-timestamp_of_interest", "-upstream_id", "digest", "pk", "pulp_created", "pulp_id", "pulp_last_updated", "pulp_type", "relative_path", "timestamp_of_interest", "upstream_id"]
|
149
149
|
if @api_client.config.client_side_validation && opts[:'ordering'] && !opts[:'ordering'].all? { |item| allowable_values.include?(item) }
|
@@ -197,7 +197,7 @@ module PulpFileClient
|
|
197
197
|
|
198
198
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
199
199
|
if @api_client.config.debugging
|
200
|
-
@api_client.config.logger.debug "API called: ContentFilesApi#
|
200
|
+
@api_client.config.logger.debug "API called: ContentFilesApi#list\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
201
201
|
end
|
202
202
|
return data, status_code, headers
|
203
203
|
end
|
@@ -209,8 +209,8 @@ module PulpFileClient
|
|
209
209
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
210
210
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
211
211
|
# @return [FileFileContentResponse]
|
212
|
-
def
|
213
|
-
data, _status_code, _headers =
|
212
|
+
def read(file_file_content_href, opts = {})
|
213
|
+
data, _status_code, _headers = read_with_http_info(file_file_content_href, opts)
|
214
214
|
data
|
215
215
|
end
|
216
216
|
|
@@ -221,13 +221,13 @@ module PulpFileClient
|
|
221
221
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
222
222
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
223
223
|
# @return [Array<(FileFileContentResponse, Integer, Hash)>] FileFileContentResponse data, response status code and response headers
|
224
|
-
def
|
224
|
+
def read_with_http_info(file_file_content_href, opts = {})
|
225
225
|
if @api_client.config.debugging
|
226
|
-
@api_client.config.logger.debug 'Calling API: ContentFilesApi.
|
226
|
+
@api_client.config.logger.debug 'Calling API: ContentFilesApi.read ...'
|
227
227
|
end
|
228
228
|
# verify the required parameter 'file_file_content_href' is set
|
229
229
|
if @api_client.config.client_side_validation && file_file_content_href.nil?
|
230
|
-
fail ArgumentError, "Missing the required parameter 'file_file_content_href' when calling ContentFilesApi.
|
230
|
+
fail ArgumentError, "Missing the required parameter 'file_file_content_href' when calling ContentFilesApi.read"
|
231
231
|
end
|
232
232
|
# resource path
|
233
233
|
local_var_path = '{file_file_content_href}'.sub('{' + 'file_file_content_href' + '}', CGI.escape(file_file_content_href.to_s).gsub('%2F', '/'))
|
@@ -265,7 +265,7 @@ module PulpFileClient
|
|
265
265
|
|
266
266
|
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
267
267
|
if @api_client.config.debugging
|
268
|
-
@api_client.config.logger.debug "API called: ContentFilesApi#
|
268
|
+
@api_client.config.logger.debug "API called: ContentFilesApi#read\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
269
269
|
end
|
270
270
|
return data, status_code, headers
|
271
271
|
end
|