Record Class SessionModelApplyStartupOverlayResult
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.SessionModelApplyStartupOverlayResult
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record SessionModelApplyStartupOverlayResult(String queueId, String modelId, Boolean deferred, String status, ModelSwitchConfirmation confirmation, String persistenceError, String message, String warning, List<String> deprecationWarnings, CurrentModel modelState)
extends Record
The model identifier active on the session after the switch.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionSessionModelApplyStartupOverlayResult(String queueId, String modelId, Boolean deferred, String status, ModelSwitchConfirmation confirmation, String persistenceError, String message, String warning, List<String> deprecationWarnings, CurrentModel modelState) Creates an instance of aSessionModelApplyStartupOverlayResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theconfirmationrecord component.deferred()Returns the value of thedeferredrecord component.Returns the value of thedeprecationWarningsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.message()Returns the value of themessagerecord component.modelId()Returns the value of themodelIdrecord component.Returns the value of themodelStaterecord component.Returns the value of thepersistenceErrorrecord component.queueId()Returns the value of thequeueIdrecord component.status()Returns the value of thestatusrecord component.final StringtoString()Returns a string representation of this record class.warning()Returns the value of thewarningrecord component.
-
Constructor Details
-
SessionModelApplyStartupOverlayResult
public SessionModelApplyStartupOverlayResult(String queueId, String modelId, Boolean deferred, String status, ModelSwitchConfirmation confirmation, String persistenceError, String message, String warning, List<String> deprecationWarnings, CurrentModel modelState) Creates an instance of aSessionModelApplyStartupOverlayResultrecord class.- Parameters:
queueId- the value for thequeueIdrecord componentmodelId- the value for themodelIdrecord componentdeferred- the value for thedeferredrecord componentstatus- the value for thestatusrecord componentconfirmation- the value for theconfirmationrecord componentpersistenceError- the value for thepersistenceErrorrecord componentmessage- the value for themessagerecord componentwarning- the value for thewarningrecord componentdeprecationWarnings- the value for thedeprecationWarningsrecord componentmodelState- the value for themodelStaterecord 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). -
queueId
Returns the value of thequeueIdrecord component.- Returns:
- the value of the
queueIdrecord component
-
modelId
Returns the value of themodelIdrecord component.- Returns:
- the value of the
modelIdrecord component
-
deferred
Returns the value of thedeferredrecord component.- Returns:
- the value of the
deferredrecord component
-
status
Returns the value of thestatusrecord component.- Returns:
- the value of the
statusrecord component
-
confirmation
Returns the value of theconfirmationrecord component.- Returns:
- the value of the
confirmationrecord component
-
persistenceError
Returns the value of thepersistenceErrorrecord component.- Returns:
- the value of the
persistenceErrorrecord component
-
message
Returns the value of themessagerecord component.- Returns:
- the value of the
messagerecord component
-
warning
Returns the value of thewarningrecord component.- Returns:
- the value of the
warningrecord component
-
deprecationWarnings
-
modelState
Returns the value of themodelStaterecord component.- Returns:
- the value of the
modelStaterecord component
-