Klasse ErrorCollection

java.lang.Object
io.github.primelib.jira4j.restv2.model.ErrorCollection

@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator") public class ErrorCollection extends Object
ErrorCollection
  • Felddetails

    • 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
  • Konstruktordetails

    • ErrorCollection

      public ErrorCollection(Consumer<ErrorCollection> spec)
      Constructs a validated instance of ErrorCollection.
      Parameter:
      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.

      Parameter:
      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 - var.name
    • ErrorCollection

      protected ErrorCollection()
  • Methodendetails

    • 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"
      Gibt zurück:
      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."
      Gibt zurück:
      this.
    • status

      public ErrorCollection status(Integer status)
      Gibt zurück:
      this.
    • equals

      public boolean equals(Object o)
      Setzt außer Kraft:
      equals in Klasse Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Setzt außer Kraft:
      hashCode in Klasse Object
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse Object