wallee
Version:
TypeScript/JavaScript client for wallee
65 lines (64 loc) • 2.32 kB
TypeScript
import type { ConnectorInvocationStage } from './ConnectorInvocationStage';
/**
*
* @export
* @interface ConnectorInvocation
*/
export interface ConnectorInvocation {
/**
* The ID of the space this object belongs to.
* @type {number}
* @memberof ConnectorInvocation
*/
readonly linkedSpaceId?: number;
/**
* The duration, in milliseconds, taken to execute the connector invocation.
* @type {number}
* @memberof ConnectorInvocation
*/
readonly timeTookInMilliseconds?: number;
/**
*
* @type {ConnectorInvocationStage}
* @memberof ConnectorInvocation
*/
stage?: ConnectorInvocationStage;
/**
* The date and time when the object is planned to be permanently removed. If the value is empty, the object will not be removed.
* @type {Date}
* @memberof ConnectorInvocation
*/
readonly plannedPurgeDate?: Date;
/**
* A unique identifier for the object.
* @type {number}
* @memberof ConnectorInvocation
*/
readonly id?: number;
/**
* The date and time when the object was created.
* @type {Date}
* @memberof ConnectorInvocation
*/
readonly createdOn?: Date;
/**
* The version is used for optimistic locking and incremented whenever the object is updated.
* @type {number}
* @memberof ConnectorInvocation
*/
readonly version?: number;
/**
* The transaction that the connector invocation belongs to.
* @type {number}
* @memberof ConnectorInvocation
*/
readonly transaction?: number;
}
/**
* Check if a given object implements the ConnectorInvocation interface.
*/
export declare function instanceOfConnectorInvocation(value: object): value is ConnectorInvocation;
export declare function ConnectorInvocationFromJSON(json: any): ConnectorInvocation;
export declare function ConnectorInvocationFromJSONTyped(json: any, ignoreDiscriminator: boolean): ConnectorInvocation;
export declare function ConnectorInvocationToJSON(json: any): ConnectorInvocation;
export declare function ConnectorInvocationToJSONTyped(value?: Omit<ConnectorInvocation, 'linkedSpaceId' | 'timeTookInMilliseconds' | 'plannedPurgeDate' | 'id' | 'createdOn' | 'version' | 'transaction'> | null, ignoreDiscriminator?: boolean): any;