Record Class SessionDiagnosticsReadResult.SessionDiagnosticsReadResultEntriesItem
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.SessionDiagnosticsReadResult.SessionDiagnosticsReadResultEntriesItem
- Enclosing class:
SessionDiagnosticsReadResult
public static record SessionDiagnosticsReadResult.SessionDiagnosticsReadResultEntriesItem(String timestamp, DiagnosticSeverity level, String agentId, String message, Boolean truncated, Long originalBytes, McpDiagnosticDetails details, String source)
extends Record
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionSessionDiagnosticsReadResultEntriesItem(String timestamp, DiagnosticSeverity level, String agentId, String message, Boolean truncated, Long originalBytes, McpDiagnosticDetails details, String source) Creates an instance of aSessionDiagnosticsReadResultEntriesItemrecord class. -
Method Summary
Modifier and TypeMethodDescriptionagentId()Returns the value of theagentIdrecord component.details()Returns the value of thedetailsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.level()Returns the value of thelevelrecord component.message()Returns the value of themessagerecord component.Returns the value of theoriginalBytesrecord component.source()Returns the value of thesourcerecord component.Returns the value of thetimestamprecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thetruncatedrecord component.
-
Constructor Details
-
SessionDiagnosticsReadResultEntriesItem
public SessionDiagnosticsReadResultEntriesItem(String timestamp, DiagnosticSeverity level, String agentId, String message, Boolean truncated, Long originalBytes, McpDiagnosticDetails details, String source) Creates an instance of aSessionDiagnosticsReadResultEntriesItemrecord class.- Parameters:
timestamp- the value for thetimestamprecord componentlevel- the value for thelevelrecord componentagentId- the value for theagentIdrecord componentmessage- the value for themessagerecord componenttruncated- the value for thetruncatedrecord componentoriginalBytes- the value for theoriginalBytesrecord componentdetails- the value for thedetailsrecord componentsource- the value for thesourcerecord 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). -
timestamp
Returns the value of thetimestamprecord component.- Returns:
- the value of the
timestamprecord component
-
level
Returns the value of thelevelrecord component.- Returns:
- the value of the
levelrecord component
-
agentId
Returns the value of theagentIdrecord component.- Returns:
- the value of the
agentIdrecord component
-
message
Returns the value of themessagerecord component.- Returns:
- the value of the
messagerecord component
-
truncated
Returns the value of thetruncatedrecord component.- Returns:
- the value of the
truncatedrecord component
-
originalBytes
Returns the value of theoriginalBytesrecord component.- Returns:
- the value of the
originalBytesrecord component
-
details
Returns the value of thedetailsrecord component.- Returns:
- the value of the
detailsrecord component
-
source
Returns the value of thesourcerecord component.- Returns:
- the value of the
sourcerecord component
-