Files
sdk/docs/OpenaiChatCompletionResponseFormatJSONSchema.md

4.5 KiB

OpenaiChatCompletionResponseFormatJSONSchema

Properties

Name Type Description Notes
Description Pointer to string [optional]
Name Pointer to string [optional]
Schema Pointer to interface{} [optional]
Strict Pointer to bool [optional]

Methods

NewOpenaiChatCompletionResponseFormatJSONSchema

func NewOpenaiChatCompletionResponseFormatJSONSchema() *OpenaiChatCompletionResponseFormatJSONSchema

NewOpenaiChatCompletionResponseFormatJSONSchema instantiates a new OpenaiChatCompletionResponseFormatJSONSchema 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

NewOpenaiChatCompletionResponseFormatJSONSchemaWithDefaults

func NewOpenaiChatCompletionResponseFormatJSONSchemaWithDefaults() *OpenaiChatCompletionResponseFormatJSONSchema

NewOpenaiChatCompletionResponseFormatJSONSchemaWithDefaults instantiates a new OpenaiChatCompletionResponseFormatJSONSchema 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 *OpenaiChatCompletionResponseFormatJSONSchema) GetDescription() string

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

GetDescriptionOk

func (o *OpenaiChatCompletionResponseFormatJSONSchema) 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 *OpenaiChatCompletionResponseFormatJSONSchema) SetDescription(v string)

SetDescription sets Description field to given value.

HasDescription

func (o *OpenaiChatCompletionResponseFormatJSONSchema) HasDescription() bool

HasDescription returns a boolean if a field has been set.

GetName

func (o *OpenaiChatCompletionResponseFormatJSONSchema) GetName() string

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

GetNameOk

func (o *OpenaiChatCompletionResponseFormatJSONSchema) 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 *OpenaiChatCompletionResponseFormatJSONSchema) SetName(v string)

SetName sets Name field to given value.

HasName

func (o *OpenaiChatCompletionResponseFormatJSONSchema) HasName() bool

HasName returns a boolean if a field has been set.

GetSchema

func (o *OpenaiChatCompletionResponseFormatJSONSchema) GetSchema() interface{}

GetSchema returns the Schema field if non-nil, zero value otherwise.

GetSchemaOk

func (o *OpenaiChatCompletionResponseFormatJSONSchema) GetSchemaOk() (*interface{}, bool)

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

SetSchema

func (o *OpenaiChatCompletionResponseFormatJSONSchema) SetSchema(v interface{})

SetSchema sets Schema field to given value.

HasSchema

func (o *OpenaiChatCompletionResponseFormatJSONSchema) HasSchema() bool

HasSchema returns a boolean if a field has been set.

SetSchemaNil

func (o *OpenaiChatCompletionResponseFormatJSONSchema) SetSchemaNil(b bool)

SetSchemaNil sets the value for Schema to be an explicit nil

UnsetSchema

func (o *OpenaiChatCompletionResponseFormatJSONSchema) UnsetSchema()

UnsetSchema ensures that no value is present for Schema, not even an explicit nil

GetStrict

func (o *OpenaiChatCompletionResponseFormatJSONSchema) GetStrict() bool

GetStrict returns the Strict field if non-nil, zero value otherwise.

GetStrictOk

func (o *OpenaiChatCompletionResponseFormatJSONSchema) 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 *OpenaiChatCompletionResponseFormatJSONSchema) SetStrict(v bool)

SetStrict sets Strict field to given value.

HasStrict

func (o *OpenaiChatCompletionResponseFormatJSONSchema) HasStrict() bool

HasStrict returns a boolean if a field has been set.

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