Skip to content

Latest commit

 

History

History
92 lines (51 loc) · 2.59 KB

File metadata and controls

92 lines (51 loc) · 2.59 KB

TaskResponse

Properties

Name Type Description Notes
Status Pointer to TaskStatus [optional] [default to TASKSTATUS_UNINITIALISED]
ErrorMessage Pointer to NullableString [optional]

Methods

NewTaskResponse

func NewTaskResponse() *TaskResponse

NewTaskResponse instantiates a new TaskResponse 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

NewTaskResponseWithDefaults

func NewTaskResponseWithDefaults() *TaskResponse

NewTaskResponseWithDefaults instantiates a new TaskResponse 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 *TaskResponse) GetStatus() TaskStatus

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

GetStatusOk

func (o *TaskResponse) GetStatusOk() (*TaskStatus, 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 *TaskResponse) SetStatus(v TaskStatus)

SetStatus sets Status field to given value.

HasStatus

func (o *TaskResponse) HasStatus() bool

HasStatus returns a boolean if a field has been set.

GetErrorMessage

func (o *TaskResponse) GetErrorMessage() string

GetErrorMessage returns the ErrorMessage field if non-nil, zero value otherwise.

GetErrorMessageOk

func (o *TaskResponse) GetErrorMessageOk() (*string, bool)

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

SetErrorMessage

func (o *TaskResponse) SetErrorMessage(v string)

SetErrorMessage sets ErrorMessage field to given value.

HasErrorMessage

func (o *TaskResponse) HasErrorMessage() bool

HasErrorMessage returns a boolean if a field has been set.

SetErrorMessageNil

func (o *TaskResponse) SetErrorMessageNil(b bool)

SetErrorMessageNil sets the value for ErrorMessage to be an explicit nil

UnsetErrorMessage

func (o *TaskResponse) UnsetErrorMessage()

UnsetErrorMessage ensures that no value is present for ErrorMessage, not even an explicit nil

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