Record Class SessionHistoryTruncateResult
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.SessionHistoryTruncateResult
@Generated("copilot-sdk-codegen")
public record SessionHistoryTruncateResult(Long eventsRemoved)
extends Record
Number of events that were removed by the truncation.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionSessionHistoryTruncateResult(Long eventsRemoved) Creates an instance of aSessionHistoryTruncateResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of theeventsRemovedrecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SessionHistoryTruncateResult
Creates an instance of aSessionHistoryTruncateResultrecord class.- Parameters:
eventsRemoved- the value for theeventsRemovedrecord 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). -
eventsRemoved
Returns the value of theeventsRemovedrecord component.- Returns:
- the value of the
eventsRemovedrecord component
-