Record Class SessionShellExecParams
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.SessionShellExecParams
-
Constructor Summary
ConstructorsConstructorDescriptionSessionShellExecParams(String sessionId, String command, String cwd, Long timeout) Creates an instance of aSessionShellExecParamsrecord class. -
Method Summary
Modifier and TypeMethodDescriptioncommand()Returns the value of thecommandrecord component.cwd()Returns the value of thecwdrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thesessionIdrecord component.timeout()Returns the value of thetimeoutrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SessionShellExecParams
Creates an instance of aSessionShellExecParamsrecord class.- Parameters:
sessionId- the value for thesessionIdrecord componentcommand- the value for thecommandrecord componentcwd- the value for thecwdrecord componenttimeout- the value for thetimeoutrecord 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
-
command
Returns the value of thecommandrecord component.- Returns:
- the value of the
commandrecord component
-
cwd
Returns the value of thecwdrecord component.- Returns:
- the value of the
cwdrecord component
-
timeout
Returns the value of thetimeoutrecord component.- Returns:
- the value of the
timeoutrecord component
-