Class FileContentResponse
-
- All Implemented Interfaces:
public final class FileContentResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classFileContentResponse.BuilderA builder for FileContentResponse.
-
Method Summary
Modifier and Type Method Description final Optional<String>text()The text content final Optional<String>type()The content type (currently only "text")final JsonField<String>_text()Returns the raw JSON value of text. final JsonField<String>_type()Returns the raw JSON value of type. final Map<String, JsonValue>_additionalProperties()final FileContentResponse.BuildertoBuilder()final FileContentResponsevalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static FileContentResponse.Builderbuilder()Returns a mutable builder for constructing an instance of FileContentResponse. -
-
Method Detail
-
_text
final JsonField<String> _text()
Returns the raw JSON value of text.
Unlike text, this method doesn't throw if the JSON field has an unexpected type.
-
_type
final JsonField<String> _type()
Returns the raw JSON value of type.
Unlike type, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final FileContentResponse.Builder toBuilder()
-
validate
final FileContentResponse 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 FileContentResponse.Builder builder()
Returns a mutable builder for constructing an instance of FileContentResponse.
-
-
-
-