5.9 KiB
AiModelPricingInfo
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Completion | Pointer to string | [optional] | |
| InputPerMillion | Pointer to float32 | [optional] | |
| OutputPerMillion | Pointer to float32 | [optional] | |
| Overrides | Pointer to []map[string]interface{} | [optional] | |
| Prompt | Pointer to string | [optional] | |
| Rates | Pointer to map[string]string | [optional] | |
| Variable | Pointer to bool | [optional] |
Methods
NewAiModelPricingInfo
func NewAiModelPricingInfo() *AiModelPricingInfo
NewAiModelPricingInfo instantiates a new AiModelPricingInfo 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
NewAiModelPricingInfoWithDefaults
func NewAiModelPricingInfoWithDefaults() *AiModelPricingInfo
NewAiModelPricingInfoWithDefaults instantiates a new AiModelPricingInfo 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
GetCompletion
func (o *AiModelPricingInfo) GetCompletion() string
GetCompletion returns the Completion field if non-nil, zero value otherwise.
GetCompletionOk
func (o *AiModelPricingInfo) GetCompletionOk() (*string, bool)
GetCompletionOk returns a tuple with the Completion field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetCompletion
func (o *AiModelPricingInfo) SetCompletion(v string)
SetCompletion sets Completion field to given value.
HasCompletion
func (o *AiModelPricingInfo) HasCompletion() bool
HasCompletion returns a boolean if a field has been set.
GetInputPerMillion
func (o *AiModelPricingInfo) GetInputPerMillion() float32
GetInputPerMillion returns the InputPerMillion field if non-nil, zero value otherwise.
GetInputPerMillionOk
func (o *AiModelPricingInfo) GetInputPerMillionOk() (*float32, bool)
GetInputPerMillionOk returns a tuple with the InputPerMillion field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetInputPerMillion
func (o *AiModelPricingInfo) SetInputPerMillion(v float32)
SetInputPerMillion sets InputPerMillion field to given value.
HasInputPerMillion
func (o *AiModelPricingInfo) HasInputPerMillion() bool
HasInputPerMillion returns a boolean if a field has been set.
GetOutputPerMillion
func (o *AiModelPricingInfo) GetOutputPerMillion() float32
GetOutputPerMillion returns the OutputPerMillion field if non-nil, zero value otherwise.
GetOutputPerMillionOk
func (o *AiModelPricingInfo) GetOutputPerMillionOk() (*float32, bool)
GetOutputPerMillionOk returns a tuple with the OutputPerMillion field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetOutputPerMillion
func (o *AiModelPricingInfo) SetOutputPerMillion(v float32)
SetOutputPerMillion sets OutputPerMillion field to given value.
HasOutputPerMillion
func (o *AiModelPricingInfo) HasOutputPerMillion() bool
HasOutputPerMillion returns a boolean if a field has been set.
GetOverrides
func (o *AiModelPricingInfo) GetOverrides() []map[string]interface{}
GetOverrides returns the Overrides field if non-nil, zero value otherwise.
GetOverridesOk
func (o *AiModelPricingInfo) GetOverridesOk() (*[]map[string]interface{}, bool)
GetOverridesOk returns a tuple with the Overrides field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetOverrides
func (o *AiModelPricingInfo) SetOverrides(v []map[string]interface{})
SetOverrides sets Overrides field to given value.
HasOverrides
func (o *AiModelPricingInfo) HasOverrides() bool
HasOverrides returns a boolean if a field has been set.
GetPrompt
func (o *AiModelPricingInfo) GetPrompt() string
GetPrompt returns the Prompt field if non-nil, zero value otherwise.
GetPromptOk
func (o *AiModelPricingInfo) GetPromptOk() (*string, bool)
GetPromptOk returns a tuple with the Prompt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetPrompt
func (o *AiModelPricingInfo) SetPrompt(v string)
SetPrompt sets Prompt field to given value.
HasPrompt
func (o *AiModelPricingInfo) HasPrompt() bool
HasPrompt returns a boolean if a field has been set.
GetRates
func (o *AiModelPricingInfo) GetRates() map[string]string
GetRates returns the Rates field if non-nil, zero value otherwise.
GetRatesOk
func (o *AiModelPricingInfo) GetRatesOk() (*map[string]string, bool)
GetRatesOk returns a tuple with the Rates field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetRates
func (o *AiModelPricingInfo) SetRates(v map[string]string)
SetRates sets Rates field to given value.
HasRates
func (o *AiModelPricingInfo) HasRates() bool
HasRates returns a boolean if a field has been set.
GetVariable
func (o *AiModelPricingInfo) GetVariable() bool
GetVariable returns the Variable field if non-nil, zero value otherwise.
GetVariableOk
func (o *AiModelPricingInfo) GetVariableOk() (*bool, bool)
GetVariableOk returns a tuple with the Variable field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetVariable
func (o *AiModelPricingInfo) SetVariable(v bool)
SetVariable sets Variable field to given value.
HasVariable
func (o *AiModelPricingInfo) HasVariable() bool
HasVariable returns a boolean if a field has been set.