Thing

open class Thing : CoatyObject

With regard to the Internet of Things, a thing is an object of the physical world (physical things) or the information world (virtual things) that is capable of being identified and integrated into communication networks.

Class registration.

  • Undocumented

    Declaration

    Swift

    open override class var objectType: String { get }

Attributes.

  • This is a short description of the corresponding Thing.

    Declaration

    Swift

    public var description: String
  • An object hash containing application-annotated properties as key-value pairs. (optional)

    Declaration

    Swift

    public var properties: [String : String]?

Initializers.

Codable methods.

  • Undocumented

    Declaration

    Swift

    required public init(from decoder: Decoder) throws
  • Undocumented

    Declaration

    Swift

    override public func encode(to encoder: Encoder) throws