Record Class SessionMetadataActivityResult
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.SessionMetadataActivityResult
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record SessionMetadataActivityResult(Boolean abortable, Boolean hasActiveWork)
extends Record
Current activity flags for the session.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionSessionMetadataActivityResult(Boolean abortable, Boolean hasActiveWork) Creates an instance of aSessionMetadataActivityResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theabortablerecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thehasActiveWorkrecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SessionMetadataActivityResult
-
-
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). -
abortable
Returns the value of theabortablerecord component.- Returns:
- the value of the
abortablerecord component
-
hasActiveWork
Returns the value of thehasActiveWorkrecord component.- Returns:
- the value of the
hasActiveWorkrecord component
-