Record Class SessionTasksUpdateResult
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.SessionTasksUpdateResult
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record SessionTasksUpdateResult(TaskClientInfo task, Boolean applied, Boolean duplicate)
extends Record
Result of publishing a client-owned task update.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionSessionTasksUpdateResult(TaskClientInfo task, Boolean applied, Boolean duplicate) Creates an instance of aSessionTasksUpdateResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionapplied()Returns the value of theappliedrecord component.Returns the value of theduplicaterecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.task()Returns the value of thetaskrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SessionTasksUpdateResult
Creates an instance of aSessionTasksUpdateResultrecord class.- Parameters:
task- the value for thetaskrecord componentapplied- the value for theappliedrecord componentduplicate- the value for theduplicaterecord 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). -
task
Returns the value of thetaskrecord component.- Returns:
- the value of the
taskrecord component
-
applied
Returns the value of theappliedrecord component.- Returns:
- the value of the
appliedrecord component
-
duplicate
Returns the value of theduplicaterecord component.- Returns:
- the value of the
duplicaterecord component
-