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, 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 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.name()Returns the value of thenamerecord component.Returns the value of theruntimeServerIdsrecord component.status()Returns the value of thestatusrecord 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 an instance of aConnectorCatalogEntryrecord class.- Parameters:
name- the value for thenamerecord componentdisplayName- the value for thedisplayNamerecord componentdescription- the value for thedescriptionrecord 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
-
status
Returns the value of thestatusrecord component.- Returns:
- the value of the
statusrecord component
-
runtimeServerIds
-