Class GetUserEmailOperationSpec

java.lang.Object
io.github.primelib.jira4j.restv3.spec.GetUserEmailOperationSpec

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

Specification for the GetUserEmail operation.

Get user email

  • Field Details

    • VALIDATION_ENABLED

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

    • GetUserEmailOperationSpec

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

      @Internal public GetUserEmailOperationSpec(String accountId)
      Constructs a validated instance of GetUserEmailOperationSpec.

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

      Parameters:
      accountId - The account ID of the user, which uniquely identifies the user across all Atlassian products. For example, 5b10ac8d82e05b22cc7d4ef5.
    • GetUserEmailOperationSpec

      protected GetUserEmailOperationSpec()
  • Method Details

    • validate

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

    • accountId

      @NotNull public @NotNull String accountId()
      The account ID of the user, which uniquely identifies the user across all Atlassian products. For example, 5b10ac8d82e05b22cc7d4ef5.
    • accountId

      public GetUserEmailOperationSpec accountId(@NotNull @NotNull String accountId)
      The account ID of the user, which uniquely identifies the user across all Atlassian products. For example, 5b10ac8d82e05b22cc7d4ef5.
      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