@applitools/eyes-browser
Version:
48 lines (47 loc) • 1.61 kB
TypeScript
import { PropertyData, PropertyDataData } from './PropertyData';
export type BatchInfo = {
id?: string;
name?: string;
sequenceName?: string;
startedAt?: Date | string;
notifyOnCompletion?: boolean;
properties?: PropertyData[];
};
export declare class BatchInfoData implements Required<BatchInfo> {
private _batch;
constructor();
constructor(batch?: BatchInfo);
constructor(name?: string, startedAt?: Date | string, id?: string);
get id(): string;
set id(id: string);
getId(): string;
setId(id: string): this;
get name(): string;
set name(name: string);
getName(): string;
setName(name: string): this;
get sequenceName(): string;
set sequenceName(sequenceName: string);
getSequenceName(): string;
setSequenceName(sequenceName: string): this;
get startedAt(): Date | string;
set startedAt(startedAt: Date | string);
getStartedAt(): Date | string;
setStartedAt(startedAt: Date | string): this;
get notifyOnCompletion(): boolean;
set notifyOnCompletion(notifyOnCompletion: boolean);
getNotifyOnCompletion(): boolean;
setNotifyOnCompletion(notifyOnCompletion: boolean): this;
get properties(): PropertyData[];
set properties(properties: PropertyData[]);
getProperties(): PropertyDataData[];
setProperties(properties: PropertyData[]): this;
addProperty(name: string, value: string): this;
addProperty(prop: PropertyData): this;
/** @internal */
toObject(): BatchInfo;
/** @internal */
toJSON(): BatchInfo;
/** @internal */
toString(): string;
}