C8yOperation

public struct C8yOperation : JcEncodableContent, Identifiable

Represents an c8y operation, that can be posted to a remote device c8y API Reference Guide for more info

  • id

    Declaration

    Swift

    public private(set) var id: String? { get }
  • Undocumented

    Declaration

    Swift

    public private(set) var bulkOperationId: String? { get }
  • Undocumented

    Declaration

    Swift

    public private(set) var deviceId: String { get }
  • Undocumented

    Declaration

    Swift

    public private(set) var deviceExternalIDs: [C8yExternalId]? { get }
  • Undocumented

    Declaration

    Swift

    public private(set) var creationTime: Date? { get }
  • Undocumented

    Declaration

    Swift

    public internal(set) var status: Status? { get }
  • Undocumented

    Declaration

    Swift

    public private(set) var failureReason: String? { get }
  • Undocumented

    Declaration

    Swift

    public private(set) var type: String? { get }
  • Undocumented

    Declaration

    Swift

    public private(set) var description: String? { get }
  • Undocumented

    Declaration

    Swift

    public var operationDetails: OperationDetails
  • Undocumented

    See more

    Declaration

    Swift

    public enum Status : String, Codable
  • Creates a new operation for the associated C8yManagedObject

    Declaration

    Swift

    public init(forSource source: String, type: String, description: String)
  • Declaration

    Swift

    public init(from decoder: Decoder) throws
  • Declaration

    Swift

    public func encode(to encoder: Encoder) throws
  • Defines the details of the operation to be executed by the device

    See more

    Declaration

    Swift

    public struct OperationDetails : Codable