Record Class ManagedSettingsDiagnostic
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.ManagedSettingsDiagnostic
@CopilotExperimental
@Generated("copilot-sdk-codegen")
public record ManagedSettingsDiagnostic(String path, ManagedSettingsDiagnosticSeverity severity, String message)
extends Record
One validation finding for a managed-settings document.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionManagedSettingsDiagnostic(String path, ManagedSettingsDiagnosticSeverity severity, String message) Creates an instance of aManagedSettingsDiagnosticrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.message()Returns the value of themessagerecord component.path()Returns the value of thepathrecord component.severity()Returns the value of theseverityrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ManagedSettingsDiagnostic
public ManagedSettingsDiagnostic(String path, ManagedSettingsDiagnosticSeverity severity, String message) Creates an instance of aManagedSettingsDiagnosticrecord class.- Parameters:
path- the value for thepathrecord componentseverity- the value for theseverityrecord componentmessage- the value for themessagerecord 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). -
path
Returns the value of thepathrecord component.- Returns:
- the value of the
pathrecord component
-
severity
Returns the value of theseverityrecord component.- Returns:
- the value of the
severityrecord component
-
message
Returns the value of themessagerecord component.- Returns:
- the value of the
messagerecord component
-