Class GetLabelV1OperationSpec

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

@Generated("io.github.primelib.primecodegen") public class GetLabelV1OperationSpec extends Object
GetLabelV1

Returns label information and a list of contents associated with the label. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to access the Confluence site ('Can use' global permission). Only contents that the user is permitted to view is returned.

  • 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
    • name

      public @NonNull String name()
      Name of the label to query.
    • type

      public @Nullable String type()
      The type of contents that are to be returned.
    • start

      public @Nullable Integer start()
      The starting offset for the results.
    • limit

      public @Nullable Integer limit()
      The number of results to be returned.
    • name

      public GetLabelV1OperationSpec name(@NonNull String name)
      Name of the label to query.
      Returns:
      this.
    • type

      public GetLabelV1OperationSpec type(@Nullable String type)
      The type of contents that are to be returned.
      Returns:
      this.
    • start

      public GetLabelV1OperationSpec start(@Nullable Integer start)
      The starting offset for the results.
      Returns:
      this.
    • limit

      public GetLabelV1OperationSpec limit(@Nullable Integer limit)
      The number of results to be returned.
      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