C8yAlarm
public struct C8yAlarm : JcEncodableContent, Identifiable
Represents an c8y alarm, refer to c8y API Reference Guide for more info
-
Undocumented
See moreDeclaration
Swift
public enum Status : String, Codable -
Allowed values for Alarm Severity
See moreDeclaration
Swift
public enum Severity : String, Codable -
Declaration
Swift
public internal(set) var id: String? { get } -
Undocumented
Declaration
Swift
public let type: String? -
Undocumented
Declaration
Swift
public let source: String -
Undocumented
Declaration
Swift
public let time: Date -
Undocumented
Declaration
Swift
public let severity: Severity -
Undocumented
Declaration
Swift
public let description: String? -
Undocumented
Declaration
Swift
public var status: Status -
Creates new alarm for the associated
C8yManagedObject -
Declaration
Swift
public init(from decoder: Decoder) throws -
Declaration
Swift
public func encode(to encoder: Encoder) throws -
Undocumented
Declaration
Swift
public func toJsonString(_ updateOnly: Bool) throws -> Data
View on GitHub
C8yAlarm Structure Reference