Skip to content

Latest commit

 

History

History
264 lines (143 loc) · 6.01 KB

File metadata and controls

264 lines (143 loc) · 6.01 KB

Task

Properties

Name Type Description Notes
Id Pointer to int32 [optional]
TemplateId Pointer to int32 [optional]
Status Pointer to string [optional]
Debug Pointer to bool [optional]
Playbook Pointer to string [optional]
Environment Pointer to string [optional]
Secret Pointer to string [optional]
Limit Pointer to string [optional]
Message Pointer to string [optional]

Methods

NewTask

func NewTask() *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() int32

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

GetIdOk

func (o *Task) GetIdOk() (*int32, 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 int32)

SetId sets Id field to given value.

HasId

func (o *Task) HasId() bool

HasId returns a boolean if a field has been set.

GetTemplateId

func (o *Task) GetTemplateId() int32

GetTemplateId returns the TemplateId field if non-nil, zero value otherwise.

GetTemplateIdOk

func (o *Task) GetTemplateIdOk() (*int32, bool)

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

SetTemplateId

func (o *Task) SetTemplateId(v int32)

SetTemplateId sets TemplateId field to given value.

HasTemplateId

func (o *Task) HasTemplateId() bool

HasTemplateId returns a boolean if a field has been set.

GetStatus

func (o *Task) GetStatus() string

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

GetStatusOk

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

SetStatus sets Status field to given value.

HasStatus

func (o *Task) HasStatus() bool

HasStatus returns a boolean if a field has been set.

GetDebug

func (o *Task) GetDebug() bool

GetDebug returns the Debug field if non-nil, zero value otherwise.

GetDebugOk

func (o *Task) GetDebugOk() (*bool, bool)

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

SetDebug

func (o *Task) SetDebug(v bool)

SetDebug sets Debug field to given value.

HasDebug

func (o *Task) HasDebug() bool

HasDebug returns a boolean if a field has been set.

GetPlaybook

func (o *Task) GetPlaybook() string

GetPlaybook returns the Playbook field if non-nil, zero value otherwise.

GetPlaybookOk

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

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

SetPlaybook

func (o *Task) SetPlaybook(v string)

SetPlaybook sets Playbook field to given value.

HasPlaybook

func (o *Task) HasPlaybook() bool

HasPlaybook returns a boolean if a field has been set.

GetEnvironment

func (o *Task) GetEnvironment() string

GetEnvironment returns the Environment field if non-nil, zero value otherwise.

GetEnvironmentOk

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

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

SetEnvironment

func (o *Task) SetEnvironment(v string)

SetEnvironment sets Environment field to given value.

HasEnvironment

func (o *Task) HasEnvironment() bool

HasEnvironment returns a boolean if a field has been set.

GetSecret

func (o *Task) GetSecret() string

GetSecret returns the Secret field if non-nil, zero value otherwise.

GetSecretOk

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

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

SetSecret

func (o *Task) SetSecret(v string)

SetSecret sets Secret field to given value.

HasSecret

func (o *Task) HasSecret() bool

HasSecret returns a boolean if a field has been set.

GetLimit

func (o *Task) GetLimit() string

GetLimit returns the Limit field if non-nil, zero value otherwise.

GetLimitOk

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

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

SetLimit

func (o *Task) SetLimit(v string)

SetLimit sets Limit field to given value.

HasLimit

func (o *Task) HasLimit() bool

HasLimit returns a boolean if a field has been set.

GetMessage

func (o *Task) GetMessage() string

GetMessage returns the Message field if non-nil, zero value otherwise.

GetMessageOk

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

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

SetMessage

func (o *Task) SetMessage(v string)

SetMessage sets Message field to given value.

HasMessage

func (o *Task) HasMessage() bool

HasMessage returns a boolean if a field has been set.

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