Record Class ModelProviderInstanceReference
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.ModelProviderInstanceReference
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record ModelProviderInstanceReference(String adapterId, String providerKind, String id, String managementEndpoint)
extends Record
Serializable reference to a discovered provider instance.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionModelProviderInstanceReference(String adapterId, String providerKind, String id, String managementEndpoint) Creates an instance of aModelProviderInstanceReferencerecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theadapterIdrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.Returns the value of themanagementEndpointrecord component.Returns the value of theproviderKindrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ModelProviderInstanceReference
public ModelProviderInstanceReference(String adapterId, String providerKind, String id, String managementEndpoint) Creates an instance of aModelProviderInstanceReferencerecord class.- Parameters:
adapterId- the value for theadapterIdrecord componentproviderKind- the value for theproviderKindrecord componentid- the value for theidrecord componentmanagementEndpoint- the value for themanagementEndpointrecord 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). -
adapterId
Returns the value of theadapterIdrecord component.- Returns:
- the value of the
adapterIdrecord component
-
providerKind
Returns the value of theproviderKindrecord component.- Returns:
- the value of the
providerKindrecord component
-
id
Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
managementEndpoint
Returns the value of themanagementEndpointrecord component.- Returns:
- the value of the
managementEndpointrecord component
-