Name | Type | Description | Notes |
---|---|---|---|
Value | string | ||
Type | Pointer to string | [optional] [default to "file"] | |
Created | Pointer to time.Time | [optional] | |
Context | Pointer to []map[string]interface{} | [optional] [default to []] | |
LastAnalysis | Pointer to map[string]time.Time | [optional] [default to {}] | |
Name | Pointer to NullableString | [optional] | |
Size | Pointer to NullableInt32 | [optional] | |
Sha256 | Pointer to NullableString | [optional] | |
Md5 | Pointer to NullableString | [optional] | |
Sha1 | Pointer to NullableString | [optional] | |
MimeType | Pointer to NullableString | [optional] |
func NewFileInput(value string, ) *FileInput
NewFileInput instantiates a new FileInput 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 NewFileInputWithDefaults() *FileInput
NewFileInputWithDefaults instantiates a new FileInput 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 *FileInput) GetValue() string
GetValue returns the Value field if non-nil, zero value otherwise.
func (o *FileInput) GetValueOk() (*string, bool)
GetValueOk returns a tuple with the Value field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *FileInput) SetValue(v string)
SetValue sets Value field to given value.
func (o *FileInput) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (o *FileInput) 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.
func (o *FileInput) SetType(v string)
SetType sets Type field to given value.
func (o *FileInput) HasType() bool
HasType returns a boolean if a field has been set.
func (o *FileInput) GetCreated() time.Time
GetCreated returns the Created field if non-nil, zero value otherwise.
func (o *FileInput) GetCreatedOk() (*time.Time, bool)
GetCreatedOk returns a tuple with the Created field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *FileInput) SetCreated(v time.Time)
SetCreated sets Created field to given value.
func (o *FileInput) HasCreated() bool
HasCreated returns a boolean if a field has been set.
func (o *FileInput) GetContext() []map[string]interface{}
GetContext returns the Context field if non-nil, zero value otherwise.
func (o *FileInput) GetContextOk() (*[]map[string]interface{}, bool)
GetContextOk returns a tuple with the Context field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *FileInput) SetContext(v []map[string]interface{})
SetContext sets Context field to given value.
func (o *FileInput) HasContext() bool
HasContext returns a boolean if a field has been set.
func (o *FileInput) GetLastAnalysis() map[string]time.Time
GetLastAnalysis returns the LastAnalysis field if non-nil, zero value otherwise.
func (o *FileInput) GetLastAnalysisOk() (*map[string]time.Time, bool)
GetLastAnalysisOk returns a tuple with the LastAnalysis field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *FileInput) SetLastAnalysis(v map[string]time.Time)
SetLastAnalysis sets LastAnalysis field to given value.
func (o *FileInput) HasLastAnalysis() bool
HasLastAnalysis returns a boolean if a field has been set.
func (o *FileInput) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *FileInput) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *FileInput) SetName(v string)
SetName sets Name field to given value.
func (o *FileInput) HasName() bool
HasName returns a boolean if a field has been set.
func (o *FileInput) SetNameNil(b bool)
SetNameNil sets the value for Name to be an explicit nil
func (o *FileInput) UnsetName()
UnsetName ensures that no value is present for Name, not even an explicit nil
func (o *FileInput) GetSize() int32
GetSize returns the Size field if non-nil, zero value otherwise.
func (o *FileInput) GetSizeOk() (*int32, 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.
func (o *FileInput) SetSize(v int32)
SetSize sets Size field to given value.
func (o *FileInput) HasSize() bool
HasSize returns a boolean if a field has been set.
func (o *FileInput) SetSizeNil(b bool)
SetSizeNil sets the value for Size to be an explicit nil
func (o *FileInput) UnsetSize()
UnsetSize ensures that no value is present for Size, not even an explicit nil
func (o *FileInput) GetSha256() string
GetSha256 returns the Sha256 field if non-nil, zero value otherwise.
func (o *FileInput) GetSha256Ok() (*string, bool)
GetSha256Ok returns a tuple with the Sha256 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *FileInput) SetSha256(v string)
SetSha256 sets Sha256 field to given value.
func (o *FileInput) HasSha256() bool
HasSha256 returns a boolean if a field has been set.
func (o *FileInput) SetSha256Nil(b bool)
SetSha256Nil sets the value for Sha256 to be an explicit nil
func (o *FileInput) UnsetSha256()
UnsetSha256 ensures that no value is present for Sha256, not even an explicit nil
func (o *FileInput) GetMd5() string
GetMd5 returns the Md5 field if non-nil, zero value otherwise.
func (o *FileInput) GetMd5Ok() (*string, bool)
GetMd5Ok returns a tuple with the Md5 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *FileInput) SetMd5(v string)
SetMd5 sets Md5 field to given value.
func (o *FileInput) HasMd5() bool
HasMd5 returns a boolean if a field has been set.
func (o *FileInput) SetMd5Nil(b bool)
SetMd5Nil sets the value for Md5 to be an explicit nil
func (o *FileInput) UnsetMd5()
UnsetMd5 ensures that no value is present for Md5, not even an explicit nil
func (o *FileInput) GetSha1() string
GetSha1 returns the Sha1 field if non-nil, zero value otherwise.
func (o *FileInput) GetSha1Ok() (*string, bool)
GetSha1Ok returns a tuple with the Sha1 field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *FileInput) SetSha1(v string)
SetSha1 sets Sha1 field to given value.
func (o *FileInput) HasSha1() bool
HasSha1 returns a boolean if a field has been set.
func (o *FileInput) SetSha1Nil(b bool)
SetSha1Nil sets the value for Sha1 to be an explicit nil
func (o *FileInput) UnsetSha1()
UnsetSha1 ensures that no value is present for Sha1, not even an explicit nil
func (o *FileInput) GetMimeType() string
GetMimeType returns the MimeType field if non-nil, zero value otherwise.
func (o *FileInput) 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 *FileInput) SetMimeType(v string)
SetMimeType sets MimeType field to given value.
func (o *FileInput) HasMimeType() bool
HasMimeType returns a boolean if a field has been set.
func (o *FileInput) SetMimeTypeNil(b bool)
SetMimeTypeNil sets the value for MimeType to be an explicit nil
func (o *FileInput) UnsetMimeType()
UnsetMimeType ensures that no value is present for MimeType, not even an explicit nil