Package com.circleci.client.v2.model
Class PipelineWithWorkflows
- java.lang.Object
-
- com.circleci.client.v2.model.PipelineWithWorkflows
-
public class PipelineWithWorkflows extends Object
NOTE: The definition of pipeline is subject to change.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPipelineWithWorkflows.StateEnumThe current state of the pipeline.
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_CREATED_ATstatic StringJSON_PROPERTY_ERRORSstatic StringJSON_PROPERTY_IDstatic StringJSON_PROPERTY_NUMBERstatic StringJSON_PROPERTY_PROJECT_SLUGstatic StringJSON_PROPERTY_STATEstatic StringJSON_PROPERTY_TRIGGERstatic StringJSON_PROPERTY_UPDATED_ATstatic StringJSON_PROPERTY_VCSstatic StringJSON_PROPERTY_WORKFLOWS
-
Constructor Summary
Constructors Constructor Description PipelineWithWorkflows()
-
Method Summary
-
-
-
Field Detail
-
JSON_PROPERTY_WORKFLOWS
public static final String JSON_PROPERTY_WORKFLOWS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ID
public static final String JSON_PROPERTY_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ERRORS
public static final String JSON_PROPERTY_ERRORS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PROJECT_SLUG
public static final String JSON_PROPERTY_PROJECT_SLUG
- See Also:
- Constant Field Values
-
JSON_PROPERTY_UPDATED_AT
public static final String JSON_PROPERTY_UPDATED_AT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_NUMBER
public static final String JSON_PROPERTY_NUMBER
- See Also:
- Constant Field Values
-
JSON_PROPERTY_STATE
public static final String JSON_PROPERTY_STATE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CREATED_AT
public static final String JSON_PROPERTY_CREATED_AT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TRIGGER
public static final String JSON_PROPERTY_TRIGGER
- See Also:
- Constant Field Values
-
JSON_PROPERTY_VCS
public static final String JSON_PROPERTY_VCS
- See Also:
- Constant Field Values
-
-
Method Detail
-
workflows
public PipelineWithWorkflows workflows(List<PipelineWithWorkflowsWorkflows> workflows)
-
addWorkflowsItem
public PipelineWithWorkflows addWorkflowsItem(PipelineWithWorkflowsWorkflows workflowsItem)
-
getWorkflows
@Nullable public List<PipelineWithWorkflowsWorkflows> getWorkflows()
DEPRECATION NOTICE: workflows will shortly be removed from pipeline response.- Returns:
- workflows
-
setWorkflows
public void setWorkflows(List<PipelineWithWorkflowsWorkflows> workflows)
-
id
public PipelineWithWorkflows id(UUID id)
-
getId
public UUID getId()
The unique ID of the pipeline.- Returns:
- id
-
setId
public void setId(UUID id)
-
errors
public PipelineWithWorkflows errors(List<PipelineWithWorkflowsErrors> errors)
-
addErrorsItem
public PipelineWithWorkflows addErrorsItem(PipelineWithWorkflowsErrors errorsItem)
-
getErrors
public List<PipelineWithWorkflowsErrors> getErrors()
A sequence of errors that have occurred within the pipeline.- Returns:
- errors
-
setErrors
public void setErrors(List<PipelineWithWorkflowsErrors> errors)
-
projectSlug
public PipelineWithWorkflows projectSlug(String projectSlug)
-
getProjectSlug
public String getProjectSlug()
The project-slug for the pipeline.- Returns:
- projectSlug
-
setProjectSlug
public void setProjectSlug(String projectSlug)
-
updatedAt
public PipelineWithWorkflows updatedAt(OffsetDateTime updatedAt)
-
getUpdatedAt
@Nullable public OffsetDateTime getUpdatedAt()
The date and time the pipeline was last updated.- Returns:
- updatedAt
-
setUpdatedAt
public void setUpdatedAt(OffsetDateTime updatedAt)
-
number
public PipelineWithWorkflows number(Long number)
-
getNumber
public Long getNumber()
The number of the pipeline.- Returns:
- number
-
setNumber
public void setNumber(Long number)
-
state
public PipelineWithWorkflows state(PipelineWithWorkflows.StateEnum state)
-
getState
public PipelineWithWorkflows.StateEnum getState()
The current state of the pipeline.- Returns:
- state
-
setState
public void setState(PipelineWithWorkflows.StateEnum state)
-
createdAt
public PipelineWithWorkflows createdAt(OffsetDateTime createdAt)
-
getCreatedAt
public OffsetDateTime getCreatedAt()
The date and time the pipeline was created.- Returns:
- createdAt
-
setCreatedAt
public void setCreatedAt(OffsetDateTime createdAt)
-
trigger
public PipelineWithWorkflows trigger(PipelineWithWorkflowsTrigger trigger)
-
getTrigger
public PipelineWithWorkflowsTrigger getTrigger()
Get trigger- Returns:
- trigger
-
setTrigger
public void setTrigger(PipelineWithWorkflowsTrigger trigger)
-
vcs
public PipelineWithWorkflows vcs(PipelineWithWorkflowsVcs vcs)
-
getVcs
@Nullable public PipelineWithWorkflowsVcs getVcs()
Get vcs- Returns:
- vcs
-
setVcs
public void setVcs(PipelineWithWorkflowsVcs vcs)
-
-