Files
sdk/docs/OpenaiStreamOptions.md

1.7 KiB

OpenaiStreamOptions

Properties

Name Type Description Notes
IncludeUsage Pointer to bool [optional]

Methods

NewOpenaiStreamOptions

func NewOpenaiStreamOptions() *OpenaiStreamOptions

NewOpenaiStreamOptions instantiates a new OpenaiStreamOptions 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

NewOpenaiStreamOptionsWithDefaults

func NewOpenaiStreamOptionsWithDefaults() *OpenaiStreamOptions

NewOpenaiStreamOptionsWithDefaults instantiates a new OpenaiStreamOptions 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

GetIncludeUsage

func (o *OpenaiStreamOptions) GetIncludeUsage() bool

GetIncludeUsage returns the IncludeUsage field if non-nil, zero value otherwise.

GetIncludeUsageOk

func (o *OpenaiStreamOptions) GetIncludeUsageOk() (*bool, bool)

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

SetIncludeUsage

func (o *OpenaiStreamOptions) SetIncludeUsage(v bool)

SetIncludeUsage sets IncludeUsage field to given value.

HasIncludeUsage

func (o *OpenaiStreamOptions) HasIncludeUsage() bool

HasIncludeUsage returns a boolean if a field has been set.

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