CreateFeedbackDocumentResponseData.ts•1.91 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';
/**
*
* @export
* @interface CreateFeedbackDocumentResponseData
*/
export interface CreateFeedbackDocumentResponseData {
/**
* A secure URL to upload the document to
* @type {string}
* @memberof CreateFeedbackDocumentResponseData
*/
uploadUrl: string;
}
/**
* Check if a given object implements the CreateFeedbackDocumentResponseData interface.
*/
export function instanceOfCreateFeedbackDocumentResponseData(value: object): value is CreateFeedbackDocumentResponseData {
if (!('uploadUrl' in value) || value['uploadUrl'] === undefined) return false;
return true;
}
export function CreateFeedbackDocumentResponseDataFromJSON(json: any): CreateFeedbackDocumentResponseData {
return CreateFeedbackDocumentResponseDataFromJSONTyped(json, false);
}
export function CreateFeedbackDocumentResponseDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateFeedbackDocumentResponseData {
if (json == null) {
return json;
}
return {
'uploadUrl': json['uploadUrl'],
};
}
export function CreateFeedbackDocumentResponseDataToJSON(json: any): CreateFeedbackDocumentResponseData {
return CreateFeedbackDocumentResponseDataToJSONTyped(json, false);
}
export function CreateFeedbackDocumentResponseDataToJSONTyped(value?: CreateFeedbackDocumentResponseData | null, ignoreDiscriminator: boolean = false): any {
if (value == null) {
return value;
}
return {
'uploadUrl': value['uploadUrl'],
};
}