Response

public struct Response : Codable, Equatable

Struct representing Event Response related values.

  • id

    Value representing the entity id.

    Declaration

    Swift

    public var id: Int
  • Status of the response.

    Declaration

    Swift

    public var status: String
  • Date created of the response.

    Declaration

    Swift

    public var dateCreated: String
  • Date updated of the response.

    Declaration

    Swift

    public var dateUpdated: String
  • Outcome of the response.

    Declaration

    Swift

    public var outcome: String
  • Metric name of the response.

    Declaration

    Swift

    public var metricName: String
  • Metric amount of the response.

    Declaration

    Swift

    public var metricAmount: String
  • Event of the response.

    Declaration

    Swift

    public var event: Event?
  • Returns boolean value if the event is respondable.

    Declaration

    Swift

    public var isRespondable: Bool
  • Respondable Info of the event.

    Declaration

    Swift

    public var respondableInfo: RespondableInfo?
  • Undocumented

    Declaration

    Swift

    public init(id: Int, status: String, dateCreated: String, dateUpdated: String,
                outcome: String, metricName: String, metricAmount: String,
                event: Event?, isRespondable: Bool, respondableInfo: RespondableInfo?)
  • Declaration

    Swift

    public init(from decoder: Decoder) throws