Record Class CatalogSearchPage
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.CatalogSearchPage
@Generated("copilot-sdk-codegen")
public record CatalogSearchPage(String token, Long number)
extends Record
An explicit numbered-page request. SDK consumers treat the token as opaque. For bound search, the runtime unwraps an expiring owner-bound reference to the private authority token; only the runtime changes the authority token's targetPage. Legacy unbound navigation keeps its authority-issued token semantics. No snapshot stability is promised.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionCatalogSearchPage(String token, Long number) Creates an instance of aCatalogSearchPagerecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.number()Returns the value of thenumberrecord component.token()Returns the value of thetokenrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CatalogSearchPage
-
-
Method Details
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
token
Returns the value of thetokenrecord component.- Returns:
- the value of the
tokenrecord component
-
number
Returns the value of thenumberrecord component.- Returns:
- the value of the
numberrecord component
-