Structures

The following structures are available globally.

Linking

  • Describes an error response for a link attempt.

    See more

    Declaration

    Swift

    public struct LinkErrorResponse : Decodable
  • Describes a success response for a link attempt.

    See more

    Declaration

    Swift

    public struct LinkSuccessResponse : Decodable

Lights

  • Describes all light elements for a bridge.

    See more

    Declaration

    Swift

    public struct Lights : DynamicDecodable

Groups

  • Describes all group elements for a bridge.

    See more

    Declaration

    Swift

    public struct Groups : DynamicDecodable

Config

  • Describes all configuration elements for a bridge. Note all times are stored in UTC.

    See more

    Declaration

    Swift

    public struct Config : Decodable

Schedules

  • Describe all schedule elements for a bridge.

    See more

    Declaration

    Swift

    public struct Schedules : DynamicDecodable

Scenes

  • Describe all scene elements for a bridge.

    See more

    Declaration

    Swift

    public struct Scenes : DynamicDecodable

Sensors

  • Describes all sensor elements for a bridge.

    See more

    Declaration

    Swift

    public struct Sensors : DynamicDecodable

LightState

  • Describes the modified state of a Light

    Declaration

    Swift

    public struct LightState : Decodable
  • Describes the modified state of a Group

    Declaration

    Swift

    public struct GroupState : Decodable