java.lang.Object
java.lang.Record
it.auties.whatsapp.model.action.NuxAction
- All Implemented Interfaces:
it.auties.protobuf.model.ProtobufMessage,it.auties.protobuf.model.ProtobufObject,Action
Unknown
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final booleanThe field for theacknowledgedrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionNuxAction(boolean acknowledged) Creates an instance of aNuxActionrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the value of theacknowledgedrecord component.The type of this actionintThe version of this actionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.The name of this actionfinal StringtoString()Returns a string representation of this record class.
-
Field Details
-
acknowledged
private final boolean acknowledgedThe field for theacknowledgedrecord component.
-
-
Constructor Details
-
NuxAction
public NuxAction(boolean acknowledged) Creates an instance of aNuxActionrecord class.- Parameters:
acknowledged- the value for theacknowledgedrecord component
-
-
Method Details
-
indexName
The name of this action -
actionVersion
public int actionVersion()The version of this action- Specified by:
actionVersionin interfaceAction- Returns:
- a non-null string
-
actionType
The type of this action- Specified by:
actionTypein interfaceAction- Returns:
- a non-null string
-
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 '=='. -
acknowledged
public boolean acknowledged()Returns the value of theacknowledgedrecord component.- Returns:
- the value of the
acknowledgedrecord component
-