@tillhub/javascript-sdk
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Device
Group
Creation
Failed
Device
Group
Delete
Failed
Device
Group
Fetch
Failed
Device
Group
Put
Failed
Device
Groups
constructor
endpoint
http
options
uri
Helper
base
Endpoint
create
delete
get
get
All
put
Device
Groups
Fetch
Failed
Device
Group
Device
Group
Response
Device
Groups
Options
Device
Groups
Query
Device
Groups
Response
Hierarchy
ThBaseHandler
DeviceGroups
Index
Constructors
constructor
Properties
endpoint
http
options
uri
Helper
base
Endpoint
Methods
create
delete
get
get
All
put
Constructors
constructor
new
Device
Groups
(
options
:
DeviceGroupsOptions
, http
:
Client
)
:
DeviceGroups
Parameters
options:
DeviceGroupsOptions
http:
Client
Returns
DeviceGroups
Properties
endpoint
endpoint
:
string
http
http
:
Client
options
options
:
DeviceGroupsOptions
uri
Helper
uri
Helper
:
UriHelper
Static
base
Endpoint
base
Endpoint
:
string
= '/api/v0/device_groups'
Methods
create
create
(
deviceGroup
:
DeviceGroup
)
:
Promise
<
DeviceGroupResponse
>
Parameters
deviceGroup:
DeviceGroup
Returns
Promise
<
DeviceGroupResponse
>
delete
delete
(
deviceGroupId
:
string
)
:
Promise
<
DeviceGroupResponse
>
Parameters
deviceGroupId:
string
Returns
Promise
<
DeviceGroupResponse
>
get
get
(
deviceGroupId
:
string
)
:
Promise
<
DeviceGroupResponse
>
Parameters
deviceGroupId:
string
Returns
Promise
<
DeviceGroupResponse
>
get
All
get
All
(
query
?:
DeviceGroupsQuery
)
:
Promise
<
DeviceGroupsResponse
>
Parameters
Optional
query:
DeviceGroupsQuery
Returns
Promise
<
DeviceGroupsResponse
>
put
put
(
deviceGroupId
:
string
, deviceGroup
:
DeviceGroup
)
:
Promise
<
DeviceGroupResponse
>
Parameters
deviceGroupId:
string
deviceGroup:
DeviceGroup
Returns
Promise
<
DeviceGroupResponse
>
Generated using
TypeDoc