Record Class SessionConnectorsListResult
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.SessionConnectorsListResult
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record SessionConnectorsListResult(Long revision, Long refreshedAtMs, List<ConnectorCatalogEntry> connectors)
extends Record
Validated Connector catalog snapshot cached by the session.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionSessionConnectorsListResult(Long revision, Long refreshedAtMs, List<ConnectorCatalogEntry> connectors) Creates an instance of aSessionConnectorsListResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theconnectorsrecord 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 therefreshedAtMsrecord component.revision()Returns the value of therevisionrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SessionConnectorsListResult
public SessionConnectorsListResult(Long revision, Long refreshedAtMs, List<ConnectorCatalogEntry> connectors) Creates an instance of aSessionConnectorsListResultrecord class.- Parameters:
revision- the value for therevisionrecord componentrefreshedAtMs- the value for therefreshedAtMsrecord componentconnectors- the value for theconnectorsrecord 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). -
revision
Returns the value of therevisionrecord component.- Returns:
- the value of the
revisionrecord component
-
refreshedAtMs
Returns the value of therefreshedAtMsrecord component.- Returns:
- the value of the
refreshedAtMsrecord component
-
connectors
Returns the value of theconnectorsrecord component.- Returns:
- the value of the
connectorsrecord component
-