Class ChatSessionChatKitConfigurationParam.FileUpload
-
- All Implemented Interfaces:
public final class ChatSessionChatKitConfigurationParam.FileUploadConfiguration for upload enablement and limits. When omitted, uploads are disabled by default (max_files 10, max_file_size 512 MB).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classChatSessionChatKitConfigurationParam.FileUpload.BuilderA builder for FileUpload.
-
Method Summary
Modifier and Type Method Description final Optional<Boolean>enabled()Enable uploads for this session. final Optional<Long>maxFileSize()Maximum size in megabytes for each uploaded file. final Optional<Long>maxFiles()Maximum number of files that can be uploaded to the session. final JsonField<Boolean>_enabled()Returns the raw JSON value of enabled. final JsonField<Long>_maxFileSize()Returns the raw JSON value of maxFileSize. final JsonField<Long>_maxFiles()Returns the raw JSON value of maxFiles. final Map<String, JsonValue>_additionalProperties()final ChatSessionChatKitConfigurationParam.FileUpload.BuildertoBuilder()final ChatSessionChatKitConfigurationParam.FileUploadvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ChatSessionChatKitConfigurationParam.FileUpload.Builderbuilder()Returns a mutable builder for constructing an instance of FileUpload. -
-
Method Detail
-
maxFileSize
final Optional<Long> maxFileSize()
Maximum size in megabytes for each uploaded file. Defaults to 512 MB, which is the maximum allowable size.
-
maxFiles
final Optional<Long> maxFiles()
Maximum number of files that can be uploaded to the session. Defaults to 10.
-
_enabled
final JsonField<Boolean> _enabled()
Returns the raw JSON value of enabled.
Unlike enabled, this method doesn't throw if the JSON field has an unexpected type.
-
_maxFileSize
final JsonField<Long> _maxFileSize()
Returns the raw JSON value of maxFileSize.
Unlike maxFileSize, this method doesn't throw if the JSON field has an unexpected type.
-
_maxFiles
final JsonField<Long> _maxFiles()
Returns the raw JSON value of maxFiles.
Unlike maxFiles, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ChatSessionChatKitConfigurationParam.FileUpload.Builder toBuilder()
-
validate
final ChatSessionChatKitConfigurationParam.FileUpload validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static ChatSessionChatKitConfigurationParam.FileUpload.Builder builder()
Returns a mutable builder for constructing an instance of FileUpload.
-
-
-
-