StandaloneThing
public struct StandaloneThing: TargetThing, Equatable
Represents stand alone thing.
-
ID of target to issue REST API.
Declaration
Swift
public let typedID: TypedID
-
Access token.
Declaration
Swift
public let accessToken: String?
-
Vendor thing id.
Declaration
Swift
public let vendorThingID: String
-
Init
Declaration
Swift
public init( _ thingID: String, vendorThingID : String, accessToken: String? = nil)
Parameters
thingID
ID of thing
vendorThingID
ID of vendor thing
accessToken
Access token of the target, can nil.