Record Class SmsCampaignTimeLine

java.lang.Object
java.lang.Record
org.apache.fineract.infrastructure.campaigns.sms.data.SmsCampaignTimeLine

public record SmsCampaignTimeLine(LocalDate submittedOnDate, String submittedByUsername, LocalDate activatedOnDate, String activatedByUsername, LocalDate closedOnDate, String closedByUsername) extends Record
  • Constructor Details

    • SmsCampaignTimeLine

      public SmsCampaignTimeLine(LocalDate submittedOnDate, String submittedByUsername, LocalDate activatedOnDate, String activatedByUsername, LocalDate closedOnDate, String closedByUsername)
      Creates an instance of a SmsCampaignTimeLine record class.
      Parameters:
      submittedOnDate - the value for the submittedOnDate record component
      submittedByUsername - the value for the submittedByUsername record component
      activatedOnDate - the value for the activatedOnDate record component
      activatedByUsername - the value for the activatedByUsername record component
      closedOnDate - the value for the closedOnDate record component
      closedByUsername - the value for the closedByUsername 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.
    • submittedOnDate

      public LocalDate submittedOnDate()
      Returns the value of the submittedOnDate record component.
      Returns:
      the value of the submittedOnDate record component
    • submittedByUsername

      public String submittedByUsername()
      Returns the value of the submittedByUsername record component.
      Returns:
      the value of the submittedByUsername record component
    • activatedOnDate

      public LocalDate activatedOnDate()
      Returns the value of the activatedOnDate record component.
      Returns:
      the value of the activatedOnDate record component
    • activatedByUsername

      public String activatedByUsername()
      Returns the value of the activatedByUsername record component.
      Returns:
      the value of the activatedByUsername record component
    • closedOnDate

      public LocalDate closedOnDate()
      Returns the value of the closedOnDate record component.
      Returns:
      the value of the closedOnDate record component
    • closedByUsername

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