Class SmsInitData

java.lang.Object
com.bytedesk.core.sms.SmsInitData

public class SmsInitData extends Object
  • Field Details

    • TECHNICAL_SUPPORT

      public static final String[] TECHNICAL_SUPPORT
      Technical Support Smss 技术支持标签
    • SERVICE_REQUEST

      public static final String[] SERVICE_REQUEST
      Service Request Smss 服务请求标签
    • CONSULTATION

      public static final String[] CONSULTATION
      Consultation Smss 咨询标签
    • COMPLAINT_SUGGESTION

      public static final String[] COMPLAINT_SUGGESTION
      Complaint & Suggestion Smss 投诉与建议标签
    • OPERATION_MAINTENANCE

      public static final String[] OPERATION_MAINTENANCE
      Operation & Maintenance Smss 运维标签
  • Constructor Details

    • SmsInitData

      public SmsInitData()
  • Method Details

    • isParentSms

      public static boolean isParentSms(String sms)
      Helper method to determine if a sms is a parent sms
      Parameters:
      sms - The sms key to check
      Returns:
      true if it's a parent sms
    • getParentSms

      public static String getParentSms(String childSms)
      Helper method to get parent sms key for a child sms
      Parameters:
      childSms - The child sms key
      Returns:
      The parent sms key
    • getAllSmss

      public static String[] getAllSmss()
      Get all smss as a single array
      Returns:
      Array containing all smss