Klasse GetViewsOperationSpec

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

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

Specification for the GetViews operation.

Get views

  • Felddetails

    • VALIDATION_ENABLED

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

    • GetViewsOperationSpec

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

      @Internal public GetViewsOperationSpec(String contentId, String fromDate)
      Constructs a validated instance of GetViewsOperationSpec.

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

      Parameter:
      contentId - The ID of the content to get the views for.
      fromDate - The number of views for the content since the date.
    • GetViewsOperationSpec

      protected GetViewsOperationSpec()
  • Methodendetails

    • validate

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

    • contentId

      @NotNull public @NotNull String contentId()
      The ID of the content to get the views for.
    • fromDate

      @Nullable public @Nullable String fromDate()
      The number of views for the content since the date.
    • contentId

      public GetViewsOperationSpec contentId(@NotNull @NotNull String contentId)
      The ID of the content to get the views for.
      Gibt zurück:
      this.
    • fromDate

      public GetViewsOperationSpec fromDate(@Nullable @Nullable String fromDate)
      The number of views for the content since the date.
      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