Record Class SessionMetadataSetWorkingDirectoryResult
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.SessionMetadataSetWorkingDirectoryResult
@Generated("copilot-sdk-codegen")
public record SessionMetadataSetWorkingDirectoryResult(String workingDirectory)
extends Record
Update the session's working directory. Used by the host when the user explicitly changes cwd (e.g., the `/cd` slash command). The host is responsible for `process.chdir` and any related side-effects (file index, etc.); this method only updates the session's own recorded path.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionSessionMetadataSetWorkingDirectoryResult(String workingDirectory) Creates an instance of aSessionMetadataSetWorkingDirectoryResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.Returns the value of theworkingDirectoryrecord component.
-
Constructor Details
-
SessionMetadataSetWorkingDirectoryResult
Creates an instance of aSessionMetadataSetWorkingDirectoryResultrecord class.- Parameters:
workingDirectory- the value for theworkingDirectoryrecord 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). -
workingDirectory
Returns the value of theworkingDirectoryrecord component.- Returns:
- the value of the
workingDirectoryrecord component
-