AWFAdvisorySummary

Objective-C

@interface AWFAdvisorySummary : AWFWeatherObject

Swift

class AWFAdvisorySummary : AWFWeatherObject

An AWFAdvisorySummary object represents data returned by the alerts/summary endpoint of the Aeris Weather API.

  • The total number of weather zones or FIPS that have active alerts.

    Declaration

    Objective-C

    @property (nonatomic) NSUInteger count;

    Swift

    var count: UInt { get set }
  • Array containing two-letter country abbreviations that have active alerts.

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) NSArray<NSString *> *countries;

    Swift

    var countries: [String]? { get set }
  • Array containing two-letter US state abbreviations or Canadian province (in the format of “ca.xx”) that have active alerts.

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) NSArray<NSString *> *states;

    Swift

    var states: [String]? { get set }
  • Array containing active VTEC or WMO (if no VTEC) codes for the active alerts.

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) NSArray<NSString *> *typeCodes;

    Swift

    var typeCodes: [String]? { get set }
  • Array containing each active alert type and summary information for each.

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) NSArray<AWFAdvisoryType *> *types;

    Swift

    var types: [AWFAdvisoryType]? { get set }