Name | Type | Description | Notes |
---|---|---|---|
DirectPath | string | ||
FileEncSha256 | []int32 | ||
FileLength | int32 | ||
FileSha256 | []int32 | ||
MediaKey | []int32 | ||
MimeType | string | ||
Url | string |
func NewFileUpload(directPath string, fileEncSha256 []int32, fileLength int32, fileSha256 []int32, mediaKey []int32, mimeType string, url string, ) *FileUpload
NewFileUpload instantiates a new FileUpload 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 NewFileUploadWithDefaults() *FileUpload
NewFileUploadWithDefaults instantiates a new FileUpload 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 *FileUpload) GetDirectPath() string
GetDirectPath returns the DirectPath field if non-nil, zero value otherwise.
func (o *FileUpload) GetDirectPathOk() (*string, bool)
GetDirectPathOk returns a tuple with the DirectPath field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *FileUpload) SetDirectPath(v string)
SetDirectPath sets DirectPath field to given value.
func (o *FileUpload) GetFileEncSha256() []int32
GetFileEncSha256 returns the FileEncSha256 field if non-nil, zero value otherwise.
func (o *FileUpload) GetFileEncSha256Ok() (*[]int32, bool)
GetFileEncSha256Ok returns a tuple with the FileEncSha256 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *FileUpload) SetFileEncSha256(v []int32)
SetFileEncSha256 sets FileEncSha256 field to given value.
func (o *FileUpload) GetFileLength() int32
GetFileLength returns the FileLength field if non-nil, zero value otherwise.
func (o *FileUpload) GetFileLengthOk() (*int32, bool)
GetFileLengthOk returns a tuple with the FileLength field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *FileUpload) SetFileLength(v int32)
SetFileLength sets FileLength field to given value.
func (o *FileUpload) GetFileSha256() []int32
GetFileSha256 returns the FileSha256 field if non-nil, zero value otherwise.
func (o *FileUpload) GetFileSha256Ok() (*[]int32, bool)
GetFileSha256Ok returns a tuple with the FileSha256 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *FileUpload) SetFileSha256(v []int32)
SetFileSha256 sets FileSha256 field to given value.
func (o *FileUpload) GetMediaKey() []int32
GetMediaKey returns the MediaKey field if non-nil, zero value otherwise.
func (o *FileUpload) GetMediaKeyOk() (*[]int32, bool)
GetMediaKeyOk returns a tuple with the MediaKey field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *FileUpload) SetMediaKey(v []int32)
SetMediaKey sets MediaKey field to given value.
func (o *FileUpload) GetMimeType() string
GetMimeType returns the MimeType field if non-nil, zero value otherwise.
func (o *FileUpload) GetMimeTypeOk() (*string, bool)
GetMimeTypeOk returns a tuple with the MimeType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *FileUpload) SetMimeType(v string)
SetMimeType sets MimeType field to given value.
func (o *FileUpload) GetUrl() string
GetUrl returns the Url field if non-nil, zero value otherwise.
func (o *FileUpload) GetUrlOk() (*string, bool)
GetUrlOk returns a tuple with the Url field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *FileUpload) SetUrl(v string)
SetUrl sets Url field to given value.