DexcareIncident

public struct DexcareIncident : Codable

A structure representing an incident or a scheduled maintenance

  • A small description of the incident or maintenance

    Declaration

    Swift

    public let name: String
  • A larger description describing the incident. This is optional and may not be included on all responses

    Declaration

    Swift

    public let body: String?
  • A status of the current incident - See IncidentStatus for more information

    Declaration

    Swift

    public let status: IncidentStatus
  • The impact of the current incident - See IncidentImpact for more information

    Declaration

    Swift

    public let impact: IncidentImpact
  • The last date time updated.

    Declaration

    Swift

    public let updatedAt: Date
  • The date time at which a maintenance is scheduled to start. Only present for maintenances.

    Declaration

    Swift

    public let scheduledFor: Date?
  • The date time at which a maintenance is scheduled to end. Only present for maintenances.

    Declaration

    Swift

    public let scheduledUntil: Date?
  • The individual parts of the DexCare Platform that this incident is affecting.

    Declaration

    Swift

    public let components: [DexcareComponent]
  • Declaration

    Swift

    public init(from decoder: Decoder) throws