Package com.anthropic.models.messages
Class ContainerUploadBlock
-
- All Implemented Interfaces:
public final class ContainerUploadBlockResponse model for a file uploaded to the container.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classContainerUploadBlock.BuilderA builder for ContainerUploadBlock.
-
Method Summary
Modifier and Type Method Description final ContainerUploadBlockParamtoParam()final StringfileId()final JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("container_upload")final JsonField<String>_fileId()Returns the raw JSON value of fileId. final Map<String, JsonValue>_additionalProperties()final ContainerUploadBlock.BuildertoBuilder()final ContainerUploadBlockvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ContainerUploadBlock.Builderbuilder()Returns a mutable builder for constructing an instance of ContainerUploadBlock. -
-
Method Detail
-
toParam
final ContainerUploadBlockParam toParam()
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("container_upload")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_fileId
final JsonField<String> _fileId()
Returns the raw JSON value of fileId.
Unlike fileId, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ContainerUploadBlock.Builder toBuilder()
-
validate
final ContainerUploadBlock validate()
-
builder
final static ContainerUploadBlock.Builder builder()
Returns a mutable builder for constructing an instance of ContainerUploadBlock.
The following fields are required:
.fileId()
-
-
-
-