TriggeredServerCodeResult

public class TriggeredServerCodeResult: NSObject, NSCoding

Class represents result of server code trigged by trigger

  • Undocumented

    Declaration

    Swift

    public class TriggeredServerCodeResult: NSObject, NSCoding
  • Whether the invocation succeeded

    Declaration

    Swift

    public let succeeded: Bool
  • Returned value from server code (JsonObject, JsonArray, String, Number, Boolean or null)

    Declaration

    Swift

    public let returnedValue: AnyObject?
  • Date of the execution

    Declaration

    Swift

    public let executedAt: NSDate
  • The endpoint used in the server code invocation

    Declaration

    Swift

    public let endpoint: String
  • Error object of the invocation if any

    Declaration

    Swift

    public let error: ServerError?
  • Init TriggeredServerCodeResult with necessary attributes

    Parameter

    Parameter succeeded: Whether the invocation succeeded

    Parameter

    Parameter returnedValue: Returned value from server code

    Parameter

    Parameter executedAt: Date of the execution

    Parameter

    Parameter endpoint: The endpoint used in the server code invocation

    Parameter

    Parameter error: Error object of the invocation if any

    Declaration

    Swift

    public init(succeeded: Bool, returnedValue: AnyObject?, executedAt: NSDate, endpoint: String, error: ServerError?)
  • Undocumented

    Declaration

    Swift

    public class TriggeredServerCodeResult: NSObject, NSCoding
  • Undocumented

    Declaration

    Swift

    public class TriggeredServerCodeResult: NSObject, NSCoding
  • Undocumented

    Declaration

    Swift

    public class TriggeredServerCodeResult: NSObject, NSCoding
  • Undocumented

    Declaration

    Swift

    public class TriggeredServerCodeResult: NSObject, NSCoding
  • Undocumented

    Declaration

    Swift

    public class TriggeredServerCodeResult: NSObject, NSCoding
  • Undocumented

    Declaration

    Swift

    public class TriggeredServerCodeResult: NSObject, NSCoding
  • Undocumented

    Declaration

    Swift

    public class TriggeredServerCodeResult: NSObject, NSCoding