Class AssignIssueOperationSpec

java.lang.Object
io.github.primelib.jira4j.restv2.spec.AssignIssueOperationSpec

@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator") public class AssignIssueOperationSpec extends Object
AssignIssueSpec

Specification for the AssignIssue operation.

Assign issue

  • Field Details

    • VALIDATION_ENABLED

      @Experimental public static Boolean VALIDATION_ENABLED
      allows to disable validation of the spec, use with care!
  • Constructor Details

    • AssignIssueOperationSpec

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

      @Internal public AssignIssueOperationSpec(String issueIdOrKey, User user)
      Constructs a validated instance of AssignIssueOperationSpec.

      NOTE: This constructor is not considered stable and may change if the operation is updated.

      Parameters:
      issueIdOrKey - The ID or key of the issue to be assigned.
      user - The request object with the user that the issue is assigned to.
    • AssignIssueOperationSpec

      protected AssignIssueOperationSpec()
  • Method Details

    • validate

      public void validate()
      Validates the Spec, will throw a exception if required parameters are missing
      Throws:
      NullPointerException
    • builder

    • issueIdOrKey

      @NotNull public @NotNull String issueIdOrKey()
      The ID or key of the issue to be assigned.
    • user

      @NotNull public @NotNull User user()
      The request object with the user that the issue is assigned to.
    • issueIdOrKey

      public AssignIssueOperationSpec issueIdOrKey(@NotNull @NotNull String issueIdOrKey)
      The ID or key of the issue to be assigned.
      Returns:
      this.
    • user

      public AssignIssueOperationSpec user(@NotNull @NotNull User user)
      The request object with the user that the issue is assigned to.
      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