tuix-marketplace-api
Version:
This package facilitates the client request to tuix marketplace api
66 lines (55 loc) • 1.36 kB
text/typescript
/* tslint:disable */
/* eslint-disable */
/**
* Tuix Services
* Tuix Services API
*
* The version of the OpenAPI document: 1.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { mapValues } from '../runtime';
/**
*
* @export
* @interface ErrorDTO
*/
export interface ErrorDTO {
/**
*
* @type {string}
* @memberof ErrorDTO
*/
message?: string;
}
/**
* Check if a given object implements the ErrorDTO interface.
*/
export function instanceOfErrorDTO(value: object): value is ErrorDTO {
return true;
}
export function ErrorDTOFromJSON(json: any): ErrorDTO {
return ErrorDTOFromJSONTyped(json, false);
}
export function ErrorDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): ErrorDTO {
if (json == null) {
return json;
}
return {
'message': json['message'] == null ? undefined : json['message'],
};
}
export function ErrorDTOToJSON(json: any): ErrorDTO {
return ErrorDTOToJSONTyped(json, false);
}
export function ErrorDTOToJSONTyped(value?: ErrorDTO | null, ignoreDiscriminator: boolean = false): any {
if (value == null) {
return value;
}
return {
'message': value['message'],
};
}