Class GetUserBulkV1OperationSpec

java.lang.Object
io.github.primelib.confluence4j.rest.v1.operations.GetUserBulkV1OperationSpec

@Generated("io.github.primelib.primecodegen") public class GetUserBulkV1OperationSpec extends Object
GetUserBulkV1

Returns user details for the ids provided in the request. Currently this API returns a maximum of 100 results. If more than 100 account ids are passed in, then the first 100 will be returned. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to access the Confluence site ('Can use' global permission).

  • Field Details

    • VALIDATION_ENABLED

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

  • Method Details

    • validate

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

      public @NonNull String accountId()
      A list of accountId's of users to be returned.
    • expand

      public @Nullable List<String> 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) use `isGuest` instead to return whether the user is a guest.
    • accountId

      public GetUserBulkV1OperationSpec accountId(@NonNull String accountId)
      A list of accountId's of users to be returned.
      Returns:
      this.
    • expand

      public GetUserBulkV1OperationSpec expand(@Nullable List<String> 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) use `isGuest` instead to return whether the user is a guest.
      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