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()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()
-
builder
final static FileContentResponse.Builder builder()
Returns a mutable builder for constructing an instance of FileContentResponse.
-
-
-
-