| Name | Type | Description | Notes |
|---|---|---|---|
| ApiKey | Pointer to string | API key for OpenAI | [optional] |
| ApiKeyId | Pointer to string | API key ID | [optional] |
| Description | Pointer to string | Description of the object | [optional] [default to "default_comment"] |
| Json | Pointer to bool | Set output format to JSON | [optional] [default to false] |
| KeepPrevVersion | Pointer to string | Whether to keep previous version [true/false]. If not set, use default according to account settings | [optional] |
| Key | Pointer to string | The name of a key that used to encrypt the target secret value (if empty, the account default protectionKey key will be used) | [optional] |
| MaxVersions | Pointer to string | Set the maximum number of versions, limited by the account settings defaults. | [optional] |
| Model | Pointer to string | Default model to use with OpenAI | [optional] |
| Name | string | Target name | |
| NewComment | Pointer to string | Deprecated - use description | [optional] [default to "default_comment"] |
| NewName | Pointer to string | New target name | [optional] |
| OpenaiUrl | Pointer to string | Base URL of the OpenAI API | [optional] [default to "https://api.openai.com/v1"] |
| OrganizationId | Pointer to string | Organization ID | [optional] |
| Token | Pointer to string | Authentication token (see `/auth` and `/configure`) | [optional] |
| UidToken | Pointer to string | The universal identity token, Required only for universal_identity authentication | [optional] |
func NewTargetUpdateOpenAI(name string, ) *TargetUpdateOpenAI
NewTargetUpdateOpenAI instantiates a new TargetUpdateOpenAI 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
func NewTargetUpdateOpenAIWithDefaults() *TargetUpdateOpenAI
NewTargetUpdateOpenAIWithDefaults instantiates a new TargetUpdateOpenAI 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
func (o *TargetUpdateOpenAI) GetApiKey() string
GetApiKey returns the ApiKey field if non-nil, zero value otherwise.
func (o *TargetUpdateOpenAI) GetApiKeyOk() (*string, bool)
GetApiKeyOk returns a tuple with the ApiKey field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TargetUpdateOpenAI) SetApiKey(v string)
SetApiKey sets ApiKey field to given value.
func (o *TargetUpdateOpenAI) HasApiKey() bool
HasApiKey returns a boolean if a field has been set.
func (o *TargetUpdateOpenAI) GetApiKeyId() string
GetApiKeyId returns the ApiKeyId field if non-nil, zero value otherwise.
func (o *TargetUpdateOpenAI) GetApiKeyIdOk() (*string, bool)
GetApiKeyIdOk returns a tuple with the ApiKeyId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TargetUpdateOpenAI) SetApiKeyId(v string)
SetApiKeyId sets ApiKeyId field to given value.
func (o *TargetUpdateOpenAI) HasApiKeyId() bool
HasApiKeyId returns a boolean if a field has been set.
func (o *TargetUpdateOpenAI) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *TargetUpdateOpenAI) 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.
func (o *TargetUpdateOpenAI) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *TargetUpdateOpenAI) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (o *TargetUpdateOpenAI) GetJson() bool
GetJson returns the Json field if non-nil, zero value otherwise.
func (o *TargetUpdateOpenAI) GetJsonOk() (*bool, bool)
GetJsonOk returns a tuple with the Json field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TargetUpdateOpenAI) SetJson(v bool)
SetJson sets Json field to given value.
func (o *TargetUpdateOpenAI) HasJson() bool
HasJson returns a boolean if a field has been set.
func (o *TargetUpdateOpenAI) GetKeepPrevVersion() string
GetKeepPrevVersion returns the KeepPrevVersion field if non-nil, zero value otherwise.
func (o *TargetUpdateOpenAI) GetKeepPrevVersionOk() (*string, bool)
GetKeepPrevVersionOk returns a tuple with the KeepPrevVersion field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TargetUpdateOpenAI) SetKeepPrevVersion(v string)
SetKeepPrevVersion sets KeepPrevVersion field to given value.
func (o *TargetUpdateOpenAI) HasKeepPrevVersion() bool
HasKeepPrevVersion returns a boolean if a field has been set.
func (o *TargetUpdateOpenAI) GetKey() string
GetKey returns the Key field if non-nil, zero value otherwise.
func (o *TargetUpdateOpenAI) GetKeyOk() (*string, bool)
GetKeyOk returns a tuple with the Key field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TargetUpdateOpenAI) SetKey(v string)
SetKey sets Key field to given value.
func (o *TargetUpdateOpenAI) HasKey() bool
HasKey returns a boolean if a field has been set.
func (o *TargetUpdateOpenAI) GetMaxVersions() string
GetMaxVersions returns the MaxVersions field if non-nil, zero value otherwise.
func (o *TargetUpdateOpenAI) GetMaxVersionsOk() (*string, bool)
GetMaxVersionsOk returns a tuple with the MaxVersions field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TargetUpdateOpenAI) SetMaxVersions(v string)
SetMaxVersions sets MaxVersions field to given value.
func (o *TargetUpdateOpenAI) HasMaxVersions() bool
HasMaxVersions returns a boolean if a field has been set.
func (o *TargetUpdateOpenAI) GetModel() string
GetModel returns the Model field if non-nil, zero value otherwise.
func (o *TargetUpdateOpenAI) GetModelOk() (*string, 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.
func (o *TargetUpdateOpenAI) SetModel(v string)
SetModel sets Model field to given value.
func (o *TargetUpdateOpenAI) HasModel() bool
HasModel returns a boolean if a field has been set.
func (o *TargetUpdateOpenAI) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *TargetUpdateOpenAI) 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.
func (o *TargetUpdateOpenAI) SetName(v string)
SetName sets Name field to given value.
func (o *TargetUpdateOpenAI) GetNewComment() string
GetNewComment returns the NewComment field if non-nil, zero value otherwise.
func (o *TargetUpdateOpenAI) GetNewCommentOk() (*string, bool)
GetNewCommentOk returns a tuple with the NewComment field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TargetUpdateOpenAI) SetNewComment(v string)
SetNewComment sets NewComment field to given value.
func (o *TargetUpdateOpenAI) HasNewComment() bool
HasNewComment returns a boolean if a field has been set.
func (o *TargetUpdateOpenAI) GetNewName() string
GetNewName returns the NewName field if non-nil, zero value otherwise.
func (o *TargetUpdateOpenAI) GetNewNameOk() (*string, bool)
GetNewNameOk returns a tuple with the NewName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TargetUpdateOpenAI) SetNewName(v string)
SetNewName sets NewName field to given value.
func (o *TargetUpdateOpenAI) HasNewName() bool
HasNewName returns a boolean if a field has been set.
func (o *TargetUpdateOpenAI) GetOpenaiUrl() string
GetOpenaiUrl returns the OpenaiUrl field if non-nil, zero value otherwise.
func (o *TargetUpdateOpenAI) GetOpenaiUrlOk() (*string, bool)
GetOpenaiUrlOk returns a tuple with the OpenaiUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TargetUpdateOpenAI) SetOpenaiUrl(v string)
SetOpenaiUrl sets OpenaiUrl field to given value.
func (o *TargetUpdateOpenAI) HasOpenaiUrl() bool
HasOpenaiUrl returns a boolean if a field has been set.
func (o *TargetUpdateOpenAI) GetOrganizationId() string
GetOrganizationId returns the OrganizationId field if non-nil, zero value otherwise.
func (o *TargetUpdateOpenAI) GetOrganizationIdOk() (*string, bool)
GetOrganizationIdOk returns a tuple with the OrganizationId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TargetUpdateOpenAI) SetOrganizationId(v string)
SetOrganizationId sets OrganizationId field to given value.
func (o *TargetUpdateOpenAI) HasOrganizationId() bool
HasOrganizationId returns a boolean if a field has been set.
func (o *TargetUpdateOpenAI) GetToken() string
GetToken returns the Token field if non-nil, zero value otherwise.
func (o *TargetUpdateOpenAI) GetTokenOk() (*string, bool)
GetTokenOk returns a tuple with the Token field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TargetUpdateOpenAI) SetToken(v string)
SetToken sets Token field to given value.
func (o *TargetUpdateOpenAI) HasToken() bool
HasToken returns a boolean if a field has been set.
func (o *TargetUpdateOpenAI) GetUidToken() string
GetUidToken returns the UidToken field if non-nil, zero value otherwise.
func (o *TargetUpdateOpenAI) GetUidTokenOk() (*string, bool)
GetUidTokenOk returns a tuple with the UidToken field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TargetUpdateOpenAI) SetUidToken(v string)
SetUidToken sets UidToken field to given value.
func (o *TargetUpdateOpenAI) HasUidToken() bool
HasUidToken returns a boolean if a field has been set.