Record Class AccountsAcquireEntraTokenParams
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.AccountsAcquireEntraTokenParams
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record AccountsAcquireEntraTokenParams(String clientId, String tenantId, String redirectUri, List<String> scopes, EntraTokenInteraction interaction, String accessTokenToRenew)
extends Record
OneAuth token request supplied by a trusted host application.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionAccountsAcquireEntraTokenParams(String clientId, String tenantId, String redirectUri, List<String> scopes, EntraTokenInteraction interaction, String accessTokenToRenew) Creates an instance of aAccountsAcquireEntraTokenParamsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theaccessTokenToRenewrecord component.clientId()Returns the value of theclientIdrecord 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 theinteractionrecord component.Returns the value of theredirectUrirecord component.scopes()Returns the value of thescopesrecord component.tenantId()Returns the value of thetenantIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
AccountsAcquireEntraTokenParams
public AccountsAcquireEntraTokenParams(String clientId, String tenantId, String redirectUri, List<String> scopes, EntraTokenInteraction interaction, String accessTokenToRenew) Creates an instance of aAccountsAcquireEntraTokenParamsrecord class.- Parameters:
clientId- the value for theclientIdrecord componenttenantId- the value for thetenantIdrecord componentredirectUri- the value for theredirectUrirecord componentscopes- the value for thescopesrecord componentinteraction- the value for theinteractionrecord componentaccessTokenToRenew- the value for theaccessTokenToRenewrecord 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). -
clientId
Returns the value of theclientIdrecord component.- Returns:
- the value of the
clientIdrecord component
-
tenantId
Returns the value of thetenantIdrecord component.- Returns:
- the value of the
tenantIdrecord component
-
redirectUri
Returns the value of theredirectUrirecord component.- Returns:
- the value of the
redirectUrirecord component
-
scopes
-
interaction
Returns the value of theinteractionrecord component.- Returns:
- the value of the
interactionrecord component
-
accessTokenToRenew
Returns the value of theaccessTokenToRenewrecord component.- Returns:
- the value of the
accessTokenToRenewrecord component
-