Class WorkflowValidationError
java.lang.Object
io.github.primelib.jira4j.restv3.model.WorkflowValidationError
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class WorkflowValidationError
extends Object
WorkflowValidationError
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
The validation error level.static enum
The type of element the error or warning references.static class
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected String
An error code.protected WorkflowElementReference
protected WorkflowValidationError.LevelEnum
The validation error level.protected String
An error message.protected WorkflowValidationError.TypeEnum
The type of element the error or warning references. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
WorkflowValidationError
(String code, WorkflowElementReference elementReference, WorkflowValidationError.LevelEnum level, String message, WorkflowValidationError.TypeEnum type) Constructs a validated instance ofWorkflowValidationError
.Constructs a validated instance ofWorkflowValidationError
. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
code()
An error code.An error code.elementReference
(WorkflowElementReference elementReference) boolean
int
hashCode()
level()
The validation error level.The validation error level.message()
An error message.An error message.toString()
type()
The type of element the error or warning references.The type of element the error or warning references.
-
Field Details
-
code
An error code. -
elementReference
-
level
The validation error level. -
message
An error message. -
type
The type of element the error or warning references.
-
-
Constructor Details
-
WorkflowValidationError
Constructs a validated instance ofWorkflowValidationError
.- Parameters:
spec
- the specification to process
-
WorkflowValidationError
@Internal public WorkflowValidationError(String code, WorkflowElementReference elementReference, WorkflowValidationError.LevelEnum level, String message, WorkflowValidationError.TypeEnum type) Constructs a validated instance ofWorkflowValidationError
.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
WorkflowValidationError(Consumer)
instead.- Parameters:
code
- An error code.elementReference
- elementReferencelevel
- The validation error level.message
- An error message.type
- The type of element the error or warning references.
-
WorkflowValidationError
protected WorkflowValidationError()
-
-
Method Details
-
builder
-
code
An error code. -
elementReference
-
level
The validation error level. -
message
An error message. -
type
The type of element the error or warning references. -
code
An error code.- Returns:
this
.
-
elementReference
- Returns:
this
.
-
level
The validation error level.- Returns:
this
.
-
message
An error message.- Returns:
this
.
-
type
The type of element the error or warning references.- Returns:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-