CustomTextFormatParameter Class

public final class CustomTextFormatParameter
extends CustomToolParamFormat

Text format Unconstrained free-form text.

Constructor Summary

Constructor Description
CustomTextFormatParameter()

Creates an instance of CustomTextFormatParameter class.

Method Summary

Modifier and Type Method and Description
static CustomTextFormatParameter fromJson(JsonReader jsonReader)

Reads an instance of CustomTextFormatParameter from the JsonReader.

CustomToolParamFormatType getType()

Get the type property: The type property.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from CustomToolParamFormat

Methods inherited from java.lang.Object

Constructor Details

CustomTextFormatParameter

public CustomTextFormatParameter()

Creates an instance of CustomTextFormatParameter class.

Method Details

fromJson

public static CustomTextFormatParameter fromJson(JsonReader jsonReader)

Reads an instance of CustomTextFormatParameter from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of CustomTextFormatParameter if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the CustomTextFormatParameter.

getType

public CustomToolParamFormatType getType()

Get the type property: The type property.

Overrides:

CustomTextFormatParameter.getType()

Returns:

the type value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

CustomTextFormatParameter.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to