java.lang.Object
cn.herodotus.engine.assistant.access.properties.SmsProperties

@ConfigurationProperties(prefix="herodotus.assistant.access.sms") public class SmsProperties extends Object

Description: 短信验证码配置属性

Author:
: gengwei.zheng
Date:
: 2021/5/26 17:02
  • Constructor Details

    • SmsProperties

      public SmsProperties()
  • Method Details

    • getExpire

      public Duration getExpire()
    • setExpire

      public void setExpire(Duration expire)
    • getLength

      public int getLength()
    • setLength

      public void setLength(int length)
    • getEnabled

      public Boolean getEnabled()
    • setEnabled

      public void setEnabled(Boolean enabled)
    • getSandbox

      public Boolean getSandbox()
    • setSandbox

      public void setSandbox(Boolean sandbox)
    • getTestCode

      public String getTestCode()
    • setTestCode

      public void setTestCode(String testCode)
    • getVerificationCodeTemplateId

      public String getVerificationCodeTemplateId()
    • setVerificationCodeTemplateId

      public void setVerificationCodeTemplateId(String verificationCodeTemplateId)
    • toString

      public String toString()
      Overrides:
      toString in class Object