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
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypKlasseBeschreibungstatic class -
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic Booleanallows to disable validation of the spec, use with care! -
Konstruktorübersicht
KonstruktorenModifiziererKonstruktorBeschreibungprotectedGetViewsOperationSpec(String contentId, String fromDate) Constructs a validated instance ofGetViewsOperationSpec.Constructs a validated instance ofGetViewsOperationSpec. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbuilder()protected boolean@NotNull 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
-
Felddetails
-
VALIDATION_ENABLED
allows to disable validation of the spec, use with care!
-
-
Konstruktordetails
-
GetViewsOperationSpec
Constructs a validated instance ofGetViewsOperationSpec.- Parameter:
spec- the specification to process
-
GetViewsOperationSpec
Constructs a validated instance ofGetViewsOperationSpec.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
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.- Gibt zurück:
this.
-
fromDate
The number of views for the content since the date.- Gibt zurück:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-