Record Class SessionProviderSyncResult
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.SessionProviderSyncResult
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record SessionProviderSyncResult(List<Object> models, List<String> selectionIds, Boolean modelDeselected)
extends Record
The selectable model entries and selection ids synthesized for the synchronized BYOK models.
- Since:
- 1.0.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of themodelDeselectedrecord component.models()Returns the value of themodelsrecord component.Returns the value of theselectionIdsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SessionProviderSyncResult
public SessionProviderSyncResult(List<Object> models, List<String> selectionIds, Boolean modelDeselected) Creates an instance of aSessionProviderSyncResultrecord class.- Parameters:
models- the value for themodelsrecord componentselectionIds- the value for theselectionIdsrecord componentmodelDeselected- the value for themodelDeselectedrecord 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). -
models
-
selectionIds
-
modelDeselected
Returns the value of themodelDeselectedrecord component.- Returns:
- the value of the
modelDeselectedrecord component
-