Module com.github.copilot.java
Package com.github.copilot.generated.rpc
Record Class SessionsPruneOldResult
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.SessionsPruneOldResult
@Generated("copilot-sdk-codegen")
public record SessionsPruneOldResult(List<String> deleted, List<String> candidates, List<String> skipped, Long freedBytes, Boolean dryRun)
extends Record
Outcome of the prune operation: deleted IDs, dry-run candidates, skipped IDs, total bytes freed, and the dry-run flag.
- Since:
- 1.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecandidatesrecord component.deleted()Returns the value of thedeletedrecord component.dryRun()Returns the value of thedryRunrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thefreedBytesrecord component.final inthashCode()Returns a hash code value for this object.skipped()Returns the value of theskippedrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SessionsPruneOldResult
public SessionsPruneOldResult(List<String> deleted, List<String> candidates, List<String> skipped, Long freedBytes, Boolean dryRun) Creates an instance of aSessionsPruneOldResultrecord class.- Parameters:
deleted- the value for thedeletedrecord componentcandidates- the value for thecandidatesrecord componentskipped- the value for theskippedrecord componentfreedBytes- the value for thefreedBytesrecord componentdryRun- the value for thedryRunrecord 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). -
deleted
Returns the value of thedeletedrecord component.- Returns:
- the value of the
deletedrecord component
-
candidates
Returns the value of thecandidatesrecord component.- Returns:
- the value of the
candidatesrecord component
-
skipped
Returns the value of theskippedrecord component.- Returns:
- the value of the
skippedrecord component
-
freedBytes
Returns the value of thefreedBytesrecord component.- Returns:
- the value of the
freedBytesrecord component
-
dryRun
Returns the value of thedryRunrecord component.- Returns:
- the value of the
dryRunrecord component
-