Record Class ConnectorsGetAccountsResult
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.ConnectorsGetAccountsResult
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record ConnectorsGetAccountsResult(ConnectorDiscoveryAvailability availability, List<ConnectorDiscoveryAccount> accounts)
extends Record
Eligible accounts.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionConnectorsGetAccountsResult(ConnectorDiscoveryAvailability availability, List<ConnectorDiscoveryAccount> accounts) Creates an instance of aConnectorsGetAccountsResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionaccounts()Returns the value of theaccountsrecord component.Returns the value of theavailabilityrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ConnectorsGetAccountsResult
public ConnectorsGetAccountsResult(ConnectorDiscoveryAvailability availability, List<ConnectorDiscoveryAccount> accounts) Creates an instance of aConnectorsGetAccountsResultrecord class.- Parameters:
availability- the value for theavailabilityrecord componentaccounts- the value for theaccountsrecord 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). -
availability
Returns the value of theavailabilityrecord component.- Returns:
- the value of the
availabilityrecord component
-
accounts
Returns the value of theaccountsrecord component.- Returns:
- the value of the
accountsrecord component
-