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 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
The field for theemailContent
record component. -
emailSubject
The field for theemailSubject
record component. -
emailType
The field for theemailType
record component. -
smsMessage
The field for thesmsMessage
record 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 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
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 theemailContent
record component.- Returns:
- the value of the
emailContent
record component
-
emailSubject
Returns the value of theemailSubject
record component.- Returns:
- the value of the
emailSubject
record component
-
emailType
Returns the value of theemailType
record component.- Returns:
- the value of the
emailType
record component
-
smsMessage
Returns the value of thesmsMessage
record component.- Returns:
- the value of the
smsMessage
record component
-