YMMGenderAttribute protocol

The protocol defines methods for updating the gender of a user profile.

Instance methods

-withValue:

Updates the gender attribute with the specified value from the YMMGenderType enum.

-withValueReset Resets the attribute value.
-withValue:

Updates the gender attribute with the specified value from the YMMGenderType enum.

-withValueReset Resets the attribute value.

Method descriptions

-withValue:

- (YMMUserProfileUpdate *)withValue:(YMMGenderType)value

Updates the gender attribute with the specified value from the YMMGenderType enum.

Parameters:
value

The value from the YMMGenderType enum.

value

The value from the YMMGenderType enum.

Returns:

The YMMUserProfileUpdate class instance.

-withValueReset

- (YMMUserProfileUpdate *)withValueReset

Resets the attribute value.

Returns:

The YMMUserProfileUpdate class instance.