4.1 KiB
OpenaiFunctionDefinition
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Description | Pointer to string | [optional] | |
| Name | Pointer to string | [optional] | |
| Parameters | Pointer to interface{} | [optional] | |
| Strict | Pointer to bool | [optional] |
Methods
NewOpenaiFunctionDefinition
func NewOpenaiFunctionDefinition() *OpenaiFunctionDefinition
NewOpenaiFunctionDefinition instantiates a new OpenaiFunctionDefinition 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
NewOpenaiFunctionDefinitionWithDefaults
func NewOpenaiFunctionDefinitionWithDefaults() *OpenaiFunctionDefinition
NewOpenaiFunctionDefinitionWithDefaults instantiates a new OpenaiFunctionDefinition 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
GetDescription
func (o *OpenaiFunctionDefinition) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
GetDescriptionOk
func (o *OpenaiFunctionDefinition) 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 *OpenaiFunctionDefinition) SetDescription(v string)
SetDescription sets Description field to given value.
HasDescription
func (o *OpenaiFunctionDefinition) HasDescription() bool
HasDescription returns a boolean if a field has been set.
GetName
func (o *OpenaiFunctionDefinition) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
GetNameOk
func (o *OpenaiFunctionDefinition) 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 *OpenaiFunctionDefinition) SetName(v string)
SetName sets Name field to given value.
HasName
func (o *OpenaiFunctionDefinition) HasName() bool
HasName returns a boolean if a field has been set.
GetParameters
func (o *OpenaiFunctionDefinition) GetParameters() interface{}
GetParameters returns the Parameters field if non-nil, zero value otherwise.
GetParametersOk
func (o *OpenaiFunctionDefinition) GetParametersOk() (*interface{}, bool)
GetParametersOk returns a tuple with the Parameters field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetParameters
func (o *OpenaiFunctionDefinition) SetParameters(v interface{})
SetParameters sets Parameters field to given value.
HasParameters
func (o *OpenaiFunctionDefinition) HasParameters() bool
HasParameters returns a boolean if a field has been set.
SetParametersNil
func (o *OpenaiFunctionDefinition) SetParametersNil(b bool)
SetParametersNil sets the value for Parameters to be an explicit nil
UnsetParameters
func (o *OpenaiFunctionDefinition) UnsetParameters()
UnsetParameters ensures that no value is present for Parameters, not even an explicit nil
GetStrict
func (o *OpenaiFunctionDefinition) GetStrict() bool
GetStrict returns the Strict field if non-nil, zero value otherwise.
GetStrictOk
func (o *OpenaiFunctionDefinition) GetStrictOk() (*bool, bool)
GetStrictOk returns a tuple with the Strict field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetStrict
func (o *OpenaiFunctionDefinition) SetStrict(v bool)
SetStrict sets Strict field to given value.
HasStrict
func (o *OpenaiFunctionDefinition) HasStrict() bool
HasStrict returns a boolean if a field has been set.