public static class UserCustomAttrValue.Builder extends Object
| 构造器和说明 |
|---|
Builder() |
| 限定符和类型 | 方法和说明 |
|---|---|
UserCustomAttrValue |
build() |
UserCustomAttrValue.Builder |
genericUser(CustomAttrGenericUser genericUser)
字段类型为 `GENERIC_USER` 时,该参数返回定义的引用人员信息。
|
UserCustomAttrValue.Builder |
name(String name)
选项类型为图片时,图片的名称。
|
UserCustomAttrValue.Builder |
optionId(String optionId)
字段类型为 `ENUMERATION` 或 `PICTURE_ENUM` 时,该参数返回定义的选项 ID。
|
UserCustomAttrValue.Builder |
optionValue(String optionValue)
选项类型的值,即用户详情或自定义字段中选中的选项值。
|
UserCustomAttrValue.Builder |
pcUrl(String pcUrl)
字段类型为 HREF 时,如果为 PC 端设置了 URL,则该参数返回定义的 PC 端 URL。
|
UserCustomAttrValue.Builder |
pictureUrl(String pictureUrl)
选项类型为图片时,图片的链接。
|
UserCustomAttrValue.Builder |
text(String text)
- 字段类型为 TEXT 时,该参数返回定义的字段值。
|
UserCustomAttrValue.Builder |
url(String url)
字段类型为 HREF 时,该参数返回定义的默认 URL。
|
public UserCustomAttrValue.Builder text(String text)
示例值:DemoText
text - public UserCustomAttrValue.Builder url(String url)
示例值:http://www.fs.cn
url - public UserCustomAttrValue.Builder pcUrl(String pcUrl)
示例值:http://www.fs.cn
pcUrl - public UserCustomAttrValue.Builder optionId(String optionId)
示例值:edcvfrtg
optionId - public UserCustomAttrValue.Builder optionValue(String optionValue)
示例值:option
optionValue - public UserCustomAttrValue.Builder name(String name)
示例值:name
name - public UserCustomAttrValue.Builder pictureUrl(String pictureUrl)
示例值:https://xxxxxxxxxxxxxxxxxx
pictureUrl - public UserCustomAttrValue.Builder genericUser(CustomAttrGenericUser genericUser)
示例值:
genericUser - public UserCustomAttrValue build()
Copyright © 2026. All rights reserved.