Record Class ManagedSettingsResolveParams
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.ManagedSettingsResolveParams
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record ManagedSettingsResolveParams(String selectionId, String gitHubToken, String clientName, String workingDirectory)
extends Record
Request parameters for the
managedSettings.resolve RPC method.- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionManagedSettingsResolveParams(String selectionId, String gitHubToken, String clientName) Creates managed-settings resolution parameters without a working directory.ManagedSettingsResolveParams(String selectionId, String gitHubToken, String clientName, String workingDirectory) Creates an instance of aManagedSettingsResolveParamsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theclientNamerecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thegitHubTokenrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theselectionIdrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of theworkingDirectoryrecord component.
-
Constructor Details
-
ManagedSettingsResolveParams
Creates managed-settings resolution parameters without a working directory.- Parameters:
selectionId- Opaque account identifier returned by `account.getAllUsers`. When omitted, the current account is used, or device policy only when no account is signed in.gitHubToken- GitHub token to resolve instead of the current account. The call fails when the token cannot be resolved.clientName- Embedding client identity for server policy requests, as in session creation. Omit for the CLI identity.
-
ManagedSettingsResolveParams
public ManagedSettingsResolveParams(String selectionId, String gitHubToken, String clientName, String workingDirectory) Creates an instance of aManagedSettingsResolveParamsrecord class.- Parameters:
selectionId- the value for theselectionIdrecord componentgitHubToken- the value for thegitHubTokenrecord componentclientName- the value for theclientNamerecord componentworkingDirectory- 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). -
selectionId
Returns the value of theselectionIdrecord component.- Returns:
- the value of the
selectionIdrecord component
-
gitHubToken
Returns the value of thegitHubTokenrecord component.- Returns:
- the value of the
gitHubTokenrecord component
-
clientName
Returns the value of theclientNamerecord component.- Returns:
- the value of the
clientNamerecord component
-
workingDirectory
Returns the value of theworkingDirectoryrecord component.- Returns:
- the value of the
workingDirectoryrecord component
-