Package com.anthropic.models.files
Class FileNotDownloadableErrorDetails
-
- All Implemented Interfaces:
public final class FileNotDownloadableErrorDetailsThe file has
downloadable: false. Only files generated by a tool, such as the code execution tool, can be downloaded.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classFileNotDownloadableErrorDetails.BuilderA builder for FileNotDownloadableErrorDetails.
-
Method Summary
Modifier and Type Method Description final JsonValue_errorCode()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("file_not_downloadable")final Map<String, JsonValue>_additionalProperties()final FileNotDownloadableErrorDetails.BuildertoBuilder()final FileNotDownloadableErrorDetailsvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static FileNotDownloadableErrorDetails.Builderbuilder()Returns a mutable builder for constructing an instance of FileNotDownloadableErrorDetails. -
-
Method Detail
-
_errorCode
final JsonValue _errorCode()
Expected to always return the following:
JsonValue.from("file_not_downloadable")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final FileNotDownloadableErrorDetails.Builder toBuilder()
-
validate
final FileNotDownloadableErrorDetails 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 FileNotDownloadableErrorDetails.Builder builder()
Returns a mutable builder for constructing an instance of FileNotDownloadableErrorDetails.
-
-
-
-