Class GetUserCurrentV1OperationSpec
java.lang.Object
io.github.primelib.confluence4j.rest.v1.operations.GetUserCurrentV1OperationSpec
@Generated("io.github.primelib.primecodegen")
public class GetUserCurrentV1OperationSpec
extends Object
GetUserCurrentV1
Returns the currently logged-in user. This includes information about the user, like the display name, userKey, account ID, profile picture, and more. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to access the Confluence site ('Can use' global permission).
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic Booleanallows to disable validation of the spec, use with care! -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanexpand()A multi-value parameter indicating which properties of the user to expand.A multi-value parameter indicating which properties of the user to expand.inthashCode()toString()voidvalidate()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
-
GetUserCurrentV1OperationSpec
Constructs a validated instance ofGetUserCurrentV1OperationSpec.- Parameters:
spec- the specification to process
-
-
Method Details
-
validate
public void validate()Validates the Spec, will throw a exception if required parameters are missing- Throws:
NullPointerException
-
expand
A multi-value parameter indicating which properties of the user to expand. - `operations` returns the operations that the user is allowed to do. - `personalSpace` returns the user's personal space, if it exists. - `isExternalCollaborator`(@deprecated) see `isGuest` in response to find out whether the user is a guest. -
expand
A multi-value parameter indicating which properties of the user to expand. - `operations` returns the operations that the user is allowed to do. - `personalSpace` returns the user's personal space, if it exists. - `isExternalCollaborator`(@deprecated) see `isGuest` in response to find out whether the user is a guest.- Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-