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 theemailContent
record component.The field for theemailSubject
record component.private final @Nullable String
The field for theemailType
record component.The field for thesmsMessage
record component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theemailContent
record component.Returns the value of theemailSubject
record component.@Nullable String
Returns the value of theemailType
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.resolve()
Returns the value of thesmsMessage
record component.final String
toString()
Returns a string representation of this record class.
-
Field Details
-
emailContent
-
emailSubject
-
emailType
The field for theemailType
record 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 aUserServiceContactConfig
record class.- Parameters:
emailContent
- the value for theemailContent
record componentemailSubject
- the value for theemailSubject
record componentemailType
- the value for theemailType
record componentsmsMessage
- the value for thesmsMessage
record 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 theemailType
record component.- Returns:
- the value of the
emailType
record component
-
smsMessage
-