Record Class ConnectorsGetCapabilitiesResult
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.ConnectorsGetCapabilitiesResult
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record ConnectorsGetCapabilitiesResult(Long apiVersion, ConnectorDiscoveryAvailability availability, Boolean opaqueAccountSelection, Boolean conditionalCache)
extends Record
Feature availability.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionConnectorsGetCapabilitiesResult(Long apiVersion, ConnectorDiscoveryAvailability availability, Boolean opaqueAccountSelection, Boolean conditionalCache) Creates an instance of aConnectorsGetCapabilitiesResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theapiVersionrecord component.Returns the value of theavailabilityrecord component.Returns the value of theconditionalCacherecord 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 theopaqueAccountSelectionrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ConnectorsGetCapabilitiesResult
public ConnectorsGetCapabilitiesResult(Long apiVersion, ConnectorDiscoveryAvailability availability, Boolean opaqueAccountSelection, Boolean conditionalCache) Creates an instance of aConnectorsGetCapabilitiesResultrecord class.- Parameters:
apiVersion- the value for theapiVersionrecord componentavailability- the value for theavailabilityrecord componentopaqueAccountSelection- the value for theopaqueAccountSelectionrecord componentconditionalCache- the value for theconditionalCacherecord 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). -
apiVersion
Returns the value of theapiVersionrecord component.- Returns:
- the value of the
apiVersionrecord component
-
availability
Returns the value of theavailabilityrecord component.- Returns:
- the value of the
availabilityrecord component
-
opaqueAccountSelection
Returns the value of theopaqueAccountSelectionrecord component.- Returns:
- the value of the
opaqueAccountSelectionrecord component
-
conditionalCache
Returns the value of theconditionalCacherecord component.- Returns:
- the value of the
conditionalCacherecord component
-