Package ch.rswk.meta.engine
Record Class GatewayService.GatewayServiceConfig
java.lang.Object
java.lang.Record
ch.rswk.meta.engine.GatewayService.GatewayServiceConfig
- Record Components:
emailProperties
- see here
- Enclosing class:
GatewayService
public static record GatewayService.GatewayServiceConfig(@Nullable String emailPassword, @Nullable Map<String,String> emailProperties, @Nullable String emailReplyTo, String emailSender, @Nullable String emailUser, String senderName, @Nullable String smsAccount, @Nullable String smsGatewayPassword, boolean smsGauge, @Nullable String smsHttpPassword, @Nullable String smsUser)
extends Record
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final @Nullable String
The field for theemailPassword
record component.The field for theemailProperties
record component.private final @Nullable String
The field for theemailReplyTo
record component.private final String
The field for theemailSender
record component.private final @Nullable String
The field for theemailUser
record component.private final String
The field for thesenderName
record component.private final @Nullable String
The field for thesmsAccount
record component.private final @Nullable String
The field for thesmsGatewayPassword
record component.private final boolean
The field for thesmsGauge
record component.private final @Nullable String
The field for thesmsHttpPassword
record component.private final @Nullable String
The field for thesmsUser
record component. -
Constructor Summary
ConstructorsConstructorDescriptionGatewayServiceConfig
(@Nullable String emailPassword, @Nullable Map<String, String> emailProperties, @Nullable String emailReplyTo, String emailSender, @Nullable String emailUser, String senderName, @Nullable String smsAccount, @Nullable String smsGatewayPassword, boolean smsGauge, @Nullable String smsHttpPassword, @Nullable String smsUser) Creates an instance of aGatewayServiceConfig
record class. -
Method Summary
Modifier and TypeMethodDescription@Nullable String
Returns the value of theemailPassword
record component.Returns the value of theemailProperties
record component.@Nullable String
Returns the value of theemailReplyTo
record component.Returns the value of theemailSender
record component.@Nullable String
Returns the value of theemailUser
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.Returns the value of thesenderName
record component.@Nullable String
Returns the value of thesmsAccount
record component.@Nullable String
Returns the value of thesmsGatewayPassword
record component.boolean
smsGauge()
Returns the value of thesmsGauge
record component.@Nullable String
Returns the value of thesmsHttpPassword
record component.@Nullable String
smsUser()
Returns the value of thesmsUser
record component.final String
toString()
Returns a string representation of this record class.
-
Field Details
-
emailPassword
The field for theemailPassword
record component. -
emailProperties
The field for theemailProperties
record component. -
emailReplyTo
The field for theemailReplyTo
record component. -
emailSender
The field for theemailSender
record component. -
emailUser
The field for theemailUser
record component. -
senderName
The field for thesenderName
record component. -
smsAccount
The field for thesmsAccount
record component. -
smsGatewayPassword
The field for thesmsGatewayPassword
record component. -
smsGauge
private final boolean smsGaugeThe field for thesmsGauge
record component. -
smsHttpPassword
The field for thesmsHttpPassword
record component. -
smsUser
The field for thesmsUser
record component.
-
-
Constructor Details
-
GatewayServiceConfig
public GatewayServiceConfig(@Nullable String emailPassword, @Nullable Map<String, String> emailProperties, @Nullable String emailReplyTo, String emailSender, @Nullable String emailUser, String senderName, @Nullable String smsAccount, @Nullable String smsGatewayPassword, boolean smsGauge, @Nullable String smsHttpPassword, @Nullable String smsUser) Creates an instance of aGatewayServiceConfig
record class.- Parameters:
emailPassword
- the value for theemailPassword
record componentemailProperties
- the value for theemailProperties
record componentemailReplyTo
- the value for theemailReplyTo
record componentemailSender
- the value for theemailSender
record componentemailUser
- the value for theemailUser
record componentsenderName
- the value for thesenderName
record componentsmsAccount
- the value for thesmsAccount
record componentsmsGatewayPassword
- the value for thesmsGatewayPassword
record componentsmsGauge
- the value for thesmsGauge
record componentsmsHttpPassword
- the value for thesmsHttpPassword
record componentsmsUser
- the value for thesmsUser
record 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 '=='. -
emailPassword
Returns the value of theemailPassword
record component.- Returns:
- the value of the
emailPassword
record component
-
emailProperties
Returns the value of theemailProperties
record component.- Returns:
- the value of the
emailProperties
record component
-
emailReplyTo
Returns the value of theemailReplyTo
record component.- Returns:
- the value of the
emailReplyTo
record component
-
emailSender
Returns the value of theemailSender
record component.- Returns:
- the value of the
emailSender
record component
-
emailUser
Returns the value of theemailUser
record component.- Returns:
- the value of the
emailUser
record component
-
senderName
Returns the value of thesenderName
record component.- Returns:
- the value of the
senderName
record component
-
smsAccount
Returns the value of thesmsAccount
record component.- Returns:
- the value of the
smsAccount
record component
-
smsGatewayPassword
Returns the value of thesmsGatewayPassword
record component.- Returns:
- the value of the
smsGatewayPassword
record component
-
smsGauge
public boolean smsGauge()Returns the value of thesmsGauge
record component.- Returns:
- the value of the
smsGauge
record component
-
smsHttpPassword
Returns the value of thesmsHttpPassword
record component.- Returns:
- the value of the
smsHttpPassword
record component
-
smsUser
Returns the value of thesmsUser
record component.- Returns:
- the value of the
smsUser
record component
-