Name | Type | Description | Notes |
---|---|---|---|
Url | string | A link to the Step resource on the BuildBeaver server | |
Id | string | ||
CreatedAt | time.Time | ||
UpdatedAt | time.Time | ||
DeletedAt | Pointer to time.Time | [optional] | |
Etag | string | ||
Name | string | Step name, in URL format | |
Description | string | Optional human-readable description of the job. | |
Commands | []string | A list of one or more shell commands to execute during the step. | |
Depends | []StepDependency | Dependencies this step has on other steps within the job (see dependency syntax) | |
JobId | string | ID of the job this step forms a part of | |
RepoId | string | RepoID that the step is building from. | |
RunnerId | string | RunnerID that ran the step (or empty if the step has not run yet). | |
LogDescriptorId | string | LogDescriptorID points to the log for this step. | |
Status | string | Status reflects where the step is in processing. | |
Error | Pointer to string | Error is set if the step finished with an error (or empty if the step succeeded). | [optional] |
Timings | WorkflowTimings | ||
RunnerUrl | string | URL of the runner that ran the step (or empty if the step has not run yet). | |
LogDescriptorUrl | string | URL of the log for this step. |
func NewStep(url string, id string, createdAt time.Time, updatedAt time.Time, etag string, name string, description string, commands []string, depends []StepDependency, jobId string, repoId string, runnerId string, logDescriptorId string, status string, timings WorkflowTimings, runnerUrl string, logDescriptorUrl string, ) *Step
NewStep instantiates a new Step 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
func NewStepWithDefaults() *Step
NewStepWithDefaults instantiates a new Step 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
func (o *Step) GetUrl() string
GetUrl returns the Url field if non-nil, zero value otherwise.
func (o *Step) 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.
func (o *Step) SetUrl(v string)
SetUrl sets Url field to given value.
func (o *Step) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *Step) 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.
func (o *Step) SetId(v string)
SetId sets Id field to given value.
func (o *Step) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
func (o *Step) GetCreatedAtOk() (*time.Time, 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.
func (o *Step) SetCreatedAt(v time.Time)
SetCreatedAt sets CreatedAt field to given value.
func (o *Step) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise.
func (o *Step) GetUpdatedAtOk() (*time.Time, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Step) SetUpdatedAt(v time.Time)
SetUpdatedAt sets UpdatedAt field to given value.
func (o *Step) GetDeletedAt() time.Time
GetDeletedAt returns the DeletedAt field if non-nil, zero value otherwise.
func (o *Step) GetDeletedAtOk() (*time.Time, bool)
GetDeletedAtOk returns a tuple with the DeletedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Step) SetDeletedAt(v time.Time)
SetDeletedAt sets DeletedAt field to given value.
func (o *Step) HasDeletedAt() bool
HasDeletedAt returns a boolean if a field has been set.
func (o *Step) GetEtag() string
GetEtag returns the Etag field if non-nil, zero value otherwise.
func (o *Step) GetEtagOk() (*string, bool)
GetEtagOk returns a tuple with the Etag field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Step) SetEtag(v string)
SetEtag sets Etag field to given value.
func (o *Step) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *Step) 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.
func (o *Step) SetName(v string)
SetName sets Name field to given value.
func (o *Step) GetDescription() string
GetDescription returns the Description field if non-nil, zero value otherwise.
func (o *Step) 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.
func (o *Step) SetDescription(v string)
SetDescription sets Description field to given value.
func (o *Step) GetCommands() []string
GetCommands returns the Commands field if non-nil, zero value otherwise.
func (o *Step) GetCommandsOk() (*[]string, bool)
GetCommandsOk returns a tuple with the Commands field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Step) SetCommands(v []string)
SetCommands sets Commands field to given value.
func (o *Step) GetDepends() []StepDependency
GetDepends returns the Depends field if non-nil, zero value otherwise.
func (o *Step) GetDependsOk() (*[]StepDependency, bool)
GetDependsOk returns a tuple with the Depends field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Step) SetDepends(v []StepDependency)
SetDepends sets Depends field to given value.
func (o *Step) GetJobId() string
GetJobId returns the JobId field if non-nil, zero value otherwise.
func (o *Step) GetJobIdOk() (*string, bool)
GetJobIdOk returns a tuple with the JobId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Step) SetJobId(v string)
SetJobId sets JobId field to given value.
func (o *Step) GetRepoId() string
GetRepoId returns the RepoId field if non-nil, zero value otherwise.
func (o *Step) GetRepoIdOk() (*string, bool)
GetRepoIdOk returns a tuple with the RepoId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Step) SetRepoId(v string)
SetRepoId sets RepoId field to given value.
func (o *Step) GetRunnerId() string
GetRunnerId returns the RunnerId field if non-nil, zero value otherwise.
func (o *Step) GetRunnerIdOk() (*string, bool)
GetRunnerIdOk returns a tuple with the RunnerId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Step) SetRunnerId(v string)
SetRunnerId sets RunnerId field to given value.
func (o *Step) GetLogDescriptorId() string
GetLogDescriptorId returns the LogDescriptorId field if non-nil, zero value otherwise.
func (o *Step) GetLogDescriptorIdOk() (*string, bool)
GetLogDescriptorIdOk returns a tuple with the LogDescriptorId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Step) SetLogDescriptorId(v string)
SetLogDescriptorId sets LogDescriptorId field to given value.
func (o *Step) GetStatus() string
GetStatus returns the Status field if non-nil, zero value otherwise.
func (o *Step) 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.
func (o *Step) SetStatus(v string)
SetStatus sets Status field to given value.
func (o *Step) GetError() string
GetError returns the Error field if non-nil, zero value otherwise.
func (o *Step) GetErrorOk() (*string, bool)
GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Step) SetError(v string)
SetError sets Error field to given value.
func (o *Step) HasError() bool
HasError returns a boolean if a field has been set.
func (o *Step) GetTimings() WorkflowTimings
GetTimings returns the Timings field if non-nil, zero value otherwise.
func (o *Step) GetTimingsOk() (*WorkflowTimings, bool)
GetTimingsOk returns a tuple with the Timings field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Step) SetTimings(v WorkflowTimings)
SetTimings sets Timings field to given value.
func (o *Step) GetRunnerUrl() string
GetRunnerUrl returns the RunnerUrl field if non-nil, zero value otherwise.
func (o *Step) GetRunnerUrlOk() (*string, bool)
GetRunnerUrlOk returns a tuple with the RunnerUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Step) SetRunnerUrl(v string)
SetRunnerUrl sets RunnerUrl field to given value.
func (o *Step) GetLogDescriptorUrl() string
GetLogDescriptorUrl returns the LogDescriptorUrl field if non-nil, zero value otherwise.
func (o *Step) GetLogDescriptorUrlOk() (*string, bool)
GetLogDescriptorUrlOk returns a tuple with the LogDescriptorUrl field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Step) SetLogDescriptorUrl(v string)
SetLogDescriptorUrl sets LogDescriptorUrl field to given value.