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, long validRecipientCount, @Nullable SmsActionResource.InvalidRecipientBean invalidRecipient)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionInitializeSmsResponseBean(SmsActionResource.LookupEntityBean defaultLanguage, @Nullable SmsActionResource.LookupEntityBean defaultTemplateKey, long validRecipientCount, @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.final StringtoString()Returns a string representation of this record class.longReturns the value of thevalidRecipientCountrecord component.
-
Constructor Details
-
InitializeSmsResponseBean
public InitializeSmsResponseBean(SmsActionResource.LookupEntityBean defaultLanguage, @Nullable SmsActionResource.LookupEntityBean defaultTemplateKey, long validRecipientCount, @Nullable SmsActionResource.InvalidRecipientBean invalidRecipient) Creates an instance of aInitializeSmsResponseBeanrecord class.- Parameters:
defaultLanguage- the value for thedefaultLanguagerecord componentdefaultTemplateKey- the value for thedefaultTemplateKeyrecord componentvalidRecipientCount- the value for thevalidRecipientCountrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
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
-
validRecipientCount
public long validRecipientCount()Returns the value of thevalidRecipientCountrecord component.- Returns:
- the value of the
validRecipientCountrecord component
-
invalidRecipient
Returns the value of theinvalidRecipientrecord component.- Returns:
- the value of the
invalidRecipientrecord component
-