Package dev.postproxy.sdk.param
Record Class ReactParams
java.lang.Object
java.lang.Record
dev.postproxy.sdk.param.ReactParams
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionReactParams(String reaction, String emoji, String profileGroupId) Creates an instance of aReactParamsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionstatic ReactParams.Builderbuilder()emoji()Returns the value of theemojirecord 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 theprofileGroupIdrecord component.reaction()Returns the value of thereactionrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ReactParams
Creates an instance of aReactParamsrecord class.- Parameters:
reaction- the value for thereactionrecord componentemoji- the value for theemojirecord componentprofileGroupId- the value for theprofileGroupIdrecord component
-
-
Method Details
-
builder
-
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). -
reaction
Returns the value of thereactionrecord component.- Returns:
- the value of the
reactionrecord component
-
emoji
Returns the value of theemojirecord component.- Returns:
- the value of the
emojirecord component
-
profileGroupId
Returns the value of theprofileGroupIdrecord component.- Returns:
- the value of the
profileGroupIdrecord component
-