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 Details

    • emailPassword

      private final @Nullable String emailPassword
      The field for the emailPassword record component.
    • emailProperties

      private final @Nullable Map<String,String> emailProperties
      The field for the emailProperties record component.
    • emailReplyTo

      private final @Nullable String emailReplyTo
      The field for the emailReplyTo record component.
    • emailSender

      private final String emailSender
      The field for the emailSender record component.
    • emailUser

      private final @Nullable String emailUser
      The field for the emailUser record component.
    • senderName

      private final String senderName
      The field for the senderName record component.
    • smsAccount

      private final @Nullable String smsAccount
      The field for the smsAccount record component.
    • smsGatewayPassword

      private final @Nullable String smsGatewayPassword
      The field for the smsGatewayPassword record component.
    • smsGauge

      private final boolean smsGauge
      The field for the smsGauge record component.
    • smsHttpPassword

      private final @Nullable String smsHttpPassword
      The field for the smsHttpPassword record component.
    • smsUser

      private final @Nullable String smsUser
      The field for the smsUser 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 a GatewayServiceConfig record class.
      Parameters:
      emailPassword - the value for the emailPassword record component
      emailProperties - the value for the emailProperties record component
      emailReplyTo - the value for the emailReplyTo record component
      emailSender - the value for the emailSender record component
      emailUser - the value for the emailUser record component
      senderName - the value for the senderName record component
      smsAccount - the value for the smsAccount record component
      smsGatewayPassword - the value for the smsGatewayPassword record component
      smsGauge - the value for the smsGauge record component
      smsHttpPassword - the value for the smsHttpPassword record component
      smsUser - the value for the smsUser record component
  • Method Details

    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • emailPassword

      public @Nullable String emailPassword()
      Returns the value of the emailPassword record component.
      Returns:
      the value of the emailPassword record component
    • emailProperties

      public @Nullable Map<String,String> emailProperties()
      Returns the value of the emailProperties record component.
      Returns:
      the value of the emailProperties record component
    • emailReplyTo

      public @Nullable String emailReplyTo()
      Returns the value of the emailReplyTo record component.
      Returns:
      the value of the emailReplyTo record component
    • emailSender

      public String emailSender()
      Returns the value of the emailSender record component.
      Returns:
      the value of the emailSender record component
    • emailUser

      public @Nullable String emailUser()
      Returns the value of the emailUser record component.
      Returns:
      the value of the emailUser record component
    • senderName

      public String senderName()
      Returns the value of the senderName record component.
      Returns:
      the value of the senderName record component
    • smsAccount

      public @Nullable String smsAccount()
      Returns the value of the smsAccount record component.
      Returns:
      the value of the smsAccount record component
    • smsGatewayPassword

      public @Nullable String smsGatewayPassword()
      Returns the value of the smsGatewayPassword record component.
      Returns:
      the value of the smsGatewayPassword record component
    • smsGauge

      public boolean smsGauge()
      Returns the value of the smsGauge record component.
      Returns:
      the value of the smsGauge record component
    • smsHttpPassword

      public @Nullable String smsHttpPassword()
      Returns the value of the smsHttpPassword record component.
      Returns:
      the value of the smsHttpPassword record component
    • smsUser

      public @Nullable String smsUser()
      Returns the value of the smsUser record component.
      Returns:
      the value of the smsUser record component