Package ch.rswk.meta.engine
Record Class UserService.UserServiceContactConfig
java.lang.Object
java.lang.Record
ch.rswk.meta.engine.UserService.UserServiceContactConfig
- Enclosing class:
UserService
-
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
The field for theemailContentrecord component. -
emailSubject
The field for theemailSubjectrecord component. -
emailType
The field for theemailTyperecord component. -
smsMessage
The field for thesmsMessagerecord component.
-
-
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
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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
Returns the value of theemailContentrecord component.- Returns:
- the value of the
emailContentrecord component
-
emailSubject
Returns the value of theemailSubjectrecord component.- Returns:
- the value of the
emailSubjectrecord component
-
emailType
Returns the value of theemailTyperecord component.- Returns:
- the value of the
emailTyperecord component
-
smsMessage
Returns the value of thesmsMessagerecord component.- Returns:
- the value of the
smsMessagerecord component
-