Files
sdk/docs/OpenaiChatCompletionResponseFormat.md

2.8 KiB

OpenaiChatCompletionResponseFormat

Properties

Name Type Description Notes
JsonSchema Pointer to OpenaiChatCompletionResponseFormatJSONSchema [optional]
Type Pointer to string [optional]

Methods

NewOpenaiChatCompletionResponseFormat

func NewOpenaiChatCompletionResponseFormat() *OpenaiChatCompletionResponseFormat

NewOpenaiChatCompletionResponseFormat instantiates a new OpenaiChatCompletionResponseFormat 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

NewOpenaiChatCompletionResponseFormatWithDefaults

func NewOpenaiChatCompletionResponseFormatWithDefaults() *OpenaiChatCompletionResponseFormat

NewOpenaiChatCompletionResponseFormatWithDefaults instantiates a new OpenaiChatCompletionResponseFormat 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

GetJsonSchema

func (o *OpenaiChatCompletionResponseFormat) GetJsonSchema() OpenaiChatCompletionResponseFormatJSONSchema

GetJsonSchema returns the JsonSchema field if non-nil, zero value otherwise.

GetJsonSchemaOk

func (o *OpenaiChatCompletionResponseFormat) GetJsonSchemaOk() (*OpenaiChatCompletionResponseFormatJSONSchema, bool)

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

SetJsonSchema

func (o *OpenaiChatCompletionResponseFormat) SetJsonSchema(v OpenaiChatCompletionResponseFormatJSONSchema)

SetJsonSchema sets JsonSchema field to given value.

HasJsonSchema

func (o *OpenaiChatCompletionResponseFormat) HasJsonSchema() bool

HasJsonSchema returns a boolean if a field has been set.

GetType

func (o *OpenaiChatCompletionResponseFormat) GetType() string

GetType returns the Type field if non-nil, zero value otherwise.

GetTypeOk

func (o *OpenaiChatCompletionResponseFormat) GetTypeOk() (*string, bool)

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

SetType

func (o *OpenaiChatCompletionResponseFormat) SetType(v string)

SetType sets Type field to given value.

HasType

func (o *OpenaiChatCompletionResponseFormat) HasType() bool

HasType returns a boolean if a field has been set.

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