Skip to content

Latest commit

 

History

History
134 lines (73 loc) · 3.39 KB

File metadata and controls

134 lines (73 loc) · 3.39 KB

FormFile

Properties

Name Type Description Notes
ContentType NullableString
Filename NullableString
IsSet bool
Size int64

Methods

NewFormFile

func NewFormFile(contentType NullableString, filename NullableString, isSet bool, size int64, ) *FormFile

NewFormFile instantiates a new FormFile 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

NewFormFileWithDefaults

func NewFormFileWithDefaults() *FormFile

NewFormFileWithDefaults instantiates a new FormFile 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

GetContentType

func (o *FormFile) GetContentType() string

GetContentType returns the ContentType field if non-nil, zero value otherwise.

GetContentTypeOk

func (o *FormFile) GetContentTypeOk() (*string, bool)

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

SetContentType

func (o *FormFile) SetContentType(v string)

SetContentType sets ContentType field to given value.

SetContentTypeNil

func (o *FormFile) SetContentTypeNil(b bool)

SetContentTypeNil sets the value for ContentType to be an explicit nil

UnsetContentType

func (o *FormFile) UnsetContentType()

UnsetContentType ensures that no value is present for ContentType, not even an explicit nil

GetFilename

func (o *FormFile) GetFilename() string

GetFilename returns the Filename field if non-nil, zero value otherwise.

GetFilenameOk

func (o *FormFile) 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.

SetFilename

func (o *FormFile) SetFilename(v string)

SetFilename sets Filename field to given value.

SetFilenameNil

func (o *FormFile) SetFilenameNil(b bool)

SetFilenameNil sets the value for Filename to be an explicit nil

UnsetFilename

func (o *FormFile) UnsetFilename()

UnsetFilename ensures that no value is present for Filename, not even an explicit nil

GetIsSet

func (o *FormFile) GetIsSet() bool

GetIsSet returns the IsSet field if non-nil, zero value otherwise.

GetIsSetOk

func (o *FormFile) GetIsSetOk() (*bool, bool)

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

SetIsSet

func (o *FormFile) SetIsSet(v bool)

SetIsSet sets IsSet field to given value.

GetSize

func (o *FormFile) GetSize() int64

GetSize returns the Size field if non-nil, zero value otherwise.

GetSizeOk

func (o *FormFile) GetSizeOk() (*int64, bool)

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

SetSize

func (o *FormFile) SetSize(v int64)

SetSize sets Size field to given value.

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