Package dev.postproxy.sdk.param
Record Class EditMessageParams
java.lang.Object
java.lang.Record
dev.postproxy.sdk.param.EditMessageParams
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbody()Returns the value of thebodyrecord component.static EditMessageParams.Builderbuilder()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.Returns the value of thereplyMarkuprecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
EditMessageParams
Creates an instance of aEditMessageParamsrecord class.- Parameters:
body- the value for thebodyrecord componentreplyMarkup- the value for thereplyMarkuprecord 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). -
body
Returns the value of thebodyrecord component.- Returns:
- the value of the
bodyrecord component
-
replyMarkup
Returns the value of thereplyMarkuprecord component.- Returns:
- the value of the
replyMarkuprecord component
-
profileGroupId
Returns the value of theprofileGroupIdrecord component.- Returns:
- the value of the
profileGroupIdrecord component
-