Skip to main content

EOINotification

eyesonit-typescript-sdk


eyesonit-typescript-sdk / EOINotification

Class: EOINotification

Constructors​

Constructor​

new EOINotification(phone_number, include_image): EOINotification

Parameters​

phone_number​

string | null

include_image​

boolean

Returns​

EOINotification

Properties​

last_detection​

last_detection: EOILastDetectionInfo


alerting​

alerting: boolean


rest_url​

rest_url: string


phone_number​

phone_number: string | null = null


include_image​

include_image: boolean

Methods​

fromJsonObj()​

static fromJsonObj(obj): EOINotification | undefined

Parameters​

obj​

any

Returns​

EOINotification | undefined


toJSON()​

toJSON(): { include_image: boolean; phone_number?: undefined; } | { include_image: boolean; phone_number: string; }

Returns​

{ include_image: boolean; phone_number?: undefined; } | { include_image: boolean; phone_number: string; }