Skip to content
This repository has been archived by the owner on Sep 12, 2024. It is now read-only.

GroupedLightManager

github-actions[bot] edited this page Aug 11, 2023 · 46 revisions

Class: GroupedLightManager

Hierarchy

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new GroupedLightManager(hue)

Parameters

Name Type
hue Hue

Inherited from

Manager.constructor

Defined in

src/managers/Manager.ts:21

Properties

cache

Readonly cache: Collection<string, GroupedLight>

Inherited from

Manager.cache

Defined in

src/managers/Manager.ts:17


holds

holds: typeof GroupedLight = GroupedLight

Overrides

Manager.holds

Defined in

src/managers/GroupedLightManager.ts:8


hue

Readonly hue: Hue

Inherited from

Manager.hue

Defined in

src/managers/Manager.ts:16


type

type: ResourceType = ResourceType.GroupedLight

Overrides

Manager.type

Defined in

src/managers/GroupedLightManager.ts:7

Methods

_add

_add(data): GroupedLight

Parameters

Name Type
data any

Returns

GroupedLight

Inherited from

Manager._add

Defined in

src/managers/Manager.ts:25


_delete

_delete(id): Promise<ResourceIdentifier<ResourceType>[]>

Parameters

Name Type
id string

Returns

Promise<ResourceIdentifier<ResourceType>[]>

Inherited from

Manager._delete

Defined in

src/managers/Manager.ts:45


_get

_get(id): Promise<GroupedLightGet>

Parameters

Name Type
id string

Returns

Promise<GroupedLightGet>

Inherited from

Manager._get

Defined in

src/managers/Manager.ts:33


_post

_post(data): Promise<ResourceIdentifier<ResourceType>[]>

Parameters

Name Type
data never

Returns

Promise<ResourceIdentifier<ResourceType>[]>

Inherited from

Manager._post

Defined in

src/managers/Manager.ts:41


_put

_put(id, data): Promise<ResourceIdentifier<ResourceType>[]>

Parameters

Name Type
id string
data GroupedLightPut

Returns

Promise<ResourceIdentifier<ResourceType>[]>

Inherited from

Manager._put

Defined in

src/managers/Manager.ts:37


edit

edit(id, options): Promise<void>

Parameters

Name Type
id string
options GroupedLightEditOptions

Returns

Promise<void>

Defined in

src/managers/GroupedLightManager.ts:10

hue.ts

Clone this wiki locally