Record Class SmsActionResource.InitializeSmsResponseBean
java.lang.Object
java.lang.Record
ch.tocco.nice2.optional.sms.impl.actions.SmsActionResource.InitializeSmsResponseBean
- Enclosing class:
SmsActionResource
public static record SmsActionResource.InitializeSmsResponseBean(SmsActionResource.LookupEntityBean defaultLanguage, @Nullable SmsActionResource.LookupEntityBean defaultTemplateKey, List<SmsClient.SmsRecipient> recipients, @Nullable SmsActionResource.InvalidRecipientBean invalidRecipient)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionInitializeSmsResponseBean(SmsActionResource.LookupEntityBean defaultLanguage, @Nullable SmsActionResource.LookupEntityBean defaultTemplateKey, List<SmsClient.SmsRecipient> recipients, @Nullable SmsActionResource.InvalidRecipientBean invalidRecipient) Creates an instance of aInitializeSmsResponseBeanrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedefaultLanguagerecord component.@Nullable SmsActionResource.LookupEntityBeanReturns the value of thedefaultTemplateKeyrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.@Nullable SmsActionResource.InvalidRecipientBeanReturns the value of theinvalidRecipientrecord component.Returns the value of therecipientsrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
InitializeSmsResponseBean
public InitializeSmsResponseBean(SmsActionResource.LookupEntityBean defaultLanguage, @Nullable SmsActionResource.LookupEntityBean defaultTemplateKey, List<SmsClient.SmsRecipient> recipients, @Nullable SmsActionResource.InvalidRecipientBean invalidRecipient) Creates an instance of aInitializeSmsResponseBeanrecord class.- Parameters:
defaultLanguage- the value for thedefaultLanguagerecord componentdefaultTemplateKey- the value for thedefaultTemplateKeyrecord componentrecipients- the value for therecipientsrecord componentinvalidRecipient- the value for theinvalidRecipientrecord 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). -
defaultLanguage
Returns the value of thedefaultLanguagerecord component.- Returns:
- the value of the
defaultLanguagerecord component
-
defaultTemplateKey
Returns the value of thedefaultTemplateKeyrecord component.- Returns:
- the value of the
defaultTemplateKeyrecord component
-
recipients
Returns the value of therecipientsrecord component.- Returns:
- the value of the
recipientsrecord component
-
invalidRecipient
Returns the value of theinvalidRecipientrecord component.- Returns:
- the value of the
invalidRecipientrecord component
-