Skip to content

Latest commit

 

History

History
98 lines (53 loc) · 2.87 KB

CreateSubmissionResponse.md

File metadata and controls

98 lines (53 loc) · 2.87 KB

CreateSubmissionResponse

Properties

Name Type Description Notes
Status string
Submission SubmissionPreview
Errors Pointer to []string [optional]

Methods

NewCreateSubmissionResponse

func NewCreateSubmissionResponse(status string, submission SubmissionPreview, ) *CreateSubmissionResponse

NewCreateSubmissionResponse instantiates a new CreateSubmissionResponse 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

NewCreateSubmissionResponseWithDefaults

func NewCreateSubmissionResponseWithDefaults() *CreateSubmissionResponse

NewCreateSubmissionResponseWithDefaults instantiates a new CreateSubmissionResponse 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

GetStatus

func (o *CreateSubmissionResponse) GetStatus() string

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

GetStatusOk

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

SetStatus

func (o *CreateSubmissionResponse) SetStatus(v string)

SetStatus sets Status field to given value.

GetSubmission

func (o *CreateSubmissionResponse) GetSubmission() SubmissionPreview

GetSubmission returns the Submission field if non-nil, zero value otherwise.

GetSubmissionOk

func (o *CreateSubmissionResponse) GetSubmissionOk() (*SubmissionPreview, bool)

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

SetSubmission

func (o *CreateSubmissionResponse) SetSubmission(v SubmissionPreview)

SetSubmission sets Submission field to given value.

GetErrors

func (o *CreateSubmissionResponse) GetErrors() []string

GetErrors returns the Errors field if non-nil, zero value otherwise.

GetErrorsOk

func (o *CreateSubmissionResponse) GetErrorsOk() (*[]string, bool)

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

SetErrors

func (o *CreateSubmissionResponse) SetErrors(v []string)

SetErrors sets Errors field to given value.

HasErrors

func (o *CreateSubmissionResponse) HasErrors() bool

HasErrors returns a boolean if a field has been set.

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