/** * Synapse REST API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: v1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * JSON schema for an error returned by Drs Services. Used to align error messages with Error * @export * @interface DrsErrorResponse */ export interface DrsErrorResponse { /** * Indicates which implementation of BaseError this object represents. The value is the fully qualified class name, e.g. org.sagebionetworks.repo.model.ErrorResponse. * @type {string} * @memberof DrsErrorResponse */ concreteType: DrsErrorResponseConcreteTypeEnum; /** * A detailed error message. * @type {string} * @memberof DrsErrorResponse */ msg?: string; /** * The integer representing the HTTP status code (e.g. 200, 404). * @type {number} * @memberof DrsErrorResponse */ status_code?: number; } /** * @export */ export declare const DrsErrorResponseConcreteTypeEnum: { readonly org_sagebionetworks_repo_model_drs_DrsErrorResponse: "org.sagebionetworks.repo.model.drs.DrsErrorResponse"; }; export type DrsErrorResponseConcreteTypeEnum = typeof DrsErrorResponseConcreteTypeEnum[keyof typeof DrsErrorResponseConcreteTypeEnum]; /** * Check if a given object implements the DrsErrorResponse interface. */ export declare function instanceOfDrsErrorResponse(value: object): value is DrsErrorResponse; export declare function DrsErrorResponseFromJSON(json: any): DrsErrorResponse; export declare function DrsErrorResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): DrsErrorResponse; export declare function DrsErrorResponseToJSON(json: any): DrsErrorResponse; export declare function DrsErrorResponseToJSONTyped(value?: DrsErrorResponse | null, ignoreDiscriminator?: boolean): any;