Module it.auties.cobalt
Record Class StickerSyncRMRMessage
java.lang.Object
java.lang.Record
it.auties.whatsapp.model.message.server.StickerSyncRMRMessage
- All Implemented Interfaces:
it.auties.protobuf.model.ProtobufMessage,it.auties.protobuf.model.ProtobufObject,Message,ServerMessage
public record StickerSyncRMRMessage(List<String> hash, String rmrSource, long requestTimestamp)
extends Record
implements ServerMessage
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionStickerSyncRMRMessage(List<String> hash, String rmrSource, long requestTimestamp) Creates an instance of aStickerSyncRMRMessagerecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.hash()Returns the value of thehashrecord component.final inthashCode()Returns a hash code value for this object.longReturns the value of therequestTimestamprecord component.Returns the value of thermrSourcerecord component.final StringtoString()Returns a string representation of this record class.type()Return message typeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface it.auties.whatsapp.model.message.model.ServerMessage
category
-
Field Details
-
hash
The field for thehashrecord component. -
rmrSource
The field for thermrSourcerecord component. -
requestTimestamp
private final long requestTimestampThe field for therequestTimestamprecord component.
-
-
Constructor Details
-
StickerSyncRMRMessage
Creates an instance of aStickerSyncRMRMessagerecord class.- Parameters:
hash- the value for thehashrecord componentrmrSource- the value for thermrSourcerecord componentrequestTimestamp- the value for therequestTimestamprecord component
-
-
Method Details
-
type
Description copied from interface:MessageReturn message type -
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
hash
Returns the value of thehashrecord component.- Returns:
- the value of the
hashrecord component
-
rmrSource
Returns the value of thermrSourcerecord component.- Returns:
- the value of the
rmrSourcerecord component
-
requestTimestamp
public long requestTimestamp()Returns the value of therequestTimestamprecord component.- Returns:
- the value of the
requestTimestamprecord component
-