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(_:)

func withValue(_ value: YMMGenderType) -> YMMUserProfileUpdate

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()

func withValueReset() -> YMMUserProfileUpdate

Resets the attribute value.

Returns:

The instance of the YMMUserProfileUpdate class.