Record Class SmsBusinessRulesData
java.lang.Object
java.lang.Record
org.apache.fineract.infrastructure.campaigns.sms.data.SmsBusinessRulesData
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates whether some other object is "equal to" this one.inthashCode()Returns a hash code value for this object.static SmsBusinessRulesDatainstance(Long reportId, String reportName, String reportType, String reportSubType, Map<String, Object> reportParamName, String reportDescription) Returns the value of thereportDescriptionrecord component.reportId()Returns the value of thereportIdrecord component.Returns the value of thereportNamerecord component.Returns the value of thereportParamNamerecord component.Returns the value of thereportSubTyperecord component.Returns the value of thereportTyperecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SmsBusinessRulesData
public SmsBusinessRulesData(Long reportId, String reportName, String reportType, String reportSubType, Map<String, Object> reportParamName, String reportDescription) Creates an instance of aSmsBusinessRulesDatarecord class.- Parameters:
reportId- the value for thereportIdrecord componentreportName- the value for thereportNamerecord componentreportType- the value for thereportTyperecord componentreportSubType- the value for thereportSubTyperecord componentreportParamName- the value for thereportParamNamerecord componentreportDescription- the value for thereportDescriptionrecord component
-
-
Method Details
-
instance
-
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). -
hashCode
public int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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. -
reportId
Returns the value of thereportIdrecord component.- Returns:
- the value of the
reportIdrecord component
-
reportName
Returns the value of thereportNamerecord component.- Returns:
- the value of the
reportNamerecord component
-
reportType
Returns the value of thereportTyperecord component.- Returns:
- the value of the
reportTyperecord component
-
reportSubType
Returns the value of thereportSubTyperecord component.- Returns:
- the value of the
reportSubTyperecord component
-
reportParamName
Returns the value of thereportParamNamerecord component.- Returns:
- the value of the
reportParamNamerecord component
-
reportDescription
Returns the value of thereportDescriptionrecord component.- Returns:
- the value of the
reportDescriptionrecord component
-