Record Class UserSettingMetadata
java.lang.Object
java.lang.Record
com.github.copilot.generated.rpc.UserSettingMetadata
@Generated("copilot-sdk-codegen")
public record UserSettingMetadata(Object value, Object default_, Boolean isDefault)
extends Record
A single user setting's effective value alongside its default, so consumers can render settings left at their default.
- Since:
- 1.0.0
-
Constructor Summary
ConstructorsConstructorDescriptionUserSettingMetadata(Object value, Object default_, Boolean isDefault) Creates an instance of aUserSettingMetadatarecord class. -
Method Summary
Modifier and TypeMethodDescriptiondefault_()Returns the value of thedefault_record component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theisDefaultrecord component.final StringtoString()Returns a string representation of this record class.value()Returns the value of thevaluerecord component.
-
Constructor Details
-
UserSettingMetadata
Creates an instance of aUserSettingMetadatarecord class.- Parameters:
value- the value for thevaluerecord componentdefault_- the value for thedefault_record componentisDefault- the value for theisDefaultrecord 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). -
value
Returns the value of thevaluerecord component.- Returns:
- the value of the
valuerecord component
-
default_
Returns the value of thedefault_record component.- Returns:
- the value of the
default_record component
-
isDefault
Returns the value of theisDefaultrecord component.- Returns:
- the value of the
isDefaultrecord component
-