HPOpenWeather Documentation Beta

Structure Alert

public struct Alert: Codable, Hashable, Equatable 

Type that holds information about weather alerts

Alert Alert Equatable Equatable Alert->Equatable Codable Codable Alert->Codable Hashable Hashable Alert->Hashable

Conforms To

Codable
Equatable
Hashable

Properties

sender​Name

public let senderName: String

Name of the alert source. Please read here the full list of alert sources

event​Name

public let eventName: String

Alert event name

start​Date

public let startDate: Date

/ Date and time of the start of the alert

end​Date

public let endDate: Date

/ Date and time of the end of the alert

description

public let description: String

Description of the alert