Record Class SessionFsSetProviderParams
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.SessionFsSetProviderParams
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record SessionFsSetProviderParams(String initialCwd, String sessionStatePath, SessionFsSetProviderConventions conventions, SessionFsSetProviderCapabilities capabilities)
extends Record
Initial working directory, session-state path layout, and path conventions used to register the calling SDK client as the session filesystem provider. A registered provider is authoritative for path interpretation and filesystem facts used by workspace permission validation. Paths are interpreted lexically; home-relative paths (`~` and `~/...`) and Windows drive-relative paths such as `C:foo` are unsupported. Until provider-side canonicalization is supported, providers must not expose symlinks inside allowed roots that escape those roots.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionSessionFsSetProviderParams(String initialCwd, String sessionStatePath, SessionFsSetProviderConventions conventions, SessionFsSetProviderCapabilities capabilities) Creates an instance of aSessionFsSetProviderParamsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecapabilitiesrecord component.Returns the value of theconventionsrecord 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 theinitialCwdrecord component.Returns the value of thesessionStatePathrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SessionFsSetProviderParams
public SessionFsSetProviderParams(String initialCwd, String sessionStatePath, SessionFsSetProviderConventions conventions, SessionFsSetProviderCapabilities capabilities) Creates an instance of aSessionFsSetProviderParamsrecord class.- Parameters:
initialCwd- the value for theinitialCwdrecord componentsessionStatePath- the value for thesessionStatePathrecord componentconventions- the value for theconventionsrecord componentcapabilities- the value for thecapabilitiesrecord 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). -
initialCwd
Returns the value of theinitialCwdrecord component.- Returns:
- the value of the
initialCwdrecord component
-
sessionStatePath
Returns the value of thesessionStatePathrecord component.- Returns:
- the value of the
sessionStatePathrecord component
-
conventions
Returns the value of theconventionsrecord component.- Returns:
- the value of the
conventionsrecord component
-
capabilities
Returns the value of thecapabilitiesrecord component.- Returns:
- the value of the
capabilitiesrecord component
-