Package ch.rswk.meta.engine
Record Class UserService.UserServiceContactConfig
java.lang.Object
java.lang.Record
ch.rswk.meta.engine.UserService.UserServiceContactConfig
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe field for theemailContentrecord component.The field for theemailSubjectrecord component.private final @Nullable StringThe field for theemailTyperecord component.The field for thesmsMessagerecord component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theemailContentrecord component.Returns the value of theemailSubjectrecord component.@Nullable StringReturns the value of theemailTyperecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.resolve()Returns the value of thesmsMessagerecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
emailContent
-
emailSubject
-
emailType
The field for theemailTyperecord component. -
smsMessage
-
-
Constructor Details
-
UserServiceContactConfig
public UserServiceContactConfig(Map<String, String> emailContent, Map<String, String> emailSubject, @Nullable String emailType, Map<String, String> smsMessage) Creates an instance of aUserServiceContactConfigrecord class.- Parameters:
emailContent- the value for theemailContentrecord componentemailSubject- the value for theemailSubjectrecord componentemailType- the value for theemailTyperecord componentsmsMessage- the value for thesmsMessagerecord component
-
-
Method Details
-
resolve
-
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). -
emailContent
-
emailSubject
-
emailType
Returns the value of theemailTyperecord component.- Returns:
- the value of the
emailTyperecord component
-
smsMessage
-