This repository has been archived by the owner on Sep 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
ZoneManager
github-actions[bot] edited this page Aug 11, 2023
·
46 revisions
• new ZoneManager(hue
)
Name | Type |
---|---|
hue |
Hue |
• Readonly
cache: Collection
<string
, Zone
>
• holds: typeof Zone
= Zone
• Readonly
hue: Hue
• type: ResourceType
= ResourceType.Zone
▸ _add(data
): Zone
Name | Type |
---|---|
data |
any |
▸ _delete(id
): Promise
<ResourceIdentifier
<ResourceType
>[]>
Name | Type |
---|---|
id |
string |
Promise
<ResourceIdentifier
<ResourceType
>[]>
▸ _get(id
): Promise
<ZoneGet
>
Name | Type |
---|---|
id |
string |
Promise
<ZoneGet
>
▸ _post(data
): Promise
<ResourceIdentifier
<ResourceType
>[]>
Name | Type |
---|---|
data |
ZonePost |
Promise
<ResourceIdentifier
<ResourceType
>[]>
▸ _put(id
, data
): Promise
<ResourceIdentifier
<ResourceType
>[]>
Name | Type |
---|---|
id |
string |
data |
ZonePut |
Promise
<ResourceIdentifier
<ResourceType
>[]>
▸ create(options
): Promise
<undefined
| string
>
Name | Type |
---|---|
options |
Required <ZoneEditOptions > |
Promise
<undefined
| string
>
src/managers/ZoneManager.ts:10
▸ delete(id
): Promise
<void
>
Name | Type |
---|---|
id |
string |
Promise
<void
>
src/managers/ZoneManager.ts:26
▸ edit(id
, options
): Promise
<void
>
Name | Type |
---|---|
id |
string |
options |
ZoneEditOptions |
Promise
<void
>