BatchUserAttribute
@interface BatchUserAttribute: NSObject
/**
The value of the attribute. You can use the typed methods below to get a typed result.
*/
@property (nonatomic, nonnull) id value;
/**
The type of the value for the attribute.
*/
@property (assign, nonatomic) BatchUserAttributeType type;
/**
Get the date value for date type attributes.
@return A date value or nil if the attribute is not a date.
*/
- (nullable NSDate *)dateValue;
/**
Get the string value for string type attributes.
@return A string value or nil if the attribute is not a string.
*/
- (nullable NSString *)stringValue;
/**
Get the number value for double, long long and bool type attributes.
@return A string value or nil if the attribute is not a number.
*/
- (nullable NSNumber *)numberValue;
/**
Get the url value for url type attributes.
@return An url value or nil if the attribute is not an url.
*/
- (nullable NSURL *)urlValue;
@end
Undocumented
-
The value of the attribute. You can use the typed methods below to get a typed result.
Declaration
Objective-C
@property (nonatomic, nonnull) id value;
-
The type of the value for the attribute.
Declaration
Objective-C
@property (nonatomic) int type;
-
Get the date value for date type attributes.
Declaration
Objective-C
- (id)dateValue;
Return Value
A date value or nil if the attribute is not a date.
-
Get the string value for string type attributes.
Declaration
Objective-C
- (id)stringValue;
Return Value
A string value or nil if the attribute is not a string.
-
Get the number value for double, long long and bool type attributes.
Declaration
Objective-C
- (id)numberValue;
Return Value
A string value or nil if the attribute is not a number.
-
Get the url value for url type attributes.
Declaration
Objective-C
- (id)urlValue;
Return Value
An url value or nil if the attribute is not an url.