Module it.auties.cobalt
Package it.auties.whatsapp.model.sync
Record Class AppStateFatalExceptionNotification
java.lang.Object
java.lang.Record
it.auties.whatsapp.model.sync.AppStateFatalExceptionNotification
- All Implemented Interfaces:
it.auties.protobuf.model.ProtobufMessage
,it.auties.protobuf.model.ProtobufObject
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe field for thecollectionNames
record component.private final Long
The field for thetimestamp
record component. -
Constructor Summary
ConstructorsConstructorDescriptionAppStateFatalExceptionNotification
(List<String> collectionNames, Long timestamp) Creates an instance of aAppStateFatalExceptionNotification
record class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecollectionNames
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.Returns the value of thetimestamp
record component.final String
toString()
Returns a string representation of this record class.
-
Field Details
-
collectionNames
The field for thecollectionNames
record component. -
timestamp
The field for thetimestamp
record component.
-
-
Constructor Details
-
AppStateFatalExceptionNotification
Creates an instance of aAppStateFatalExceptionNotification
record class.- Parameters:
collectionNames
- the value for thecollectionNames
record componenttimestamp
- the value for thetimestamp
record component
-
-
Method Details
-
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 withObjects::equals(Object,Object)
. -
collectionNames
Returns the value of thecollectionNames
record component.- Returns:
- the value of the
collectionNames
record component
-
timestamp
Returns the value of thetimestamp
record component.- Returns:
- the value of the
timestamp
record component
-