Skip to content

Latest commit

 

History

History
342 lines (185 loc) · 9.8 KB

File metadata and controls

342 lines (185 loc) · 9.8 KB

AIConfigVariationPatch

Properties

Name Type Description Notes
Comment Pointer to string Human-readable description of what this patch changes [optional]
Description Pointer to string Description for agent when AI Config is in agent mode. [optional]
Instructions Pointer to string Instructions for agent when AI Config is in agent mode. [optional]
Messages Pointer to []Message [optional]
Model Pointer to map[string]interface{} [optional]
ModelConfigKey Pointer to string [optional]
Name Pointer to string [optional]
Published Pointer to bool [optional]
State Pointer to string One of 'archived', 'published' [optional]
Tools Pointer to []VariationToolPost List of tools to use for this variation. The latest version of the tool will be used. [optional]
ToolKeys Pointer to []string List of tool keys to use for this variation. The latest version of the tool will be used. [optional]
JudgeConfiguration Pointer to JudgeConfiguration [optional]

Methods

NewAIConfigVariationPatch

func NewAIConfigVariationPatch() *AIConfigVariationPatch

NewAIConfigVariationPatch instantiates a new AIConfigVariationPatch object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

NewAIConfigVariationPatchWithDefaults

func NewAIConfigVariationPatchWithDefaults() *AIConfigVariationPatch

NewAIConfigVariationPatchWithDefaults instantiates a new AIConfigVariationPatch object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

GetComment

func (o *AIConfigVariationPatch) GetComment() string

GetComment returns the Comment field if non-nil, zero value otherwise.

GetCommentOk

func (o *AIConfigVariationPatch) GetCommentOk() (*string, bool)

GetCommentOk returns a tuple with the Comment field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetComment

func (o *AIConfigVariationPatch) SetComment(v string)

SetComment sets Comment field to given value.

HasComment

func (o *AIConfigVariationPatch) HasComment() bool

HasComment returns a boolean if a field has been set.

GetDescription

func (o *AIConfigVariationPatch) GetDescription() string

GetDescription returns the Description field if non-nil, zero value otherwise.

GetDescriptionOk

func (o *AIConfigVariationPatch) GetDescriptionOk() (*string, bool)

GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetDescription

func (o *AIConfigVariationPatch) SetDescription(v string)

SetDescription sets Description field to given value.

HasDescription

func (o *AIConfigVariationPatch) HasDescription() bool

HasDescription returns a boolean if a field has been set.

GetInstructions

func (o *AIConfigVariationPatch) GetInstructions() string

GetInstructions returns the Instructions field if non-nil, zero value otherwise.

GetInstructionsOk

func (o *AIConfigVariationPatch) GetInstructionsOk() (*string, bool)

GetInstructionsOk returns a tuple with the Instructions field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetInstructions

func (o *AIConfigVariationPatch) SetInstructions(v string)

SetInstructions sets Instructions field to given value.

HasInstructions

func (o *AIConfigVariationPatch) HasInstructions() bool

HasInstructions returns a boolean if a field has been set.

GetMessages

func (o *AIConfigVariationPatch) GetMessages() []Message

GetMessages returns the Messages field if non-nil, zero value otherwise.

GetMessagesOk

func (o *AIConfigVariationPatch) GetMessagesOk() (*[]Message, bool)

GetMessagesOk returns a tuple with the Messages field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetMessages

func (o *AIConfigVariationPatch) SetMessages(v []Message)

SetMessages sets Messages field to given value.

HasMessages

func (o *AIConfigVariationPatch) HasMessages() bool

HasMessages returns a boolean if a field has been set.

GetModel

func (o *AIConfigVariationPatch) GetModel() map[string]interface{}

GetModel returns the Model field if non-nil, zero value otherwise.

GetModelOk

func (o *AIConfigVariationPatch) GetModelOk() (*map[string]interface{}, bool)

GetModelOk returns a tuple with the Model field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetModel

func (o *AIConfigVariationPatch) SetModel(v map[string]interface{})

SetModel sets Model field to given value.

HasModel

func (o *AIConfigVariationPatch) HasModel() bool

HasModel returns a boolean if a field has been set.

GetModelConfigKey

func (o *AIConfigVariationPatch) GetModelConfigKey() string

GetModelConfigKey returns the ModelConfigKey field if non-nil, zero value otherwise.

GetModelConfigKeyOk

func (o *AIConfigVariationPatch) GetModelConfigKeyOk() (*string, bool)

GetModelConfigKeyOk returns a tuple with the ModelConfigKey field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetModelConfigKey

func (o *AIConfigVariationPatch) SetModelConfigKey(v string)

SetModelConfigKey sets ModelConfigKey field to given value.

HasModelConfigKey

func (o *AIConfigVariationPatch) HasModelConfigKey() bool

HasModelConfigKey returns a boolean if a field has been set.

GetName

func (o *AIConfigVariationPatch) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

func (o *AIConfigVariationPatch) GetNameOk() (*string, bool)

GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetName

func (o *AIConfigVariationPatch) SetName(v string)

SetName sets Name field to given value.

HasName

func (o *AIConfigVariationPatch) HasName() bool

HasName returns a boolean if a field has been set.

GetPublished

func (o *AIConfigVariationPatch) GetPublished() bool

GetPublished returns the Published field if non-nil, zero value otherwise.

GetPublishedOk

func (o *AIConfigVariationPatch) GetPublishedOk() (*bool, bool)

GetPublishedOk returns a tuple with the Published field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetPublished

func (o *AIConfigVariationPatch) SetPublished(v bool)

SetPublished sets Published field to given value.

HasPublished

func (o *AIConfigVariationPatch) HasPublished() bool

HasPublished returns a boolean if a field has been set.

GetState

func (o *AIConfigVariationPatch) GetState() string

GetState returns the State field if non-nil, zero value otherwise.

GetStateOk

func (o *AIConfigVariationPatch) GetStateOk() (*string, bool)

GetStateOk returns a tuple with the State field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetState

func (o *AIConfigVariationPatch) SetState(v string)

SetState sets State field to given value.

HasState

func (o *AIConfigVariationPatch) HasState() bool

HasState returns a boolean if a field has been set.

GetTools

func (o *AIConfigVariationPatch) GetTools() []VariationToolPost

GetTools returns the Tools field if non-nil, zero value otherwise.

GetToolsOk

func (o *AIConfigVariationPatch) GetToolsOk() (*[]VariationToolPost, bool)

GetToolsOk returns a tuple with the Tools field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetTools

func (o *AIConfigVariationPatch) SetTools(v []VariationToolPost)

SetTools sets Tools field to given value.

HasTools

func (o *AIConfigVariationPatch) HasTools() bool

HasTools returns a boolean if a field has been set.

GetToolKeys

func (o *AIConfigVariationPatch) GetToolKeys() []string

GetToolKeys returns the ToolKeys field if non-nil, zero value otherwise.

GetToolKeysOk

func (o *AIConfigVariationPatch) GetToolKeysOk() (*[]string, bool)

GetToolKeysOk returns a tuple with the ToolKeys field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetToolKeys

func (o *AIConfigVariationPatch) SetToolKeys(v []string)

SetToolKeys sets ToolKeys field to given value.

HasToolKeys

func (o *AIConfigVariationPatch) HasToolKeys() bool

HasToolKeys returns a boolean if a field has been set.

GetJudgeConfiguration

func (o *AIConfigVariationPatch) GetJudgeConfiguration() JudgeConfiguration

GetJudgeConfiguration returns the JudgeConfiguration field if non-nil, zero value otherwise.

GetJudgeConfigurationOk

func (o *AIConfigVariationPatch) GetJudgeConfigurationOk() (*JudgeConfiguration, bool)

GetJudgeConfigurationOk returns a tuple with the JudgeConfiguration field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetJudgeConfiguration

func (o *AIConfigVariationPatch) SetJudgeConfiguration(v JudgeConfiguration)

SetJudgeConfiguration sets JudgeConfiguration field to given value.

HasJudgeConfiguration

func (o *AIConfigVariationPatch) HasJudgeConfiguration() bool

HasJudgeConfiguration returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]