YMMNameAttribute protocol

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

Instance methods

withValue(_:) Updates the attribute value.
withValueReset() Resets the attribute value.
withValue(_:) Updates the attribute value.
withValueReset() Resets the attribute value.

Method descriptions

withValue(_:)

func withValue(_ value: String?) -> YMMUserProfileUpdate

Updates the attribute value.

Parameters:
value

The name of the user profile. The maximum length of the user profile name is 100 characters.

value

The name of the user profile. The maximum length of the user profile name is 100 characters.

Returns:

The YMMUserProfileUpdate class instance.

withValueReset()

func withValueReset() -> YMMUserProfileUpdate

Resets the attribute value.

Returns:

The YMMUserProfileUpdate class instance.