Record Class ManagedSettingsMeta
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.ManagedSettingsMeta
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record ManagedSettingsMeta(ManagedSettingMeta model, ManagedSettingMeta autoTier, ManagedSettingMeta effortLevel, ManagedSettingMeta contextTier)
extends Record
Per-key lock state and provenance for `ManagedSettingsValues`, with the same field names. Producers emit each typed key in values and meta together; both outer objects are omitted when no typed key is set.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionManagedSettingsMeta(ManagedSettingMeta model, ManagedSettingMeta autoTier, ManagedSettingMeta effortLevel, ManagedSettingMeta contextTier) Creates an instance of aManagedSettingsMetarecord 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
-
ManagedSettingsMeta
public ManagedSettingsMeta(ManagedSettingMeta model, ManagedSettingMeta autoTier, ManagedSettingMeta effortLevel, ManagedSettingMeta contextTier) Creates an instance of aManagedSettingsMetarecord 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
-