Record Class SessionQueueBeginDeferredIdleDrainResult
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.SessionQueueBeginDeferredIdleDrainResult
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record SessionQueueBeginDeferredIdleDrainResult(Boolean shouldDrain)
extends Record
Whether a deferred-idle drain should run.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionSessionQueueBeginDeferredIdleDrainResult(Boolean shouldDrain) Creates an instance of aSessionQueueBeginDeferredIdleDrainResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theshouldDrainrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SessionQueueBeginDeferredIdleDrainResult
Creates an instance of aSessionQueueBeginDeferredIdleDrainResultrecord class.- Parameters:
shouldDrain- the value for theshouldDrainrecord 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). -
shouldDrain
Returns the value of theshouldDrainrecord component.- Returns:
- the value of the
shouldDrainrecord component
-