Files
sdk/docs/CiExecution.md

10 KiB

CiExecution

Properties

Name Type Description Notes
Actor Pointer to string [optional]
Branch Pointer to string [optional]
Conclusion Pointer to string [optional]
EndedAt Pointer to time.Time [optional]
Event Pointer to string [optional]
Id Pointer to int64 [optional]
Number Pointer to int64 [optional]
Org Pointer to string [optional]
Repo Pointer to string [optional]
Sha Pointer to string [optional]
StartedAt Pointer to time.Time [optional]
Status Pointer to string Status and Conclusion are BOTH required to know how a run went, and reading only one is wrong in a way that looks fine. Status answers "is it over" (queued in_progress
Title Pointer to string [optional]
Url Pointer to string [optional]
Workflow Pointer to string [optional]

Methods

NewCiExecution

func NewCiExecution() *CiExecution

NewCiExecution instantiates a new CiExecution 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

NewCiExecutionWithDefaults

func NewCiExecutionWithDefaults() *CiExecution

NewCiExecutionWithDefaults instantiates a new CiExecution 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

GetActor

func (o *CiExecution) GetActor() string

GetActor returns the Actor field if non-nil, zero value otherwise.

GetActorOk

func (o *CiExecution) GetActorOk() (*string, bool)

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

SetActor

func (o *CiExecution) SetActor(v string)

SetActor sets Actor field to given value.

HasActor

func (o *CiExecution) HasActor() bool

HasActor returns a boolean if a field has been set.

GetBranch

func (o *CiExecution) GetBranch() string

GetBranch returns the Branch field if non-nil, zero value otherwise.

GetBranchOk

func (o *CiExecution) GetBranchOk() (*string, bool)

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

SetBranch

func (o *CiExecution) SetBranch(v string)

SetBranch sets Branch field to given value.

HasBranch

func (o *CiExecution) HasBranch() bool

HasBranch returns a boolean if a field has been set.

GetConclusion

func (o *CiExecution) GetConclusion() string

GetConclusion returns the Conclusion field if non-nil, zero value otherwise.

GetConclusionOk

func (o *CiExecution) GetConclusionOk() (*string, bool)

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

SetConclusion

func (o *CiExecution) SetConclusion(v string)

SetConclusion sets Conclusion field to given value.

HasConclusion

func (o *CiExecution) HasConclusion() bool

HasConclusion returns a boolean if a field has been set.

GetEndedAt

func (o *CiExecution) GetEndedAt() time.Time

GetEndedAt returns the EndedAt field if non-nil, zero value otherwise.

GetEndedAtOk

func (o *CiExecution) GetEndedAtOk() (*time.Time, bool)

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

SetEndedAt

func (o *CiExecution) SetEndedAt(v time.Time)

SetEndedAt sets EndedAt field to given value.

HasEndedAt

func (o *CiExecution) HasEndedAt() bool

HasEndedAt returns a boolean if a field has been set.

GetEvent

func (o *CiExecution) GetEvent() string

GetEvent returns the Event field if non-nil, zero value otherwise.

GetEventOk

func (o *CiExecution) GetEventOk() (*string, bool)

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

SetEvent

func (o *CiExecution) SetEvent(v string)

SetEvent sets Event field to given value.

HasEvent

func (o *CiExecution) HasEvent() bool

HasEvent returns a boolean if a field has been set.

GetId

func (o *CiExecution) GetId() int64

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

GetIdOk

func (o *CiExecution) GetIdOk() (*int64, 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 *CiExecution) SetId(v int64)

SetId sets Id field to given value.

HasId

func (o *CiExecution) HasId() bool

HasId returns a boolean if a field has been set.

GetNumber

func (o *CiExecution) GetNumber() int64

GetNumber returns the Number field if non-nil, zero value otherwise.

GetNumberOk

func (o *CiExecution) GetNumberOk() (*int64, bool)

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

SetNumber

func (o *CiExecution) SetNumber(v int64)

SetNumber sets Number field to given value.

HasNumber

func (o *CiExecution) HasNumber() bool

HasNumber returns a boolean if a field has been set.

GetOrg

func (o *CiExecution) GetOrg() string

GetOrg returns the Org field if non-nil, zero value otherwise.

GetOrgOk

func (o *CiExecution) GetOrgOk() (*string, bool)

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

SetOrg

func (o *CiExecution) SetOrg(v string)

SetOrg sets Org field to given value.

HasOrg

func (o *CiExecution) HasOrg() bool

HasOrg returns a boolean if a field has been set.

GetRepo

func (o *CiExecution) GetRepo() string

GetRepo returns the Repo field if non-nil, zero value otherwise.

GetRepoOk

func (o *CiExecution) GetRepoOk() (*string, bool)

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

SetRepo

func (o *CiExecution) SetRepo(v string)

SetRepo sets Repo field to given value.

HasRepo

func (o *CiExecution) HasRepo() bool

HasRepo returns a boolean if a field has been set.

GetSha

func (o *CiExecution) GetSha() string

GetSha returns the Sha field if non-nil, zero value otherwise.

GetShaOk

func (o *CiExecution) GetShaOk() (*string, bool)

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

SetSha

func (o *CiExecution) SetSha(v string)

SetSha sets Sha field to given value.

HasSha

func (o *CiExecution) HasSha() bool

HasSha returns a boolean if a field has been set.

GetStartedAt

func (o *CiExecution) GetStartedAt() time.Time

GetStartedAt returns the StartedAt field if non-nil, zero value otherwise.

GetStartedAtOk

func (o *CiExecution) GetStartedAtOk() (*time.Time, bool)

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

SetStartedAt

func (o *CiExecution) SetStartedAt(v time.Time)

SetStartedAt sets StartedAt field to given value.

HasStartedAt

func (o *CiExecution) HasStartedAt() bool

HasStartedAt returns a boolean if a field has been set.

GetStatus

func (o *CiExecution) GetStatus() string

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

GetStatusOk

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

SetStatus sets Status field to given value.

HasStatus

func (o *CiExecution) HasStatus() bool

HasStatus returns a boolean if a field has been set.

GetTitle

func (o *CiExecution) GetTitle() string

GetTitle returns the Title field if non-nil, zero value otherwise.

GetTitleOk

func (o *CiExecution) GetTitleOk() (*string, bool)

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

SetTitle

func (o *CiExecution) SetTitle(v string)

SetTitle sets Title field to given value.

HasTitle

func (o *CiExecution) HasTitle() bool

HasTitle returns a boolean if a field has been set.

GetUrl

func (o *CiExecution) GetUrl() string

GetUrl returns the Url field if non-nil, zero value otherwise.

GetUrlOk

func (o *CiExecution) GetUrlOk() (*string, bool)

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

SetUrl

func (o *CiExecution) SetUrl(v string)

SetUrl sets Url field to given value.

HasUrl

func (o *CiExecution) HasUrl() bool

HasUrl returns a boolean if a field has been set.

GetWorkflow

func (o *CiExecution) GetWorkflow() string

GetWorkflow returns the Workflow field if non-nil, zero value otherwise.

GetWorkflowOk

func (o *CiExecution) GetWorkflowOk() (*string, bool)

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

SetWorkflow

func (o *CiExecution) SetWorkflow(v string)

SetWorkflow sets Workflow field to given value.

HasWorkflow

func (o *CiExecution) HasWorkflow() bool

HasWorkflow returns a boolean if a field has been set.

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