Record Class SessionTasksRegisterParams
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.SessionTasksRegisterParams
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record SessionTasksRegisterParams(String sessionId, TaskClientType type, String clientTaskId, String description, String displayName, Boolean cancellable, Long expectedSequence)
extends Record
Registers or reclaims a client-owned task.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionSessionTasksRegisterParams(String sessionId, TaskClientType type, String clientTaskId, String description, String displayName, Boolean cancellable, Long expectedSequence) Creates an instance of aSessionTasksRegisterParamsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecancellablerecord component.Returns the value of theclientTaskIdrecord component.Returns the value of thedescriptionrecord component.Returns the value of thedisplayNamerecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theexpectedSequencerecord component.final inthashCode()Returns a hash code value for this object.Returns the value of thesessionIdrecord component.final StringtoString()Returns a string representation of this record class.type()Returns the value of thetyperecord component.
-
Constructor Details
-
SessionTasksRegisterParams
public SessionTasksRegisterParams(String sessionId, TaskClientType type, String clientTaskId, String description, String displayName, Boolean cancellable, Long expectedSequence) Creates an instance of aSessionTasksRegisterParamsrecord class.- Parameters:
sessionId- the value for thesessionIdrecord componenttype- the value for thetyperecord componentclientTaskId- the value for theclientTaskIdrecord componentdescription- the value for thedescriptionrecord componentdisplayName- the value for thedisplayNamerecord componentcancellable- the value for thecancellablerecord componentexpectedSequence- the value for theexpectedSequencerecord 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). -
sessionId
Returns the value of thesessionIdrecord component.- Returns:
- the value of the
sessionIdrecord component
-
type
Returns the value of thetyperecord component.- Returns:
- the value of the
typerecord component
-
clientTaskId
Returns the value of theclientTaskIdrecord component.- Returns:
- the value of the
clientTaskIdrecord component
-
description
Returns the value of thedescriptionrecord component.- Returns:
- the value of the
descriptionrecord component
-
displayName
Returns the value of thedisplayNamerecord component.- Returns:
- the value of the
displayNamerecord component
-
cancellable
Returns the value of thecancellablerecord component.- Returns:
- the value of the
cancellablerecord component
-
expectedSequence
Returns the value of theexpectedSequencerecord component.- Returns:
- the value of the
expectedSequencerecord component
-