Record Class SessionDiagnosticsReadResult
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.SessionDiagnosticsReadResult
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record SessionDiagnosticsReadResult(List<SessionDiagnosticsReadResult.SessionDiagnosticsReadResultEntriesItem> entries, String cursor, DiagnosticCursorStatus cursorStatus, Long droppedCount, Boolean hasMore)
extends Record
One cursor-addressed page of retained session diagnostics.
- Since:
- 1.0.0
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final record -
Constructor Summary
ConstructorsConstructorDescriptionSessionDiagnosticsReadResult(List<SessionDiagnosticsReadResult.SessionDiagnosticsReadResultEntriesItem> entries, String cursor, DiagnosticCursorStatus cursorStatus, Long droppedCount, Boolean hasMore) Creates an instance of aSessionDiagnosticsReadResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptioncursor()Returns the value of thecursorrecord component.Returns the value of thecursorStatusrecord component.Returns the value of thedroppedCountrecord component.entries()Returns the value of theentriesrecord component.final booleanIndicates whether some other object is "equal to" this one.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
-
SessionDiagnosticsReadResult
public SessionDiagnosticsReadResult(List<SessionDiagnosticsReadResult.SessionDiagnosticsReadResultEntriesItem> entries, String cursor, DiagnosticCursorStatus cursorStatus, Long droppedCount, Boolean hasMore) Creates an instance of aSessionDiagnosticsReadResultrecord class.- Parameters:
entries- the value for theentriesrecord componentcursor- the value for thecursorrecord componentcursorStatus- the value for thecursorStatusrecord componentdroppedCount- the value for thedroppedCountrecord componenthasMore- the value for thehasMorerecord component
-
-
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). -
entries
Returns the value of theentriesrecord component.- Returns:
- the value of the
entriesrecord component
-
cursor
Returns the value of thecursorrecord component.- Returns:
- the value of the
cursorrecord component
-
cursorStatus
Returns the value of thecursorStatusrecord component.- Returns:
- the value of the
cursorStatusrecord component
-
droppedCount
Returns the value of thedroppedCountrecord component.- Returns:
- the value of the
droppedCountrecord component
-
hasMore
Returns the value of thehasMorerecord component.- Returns:
- the value of the
hasMorerecord component
-