Class SimpleErrorCollection
java.lang.Object
io.github.primelib.jira4j.restv3.model.SimpleErrorCollection
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public class SimpleErrorCollection
extends Object
SimpleErrorCollection
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionThe list of error messages produced by this operation.The list of errors by parameter returned by the operation.protected Integer -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructs a validated instance ofSimpleErrorCollection.SimpleErrorCollection(List<String> errorMessages, Map<String, String> errors, Integer httpStatusCode) Constructs a validated instance ofSimpleErrorCollection. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanThe 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.inthashCode()httpStatusCode(Integer httpStatusCode) 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." -
httpStatusCode
-
-
Constructor Details
-
SimpleErrorCollection
Constructs a validated instance ofSimpleErrorCollection.- Parameters:
spec- the specification to process
-
SimpleErrorCollection
@Internal public SimpleErrorCollection(List<String> errorMessages, Map<String, String> errors, Integer httpStatusCode) Constructs a validated instance ofSimpleErrorCollection.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
SimpleErrorCollection(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."httpStatusCode- httpStatusCode
-
SimpleErrorCollection
protected SimpleErrorCollection()
-
-
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." -
httpStatusCode
-
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.
-
httpStatusCode
- Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-