C8yExternalId
public struct C8yExternalId : JcEncodableContent, Identifiable
Represents an external id for a C8yManagedObject e.g. ‘c8y_Serial’ or ‘c8y_LoRa_DevEUI’
-
Internal id of the associated Managed Object
C8yManagedObjectDeclaration
Swift
public let id: String? -
Label identifying the type of external id .e.g.‘c8y_Serial’ or ‘c8y_LoRa_DevEUI’
Declaration
Swift
public let type: String -
The external id itself
Declaration
Swift
public internal(set) var externalId: String { get } -
Define a new external id
Declaration
Swift
public init(withExternalId: String, ofType: String) -
Declaration
Swift
public init(from decoder: Decoder) throws -
Declaration
Swift
public func encode(to encoder: Encoder) throws
View on GitHub
C8yExternalId Structure Reference