AMACustomStringAttribute protocol
The protocol defines methods for updating the value of a string attribute.
Instance methods
Updates the attribute value. |
|
Updates the attribute value if it wasn't set earlier. |
|
Resets the attribute value. |
Method descriptions
-withValue:
- (AMAUserProfileUpdate *)withValue:(nullable NSString *)value
Updates the attribute value.
Parameters:
|
Updates the attribute value. |
Returns:
The AMAUserProfileUpdate
class instance.
-withValueIfUndefined:
- (AMAUserProfileUpdate *)withValueIfUndefined:(nullable NSString *)value
Updates the attribute value if it wasn't set earlier.
Parameters:
|
Attribute value as a string. The maximum value length is 200 characters. |
Returns:
The AMAUserProfileUpdate
class instance.
-withValueReset
- (AMAUserProfileUpdate *)withValueReset
Resets the attribute value.
Returns:
The AMAUserProfileUpdate
class instance.