Class BetaResponseOutputText.Annotation.FilePath
-
- All Implemented Interfaces:
public final class BetaResponseOutputText.Annotation.FilePathA path to a file.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaResponseOutputText.Annotation.FilePath.BuilderA builder for FilePath.
-
Method Summary
Modifier and Type Method Description final StringfileId()The ID of the file. final Longindex()The index of the file in the list of files. final JsonValue_type()The type of the file path. final JsonField<String>_fileId()Returns the raw JSON value of fileId. final JsonField<Long>_index()Returns the raw JSON value of index. final Map<String, JsonValue>_additionalProperties()final BetaResponseOutputText.Annotation.FilePath.BuildertoBuilder()final BetaResponseOutputText.Annotation.FilePathvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaResponseOutputText.Annotation.FilePath.Builderbuilder()Returns a mutable builder for constructing an instance of FilePath. -
-
Method Detail
-
_type
final JsonValue _type()
The type of the file path. Always
file_path.Expected to always return the following:
JsonValue.from("file_path")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.
-
_index
final JsonField<Long> _index()
Returns the raw JSON value of index.
Unlike index, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaResponseOutputText.Annotation.FilePath.Builder toBuilder()
-
validate
final BetaResponseOutputText.Annotation.FilePath 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 BetaResponseOutputText.Annotation.FilePath.Builder builder()
Returns a mutable builder for constructing an instance of FilePath.
The following fields are required:
.fileId() .index()
-
-
-
-