Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

  • new Device(prv: PathSegment, id?: string, service?: any): Device

Methods

get

  • Since 1.0.9 (Release 6.1)

    Returns account device(s) by their ID(s).

    Required Permissions

    PermissionDescription
    ReadAccountsViewing user account info (including name, business name, address and phone number/account number)

    Usage Plan Group

    Light

    Returns Promise<GetDeviceInfoResponse>

getEndpoint

  • getEndpoint(withValue?: boolean): string

Protected getRest

list

  • Since 1.0.12 (Release 6.4)

    Returns all the devices for a particular extension.

    Required Permissions

    PermissionDescription
    ReadAccountsViewing user account info (including name, business name, address and phone number/account number)

    Usage Plan Group

    Light

    Returns Promise<GetAccountDevicesResponse>

put

toString

  • toString(withValue?: boolean): string

Generated using TypeDoc