Class Favourited
java.lang.Object
io.github.primelib.confluence4j.rest.v1.models.Favourited
Favourited
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedProtected no-args constructor for use by serialization frameworks.Favourited(Boolean isFavourite, Instant favouritedDate) Constructs a validated instance ofFavourited.Favourited(Consumer<Favourited> spec) Constructs a validated instance ofFavourited. -
Method Summary
Modifier and TypeMethodDescriptionbooleanFluent getter for favouritedDate.favouritedDate(Instant favouritedDate) Fluent setter for favouritedDate.Gets the value of favouritedDate.Gets the value of isFavourite.inthashCode()Fluent getter for isFavourite.isFavourite(Boolean isFavourite) Fluent setter for isFavourite.voidsetFavouritedDate(Instant favouritedDate) Sets the value of favouritedDate.voidsetIsFavourite(Boolean isFavourite) Sets the value of isFavourite.toString()
-
Field Details
-
isFavourite
-
favouritedDate
-
-
Constructor Details
-
Favourited
Constructs a validated instance ofFavourited.- Parameters:
spec- the specification to process
-
Favourited
@Internal protected Favourited()Protected no-args constructor for use by serialization frameworks. -
Favourited
Constructs a validated instance ofFavourited.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
Favourited(Consumer)instead.- Parameters:
isFavourite- isFavouritefavouritedDate- favouritedDate
-
-
Method Details
-
isFavourite
-
isFavourite
Fluent setter for isFavourite.- Parameters:
isFavourite- isFavourite- Returns:
- this
-
getIsFavourite
-
setIsFavourite
Sets the value of isFavourite.- Parameters:
isFavourite- isFavourite
-
favouritedDate
-
favouritedDate
Fluent setter for favouritedDate.- Parameters:
favouritedDate- favouritedDate- Returns:
- this
-
getFavouritedDate
-
setFavouritedDate
Sets the value of favouritedDate.- Parameters:
favouritedDate- favouritedDate
-
equals
-
hashCode
-
toString
-