Class GetAnalyticsContentByContentIDViewersV1OperationSpec
java.lang.Object
io.github.primelib.confluence4j.rest.v1.operations.GetAnalyticsContentByContentIDViewersV1OperationSpec
@Generated("io.github.primelib.primecodegen")
public class GetAnalyticsContentByContentIDViewersV1OperationSpec
extends Object
GetAnalyticsContentByContentIDViewersV1
Get the total number of distinct viewers a piece of content has.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic Booleanallows to disable validation of the spec, use with care! -
Constructor Summary
ConstructorsConstructorDescriptionGetAnalyticsContentByContentIDViewersV1OperationSpec(Consumer<GetAnalyticsContentByContentIDViewersV1OperationSpec> spec) Constructs a validated instance ofGetAnalyticsContentByContentIDViewersV1OperationSpec. -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean@NonNull StringThe ID of the content to get the viewers for.The ID of the content to get the viewers for.boolean@Nullable StringfromDate()The number of views for the content since the date.The number of views for the content since the date.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
-
GetAnalyticsContentByContentIDViewersV1OperationSpec
@Internal public GetAnalyticsContentByContentIDViewersV1OperationSpec(Consumer<GetAnalyticsContentByContentIDViewersV1OperationSpec> spec) Constructs a validated instance ofGetAnalyticsContentByContentIDViewersV1OperationSpec.- 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
-
contentId
The ID of the content to get the viewers for. -
fromDate
The number of views for the content since the date. -
contentId
The ID of the content to get the viewers for.- Returns:
this.
-
fromDate
The number of views for the content since the date.- Returns:
this.
-
equals
-
canEqual
-
hashCode
-
toString
-