@vectorize-io/vectorize-client
Version:
Client for the Vectorize API
67 lines (56 loc) • 1.84 kB
text/typescript
/* tslint:disable */
/* eslint-disable */
/**
* Vectorize API (Beta)
* API for Vectorize services
*
* The version of the OpenAPI document: 0.0.1
*
*
* 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 DeleteDestinationConnectorResponse
*/
export interface DeleteDestinationConnectorResponse {
/**
*
* @type {string}
* @memberof DeleteDestinationConnectorResponse
*/
message: string;
}
/**
* Check if a given object implements the DeleteDestinationConnectorResponse interface.
*/
export function instanceOfDeleteDestinationConnectorResponse(value: object): value is DeleteDestinationConnectorResponse {
if (!('message' in value) || value['message'] === undefined) return false;
return true;
}
export function DeleteDestinationConnectorResponseFromJSON(json: any): DeleteDestinationConnectorResponse {
return DeleteDestinationConnectorResponseFromJSONTyped(json, false);
}
export function DeleteDestinationConnectorResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): DeleteDestinationConnectorResponse {
if (json == null) {
return json;
}
return {
'message': json['message'],
};
}
export function DeleteDestinationConnectorResponseToJSON(json: any): DeleteDestinationConnectorResponse {
return DeleteDestinationConnectorResponseToJSONTyped(json, false);
}
export function DeleteDestinationConnectorResponseToJSONTyped(value?: DeleteDestinationConnectorResponse | null, ignoreDiscriminator: boolean = false): any {
if (value == null) {
return value;
}
return {
'message': value['message'],
};
}