Record Class ManagedSettingsValues
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.ManagedSettingsValues
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record ManagedSettingsValues(String model, AutoTier autoTier, String effortLevel, ContextTier contextTier)
extends Record
Typed effective values of managed settings. Each field mirrors the managed-settings schema key of the same name; more keys are added as they are typed.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionManagedSettingsValues(String model, AutoTier autoTier, String effortLevel, ContextTier contextTier) Creates an instance of aManagedSettingsValuesrecord class. -
Method Summary
Modifier and TypeMethodDescriptionautoTier()Returns the value of theautoTierrecord component.Returns the value of thecontextTierrecord component.Returns the value of theeffortLevelrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.model()Returns the value of themodelrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ManagedSettingsValues
public ManagedSettingsValues(String model, AutoTier autoTier, String effortLevel, ContextTier contextTier) Creates an instance of aManagedSettingsValuesrecord class.- Parameters:
model- the value for themodelrecord componentautoTier- the value for theautoTierrecord componenteffortLevel- the value for theeffortLevelrecord componentcontextTier- the value for thecontextTierrecord 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
-
autoTier
Returns the value of theautoTierrecord component.- Returns:
- the value of the
autoTierrecord component
-
effortLevel
Returns the value of theeffortLevelrecord component.- Returns:
- the value of the
effortLevelrecord component
-
contextTier
Returns the value of thecontextTierrecord component.- Returns:
- the value of the
contextTierrecord component
-