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

func withValue(_ value: YMMGenderType) -> YMMUserProfileUpdate

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

func withValueReset() -> YMMUserProfileUpdate

Resets the attribute value.

Returns:

The YMMUserProfileUpdate class instance.