// This is Generated Source. import PagingOnlyGroupDevices from "../definitions/PagingOnlyGroupDevices"; import PathSegment from "../PathSegment"; export default class Devices extends PathSegment { constructor(prv: PathSegment, id?: string, service?) { super("devices", id, prv, service); } /** *

Since 1.0.32 (Release 9.3)

Returns the list of paging devices assigned to this group.

Required Permissions

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

Usage Plan Group

Light

*/ list(query?: ListQuery): Promise { return this._send({ body: undefined, ignoreId: false, method: "get", query: query, }).then((res) => { return res.json(); }); } /** *

Since 1.0.32 (Release 9.3)

Returns the list of paging devices assigned to this group.

Required Permissions

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

Usage Plan Group

Light

* return {ApiResponse} */ listRaw(query?: ListQuery): Promise { return this._send({ body: undefined, ignoreId: false, method: "get", query: query, }); } } export interface ListQuery { /** * Indicates the page number to retrieve. Only positive number values are allowed. Default value is '1' */ page?: number; /** * Indicates the page size (number of items). If not specified, the value is '100' by default */ perPage?: number; }