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.

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 enumeration.

Returns:

The instance of the YMMUserProfileUpdate class.

-withValueReset

- (YMMUserProfileUpdate *)withValueReset

Resets the attribute value.

Returns:

The instance of the YMMUserProfileUpdate class.