Class GetViewsR200
java.lang.Object
io.github.primelib.confluence4j.rest.v1.models.GetViewsR200
GetViewsR200
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedProtected no-args constructor for use by serialization frameworks.GetViewsR200(Long id, Long count) Constructs a validated instance ofGetViewsR200.GetViewsR200(Consumer<GetViewsR200> spec) Constructs a validated instance ofGetViewsR200. -
Method Summary
Modifier and TypeMethodDescriptioncount()Fluent getter for count.Fluent setter for count.booleangetCount()Gets the value of count.getId()Gets the value of id.inthashCode()id()Fluent getter for id.Fluent setter for id.voidSets the value of count.voidSets the value of id.toString()
-
Field Details
-
id
The content ID. -
count
The total number of views for the content.
-
-
Constructor Details
-
GetViewsR200
Constructs a validated instance ofGetViewsR200.- Parameters:
spec- the specification to process
-
GetViewsR200
@Internal protected GetViewsR200()Protected no-args constructor for use by serialization frameworks. -
GetViewsR200
Constructs a validated instance ofGetViewsR200.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
GetViewsR200(Consumer)instead.- Parameters:
id- The content ID.count- The total number of views for the content.
-
-
Method Details
-
id
-
id
Fluent setter for id.The content ID.
- Parameters:
id- id- Returns:
- this
-
getId
-
setId
-
count
Fluent getter for count.The total number of views for the content.
- Returns:
- count
-
count
Fluent setter for count.The total number of views for the content.
- Parameters:
count- count- Returns:
- this
-
getCount
Gets the value of count.The total number of views for the content.
- Returns:
- count
-
setCount
Sets the value of count.The total number of views for the content.
- Parameters:
count- count
-
equals
-
hashCode
-
toString
-