Record Class SmsCreationRequest
java.lang.Object
java.lang.Record
org.apache.fineract.infrastructure.sms.data.request.SmsCreationRequest
- All Implemented Interfaces:
Serializable
public record SmsCreationRequest(Long groupId, Long clientId, Long staffId, String message, Long campaignId)
extends Record
implements Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecampaignIdrecord component.clientId()Returns the value of theclientIdrecord component.final booleanIndicates whether some other object is "equal to" this one.groupId()Returns the value of thegroupIdrecord component.final inthashCode()Returns a hash code value for this object.message()Returns the value of themessagerecord component.staffId()Returns the value of thestaffIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SmsCreationRequest
public SmsCreationRequest(Long groupId, Long clientId, Long staffId, String message, Long campaignId) Creates an instance of aSmsCreationRequestrecord class.- Parameters:
groupId- the value for thegroupIdrecord componentclientId- the value for theclientIdrecord componentstaffId- the value for thestaffIdrecord componentmessage- the value for themessagerecord componentcampaignId- the value for thecampaignIdrecord 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). -
groupId
Returns the value of thegroupIdrecord component.- Returns:
- the value of the
groupIdrecord component
-
clientId
Returns the value of theclientIdrecord component.- Returns:
- the value of the
clientIdrecord component
-
staffId
Returns the value of thestaffIdrecord component.- Returns:
- the value of the
staffIdrecord component
-
message
Returns the value of themessagerecord component.- Returns:
- the value of the
messagerecord component
-
campaignId
Returns the value of thecampaignIdrecord component.- Returns:
- the value of the
campaignIdrecord component
-