Klasse GetCurrentUserOperationSpec

java.lang.Object
io.github.primelib.confluence4j.rest.v1.spec.GetCurrentUserOperationSpec

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

Specification for the GetCurrentUser operation.

Get current user

  • Felddetails

    • VALIDATION_ENABLED

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

    • GetCurrentUserOperationSpec

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

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

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

      Parameter:
      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 returns whether the user is an external collaborator user.
    • GetCurrentUserOperationSpec

      protected GetCurrentUserOperationSpec()
  • Methodendetails

    • validate

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

    • expand

      @Nullable 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 returns whether the user is an external collaborator user.
    • expand

      public GetCurrentUserOperationSpec expand(@Nullable @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 returns whether the user is an external collaborator user.
      Gibt zurück:
      this.
    • equals

      public boolean equals(Object o)
      Setzt außer Kraft:
      equals in Klasse Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Setzt außer Kraft:
      hashCode in Klasse Object
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse Object