Class ChatSessionFileUpload
-
- All Implemented Interfaces:
public final class ChatSessionFileUpload
Upload permissions and limits applied to the session.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
ChatSessionFileUpload.Builder
A builder for ChatSessionFileUpload.
-
Method Summary
Modifier and Type Method Description final Boolean
enabled()
Indicates if uploads are enabled for the session. final Optional<Long>
maxFileSize()
Maximum upload size in megabytes. final Optional<Long>
maxFiles()
Maximum number of uploads allowed during 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 ChatSessionFileUpload.Builder
toBuilder()
final ChatSessionFileUpload
validate()
final Boolean
isValid()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static ChatSessionFileUpload.Builder
builder()
Returns a mutable builder for constructing an instance of ChatSessionFileUpload. -
-
Method Detail
-
maxFileSize
final Optional<Long> maxFileSize()
Maximum upload size in megabytes.
-
_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 ChatSessionFileUpload.Builder toBuilder()
-
validate
final ChatSessionFileUpload validate()
-
builder
final static ChatSessionFileUpload.Builder builder()
Returns a mutable builder for constructing an instance of ChatSessionFileUpload.
The following fields are required:
.enabled() .maxFileSize() .maxFiles()
-
-
-
-