Record Class ManagedSettingsResolveResult
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.ManagedSettingsResolveResult
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record ManagedSettingsResolveResult(String account, ManagedSettingsResolvedData resolved, ManagedSettingsValues values, ManagedSettingsMeta meta, List<ManagedSettingsLayer> layers, List<ManagedSettingsDiagnostic> diagnostics)
extends Record
Effective enterprise managed settings for an account, resolved without a session.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionManagedSettingsResolveResult(String account, ManagedSettingsResolvedData resolved, ManagedSettingsValues values, ManagedSettingsMeta meta, List<ManagedSettingsLayer> layers, List<ManagedSettingsDiagnostic> diagnostics) Creates an instance of aManagedSettingsResolveResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionaccount()Returns the value of theaccountrecord component.Returns 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
-
ManagedSettingsResolveResult
public ManagedSettingsResolveResult(String account, ManagedSettingsResolvedData resolved, ManagedSettingsValues values, ManagedSettingsMeta meta, List<ManagedSettingsLayer> layers, List<ManagedSettingsDiagnostic> diagnostics) Creates an instance of aManagedSettingsResolveResultrecord class.- Parameters:
account- the value for theaccountrecord componentresolved- 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). -
account
Returns the value of theaccountrecord component.- Returns:
- the value of the
accountrecord component
-
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
-