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 StringThe field for theemailPasswordrecord component.The field for theemailPropertiesrecord component.private final @Nullable StringThe field for theemailReplyTorecord component.private final StringThe field for theemailSenderrecord component.private final @Nullable StringThe field for theemailUserrecord component.private final StringThe field for thesenderNamerecord component.private final @Nullable StringThe field for thesmsAccountrecord component.private final @Nullable StringThe field for thesmsGatewayPasswordrecord component.private final booleanThe field for thesmsGaugerecord component.private final @Nullable StringThe field for thesmsHttpPasswordrecord component.private final @Nullable StringThe field for thesmsUserrecord 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 aGatewayServiceConfigrecord class. -
Method Summary
Modifier and TypeMethodDescription@Nullable StringReturns the value of theemailPasswordrecord component.Returns the value of theemailPropertiesrecord component.@Nullable StringReturns the value of theemailReplyTorecord component.Returns the value of theemailSenderrecord component.@Nullable StringReturns the value of theemailUserrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thesenderNamerecord component.@Nullable StringReturns the value of thesmsAccountrecord component.@Nullable StringReturns the value of thesmsGatewayPasswordrecord component.booleansmsGauge()Returns the value of thesmsGaugerecord component.@Nullable StringReturns the value of thesmsHttpPasswordrecord component.@Nullable StringsmsUser()Returns the value of thesmsUserrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
emailPassword
The field for theemailPasswordrecord component. -
emailProperties
The field for theemailPropertiesrecord component. -
emailReplyTo
The field for theemailReplyTorecord component. -
emailSender
The field for theemailSenderrecord component. -
emailUser
The field for theemailUserrecord component. -
senderName
The field for thesenderNamerecord component. -
smsAccount
The field for thesmsAccountrecord component. -
smsGatewayPassword
The field for thesmsGatewayPasswordrecord component. -
smsGauge
private final boolean smsGaugeThe field for thesmsGaugerecord component. -
smsHttpPassword
The field for thesmsHttpPasswordrecord component. -
smsUser
The field for thesmsUserrecord 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 aGatewayServiceConfigrecord class.- Parameters:
emailPassword- the value for theemailPasswordrecord componentemailProperties- the value for theemailPropertiesrecord componentemailReplyTo- the value for theemailReplyTorecord componentemailSender- the value for theemailSenderrecord componentemailUser- the value for theemailUserrecord componentsenderName- the value for thesenderNamerecord componentsmsAccount- the value for thesmsAccountrecord componentsmsGatewayPassword- the value for thesmsGatewayPasswordrecord componentsmsGauge- the value for thesmsGaugerecord componentsmsHttpPassword- the value for thesmsHttpPasswordrecord componentsmsUser- the value for thesmsUserrecord 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 theemailPasswordrecord component.- Returns:
- the value of the
emailPasswordrecord component
-
emailProperties
Returns the value of theemailPropertiesrecord component.- Returns:
- the value of the
emailPropertiesrecord component
-
emailReplyTo
Returns the value of theemailReplyTorecord component.- Returns:
- the value of the
emailReplyTorecord component
-
emailSender
Returns the value of theemailSenderrecord component.- Returns:
- the value of the
emailSenderrecord component
-
emailUser
Returns the value of theemailUserrecord component.- Returns:
- the value of the
emailUserrecord component
-
senderName
Returns the value of thesenderNamerecord component.- Returns:
- the value of the
senderNamerecord component
-
smsAccount
Returns the value of thesmsAccountrecord component.- Returns:
- the value of the
smsAccountrecord component
-
smsGatewayPassword
Returns the value of thesmsGatewayPasswordrecord component.- Returns:
- the value of the
smsGatewayPasswordrecord component
-
smsGauge
public boolean smsGauge()Returns the value of thesmsGaugerecord component.- Returns:
- the value of the
smsGaugerecord component
-
smsHttpPassword
Returns the value of thesmsHttpPasswordrecord component.- Returns:
- the value of the
smsHttpPasswordrecord component
-
smsUser
Returns the value of thesmsUserrecord component.- Returns:
- the value of the
smsUserrecord component
-