Record Class SmsActionResource.SendSmsRequestBean
java.lang.Object
java.lang.Record
ch.tocco.nice2.optional.sms.impl.actions.SmsActionResource.SendSmsRequestBean
- Enclosing class:
SmsActionResource
-
Constructor Summary
ConstructorsConstructorDescriptionSendSmsRequestBean(EntitySelectionBean selection, String userRelationPath, String languageKey, String text, @Nullable String senderKey, @Nullable org.joda.time.LocalDate expiryDate, @Nullable org.joda.time.DateTime executionDate) Creates an instance of aSendSmsRequestBeanrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.@Nullable org.joda.time.DateTimeReturns the value of theexecutionDaterecord component.@Nullable org.joda.time.LocalDateReturns the value of theexpiryDaterecord component.final inthashCode()Returns a hash code value for this object.Returns the value of thelanguageKeyrecord component.Returns the value of theselectionrecord component.@Nullable StringReturns the value of thesenderKeyrecord component.text()Returns the value of thetextrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of theuserRelationPathrecord component.
-
Constructor Details
-
SendSmsRequestBean
public SendSmsRequestBean(EntitySelectionBean selection, String userRelationPath, String languageKey, String text, @Nullable String senderKey, @Nullable org.joda.time.LocalDate expiryDate, @Nullable org.joda.time.DateTime executionDate) Creates an instance of aSendSmsRequestBeanrecord class.- Parameters:
selection- the value for theselectionrecord componentuserRelationPath- the value for theuserRelationPathrecord componentlanguageKey- the value for thelanguageKeyrecord componenttext- the value for thetextrecord componentsenderKey- the value for thesenderKeyrecord componentexpiryDate- the value for theexpiryDaterecord componentexecutionDate- the value for theexecutionDaterecord component
-
-
Method Details
-
toString
-
hashCode
-
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). -
selection
Returns the value of theselectionrecord component.- Returns:
- the value of the
selectionrecord component
-
userRelationPath
Returns the value of theuserRelationPathrecord component.- Returns:
- the value of the
userRelationPathrecord component
-
languageKey
Returns the value of thelanguageKeyrecord component.- Returns:
- the value of the
languageKeyrecord component
-
text
Returns the value of thetextrecord component.- Returns:
- the value of the
textrecord component
-
senderKey
Returns the value of thesenderKeyrecord component.- Returns:
- the value of the
senderKeyrecord component
-
expiryDate
public @Nullable org.joda.time.LocalDate expiryDate()Returns the value of theexpiryDaterecord component.- Returns:
- the value of the
expiryDaterecord component
-
executionDate
public @Nullable org.joda.time.DateTime executionDate()Returns the value of theexecutionDaterecord component.- Returns:
- the value of the
executionDaterecord component
-