DeleteOrganisation200ResponseData.ts•1.95 kB
/* tslint:disable */
/* eslint-disable */
/**
* Squad API
* API for managing Squad resources
*
* The version of the OpenAPI document: 4.0.0
* Contact: help@meetsquad.ai
*
* 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.js';
/**
* Success message data
* @export
* @interface DeleteOrganisation200ResponseData
*/
export interface DeleteOrganisation200ResponseData {
[key: string]: any | any;
/**
* Success message
* @type {string}
* @memberof DeleteOrganisation200ResponseData
*/
message: string;
}
/**
* Check if a given object implements the DeleteOrganisation200ResponseData interface.
*/
export function instanceOfDeleteOrganisation200ResponseData(value: object): value is DeleteOrganisation200ResponseData {
if (!('message' in value) || value['message'] === undefined) return false;
return true;
}
export function DeleteOrganisation200ResponseDataFromJSON(json: any): DeleteOrganisation200ResponseData {
return DeleteOrganisation200ResponseDataFromJSONTyped(json, false);
}
export function DeleteOrganisation200ResponseDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): DeleteOrganisation200ResponseData {
if (json == null) {
return json;
}
return {
...json,
'message': json['message'],
};
}
export function DeleteOrganisation200ResponseDataToJSON(json: any): DeleteOrganisation200ResponseData {
return DeleteOrganisation200ResponseDataToJSONTyped(json, false);
}
export function DeleteOrganisation200ResponseDataToJSONTyped(value?: DeleteOrganisation200ResponseData | null, ignoreDiscriminator: boolean = false): any {
if (value == null) {
return value;
}
return {
...value,
'message': value['message'],
};
}