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 Details

    • SessionConnectorsGetCapabilitiesResult

      public SessionConnectorsGetCapabilitiesResult(Long apiVersion, ConnectorAvailability availability, Boolean consentContinuation, Boolean opaqueAccountSelection, Long maxPollAttempts, Long maxPollIntervalMs, Long maxDeadlineMs)
      Creates an instance of a SessionConnectorsGetCapabilitiesResult record class.
      Parameters:
      apiVersion - the value for the apiVersion record component
      availability - the value for the availability record component
      consentContinuation - the value for the consentContinuation record component
      opaqueAccountSelection - the value for the opaqueAccountSelection record component
      maxPollAttempts - the value for the maxPollAttempts record component
      maxPollIntervalMs - the value for the maxPollIntervalMs record component
      maxDeadlineMs - the value for the maxDeadlineMs record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • apiVersion

      public Long apiVersion()
      Returns the value of the apiVersion record component.
      Returns:
      the value of the apiVersion record component
    • availability

      public ConnectorAvailability availability()
      Returns the value of the availability record component.
      Returns:
      the value of the availability record component
    • consentContinuation

      public Boolean consentContinuation()
      Returns the value of the consentContinuation record component.
      Returns:
      the value of the consentContinuation record component
    • opaqueAccountSelection

      public Boolean opaqueAccountSelection()
      Returns the value of the opaqueAccountSelection record component.
      Returns:
      the value of the opaqueAccountSelection record component
    • maxPollAttempts

      public Long maxPollAttempts()
      Returns the value of the maxPollAttempts record component.
      Returns:
      the value of the maxPollAttempts record component
    • maxPollIntervalMs

      public Long maxPollIntervalMs()
      Returns the value of the maxPollIntervalMs record component.
      Returns:
      the value of the maxPollIntervalMs record component
    • maxDeadlineMs

      public Long maxDeadlineMs()
      Returns the value of the maxDeadlineMs record component.
      Returns:
      the value of the maxDeadlineMs record component