Record Class SmsClient.SmsRecipient
java.lang.Object
java.lang.Record
ch.tocco.nice2.optional.sms.api.services.SmsClient.SmsRecipient
- Enclosing interface:
SmsClient
-
Constructor Summary
ConstructorsConstructorDescriptionSmsRecipient(String firstname, String lastname, String phoneMobile) Creates an instance of aSmsRecipientrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of thefirstnamerecord component.Deprecated.Deprecated.Deprecated.final inthashCode()Returns a hash code value for this object.lastname()Returns the value of thelastnamerecord component.Returns the value of thephoneMobilerecord component.toString()Returns a string representation of this record class.
-
Constructor Details
-
SmsRecipient
Creates an instance of aSmsRecipientrecord class.- Parameters:
firstname- the value for thefirstnamerecord componentlastname- the value for thelastnamerecord componentphoneMobile- the value for thephoneMobilerecord component
-
-
Method Details
-
toString
-
getFirstname
Deprecated. -
getLastname
Deprecated. -
getPhoneMobile
Deprecated. -
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). -
firstname
Returns the value of thefirstnamerecord component.- Returns:
- the value of the
firstnamerecord component
-
lastname
Returns the value of thelastnamerecord component.- Returns:
- the value of the
lastnamerecord component
-
phoneMobile
Returns the value of thephoneMobilerecord component.- Returns:
- the value of the
phoneMobilerecord component
-