Record Class SessionPluginsReloadParams
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.SessionPluginsReloadParams
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record SessionPluginsReloadParams(String sessionId, Boolean reloadMcp, Boolean reloadCustomAgents, Boolean reloadHooks, Boolean reloadExtensions, Boolean deferRepoHooks)
extends Record
Request parameters for the
session.plugins.reload RPC method.- Since:
- 1.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedeferRepoHooksrecord 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 thereloadCustomAgentsrecord component.Returns the value of thereloadExtensionsrecord component.Returns the value of thereloadHooksrecord component.Returns the value of thereloadMcprecord component.Returns the value of thesessionIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SessionPluginsReloadParams
public SessionPluginsReloadParams(String sessionId, Boolean reloadMcp, Boolean reloadCustomAgents, Boolean reloadHooks, Boolean reloadExtensions, Boolean deferRepoHooks) Creates an instance of aSessionPluginsReloadParamsrecord class.- Parameters:
sessionId- the value for thesessionIdrecord componentreloadMcp- the value for thereloadMcprecord componentreloadCustomAgents- the value for thereloadCustomAgentsrecord componentreloadHooks- the value for thereloadHooksrecord componentreloadExtensions- the value for thereloadExtensionsrecord componentdeferRepoHooks- the value for thedeferRepoHooksrecord 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
-
reloadMcp
Returns the value of thereloadMcprecord component.- Returns:
- the value of the
reloadMcprecord component
-
reloadCustomAgents
Returns the value of thereloadCustomAgentsrecord component.- Returns:
- the value of the
reloadCustomAgentsrecord component
-
reloadHooks
Returns the value of thereloadHooksrecord component.- Returns:
- the value of the
reloadHooksrecord component
-
reloadExtensions
Returns the value of thereloadExtensionsrecord component.- Returns:
- the value of the
reloadExtensionsrecord component
-
deferRepoHooks
Returns the value of thedeferRepoHooksrecord component.- Returns:
- the value of the
deferRepoHooksrecord component
-