NameAttribute protocol
The protocol defines methods for updating the name of a user profile.
Instance methods
Updates the attribute value. |
|
Resets the attribute value. |
Method descriptions
withValue(_:)
func withValue(_ value: String?) -> UserProfileUpdate
Updates the attribute value.
Parameters:
|
The name of the user profile. The maximum length of the user profile name is 100 characters. |
Returns:
The UserProfileUpdate
class instance.
withValueReset()
func withValueReset() -> UserProfileUpdate
Resets the attribute value.
Returns:
The UserProfileUpdate
class instance.