c8osdkjscore
Version:
convertigo's sdk js core
21 lines (20 loc) • 1.03 kB
TypeScript
export declare class C8oUtilsCore {
private static USE_PARAMETER_IDENTIFIER;
data: JSON;
constructor();
static getObjectClassName(object: any): "string" | "number" | "boolean" | "symbol" | "undefined" | "object" | "function";
static isValidUrl(url: string): boolean;
static getNewGUIDString(): string;
static getParameter(parameters: Object, name: string, useName: boolean): any;
static getParameterStringValue(parameters: Object, name: string, useName: boolean): string;
static getParameterObjectValue(parameters: Object, name: string, useName?: boolean): any;
static peekParameterStringValue(parameters: Object, name: string, exceptionIfMissing: boolean): string;
static peekParameterObjectValue(parameters: Object, name: string, exceptionIfMissing: boolean): string;
static identifyC8oCallRequest(parameters: Object, responseType: string): string;
}
export declare class Queue<T> {
_store: T[];
push(val: T): void;
pop(): T;
count(): number;
}