Record Class ConnectorAuthorizationRequirement
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.ConnectorAuthorizationRequirement
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record ConnectorAuthorizationRequirement(String accountId, ConnectorAuthorizationScope scope)
extends Record
Account-targeted authorization update required by the Connector service. The account ID is an opaque host routing identifier; no credential is included.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionConnectorAuthorizationRequirement(String accountId, ConnectorAuthorizationScope scope) Creates an instance of aConnectorAuthorizationRequirementrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theaccountIdrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.scope()Returns the value of thescoperecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ConnectorAuthorizationRequirement
Creates an instance of aConnectorAuthorizationRequirementrecord class.- Parameters:
accountId- the value for theaccountIdrecord componentscope- the value for thescoperecord 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). -
accountId
Returns the value of theaccountIdrecord component.- Returns:
- the value of the
accountIdrecord component
-
scope
Returns the value of thescoperecord component.- Returns:
- the value of the
scoperecord component
-