NameAttribute 协议
该协议定义了更新用户个人资料名称的方法。
Instance methods
|
更新属性值。 |
|
|
重置属性值。 |
Method descriptions
withValue(_:)
func withValue(_ value: String?) -> UserProfileUpdate
更新属性值。
参数:
|
|
用户资料的名称。 用户个人资料名称的最大长度为100个字符。 |
返回:
The 用户配置更新 类实例。
withValueReset()
func withValueReset() -> UserProfileUpdate
重置属性值。
返回:
The 用户配置更新 类实例。