Skip to content

Latest commit

 

History

History
270 lines (145 loc) · 8.36 KB

BuildAnalysisResponse.md

File metadata and controls

270 lines (145 loc) · 8.36 KB

BuildAnalysisResponse

Properties

Name Type Description Notes
ServiceId string
ExecutionId string Execution id of the analysed build.
Status BuildAnalysisStatus
Stale bool True when the latest build of the service is not the analysed one. The analysis stays readable, but only the latest build can be analysed.
DockerfileSource BuildAnalysisDockerfileSource
FailureCode NullableBuildAnalysisFailureCode Why the analysis failed, when `status` is FAILED.
FailureReason NullableString Human-readable detail of the failure, when `status` is FAILED.
Result NullableBuildAnalysisResponseResult
CreatedAt time.Time
UpdatedAt time.Time

Methods

NewBuildAnalysisResponse

func NewBuildAnalysisResponse(serviceId string, executionId string, status BuildAnalysisStatus, stale bool, dockerfileSource BuildAnalysisDockerfileSource, failureCode NullableBuildAnalysisFailureCode, failureReason NullableString, result NullableBuildAnalysisResponseResult, createdAt time.Time, updatedAt time.Time, ) *BuildAnalysisResponse

NewBuildAnalysisResponse instantiates a new BuildAnalysisResponse 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

NewBuildAnalysisResponseWithDefaults

func NewBuildAnalysisResponseWithDefaults() *BuildAnalysisResponse

NewBuildAnalysisResponseWithDefaults instantiates a new BuildAnalysisResponse 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

GetServiceId

func (o *BuildAnalysisResponse) GetServiceId() string

GetServiceId returns the ServiceId field if non-nil, zero value otherwise.

GetServiceIdOk

func (o *BuildAnalysisResponse) GetServiceIdOk() (*string, bool)

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

SetServiceId

func (o *BuildAnalysisResponse) SetServiceId(v string)

SetServiceId sets ServiceId field to given value.

GetExecutionId

func (o *BuildAnalysisResponse) GetExecutionId() string

GetExecutionId returns the ExecutionId field if non-nil, zero value otherwise.

GetExecutionIdOk

func (o *BuildAnalysisResponse) GetExecutionIdOk() (*string, bool)

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

SetExecutionId

func (o *BuildAnalysisResponse) SetExecutionId(v string)

SetExecutionId sets ExecutionId field to given value.

GetStatus

func (o *BuildAnalysisResponse) GetStatus() BuildAnalysisStatus

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

GetStatusOk

func (o *BuildAnalysisResponse) GetStatusOk() (*BuildAnalysisStatus, 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 *BuildAnalysisResponse) SetStatus(v BuildAnalysisStatus)

SetStatus sets Status field to given value.

GetStale

func (o *BuildAnalysisResponse) GetStale() bool

GetStale returns the Stale field if non-nil, zero value otherwise.

GetStaleOk

func (o *BuildAnalysisResponse) GetStaleOk() (*bool, bool)

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

SetStale

func (o *BuildAnalysisResponse) SetStale(v bool)

SetStale sets Stale field to given value.

GetDockerfileSource

func (o *BuildAnalysisResponse) GetDockerfileSource() BuildAnalysisDockerfileSource

GetDockerfileSource returns the DockerfileSource field if non-nil, zero value otherwise.

GetDockerfileSourceOk

func (o *BuildAnalysisResponse) GetDockerfileSourceOk() (*BuildAnalysisDockerfileSource, bool)

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

SetDockerfileSource

func (o *BuildAnalysisResponse) SetDockerfileSource(v BuildAnalysisDockerfileSource)

SetDockerfileSource sets DockerfileSource field to given value.

GetFailureCode

func (o *BuildAnalysisResponse) GetFailureCode() BuildAnalysisFailureCode

GetFailureCode returns the FailureCode field if non-nil, zero value otherwise.

GetFailureCodeOk

func (o *BuildAnalysisResponse) GetFailureCodeOk() (*BuildAnalysisFailureCode, bool)

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

SetFailureCode

func (o *BuildAnalysisResponse) SetFailureCode(v BuildAnalysisFailureCode)

SetFailureCode sets FailureCode field to given value.

SetFailureCodeNil

func (o *BuildAnalysisResponse) SetFailureCodeNil(b bool)

SetFailureCodeNil sets the value for FailureCode to be an explicit nil

UnsetFailureCode

func (o *BuildAnalysisResponse) UnsetFailureCode()

UnsetFailureCode ensures that no value is present for FailureCode, not even an explicit nil

GetFailureReason

func (o *BuildAnalysisResponse) GetFailureReason() string

GetFailureReason returns the FailureReason field if non-nil, zero value otherwise.

GetFailureReasonOk

func (o *BuildAnalysisResponse) GetFailureReasonOk() (*string, bool)

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

SetFailureReason

func (o *BuildAnalysisResponse) SetFailureReason(v string)

SetFailureReason sets FailureReason field to given value.

SetFailureReasonNil

func (o *BuildAnalysisResponse) SetFailureReasonNil(b bool)

SetFailureReasonNil sets the value for FailureReason to be an explicit nil

UnsetFailureReason

func (o *BuildAnalysisResponse) UnsetFailureReason()

UnsetFailureReason ensures that no value is present for FailureReason, not even an explicit nil

GetResult

func (o *BuildAnalysisResponse) GetResult() BuildAnalysisResponseResult

GetResult returns the Result field if non-nil, zero value otherwise.

GetResultOk

func (o *BuildAnalysisResponse) GetResultOk() (*BuildAnalysisResponseResult, bool)

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

SetResult

func (o *BuildAnalysisResponse) SetResult(v BuildAnalysisResponseResult)

SetResult sets Result field to given value.

SetResultNil

func (o *BuildAnalysisResponse) SetResultNil(b bool)

SetResultNil sets the value for Result to be an explicit nil

UnsetResult

func (o *BuildAnalysisResponse) UnsetResult()

UnsetResult ensures that no value is present for Result, not even an explicit nil

GetCreatedAt

func (o *BuildAnalysisResponse) GetCreatedAt() time.Time

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

GetCreatedAtOk

func (o *BuildAnalysisResponse) 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.

SetCreatedAt

func (o *BuildAnalysisResponse) SetCreatedAt(v time.Time)

SetCreatedAt sets CreatedAt field to given value.

GetUpdatedAt

func (o *BuildAnalysisResponse) GetUpdatedAt() time.Time

GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise.

GetUpdatedAtOk

func (o *BuildAnalysisResponse) 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.

SetUpdatedAt

func (o *BuildAnalysisResponse) SetUpdatedAt(v time.Time)

SetUpdatedAt sets UpdatedAt field to given value.

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