Module it.auties.cobalt
Package it.auties.whatsapp.model.setting
Record Class UnarchiveChatsSettings
java.lang.Object
java.lang.Record
it.auties.whatsapp.model.setting.UnarchiveChatsSettings
- All Implemented Interfaces:
it.auties.protobuf.model.ProtobufMessage
,it.auties.protobuf.model.ProtobufObject
,Setting
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final boolean
The field for theunarchiveChats
record component. -
Constructor Summary
ConstructorsConstructorDescriptionUnarchiveChatsSettings
(boolean unarchiveChats) Creates an instance of aUnarchiveChatsSettings
record class. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.final String
toString()
Returns a string representation of this record class.boolean
Returns the value of theunarchiveChats
record component.
-
Field Details
-
unarchiveChats
private final boolean unarchiveChatsThe field for theunarchiveChats
record component.
-
-
Constructor Details
-
UnarchiveChatsSettings
public UnarchiveChatsSettings(boolean unarchiveChats) Creates an instance of aUnarchiveChatsSettings
record class.- Parameters:
unarchiveChats
- the value for theunarchiveChats
record component
-
-
Method Details
-
indexName
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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 with '=='. -
unarchiveChats
public boolean unarchiveChats()Returns the value of theunarchiveChats
record component.- Returns:
- the value of the
unarchiveChats
record component
-