Package com.circleci.client.v2.model
Class PipelineWithWorkflowsErrors
- java.lang.Object
-
- com.circleci.client.v2.model.PipelineWithWorkflowsErrors
-
public class PipelineWithWorkflowsErrors extends Object
An error with a type and message.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPipelineWithWorkflowsErrors.TypeEnumThe type of error.
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_MESSAGEstatic StringJSON_PROPERTY_TYPE
-
Constructor Summary
Constructors Constructor Description PipelineWithWorkflowsErrors()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetMessage()A human-readable error message.PipelineWithWorkflowsErrors.TypeEnumgetType()The type of error.inthashCode()PipelineWithWorkflowsErrorsmessage(String message)voidsetMessage(String message)voidsetType(PipelineWithWorkflowsErrors.TypeEnum type)StringtoString()PipelineWithWorkflowsErrorstype(PipelineWithWorkflowsErrors.TypeEnum type)
-
-
-
Field Detail
-
JSON_PROPERTY_TYPE
public static final String JSON_PROPERTY_TYPE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MESSAGE
public static final String JSON_PROPERTY_MESSAGE
- See Also:
- Constant Field Values
-
-
Method Detail
-
type
public PipelineWithWorkflowsErrors type(PipelineWithWorkflowsErrors.TypeEnum type)
-
getType
public PipelineWithWorkflowsErrors.TypeEnum getType()
The type of error.- Returns:
- type
-
setType
public void setType(PipelineWithWorkflowsErrors.TypeEnum type)
-
message
public PipelineWithWorkflowsErrors message(String message)
-
getMessage
public String getMessage()
A human-readable error message.- Returns:
- message
-
setMessage
public void setMessage(String message)
-
-