Command

public struct Command : Decodable

Describes the command to execute when the scheduled event occurs.

  • A command configuration specific to the source schedule

    See more

    Declaration

    Swift

    public struct Body : Decodable
  • Path to a light resource, a group resource or any other bridge resource (including “/api//”)

    Declaration

    Swift

    public let address: String
  • The HTTPS method used to send the body to the given address. Either “POST”, “PUT”, “DELETE” for local addresses.

    Declaration

    Swift

    public let method: String
  • The command configuration.

    Declaration

    Swift

    public let body: Body