Class AgentTypeCreateParams.Body.Builder
-
- All Implemented Interfaces:
public final class AgentTypeCreateParams.Body.BuilderA builder for Body.
-
-
Method Summary
-
-
Method Detail
-
instructions
final AgentTypeCreateParams.Body.Builder instructions(String instructions)
-
instructions
final AgentTypeCreateParams.Body.Builder instructions(JsonField<String> instructions)
Sets Builder.instructions to an arbitrary JSON value.
You should usually call Builder.instructions with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
name
final AgentTypeCreateParams.Body.Builder name(String name)
-
name
final AgentTypeCreateParams.Body.Builder name(JsonField<String> name)
Sets Builder.name to an arbitrary JSON value.
You should usually call Builder.name with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
description
final AgentTypeCreateParams.Body.Builder description(String description)
-
description
final AgentTypeCreateParams.Body.Builder description(JsonField<String> description)
Sets Builder.description to an arbitrary JSON value.
You should usually call Builder.description with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
disabledTools
final AgentTypeCreateParams.Body.Builder disabledTools(List<String> disabledTools)
-
disabledTools
final AgentTypeCreateParams.Body.Builder disabledTools(JsonField<List<String>> disabledTools)
Sets Builder.disabledTools to an arbitrary JSON value.
You should usually call Builder.disabledTools with a well-typed
List<String>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addDisabledTool
final AgentTypeCreateParams.Body.Builder addDisabledTool(String disabledTool)
Adds a single String to disabledTools.
-
enabledTools
final AgentTypeCreateParams.Body.Builder enabledTools(List<String> enabledTools)
-
enabledTools
final AgentTypeCreateParams.Body.Builder enabledTools(JsonField<List<String>> enabledTools)
Sets Builder.enabledTools to an arbitrary JSON value.
You should usually call Builder.enabledTools with a well-typed
List<String>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addEnabledTool
final AgentTypeCreateParams.Body.Builder addEnabledTool(String enabledTool)
Adds a single String to enabledTools.
-
isActive
final AgentTypeCreateParams.Body.Builder isActive(Boolean isActive)
-
isActive
final AgentTypeCreateParams.Body.Builder isActive(JsonField<Boolean> isActive)
Sets Builder.isActive to an arbitrary JSON value.
You should usually call Builder.isActive with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
isDefault
final AgentTypeCreateParams.Body.Builder isDefault(Boolean isDefault)
-
isDefault
final AgentTypeCreateParams.Body.Builder isDefault(JsonField<Boolean> isDefault)
Sets Builder.isDefault to an arbitrary JSON value.
You should usually call Builder.isDefault with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
metadata
final AgentTypeCreateParams.Body.Builder metadata(AgentTypeCreateParams.Metadata metadata)
-
metadata
final AgentTypeCreateParams.Body.Builder metadata(JsonField<AgentTypeCreateParams.Metadata> metadata)
Sets Builder.metadata to an arbitrary JSON value.
You should usually call Builder.metadata with a well-typed Metadata value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
model
final AgentTypeCreateParams.Body.Builder model(String model)
-
model
final AgentTypeCreateParams.Body.Builder model(JsonField<String> model)
Sets Builder.model to an arbitrary JSON value.
You should usually call Builder.model with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
skillRefs
final AgentTypeCreateParams.Body.Builder skillRefs(List<String> skillRefs)
-
skillRefs
final AgentTypeCreateParams.Body.Builder skillRefs(JsonField<List<String>> skillRefs)
Sets Builder.skillRefs to an arbitrary JSON value.
You should usually call Builder.skillRefs with a well-typed
List<String>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addSkillRef
final AgentTypeCreateParams.Body.Builder addSkillRef(String skillRef)
-
slug
final AgentTypeCreateParams.Body.Builder slug(String slug)
-
slug
final AgentTypeCreateParams.Body.Builder slug(JsonField<String> slug)
Sets Builder.slug to an arbitrary JSON value.
You should usually call Builder.slug 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 AgentTypeCreateParams.Body.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final AgentTypeCreateParams.Body.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final AgentTypeCreateParams.Body.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final AgentTypeCreateParams.Body.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final AgentTypeCreateParams.Body.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final AgentTypeCreateParams.Body build()
Returns an immutable instance of Body.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.instructions() .name()
-
-
-
-