Class FileContentResponse.Builder
-
- All Implemented Interfaces:
public final class FileContentResponse.BuilderA builder for FileContentResponse.
-
-
Method Summary
Modifier and Type Method Description final FileContentResponse.Buildertext(String text)The text content final FileContentResponse.Buildertext(JsonField<String> text)Sets Builder.text to an arbitrary JSON value. final FileContentResponse.Buildertype(String type)The content type (currently only "text")final FileContentResponse.Buildertype(JsonField<String> type)Sets Builder.type to an arbitrary JSON value. final FileContentResponse.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final FileContentResponse.BuilderputAdditionalProperty(String key, JsonValue value)final FileContentResponse.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final FileContentResponse.BuilderremoveAdditionalProperty(String key)final FileContentResponse.BuilderremoveAllAdditionalProperties(Set<String> keys)final FileContentResponsebuild()Returns an immutable instance of FileContentResponse. -
-
Method Detail
-
text
final FileContentResponse.Builder text(String text)
The text content
-
text
final FileContentResponse.Builder text(JsonField<String> text)
Sets Builder.text to an arbitrary JSON value.
You should usually call Builder.text with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final FileContentResponse.Builder type(String type)
The content type (currently only
"text")
-
type
final FileContentResponse.Builder type(JsonField<String> type)
Sets Builder.type to an arbitrary JSON value.
You should usually call Builder.type with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final FileContentResponse.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final FileContentResponse.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final FileContentResponse.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final FileContentResponse.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final FileContentResponse.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final FileContentResponse build()
Returns an immutable instance of FileContentResponse.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-