Record Class ManagedSettingsComposeResult
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.ManagedSettingsComposeResult
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record ManagedSettingsComposeResult(ManagedSettingsResolvedData resolved, ManagedSettingsValues values, ManagedSettingsMeta meta, List<ManagedSettingsLayer> layers, List<ManagedSettingsDiagnostic> diagnostics)
extends Record
The effective managed settings the runtime would enforce for the given documents, in the same shape `managedSettings.resolve` returns.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionManagedSettingsComposeResult(ManagedSettingsResolvedData resolved, ManagedSettingsValues values, ManagedSettingsMeta meta, List<ManagedSettingsLayer> layers, List<ManagedSettingsDiagnostic> diagnostics) Creates an instance of aManagedSettingsComposeResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thediagnosticsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.layers()Returns the value of thelayersrecord component.meta()Returns the value of themetarecord component.resolved()Returns the value of theresolvedrecord component.final StringtoString()Returns a string representation of this record class.values()Returns the value of thevaluesrecord component.
-
Constructor Details
-
ManagedSettingsComposeResult
public ManagedSettingsComposeResult(ManagedSettingsResolvedData resolved, ManagedSettingsValues values, ManagedSettingsMeta meta, List<ManagedSettingsLayer> layers, List<ManagedSettingsDiagnostic> diagnostics) Creates an instance of aManagedSettingsComposeResultrecord class.- Parameters:
resolved- the value for theresolvedrecord componentvalues- the value for thevaluesrecord componentmeta- the value for themetarecord componentlayers- the value for thelayersrecord componentdiagnostics- the value for thediagnosticsrecord 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). -
resolved
Returns the value of theresolvedrecord component.- Returns:
- the value of the
resolvedrecord component
-
values
Returns the value of thevaluesrecord component.- Returns:
- the value of the
valuesrecord component
-
meta
Returns the value of themetarecord component.- Returns:
- the value of the
metarecord component
-
layers
Returns the value of thelayersrecord component.- Returns:
- the value of the
layersrecord component
-
diagnostics
Returns the value of thediagnosticsrecord component.- Returns:
- the value of the
diagnosticsrecord component
-