public class FileCreateParams extends ApiRequestParams
Modifier and Type | Class and Description |
---|---|
static class |
FileCreateParams.Builder |
static class |
FileCreateParams.FileLinkData |
static class |
FileCreateParams.Purpose
Add all map key/value pairs to `metadata` map.
|
ApiRequestParams.EnumParam
EXTRA_PARAMS_KEY
Modifier and Type | Method and Description |
---|---|
static FileCreateParams.Builder |
builder() |
java.util.Map<java.lang.String,java.lang.Object> |
toMap()
Returns untyped parameters for file creation.
|
public static FileCreateParams.Builder builder()
public java.util.Map<java.lang.String,java.lang.Object> toMap()
"file"
is the same instance
of value set in FileCreateParams.Builder.setFile(File)
or FileCreateParams.Builder.setFile(java.io.FileInputStream)
; the file is not transformed or serialized at this
level.toMap
in class ApiRequestParams