Class DetailedErrorCollection

java.lang.Object
io.github.primelib.jira4j.restv3.model.DetailedErrorCollection

@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator") public class DetailedErrorCollection extends Object
DetailedErrorCollection
  • Field Details

    • details

      protected Map<String,Object> details
      Map of objects representing additional details for an error
    • 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."
  • Constructor Details

    • DetailedErrorCollection

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

      @Internal public DetailedErrorCollection(Map<String,Object> details, List<String> errorMessages, Map<String,String> errors)
      Constructs a validated instance of DetailedErrorCollection.

      NOTE: This constructor is not considered stable and may change if the model is updated. Consider using DetailedErrorCollection(Consumer) instead.

      Parameters:
      details - Map of objects representing additional details for an error
      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."
    • DetailedErrorCollection

      protected DetailedErrorCollection()
  • Method Details

    • builder

    • details

      public Map<String,Object> details()
      Map of objects representing additional details for an error
    • 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."
    • details

      public DetailedErrorCollection details(Map<String,Object> details)
      Map of objects representing additional details for an error
      Returns:
      this.
    • errorMessages

      public DetailedErrorCollection 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 DetailedErrorCollection 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.
    • 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