Skip to main content

CreateWorkflowV1Request

Properties​

NameTypeDescriptionNotes
NamestringThe name of the workflow
OwnerPointer to WorkflowBodyOwner[optional]
DescriptionPointer to stringDescription of what the workflow accomplishes[optional]
DefinitionPointer to WorkflowDefinition[optional]
EnabledPointer to boolEnable or disable the workflow. Workflows cannot be created in an enabled state.[optional] [default to false]
TriggerPointer to WorkflowTrigger[optional]

Methods​

NewCreateWorkflowV1Request​

func NewCreateWorkflowV1Request(name string, ) *CreateWorkflowV1Request

NewCreateWorkflowV1Request instantiates a new CreateWorkflowV1Request 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

NewCreateWorkflowV1RequestWithDefaults​

func NewCreateWorkflowV1RequestWithDefaults() *CreateWorkflowV1Request

NewCreateWorkflowV1RequestWithDefaults instantiates a new CreateWorkflowV1Request 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

GetName​

func (o *CreateWorkflowV1Request) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk​

func (o *CreateWorkflowV1Request) GetNameOk() (*string, bool)

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

SetName​

func (o *CreateWorkflowV1Request) SetName(v string)

SetName sets Name field to given value.

GetOwner​

func (o *CreateWorkflowV1Request) GetOwner() WorkflowBodyOwner

GetOwner returns the Owner field if non-nil, zero value otherwise.

GetOwnerOk​

func (o *CreateWorkflowV1Request) GetOwnerOk() (*WorkflowBodyOwner, bool)

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

SetOwner​

func (o *CreateWorkflowV1Request) SetOwner(v WorkflowBodyOwner)

SetOwner sets Owner field to given value.

HasOwner​

func (o *CreateWorkflowV1Request) HasOwner() bool

HasOwner returns a boolean if a field has been set.

GetDescription​

func (o *CreateWorkflowV1Request) GetDescription() string

GetDescription returns the Description field if non-nil, zero value otherwise.

GetDescriptionOk​

func (o *CreateWorkflowV1Request) GetDescriptionOk() (*string, bool)

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

SetDescription​

func (o *CreateWorkflowV1Request) SetDescription(v string)

SetDescription sets Description field to given value.

HasDescription​

func (o *CreateWorkflowV1Request) HasDescription() bool

HasDescription returns a boolean if a field has been set.

GetDefinition​

func (o *CreateWorkflowV1Request) GetDefinition() WorkflowDefinition

GetDefinition returns the Definition field if non-nil, zero value otherwise.

GetDefinitionOk​

func (o *CreateWorkflowV1Request) GetDefinitionOk() (*WorkflowDefinition, bool)

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

SetDefinition​

func (o *CreateWorkflowV1Request) SetDefinition(v WorkflowDefinition)

SetDefinition sets Definition field to given value.

HasDefinition​

func (o *CreateWorkflowV1Request) HasDefinition() bool

HasDefinition returns a boolean if a field has been set.

GetEnabled​

func (o *CreateWorkflowV1Request) GetEnabled() bool

GetEnabled returns the Enabled field if non-nil, zero value otherwise.

GetEnabledOk​

func (o *CreateWorkflowV1Request) GetEnabledOk() (*bool, bool)

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

SetEnabled​

func (o *CreateWorkflowV1Request) SetEnabled(v bool)

SetEnabled sets Enabled field to given value.

HasEnabled​

func (o *CreateWorkflowV1Request) HasEnabled() bool

HasEnabled returns a boolean if a field has been set.

GetTrigger​

func (o *CreateWorkflowV1Request) GetTrigger() WorkflowTrigger

GetTrigger returns the Trigger field if non-nil, zero value otherwise.

GetTriggerOk​

func (o *CreateWorkflowV1Request) GetTriggerOk() (*WorkflowTrigger, bool)

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

SetTrigger​

func (o *CreateWorkflowV1Request) SetTrigger(v WorkflowTrigger)

SetTrigger sets Trigger field to given value.

HasTrigger​

func (o *CreateWorkflowV1Request) HasTrigger() bool

HasTrigger returns a boolean if a field has been set.