AMACustomBoolAttribute protocol

The protocol defines methods for updating the value of a boolean attribute.

Instance methods

-withValue:

Updates the attribute value.

-withValueIfUndefined:

Updates the attribute value if it wasn't set earlier.

-withValueReset

Resets the attribute value.

Method descriptions

-withValue:

- (AMAUserProfileUpdate *)withValue:(BOOL)value

Updates the attribute value.

Parameters:

value

Attribute value: YES or NO.

Returns:

The AMAUserProfileUpdate class instance.

-withValueIfUndefined:

- (AMAUserProfileUpdate *)withValueIfUndefined:(BOOL)value

Updates the attribute value if it wasn't set earlier.

Parameters:

value

Attribute value: YES or NO.

Returns:

The AMAUserProfileUpdate class instance.

-withValueReset

- (AMAUserProfileUpdate *)withValueReset

Resets the attribute value.

Returns:

The AMAUserProfileUpdate class instance.