Class FileCreateParams.Body
-
- All Implemented Interfaces:
public final class FileCreateParams.Body
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classFileCreateParams.Body.BuilderA builder for Body.
-
Method Summary
Modifier and Type Method Description final Optional<InputStream>file()The File object (not file name) to be uploaded. final Optional<String>fileId()Name of the file to create. final MultipartField<InputStream>_file()Returns the raw multipart value of file. final MultipartField<String>_fileId()Returns the raw multipart value of fileId. final Map<String, JsonValue>_additionalProperties()final FileCreateParams.Body.BuildertoBuilder()final FileCreateParams.Bodyvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static FileCreateParams.Body.Builderbuilder()Returns a mutable builder for constructing an instance of Body. -
-
Method Detail
-
file
final Optional<InputStream> file()
The File object (not file name) to be uploaded.
-
_file
final MultipartField<InputStream> _file()
Returns the raw multipart value of file.
Unlike file, this method doesn't throw if the multipart field has an unexpected type.
-
_fileId
final MultipartField<String> _fileId()
Returns the raw multipart value of fileId.
Unlike fileId, this method doesn't throw if the multipart field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final FileCreateParams.Body.Builder toBuilder()
-
validate
final FileCreateParams.Body validate()
-
builder
final static FileCreateParams.Body.Builder builder()
Returns a mutable builder for constructing an instance of Body.
-
-
-
-