IoTDevice
@objc
public final class IoTDevice : NSObject, APIModel, PersistableObject
An IoT device model.
-
Device ID.
Declaration
Swift
@objc public var iotId: String
-
Device name.
Declaration
Swift
@objc public var iotName: String
-
Device type.
Declaration
Swift
@objc public var iotType: IOTType
-
Secondary Owners.
Declaration
Swift
@objc public var secondaryOwners: [SecondaryUser]
-
User Role.
Declaration
Swift
@objc public var userRole: UserRole
-
Additional IoTDevice properties.
Declaration
Swift
public var additionalProperties: [String : Any?]?
-
Initializer for IoTDevice model.
Declaration
Swift
public init(from decoder: Decoder) throws
Parameters
decoder
Decoder Parameter.
-
Initializer.
Declaration
Swift
@objc public init(iotId: String, iotName: String, iotType: IOTType)