Record Class SessionSettingsModelSnapshot
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.SessionSettingsModelSnapshot
-
Constructor Summary
ConstructorsConstructorDescriptionSessionSettingsModelSnapshot(String model, String defaultReasoningEffort, String instanceId, String callbackUrl) Creates an instance of aSessionSettingsModelSnapshotrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecallbackUrlrecord component.Returns the value of thedefaultReasoningEffortrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theinstanceIdrecord component.model()Returns the value of themodelrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SessionSettingsModelSnapshot
public SessionSettingsModelSnapshot(String model, String defaultReasoningEffort, String instanceId, String callbackUrl) Creates an instance of aSessionSettingsModelSnapshotrecord class.- Parameters:
model- the value for themodelrecord componentdefaultReasoningEffort- the value for thedefaultReasoningEffortrecord componentinstanceId- the value for theinstanceIdrecord componentcallbackUrl- the value for thecallbackUrlrecord 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). -
model
Returns the value of themodelrecord component.- Returns:
- the value of the
modelrecord component
-
defaultReasoningEffort
Returns the value of thedefaultReasoningEffortrecord component.- Returns:
- the value of the
defaultReasoningEffortrecord component
-
instanceId
Returns the value of theinstanceIdrecord component.- Returns:
- the value of the
instanceIdrecord component
-
callbackUrl
Returns the value of thecallbackUrlrecord component.- Returns:
- the value of the
callbackUrlrecord component
-