Record Class SessionCommandsFinalizeInvocationEffectParams
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.SessionCommandsFinalizeInvocationEffectParams
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record SessionCommandsFinalizeInvocationEffectParams(String sessionId, Map<String,Object> effect, CommandsInvocationEffectOutcome outcome)
extends Record
The pending slash-command invocation effect to finalize, plus whether the host applied or cancelled it.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionSessionCommandsFinalizeInvocationEffectParams(String sessionId, Map<String, Object> effect, CommandsInvocationEffectOutcome outcome) Creates an instance of aSessionCommandsFinalizeInvocationEffectParamsrecord class. -
Method Summary
Modifier and TypeMethodDescriptioneffect()Returns the value of theeffectrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.outcome()Returns the value of theoutcomerecord component.Returns the value of thesessionIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SessionCommandsFinalizeInvocationEffectParams
public SessionCommandsFinalizeInvocationEffectParams(String sessionId, Map<String, Object> effect, CommandsInvocationEffectOutcome outcome) Creates an instance of aSessionCommandsFinalizeInvocationEffectParamsrecord class.- Parameters:
sessionId- the value for thesessionIdrecord componenteffect- the value for theeffectrecord componentoutcome- the value for theoutcomerecord 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
-
effect
-
outcome
Returns the value of theoutcomerecord component.- Returns:
- the value of the
outcomerecord component
-