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
  • Field Details

    • errorMessages

      protected List<String> errorMessages
      The list of error messages produced by this operation. For example, "input parameter 'key' must be provided"
    • errors

      protected Map<String,String> 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

      protected Integer status
  • Constructor Details

    • ErrorCollection

      public ErrorCollection(Consumer<ErrorCollection> spec)
      Constructs a validated instance of ErrorCollection.
      Parameters:
      spec - the specification to process
    • ErrorCollection

      @Internal public ErrorCollection(List<String> errorMessages, Map<String,String> errors, Integer status)
      Constructs a validated instance of ErrorCollection.

      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

      public static ErrorCollection.ErrorCollectionBuilder builder()
    • errorMessages

      public List<String> errorMessages()
      The list of error messages produced by this operation. For example, "input parameter 'key' must be provided"
    • errors

      public Map<String,String> 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

      public Integer status()
    • errorMessages

      public ErrorCollection errorMessages(List<String> errorMessages)
      The list of error messages produced by this operation. For example, "input parameter 'key' must be provided"
      Returns:
      this.
    • errors

      public ErrorCollection errors(Map<String,String> 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

      public ErrorCollection status(Integer status)
      Returns:
      this.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object