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.
-
Undocumented
Declaration
Swift
open override class var objectType: String { get }
-
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]?
-
Undocumented
Declaration
Swift
public init(description: String, properties: [String: String]? = nil, name: String, objectId: CoatyUUID = .init(), externalId: String? = nil, parentObjectId: CoatyUUID? = nil, locationId: CoatyUUID? = nil, objectType: String = Thing.objectType)
-
Undocumented
Declaration
Swift
required public init(from decoder: Decoder) throws
-
Undocumented
Declaration
Swift
override public func encode(to encoder: Encoder) throws