Record Class ConnectorCatalogEntry
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.ConnectorCatalogEntry
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record ConnectorCatalogEntry(String name, String displayName, String description, String logo, String tier, String releaseTag, ConnectorCatalogStatus status, List<String> runtimeServerIds)
extends Record
Credential-free Connector catalog entry.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionConnectorCatalogEntry(String name, String displayName, String description, ConnectorCatalogStatus status, List<String> runtimeServerIds) Creates a record with the components it had before later optional fields were added.ConnectorCatalogEntry(String name, String displayName, String description, String logo, String tier, String releaseTag, ConnectorCatalogStatus status, List<String> runtimeServerIds) Creates an instance of aConnectorCatalogEntryrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedescriptionrecord component.Returns the value of thedisplayNamerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.logo()Returns the value of thelogorecord component.name()Returns the value of thenamerecord component.Returns the value of thereleaseTagrecord component.Returns the value of theruntimeServerIdsrecord component.status()Returns the value of thestatusrecord component.tier()Returns the value of thetierrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ConnectorCatalogEntry
public ConnectorCatalogEntry(String name, String displayName, String description, ConnectorCatalogStatus status, List<String> runtimeServerIds) Creates a record with the components it had before later optional fields were added.- Parameters:
name- Canonical Connector name used by lifecycle methods.displayName- Untrusted display label from the service.description- Untrusted service description, when present.status- Current authoritative service connection state.runtimeServerIds- Opaque stable runtime IDs currently projected into the session for this Connector.
-
ConnectorCatalogEntry
public ConnectorCatalogEntry(String name, String displayName, String description, String logo, String tier, String releaseTag, ConnectorCatalogStatus status, List<String> runtimeServerIds) Creates an instance of aConnectorCatalogEntryrecord class.- Parameters:
name- the value for thenamerecord componentdisplayName- the value for thedisplayNamerecord componentdescription- the value for thedescriptionrecord componentlogo- the value for thelogorecord componenttier- the value for thetierrecord componentreleaseTag- the value for thereleaseTagrecord componentstatus- the value for thestatusrecord componentruntimeServerIds- the value for theruntimeServerIdsrecord 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). -
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
displayName
Returns the value of thedisplayNamerecord component.- Returns:
- the value of the
displayNamerecord component
-
description
Returns the value of thedescriptionrecord component.- Returns:
- the value of the
descriptionrecord component
-
logo
Returns the value of thelogorecord component.- Returns:
- the value of the
logorecord component
-
tier
Returns the value of thetierrecord component.- Returns:
- the value of the
tierrecord component
-
releaseTag
Returns the value of thereleaseTagrecord component.- Returns:
- the value of the
releaseTagrecord component
-
status
Returns the value of thestatusrecord component.- Returns:
- the value of the
statusrecord component
-
runtimeServerIds
-