Module com.github.copilot.java
Package com.github.copilot.generated.rpc
Record Class SessionEventLogReadResult
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.SessionEventLogReadResult
@Generated("copilot-sdk-codegen")
public record SessionEventLogReadResult(List<Object> events, String cursor, Boolean hasMore, EventsCursorStatus cursorStatus)
extends Record
Batch of session events returned by a read, with cursor and continuation metadata.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionSessionEventLogReadResult(List<Object> events, String cursor, Boolean hasMore, EventsCursorStatus cursorStatus) Creates an instance of aSessionEventLogReadResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptioncursor()Returns the value of thecursorrecord component.Returns the value of thecursorStatusrecord component.final booleanIndicates whether some other object is "equal to" this one.events()Returns the value of theeventsrecord component.final inthashCode()Returns a hash code value for this object.hasMore()Returns the value of thehasMorerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SessionEventLogReadResult
public SessionEventLogReadResult(List<Object> events, String cursor, Boolean hasMore, EventsCursorStatus cursorStatus) Creates an instance of aSessionEventLogReadResultrecord class.- Parameters:
events- the value for theeventsrecord componentcursor- the value for thecursorrecord componenthasMore- the value for thehasMorerecord componentcursorStatus- the value for thecursorStatusrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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). -
events
Returns the value of theeventsrecord component.- Returns:
- the value of the
eventsrecord component
-
cursor
Returns the value of thecursorrecord component.- Returns:
- the value of the
cursorrecord component
-
hasMore
Returns the value of thehasMorerecord component.- Returns:
- the value of the
hasMorerecord component
-
cursorStatus
Returns the value of thecursorStatusrecord component.- Returns:
- the value of the
cursorStatusrecord component
-