Class GetCurrentUserOperationSpec

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

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

Specification for the GetCurrentUser operation.

Get current user

  • Field Details

    • VALIDATION_ENABLED

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

    • GetCurrentUserOperationSpec

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

      @Internal public GetCurrentUserOperationSpec(String expand)
      Constructs a validated instance of GetCurrentUserOperationSpec.

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

      Parameters:
      expand - Use [expand](#expansion) to include additional information about user in the response. This parameter accepts a comma-separated list. Expand options include: * groups Returns all groups, including nested groups, the user belongs to. * applicationRoles Returns the application roles the user is assigned to.
    • GetCurrentUserOperationSpec

      protected GetCurrentUserOperationSpec()
  • Method Details

    • validate

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

    • expand

      @Nullable public @Nullable String expand()
      Use [expand](#expansion) to include additional information about user in the response. This parameter accepts a comma-separated list. Expand options include: * groups Returns all groups, including nested groups, the user belongs to. * applicationRoles Returns the application roles the user is assigned to.
    • expand

      public GetCurrentUserOperationSpec expand(@Nullable @Nullable String expand)
      Use [expand](#expansion) to include additional information about user in the response. This parameter accepts a comma-separated list. Expand options include: * groups Returns all groups, including nested groups, the user belongs to. * applicationRoles Returns the application roles the user 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