Class ErrorCollection
java.lang.Object
io.github.primelib.jira4j.restv3.model.ErrorCollection
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class ErrorCollection
extends Object
ErrorCollection
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Constructs a validated instance ofErrorCollection
.Constructs a validated instance ofErrorCollection
. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
boolean
The list of error messages produced by this operation.errorMessages
(List<String> errorMessages) The list of error messages produced by this operation.errors()
The list of errors by parameter returned by the operation.The list of errors by parameter returned by the operation.int
hashCode()
status()
toString()
-
Field Details
-
errorMessages
The list of error messages produced by this operation. For example, "input parameter 'key' must be provided" -
errors
The list of errors by parameter returned by the operation. For example,"projectKey": "Project keys must start with an uppercase letter, followed by one or more uppercase alphanumeric characters." -
status
-
-
Constructor Details
-
ErrorCollection
Constructs a validated instance ofErrorCollection
.- Parameters:
spec
- the specification to process
-
ErrorCollection
@Internal public ErrorCollection(List<String> errorMessages, Map<String, String> errors, Integer status) Constructs a validated instance ofErrorCollection
.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
ErrorCollection(Consumer)
instead.- Parameters:
errorMessages
- The list of error messages produced by this operation. For example, "input parameter 'key' must be provided"errors
- The list of errors by parameter returned by the operation. For example,"projectKey": "Project keys must start with an uppercase letter, followed by one or more uppercase alphanumeric characters."status
- status
-
ErrorCollection
protected ErrorCollection()
-
-
Method Details
-
builder
-
errorMessages
The list of error messages produced by this operation. For example, "input parameter 'key' must be provided" -
errors
The list of errors by parameter returned by the operation. For example,"projectKey": "Project keys must start with an uppercase letter, followed by one or more uppercase alphanumeric characters." -
status
-
errorMessages
The list of error messages produced by this operation. For example, "input parameter 'key' must be provided"- Returns:
this
.
-
errors
The list of errors by parameter returned by the operation. For example,"projectKey": "Project keys must start with an uppercase letter, followed by one or more uppercase alphanumeric characters."- Returns:
this
.
-
status
- Returns:
this
.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-