Record Class SessionConnectorsContinueConnectionParams
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.SessionConnectorsContinueConnectionParams
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record SessionConnectorsContinueConnectionParams(String sessionId, String continuationId, Long maxAttempts, Long pollIntervalMs, Long deadlineMs)
extends Record
Explicitly bounded continuation of a pending Connector connection.
- Since:
- 1.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecontinuationIdrecord component.Returns the value of thedeadlineMsrecord 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 themaxAttemptsrecord component.Returns the value of thepollIntervalMsrecord component.Returns the value of thesessionIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SessionConnectorsContinueConnectionParams
public SessionConnectorsContinueConnectionParams(String sessionId, String continuationId, Long maxAttempts, Long pollIntervalMs, Long deadlineMs) Creates an instance of aSessionConnectorsContinueConnectionParamsrecord class.- Parameters:
sessionId- the value for thesessionIdrecord componentcontinuationId- the value for thecontinuationIdrecord componentmaxAttempts- the value for themaxAttemptsrecord componentpollIntervalMs- the value for thepollIntervalMsrecord componentdeadlineMs- the value for thedeadlineMsrecord 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). -
sessionId
Returns the value of thesessionIdrecord component.- Returns:
- the value of the
sessionIdrecord component
-
continuationId
Returns the value of thecontinuationIdrecord component.- Returns:
- the value of the
continuationIdrecord component
-
maxAttempts
Returns the value of themaxAttemptsrecord component.- Returns:
- the value of the
maxAttemptsrecord component
-
pollIntervalMs
Returns the value of thepollIntervalMsrecord component.- Returns:
- the value of the
pollIntervalMsrecord component
-
deadlineMs
Returns the value of thedeadlineMsrecord component.- Returns:
- the value of the
deadlineMsrecord component
-