C8yEvent
public struct C8yEvent : JcEncodableContent, Identifiable
                Represents an c8y event, refer to c8y API Reference Guide for more info
- 
                  
                  
Declaration
Swift
public internal(set) var id: String? { get } - 
                  
                  
Undocumented
Declaration
Swift
public private(set) var source: String { get } - 
                  
                  
Undocumented
Declaration
Swift
public private(set) var type: String? { get } - 
                  
                  
Undocumented
Declaration
Swift
public private(set) var time: Date { get } - 
                  
                  
Undocumented
Declaration
Swift
public private(set) var text: String { get } - 
                  
                  
Undocumented
Declaration
Swift
public private(set) var creationTime: Date? { get } - 
                  
                  
Undocumented
Declaration
Swift
public private(set) var eventDecodeError: String? { get } - 
                  
                  
Undocumented
Declaration
Swift
public private(set) var position: C8yManagedObject.Position? { get } - 
                  
                  
Undocumented
Declaration
Swift
public private(set) var info: Dictionary<String, C8yCustomAsset>? { get } - 
                  
                  
Creates a new event for the associated
C8yManagedObjectDeclaration
Swift
public init(forSource: String, type: String, text: String) - 
                  
                  
Creates a new event for the associated
C8yManagedObjectrepresenting a postional tracking event.Declaration
Swift
public init(forSource: String, position: C8yManagedObject.Position) - 
                  
                  
Creates a new event for the associated
C8yManagedObjectwith custom propertiesDeclaration
Swift
public init(forSource: String, type: String, text: String, properties: C8yCustomAsset) - 
                  
                  
Declaration
Swift
public init(from decoder: Decoder) throws - 
                  
                  
Declaration
Swift
public func encode(to encoder: Encoder) throws 
            View on GitHub
          
      C8yEvent Structure Reference