AWFIndex
Objective-C
@interface AWFIndex : AWFWeatherObject
Swift
class AWFIndex : AWFWeatherObject
An AWFIndex
object represents data for a single index value returned by the indices endpoint
of the Aeris Weather API.
-
The index type this item is associated with.
Declaration
Objective-C
@property (nonatomic, nullable) AWFIndexDataType type;
Swift
unowned(unsafe) var type: NSString? { get set }
-
The date for the period.
Declaration
Objective-C
@property (nonatomic, strong, nullable) NSDate *timestamp;
Swift
var timestamp: Date? { get set }
-
The index value for the period. Refer to the
AWFIndexPeriod
instance this index item belongs to for the available range this index value can be.See
AWFIndexPeriodDeclaration
Objective-C
@property (nonatomic) NSInteger index;
Swift
var index: Int { get set }
-
The generic string representation for the index value. This value can vary depending on the range of index values and whether or not the scale is reversed.
Declaration
Objective-C
@property (nonatomic, copy, nullable) NSString *indexString;
Swift
var indexString: String? { get set }