Name | Type | Description | Notes |
---|---|---|---|
Id | string | ||
Object | string | ||
Bytes | int32 | ||
CreatedAt | int32 | ||
Filename | string | ||
Purpose | string | ||
Status | Pointer to string | [optional] | |
StatusDetails | Pointer to map[string]interface{} | [optional] |
func NewOpenAIFile(id string, object string, bytes int32, createdAt int32, filename string, purpose string, ) *OpenAIFile
NewOpenAIFile instantiates a new OpenAIFile 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
func NewOpenAIFileWithDefaults() *OpenAIFile
NewOpenAIFileWithDefaults instantiates a new OpenAIFile 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
func (o *OpenAIFile) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *OpenAIFile) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OpenAIFile) SetId(v string)
SetId sets Id field to given value.
func (o *OpenAIFile) GetObject() string
GetObject returns the Object field if non-nil, zero value otherwise.
func (o *OpenAIFile) GetObjectOk() (*string, bool)
GetObjectOk returns a tuple with the Object field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OpenAIFile) SetObject(v string)
SetObject sets Object field to given value.
func (o *OpenAIFile) GetBytes() int32
GetBytes returns the Bytes field if non-nil, zero value otherwise.
func (o *OpenAIFile) GetBytesOk() (*int32, bool)
GetBytesOk returns a tuple with the Bytes field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OpenAIFile) SetBytes(v int32)
SetBytes sets Bytes field to given value.
func (o *OpenAIFile) GetCreatedAt() int32
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
func (o *OpenAIFile) GetCreatedAtOk() (*int32, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OpenAIFile) SetCreatedAt(v int32)
SetCreatedAt sets CreatedAt field to given value.
func (o *OpenAIFile) GetFilename() string
GetFilename returns the Filename field if non-nil, zero value otherwise.
func (o *OpenAIFile) GetFilenameOk() (*string, bool)
GetFilenameOk returns a tuple with the Filename field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OpenAIFile) SetFilename(v string)
SetFilename sets Filename field to given value.
func (o *OpenAIFile) GetPurpose() string
GetPurpose returns the Purpose field if non-nil, zero value otherwise.
func (o *OpenAIFile) GetPurposeOk() (*string, bool)
GetPurposeOk returns a tuple with the Purpose field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OpenAIFile) SetPurpose(v string)
SetPurpose sets Purpose field to given value.
func (o *OpenAIFile) GetStatus() string
GetStatus returns the Status field if non-nil, zero value otherwise.
func (o *OpenAIFile) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OpenAIFile) SetStatus(v string)
SetStatus sets Status field to given value.
func (o *OpenAIFile) HasStatus() bool
HasStatus returns a boolean if a field has been set.
func (o *OpenAIFile) GetStatusDetails() map[string]interface{}
GetStatusDetails returns the StatusDetails field if non-nil, zero value otherwise.
func (o *OpenAIFile) GetStatusDetailsOk() (*map[string]interface{}, bool)
GetStatusDetailsOk returns a tuple with the StatusDetails field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *OpenAIFile) SetStatusDetails(v map[string]interface{})
SetStatusDetails sets StatusDetails field to given value.
func (o *OpenAIFile) HasStatusDetails() bool
HasStatusDetails returns a boolean if a field has been set.
func (o *OpenAIFile) SetStatusDetailsNil(b bool)
SetStatusDetailsNil sets the value for StatusDetails to be an explicit nil
func (o *OpenAIFile) UnsetStatusDetails()
UnsetStatusDetails ensures that no value is present for StatusDetails, not even an explicit nil