Record Class GuidePageRequest
java.lang.Object
java.lang.Record
ke.ric.api.guide.GuidePageRequest
-
Constructor Summary
ConstructorsConstructorDescriptionGuidePageRequest(int pageIndex) GuidePageRequest(int pageIndex, String entryRoute) GuidePageRequest(int pageIndex, String entryRoute, Map<String, String> state) Creates an instance of aGuidePageRequestrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theentryRouterecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intReturns the value of thepageIndexrecord component.state()Returns the value of thestaterecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
GuidePageRequest
-
GuidePageRequest
public GuidePageRequest(int pageIndex) -
GuidePageRequest
Creates an instance of aGuidePageRequestrecord class.- Parameters:
pageIndex- the value for thepageIndexrecord componententryRoute- the value for theentryRouterecord componentstate- the value for thestaterecord component
-
-
Method Details
-
withState
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
pageIndex
public int pageIndex()Returns the value of thepageIndexrecord component.- Returns:
- the value of the
pageIndexrecord component
-
entryRoute
Returns the value of theentryRouterecord component.- Returns:
- the value of the
entryRouterecord component
-
state
-