go.charczuk.com@v0.0.0-20240327042549-bc490516bd1a/experiments/huectl/pkg/hue/resource_link.go (about) 1 /* 2 3 Copyright (c) 2023 - Present. Will Charczuk. All rights reserved. 4 Use of this source code is governed by a MIT license that can be found in the LICENSE file at the root of the repository. 5 6 */ 7 8 package hue 9 10 // Resourcelink represents a bridge resourcelink https://developers.meethue.com/documentation/resourcelinks-api 11 type Resourcelink struct { 12 Name string `json:"name,omitempty"` 13 Description string `json:"description,omitempty"` 14 Type string `json:"type,omitempty"` 15 ClassID uint16 `json:"classid,omitempty"` 16 Owner string `json:"owner,omitempty"` 17 Links []string `json:"links,omitempty"` 18 ID int `json:",omitempty"` 19 }