public static class UserCustomAttrValue.Builder extends Object
| 构造器和说明 |
|---|
Builder() |
| 限定符和类型 | 方法和说明 |
|---|---|
UserCustomAttrValue |
build() |
UserCustomAttrValue.Builder |
genericUser(CustomAttrGenericUser genericUser)
字段类型为 GENERIC_USER 时,该参数定义引用人员
示例值:
|
UserCustomAttrValue.Builder |
name(String name)
选项类型为图片时,表示图片的名称
示例值:name
|
UserCustomAttrValue.Builder |
optionId(String optionId)
字段类型为 ENUMERATION 或 PICTURE_ENUM 时,该参数定义选项值
示例值:edcvfrtg
|
UserCustomAttrValue.Builder |
optionValue(String optionValue)
选项类型的值。
|
UserCustomAttrValue.Builder |
pcUrl(String pcUrl)
字段类型为 HREF 时,该参数定义PC端 URL
示例值:http://www.fs.cn
|
UserCustomAttrValue.Builder |
pictureUrl(String pictureUrl)
图片链接
示例值:https://xxxxxxxxxxxxxxxxxx
|
UserCustomAttrValue.Builder |
text(String text)
字段类型为`TEXT`时该参数定义字段值,必填;字段类型为`HREF`时该参数定义网页标题,必填
示例值:DemoText
|
UserCustomAttrValue.Builder |
url(String url)
字段类型为 HREF 时,该参数定义默认 URL,例如手机端跳转小程序,PC端跳转网页
示例值:http://www.fs.cn
|
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 © 2022. All rights reserved.