Skip to content

Latest commit

 

History

History
135 lines (72 loc) · 3.35 KB

Task.md

File metadata and controls

135 lines (72 loc) · 3.35 KB

Task

Properties

Name Type Description Notes
Id string Globally unique task's identifier
CreatedAt string The timestamp when the task was created in the format <code>yyyy-MM-dd'T'HH:mm:ss.SSSZ</code>.
Type TaskType
Status TaskStatus
Payload TaskPayload

Methods

NewTask

func NewTask(id string, createdAt string, type_ TaskType, status TaskStatus, payload TaskPayload, ) *Task

NewTask instantiates a new Task 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

NewTaskWithDefaults

func NewTaskWithDefaults() *Task

NewTaskWithDefaults instantiates a new Task 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 *Task) GetId() string

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

GetIdOk

func (o *Task) 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 *Task) SetId(v string)

SetId sets Id field to given value.

GetCreatedAt

func (o *Task) GetCreatedAt() string

GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.

GetCreatedAtOk

func (o *Task) GetCreatedAtOk() (*string, bool)

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

SetCreatedAt

func (o *Task) SetCreatedAt(v string)

SetCreatedAt sets CreatedAt field to given value.

GetType

func (o *Task) GetType() TaskType

GetType returns the Type field if non-nil, zero value otherwise.

GetTypeOk

func (o *Task) GetTypeOk() (*TaskType, 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.

SetType

func (o *Task) SetType(v TaskType)

SetType sets Type field to given value.

GetStatus

func (o *Task) GetStatus() TaskStatus

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

GetStatusOk

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

SetStatus sets Status field to given value.

GetPayload

func (o *Task) GetPayload() TaskPayload

GetPayload returns the Payload field if non-nil, zero value otherwise.

GetPayloadOk

func (o *Task) GetPayloadOk() (*TaskPayload, bool)

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

SetPayload

func (o *Task) SetPayload(v TaskPayload)

SetPayload sets Payload field to given value.

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