wallee
Version:
TypeScript/JavaScript client for wallee
77 lines (76 loc) • 3.13 kB
TypeScript
import type { FacadeUserFriendlyQueryStatusModel } from './FacadeUserFriendlyQueryStatusModel';
/**
*
* @export
* @interface SubmittedAnalyticsQueryExecution
*/
export interface SubmittedAnalyticsQueryExecution {
/**
* The external id associated with this query, if any.
* @type {string}
* @memberof SubmittedAnalyticsQueryExecution
*/
readonly queryExternalId?: string;
/**
* The ID of the target account for which the analytics query will be executed, determining the data scope for the request.
* @type {number}
* @memberof SubmittedAnalyticsQueryExecution
*/
readonly accountId?: number;
/**
* The total execution time, in milliseconds, that has been billed for the query.
* @type {number}
* @memberof SubmittedAnalyticsQueryExecution
*/
readonly totalBilledExecutionTimeMs?: number;
/**
* The date and time when the query was created.
* @type {Date}
* @memberof SubmittedAnalyticsQueryExecution
*/
readonly createdTimestamp?: Date;
/**
* The number of times the query result file has been downloaded.
* @type {number}
* @memberof SubmittedAnalyticsQueryExecution
*/
readonly downloadRequests?: number;
/**
* The SQL query as originally submitted by the user.
* @type {string}
* @memberof SubmittedAnalyticsQueryExecution
*/
readonly originalQuery?: string;
/**
* The total bytes of data scanned by the submitted query.
* @type {number}
* @memberof SubmittedAnalyticsQueryExecution
*/
readonly scannedBytes?: number;
/**
* The unique query token associated with the analytics query execution.
* @type {string}
* @memberof SubmittedAnalyticsQueryExecution
*/
readonly portalQueryToken?: string;
/**
* The size, in bytes, of the result file generated by the query.
* @type {number}
* @memberof SubmittedAnalyticsQueryExecution
*/
readonly resultFileBytes?: number;
/**
*
* @type {FacadeUserFriendlyQueryStatusModel}
* @memberof SubmittedAnalyticsQueryExecution
*/
status?: FacadeUserFriendlyQueryStatusModel;
}
/**
* Check if a given object implements the SubmittedAnalyticsQueryExecution interface.
*/
export declare function instanceOfSubmittedAnalyticsQueryExecution(value: object): value is SubmittedAnalyticsQueryExecution;
export declare function SubmittedAnalyticsQueryExecutionFromJSON(json: any): SubmittedAnalyticsQueryExecution;
export declare function SubmittedAnalyticsQueryExecutionFromJSONTyped(json: any, ignoreDiscriminator: boolean): SubmittedAnalyticsQueryExecution;
export declare function SubmittedAnalyticsQueryExecutionToJSON(json: any): SubmittedAnalyticsQueryExecution;
export declare function SubmittedAnalyticsQueryExecutionToJSONTyped(value?: Omit<SubmittedAnalyticsQueryExecution, 'queryExternalId' | 'accountId' | 'totalBilledExecutionTimeMs' | 'createdTimestamp' | 'downloadRequests' | 'originalQuery' | 'scannedBytes' | 'portalQueryToken' | 'resultFileBytes'> | null, ignoreDiscriminator?: boolean): any;