Record Class ManagedSettingsValidateResult
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.ManagedSettingsValidateResult
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record ManagedSettingsValidateResult(Boolean valid, Object settings, List<ManagedSettingsDiagnostic> diagnostics)
extends Record
Result of validating a managed-settings document.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionManagedSettingsValidateResult(Boolean valid, Object settings, List<ManagedSettingsDiagnostic> diagnostics) Creates an instance of aManagedSettingsValidateResultrecord 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.settings()Returns the value of thesettingsrecord component.final StringtoString()Returns a string representation of this record class.valid()Returns the value of thevalidrecord component.
-
Constructor Details
-
ManagedSettingsValidateResult
public ManagedSettingsValidateResult(Boolean valid, Object settings, List<ManagedSettingsDiagnostic> diagnostics) Creates an instance of aManagedSettingsValidateResultrecord class.- Parameters:
valid- the value for thevalidrecord componentsettings- the value for thesettingsrecord 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). -
valid
Returns the value of thevalidrecord component.- Returns:
- the value of the
validrecord component
-
settings
Returns the value of thesettingsrecord component.- Returns:
- the value of the
settingsrecord component
-
diagnostics
Returns the value of thediagnosticsrecord component.- Returns:
- the value of the
diagnosticsrecord component
-