Klasse SimpleErrorCollection

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

@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator") public class SimpleErrorCollection extends Object
SimpleErrorCollection
  • 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."
    • httpStatusCode

      protected Integer httpStatusCode
  • Konstruktordetails

    • SimpleErrorCollection

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

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

      NOTE: This constructor is not considered stable and may change if the model is updated. Consider using SimpleErrorCollection(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."
      httpStatusCode - httpStatusCode
    • SimpleErrorCollection

      protected SimpleErrorCollection()
  • Methodendetails

    • 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."
    • httpStatusCode

      public Integer httpStatusCode()
    • errorMessages

      public SimpleErrorCollection 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 SimpleErrorCollection 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.
    • httpStatusCode

      public SimpleErrorCollection httpStatusCode(Integer httpStatusCode)
      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