Package com.circleci.client.v2.model
Class PipelineLight
- java.lang.Object
-
- com.circleci.client.v2.model.PipelineLight
-
public class PipelineLight extends Object
NOTE: The definition of pipeline is subject to change.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPipelineLight.StateEnumThe current state of the pipeline.
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_CREATED_ATstatic StringJSON_PROPERTY_IDstatic StringJSON_PROPERTY_NUMBERstatic StringJSON_PROPERTY_STATE
-
Constructor Summary
Constructors Constructor Description PipelineLight()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PipelineLightcreatedAt(OffsetDateTime createdAt)booleanequals(Object o)OffsetDateTimegetCreatedAt()The date and time the pipeline was created.UUIDgetId()The unique ID of the pipeline.LonggetNumber()The number of the pipeline.PipelineLight.StateEnumgetState()The current state of the pipeline.inthashCode()PipelineLightid(UUID id)PipelineLightnumber(Long number)voidsetCreatedAt(OffsetDateTime createdAt)voidsetId(UUID id)voidsetNumber(Long number)voidsetState(PipelineLight.StateEnum state)PipelineLightstate(PipelineLight.StateEnum state)StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_ID
public static final String JSON_PROPERTY_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_STATE
public static final String JSON_PROPERTY_STATE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_NUMBER
public static final String JSON_PROPERTY_NUMBER
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CREATED_AT
public static final String JSON_PROPERTY_CREATED_AT
- See Also:
- Constant Field Values
-
-
Method Detail
-
id
public PipelineLight id(UUID id)
-
getId
public UUID getId()
The unique ID of the pipeline.- Returns:
- id
-
setId
public void setId(UUID id)
-
state
public PipelineLight state(PipelineLight.StateEnum state)
-
getState
public PipelineLight.StateEnum getState()
The current state of the pipeline.- Returns:
- state
-
setState
public void setState(PipelineLight.StateEnum state)
-
number
public PipelineLight number(Long number)
-
getNumber
public Long getNumber()
The number of the pipeline.- Returns:
- number
-
setNumber
public void setNumber(Long number)
-
createdAt
public PipelineLight createdAt(OffsetDateTime createdAt)
-
getCreatedAt
public OffsetDateTime getCreatedAt()
The date and time the pipeline was created.- Returns:
- createdAt
-
setCreatedAt
public void setCreatedAt(OffsetDateTime createdAt)
-
-