Record Class SessionProviderWithdrawResult
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.SessionProviderWithdrawResult
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record SessionProviderWithdrawResult(List<String> withdrawn, List<String> providersRemoved, Boolean modelDeselected)
extends Record
What the withdrawal actually removed from the registry.
- 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.Returns the value of theprovidersRemovedrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thewithdrawnrecord component.
-
Constructor Details
-
SessionProviderWithdrawResult
public SessionProviderWithdrawResult(List<String> withdrawn, List<String> providersRemoved, Boolean modelDeselected) Creates an instance of aSessionProviderWithdrawResultrecord class.- Parameters:
withdrawn- the value for thewithdrawnrecord componentprovidersRemoved- the value for theprovidersRemovedrecord 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). -
withdrawn
-
providersRemoved
-
modelDeselected
Returns the value of themodelDeselectedrecord component.- Returns:
- the value of the
modelDeselectedrecord component
-