DeleteFeedback200ResponseData.ts•1.89 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 DeleteFeedback200ResponseData
*/
export interface DeleteFeedback200ResponseData {
[key: string]: any | any;
/**
* Success message
* @type {string}
* @memberof DeleteFeedback200ResponseData
*/
message: string;
}
/**
* Check if a given object implements the DeleteFeedback200ResponseData interface.
*/
export function instanceOfDeleteFeedback200ResponseData(value: object): value is DeleteFeedback200ResponseData {
if (!('message' in value) || value['message'] === undefined) return false;
return true;
}
export function DeleteFeedback200ResponseDataFromJSON(json: any): DeleteFeedback200ResponseData {
return DeleteFeedback200ResponseDataFromJSONTyped(json, false);
}
export function DeleteFeedback200ResponseDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): DeleteFeedback200ResponseData {
if (json == null) {
return json;
}
return {
...json,
'message': json['message'],
};
}
export function DeleteFeedback200ResponseDataToJSON(json: any): DeleteFeedback200ResponseData {
return DeleteFeedback200ResponseDataToJSONTyped(json, false);
}
export function DeleteFeedback200ResponseDataToJSONTyped(value?: DeleteFeedback200ResponseData | null, ignoreDiscriminator: boolean = false): any {
if (value == null) {
return value;
}
return {
...value,
'message': value['message'],
};
}