Skip to content

Latest commit

 

History

History
187 lines (100 loc) · 4.83 KB

UnpackResults.md

File metadata and controls

187 lines (100 loc) · 4.83 KB

UnpackResults

Properties

Name Type Description Notes
Id string Unpack submission ID
Status Status
Sha256 string SHA256 hash of the submitted file
Time float32 Timestamp of original submission (in UTC)
Private Pointer to bool Sample is private [optional]
UserSubmitted Pointer to bool Sample was submitted by current user [optional]
Results []Result Array of results from submission, including the parent

Methods

NewUnpackResults

func NewUnpackResults(id string, status Status, sha256 string, time float32, results []Result, ) *UnpackResults

NewUnpackResults instantiates a new UnpackResults 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

NewUnpackResultsWithDefaults

func NewUnpackResultsWithDefaults() *UnpackResults

NewUnpackResultsWithDefaults instantiates a new UnpackResults 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

GetId

func (o *UnpackResults) GetId() string

GetId returns the Id field if non-nil, zero value otherwise.

GetIdOk

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

SetId

func (o *UnpackResults) SetId(v string)

SetId sets Id field to given value.

GetStatus

func (o *UnpackResults) GetStatus() Status

GetStatus returns the Status field if non-nil, zero value otherwise.

GetStatusOk

func (o *UnpackResults) GetStatusOk() (*Status, 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.

SetStatus

func (o *UnpackResults) SetStatus(v Status)

SetStatus sets Status field to given value.

GetSha256

func (o *UnpackResults) GetSha256() string

GetSha256 returns the Sha256 field if non-nil, zero value otherwise.

GetSha256Ok

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

SetSha256

func (o *UnpackResults) SetSha256(v string)

SetSha256 sets Sha256 field to given value.

GetTime

func (o *UnpackResults) GetTime() float32

GetTime returns the Time field if non-nil, zero value otherwise.

GetTimeOk

func (o *UnpackResults) GetTimeOk() (*float32, bool)

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

SetTime

func (o *UnpackResults) SetTime(v float32)

SetTime sets Time field to given value.

GetPrivate

func (o *UnpackResults) GetPrivate() bool

GetPrivate returns the Private field if non-nil, zero value otherwise.

GetPrivateOk

func (o *UnpackResults) GetPrivateOk() (*bool, bool)

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

SetPrivate

func (o *UnpackResults) SetPrivate(v bool)

SetPrivate sets Private field to given value.

HasPrivate

func (o *UnpackResults) HasPrivate() bool

HasPrivate returns a boolean if a field has been set.

GetUserSubmitted

func (o *UnpackResults) GetUserSubmitted() bool

GetUserSubmitted returns the UserSubmitted field if non-nil, zero value otherwise.

GetUserSubmittedOk

func (o *UnpackResults) GetUserSubmittedOk() (*bool, bool)

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

SetUserSubmitted

func (o *UnpackResults) SetUserSubmitted(v bool)

SetUserSubmitted sets UserSubmitted field to given value.

HasUserSubmitted

func (o *UnpackResults) HasUserSubmitted() bool

HasUserSubmitted returns a boolean if a field has been set.

GetResults

func (o *UnpackResults) GetResults() []Result

GetResults returns the Results field if non-nil, zero value otherwise.

GetResultsOk

func (o *UnpackResults) GetResultsOk() (*[]Result, bool)

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

SetResults

func (o *UnpackResults) SetResults(v []Result)

SetResults sets Results field to given value.

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