geneea-nlp-client
Version:
The TypeScript Client for Geneea Interpretor G3 API.
27 lines (26 loc) • 1.16 kB
TypeScript
/** Interface of elements that can be assigned a list of properties. Entities and tags. */
interface HasGkbProperties {
gkbProperties: GkbProperty[];
}
/** Class encapsulating a vector */
declare class GkbProperty {
readonly name: string;
readonly label: string | null;
readonly valueGkbId: string | null;
readonly boolValue: boolean | null;
readonly floatValue: number | null;
readonly intValue: number | null;
readonly strValue: string | null;
/**
*
* @param name Key identifying the property.
* @param label Label describing the property.
* @param valueGkbId Identifier of GKB item representing property value if there is any.
* @param boolValue Property value if it is boolean.
* @param floatValue Property value if it is float.
* @param intValue Property value if it is integer.
* @param strValue Property value if it is string or date.
*/
constructor(name: string, label?: string | null, valueGkbId?: string | null, boolValue?: boolean | null, floatValue?: number | null, intValue?: number | null, strValue?: string | null);
}
export { HasGkbProperties, GkbProperty };