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