Record Class SmsRequestParam

java.lang.Object
java.lang.Record
org.apache.fineract.infrastructure.sms.param.SmsRequestParam

public record SmsRequestParam(Long status, org.apache.fineract.infrastructure.core.api.DateParam fromDate, org.apache.fineract.infrastructure.core.api.DateParam toDate, String locale, String rawDateFormat, Integer offset, Integer limit, String orderBy, String sortOrder) extends Record
  • Constructor Summary

    Constructors
    Constructor
    Description
    SmsRequestParam(Long status, org.apache.fineract.infrastructure.core.api.DateParam fromDate, org.apache.fineract.infrastructure.core.api.DateParam toDate, String locale, String rawDateFormat, Integer offset, Integer limit, String orderBy, String sortOrder)
    Creates an instance of a SmsRequestParam record class.
  • Method Summary

    Modifier and Type
    Method
    Description
    final boolean
    Indicates whether some other object is "equal to" this one.
    org.apache.fineract.infrastructure.core.api.DateParam
    Returns the value of the fromDate record component.
    final int
    Returns a hash code value for this object.
    Returns the value of the limit record component.
    Returns the value of the locale record component.
    Returns the value of the offset record component.
    Returns the value of the orderBy record component.
    Returns the value of the rawDateFormat record component.
    Returns the value of the sortOrder record component.
    Returns the value of the status record component.
    org.apache.fineract.infrastructure.core.api.DateParam
    Returns the value of the toDate record component.
    final String
    Returns a string representation of this record class.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • SmsRequestParam

      public SmsRequestParam(Long status, org.apache.fineract.infrastructure.core.api.DateParam fromDate, org.apache.fineract.infrastructure.core.api.DateParam toDate, String locale, String rawDateFormat, Integer offset, Integer limit, String orderBy, String sortOrder)
      Creates an instance of a SmsRequestParam record class.
      Parameters:
      status - the value for the status record component
      fromDate - the value for the fromDate record component
      toDate - the value for the toDate record component
      locale - the value for the locale record component
      rawDateFormat - the value for the rawDateFormat record component
      offset - the value for the offset record component
      limit - the value for the limit record component
      orderBy - the value for the orderBy record component
      sortOrder - the value for the sortOrder record component
  • Method Details

    • toString

      public final 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • status

      public Long status()
      Returns the value of the status record component.
      Returns:
      the value of the status record component
    • fromDate

      public org.apache.fineract.infrastructure.core.api.DateParam fromDate()
      Returns the value of the fromDate record component.
      Returns:
      the value of the fromDate record component
    • toDate

      public org.apache.fineract.infrastructure.core.api.DateParam toDate()
      Returns the value of the toDate record component.
      Returns:
      the value of the toDate record component
    • locale

      public String locale()
      Returns the value of the locale record component.
      Returns:
      the value of the locale record component
    • rawDateFormat

      public String rawDateFormat()
      Returns the value of the rawDateFormat record component.
      Returns:
      the value of the rawDateFormat record component
    • offset

      public Integer offset()
      Returns the value of the offset record component.
      Returns:
      the value of the offset record component
    • limit

      public Integer limit()
      Returns the value of the limit record component.
      Returns:
      the value of the limit record component
    • orderBy

      public String orderBy()
      Returns the value of the orderBy record component.
      Returns:
      the value of the orderBy record component
    • sortOrder

      public String sortOrder()
      Returns the value of the sortOrder record component.
      Returns:
      the value of the sortOrder record component