Package com.circleci.client.v2.model
Class PipelineErrors
- java.lang.Object
-
- com.circleci.client.v2.model.PipelineErrors
-
public class PipelineErrors extends Object
An error with a type and message.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPipelineErrors.TypeEnumThe type of error.
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_MESSAGEstatic StringJSON_PROPERTY_TYPE
-
Constructor Summary
Constructors Constructor Description PipelineErrors()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetMessage()A human-readable error message.PipelineErrors.TypeEnumgetType()The type of error.inthashCode()PipelineErrorsmessage(String message)voidsetMessage(String message)voidsetType(PipelineErrors.TypeEnum type)StringtoString()PipelineErrorstype(PipelineErrors.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 PipelineErrors type(PipelineErrors.TypeEnum type)
-
getType
public PipelineErrors.TypeEnum getType()
The type of error.- Returns:
- type
-
setType
public void setType(PipelineErrors.TypeEnum type)
-
message
public PipelineErrors message(String message)
-
getMessage
public String getMessage()
A human-readable error message.- Returns:
- message
-
setMessage
public void setMessage(String message)
-
-