public static class Attachment.Builder extends Object
| 构造器和说明 |
|---|
Builder() |
| 限定符和类型 | 方法和说明 |
|---|---|
Attachment |
build() |
Attachment.Builder |
fileToken(String fileToken)
attachment token
示例值:
|
Attachment.Builder |
name(String name)
attachment name
示例值:
|
Attachment.Builder |
size(Integer size)
attachment size
示例值:
|
Attachment.Builder |
tmpUrl(String tmpUrl)
temporary download url
示例值:
|
Attachment.Builder |
type(String type)
attachment type
示例值:
|
Attachment.Builder |
url(String url)
download url
示例值:
|
public Attachment.Builder fileToken(String fileToken)
示例值:
fileToken - public Attachment.Builder name(String name)
示例值:
name - public Attachment.Builder type(String type)
示例值:
type - public Attachment.Builder size(Integer size)
示例值:
size - public Attachment.Builder url(String url)
示例值:
url - public Attachment.Builder tmpUrl(String tmpUrl)
示例值:
tmpUrl - public Attachment build()
Copyright © 2024. All rights reserved.