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
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic Boolean
allows to disable validation of the spec, use with care! -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
GetCurrentUserOperationSpec
(String expand) Constructs a validated instance ofGetCurrentUserOperationSpec
.Constructs a validated instance ofGetCurrentUserOperationSpec
. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
boolean
@Nullable String
expand()
Use [expand](#expansion) to include additional information about user in the response.Use [expand](#expansion) to include additional information about user in the response.int
hashCode()
toString()
void
validate()
Validates the Spec, will throw a exception if required parameters are missing
-
Field Details
-
VALIDATION_ENABLED
allows to disable validation of the spec, use with care!
-
-
Constructor Details
-
GetCurrentUserOperationSpec
Constructs a validated instance ofGetCurrentUserOperationSpec
.- Parameters:
spec
- the specification to process
-
GetCurrentUserOperationSpec
Constructs a validated instance ofGetCurrentUserOperationSpec
.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
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
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
-
canEqual
-
hashCode
public int hashCode() -
toString
-