AWFAdvisoryType
Objective-C
@interface AWFAdvisoryType : AWFWeatherObject
Swift
class AWFAdvisoryType : AWFWeatherObject
An AWFAdvisoryType object represents alert type information returned by the alerts/summary endpoint
of the Aeris Weather API.
-
The total number of weather zones or FIPS that the alert is active within.
Declaration
Objective-C
@property (nonatomic) NSUInteger count;Swift
var count: UInt { get set } -
The alert type name.
Declaration
Objective-C
@property (nonatomic, copy, nullable) NSString *type;Swift
var type: String? { get set } -
The VTEC or WMO (if no VTEC) codes for the alert.
Declaration
Objective-C
@property (nonatomic, copy, nullable) NSString *code;Swift
var code: String? { get set } -
The 6 character hex color code for the alert. Corresponds to the AMP Alert types/colors.
Declaration
Objective-C
@property (nonatomic, copy, nullable) NSString *color;Swift
var color: String? { get set } -
The alert priority, usually based on severity and level of importance.
Declaration
Objective-C
@property (nonatomic) NSUInteger priority;Swift
var priority: UInt { get set } -
Array containing two-letter country abbreviations in which the alert is active.
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”) in which the alert is active.
Declaration
Objective-C
@property (nonatomic, strong, nullable) NSArray<NSString *> *states;Swift
var states: [String]? { get set } -
Array containing NOAA public weather zones and/or FIPS codes that in which the alert is active.
Declaration
Objective-C
@property (nonatomic, strong, nullable) NSArray<NSString *> *zones;Swift
var zones: [String]? { get set }
View on GitHub
AWFAdvisoryType Class Reference