Record Class SessionConnectorsGetCapabilitiesResult
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.SessionConnectorsGetCapabilitiesResult
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record SessionConnectorsGetCapabilitiesResult(Long apiVersion, ConnectorAvailability availability, Boolean consentContinuation, Boolean opaqueAccountSelection, Long maxPollAttempts, Long maxPollIntervalMs, Long maxDeadlineMs)
extends Record
Feature detection and hard polling limits for the EXPERIMENTAL session connector API.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionSessionConnectorsGetCapabilitiesResult(Long apiVersion, ConnectorAvailability availability, Boolean consentContinuation, Boolean opaqueAccountSelection, Long maxPollAttempts, Long maxPollIntervalMs, Long maxDeadlineMs) Creates an instance of aSessionConnectorsGetCapabilitiesResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theapiVersionrecord component.Returns the value of theavailabilityrecord component.Returns the value of theconsentContinuationrecord 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 themaxDeadlineMsrecord component.Returns the value of themaxPollAttemptsrecord component.Returns the value of themaxPollIntervalMsrecord component.Returns the value of theopaqueAccountSelectionrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SessionConnectorsGetCapabilitiesResult
public SessionConnectorsGetCapabilitiesResult(Long apiVersion, ConnectorAvailability availability, Boolean consentContinuation, Boolean opaqueAccountSelection, Long maxPollAttempts, Long maxPollIntervalMs, Long maxDeadlineMs) Creates an instance of aSessionConnectorsGetCapabilitiesResultrecord class.- Parameters:
apiVersion- the value for theapiVersionrecord componentavailability- the value for theavailabilityrecord componentconsentContinuation- the value for theconsentContinuationrecord componentopaqueAccountSelection- the value for theopaqueAccountSelectionrecord componentmaxPollAttempts- the value for themaxPollAttemptsrecord componentmaxPollIntervalMs- the value for themaxPollIntervalMsrecord componentmaxDeadlineMs- the value for themaxDeadlineMsrecord 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
-
consentContinuation
Returns the value of theconsentContinuationrecord component.- Returns:
- the value of the
consentContinuationrecord component
-
opaqueAccountSelection
Returns the value of theopaqueAccountSelectionrecord component.- Returns:
- the value of the
opaqueAccountSelectionrecord component
-
maxPollAttempts
Returns the value of themaxPollAttemptsrecord component.- Returns:
- the value of the
maxPollAttemptsrecord component
-
maxPollIntervalMs
Returns the value of themaxPollIntervalMsrecord component.- Returns:
- the value of the
maxPollIntervalMsrecord component
-
maxDeadlineMs
Returns the value of themaxDeadlineMsrecord component.- Returns:
- the value of the
maxDeadlineMsrecord component
-