Class FunctionUpdateParams.Body
-
- All Implemented Interfaces:
public final class FunctionUpdateParams.Body
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classFunctionUpdateParams.Body.BuilderA builder for Body.
-
Method Summary
Modifier and Type Method Description final Optional<String>description()Textual description of the prompt final Optional<FunctionUpdateParams.FunctionData>functionData()final Optional<String>name()Name of the prompt final Optional<PromptData>promptData()The prompt, model, and its parameters final Optional<List<String>>tags()A list of tags for the prompt final JsonField<String>_description()Returns the raw JSON value of description. final JsonField<FunctionUpdateParams.FunctionData>_functionData()Returns the raw JSON value of functionData. final JsonField<String>_name()Returns the raw JSON value of name. final JsonField<PromptData>_promptData()Returns the raw JSON value of promptData. final JsonField<List<String>>_tags()Returns the raw JSON value of tags. final Map<String, JsonValue>_additionalProperties()final FunctionUpdateParams.Body.BuildertoBuilder()final FunctionUpdateParams.Bodyvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static FunctionUpdateParams.Body.Builderbuilder()Returns a mutable builder for constructing an instance of Body. -
-
Method Detail
-
description
final Optional<String> description()
Textual description of the prompt
-
functionData
final Optional<FunctionUpdateParams.FunctionData> functionData()
-
promptData
final Optional<PromptData> promptData()
The prompt, model, and its parameters
-
_description
final JsonField<String> _description()
Returns the raw JSON value of description.
Unlike description, this method doesn't throw if the JSON field has an unexpected type.
-
_functionData
final JsonField<FunctionUpdateParams.FunctionData> _functionData()
Returns the raw JSON value of functionData.
Unlike functionData, this method doesn't throw if the JSON field has an unexpected type.
-
_name
final JsonField<String> _name()
Returns the raw JSON value of name.
Unlike name, this method doesn't throw if the JSON field has an unexpected type.
-
_promptData
final JsonField<PromptData> _promptData()
Returns the raw JSON value of promptData.
Unlike promptData, this method doesn't throw if the JSON field has an unexpected type.
-
_tags
final JsonField<List<String>> _tags()
Returns the raw JSON value of tags.
Unlike tags, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final FunctionUpdateParams.Body.Builder toBuilder()
-
validate
final FunctionUpdateParams.Body validate()
-
builder
final static FunctionUpdateParams.Body.Builder builder()
Returns a mutable builder for constructing an instance of Body.
-
-
-
-