Blame | Last modification | View Log | RSS feed
/*** Autogenerated by Thrift Compiler (0.7.0)** DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING*/package in.shop2020.utils;import java.util.Map;import java.util.HashMap;import org.apache.thrift.TEnum;public enum SmsStatus implements org.apache.thrift.TEnum {IN_PROCESS(0),DELIVERED(1),UNDELIVERED(2),SERVICE_ERROR(3),USER_ABSENT(4),MEMORY_FULL(5),NDLC_FAIL(6),INVALID_NUMBER(7);private final int value;private SmsStatus(int value) {this.value = value;}/*** Get the integer value of this enum value, as defined in the Thrift IDL.*/public int getValue() {return value;}/*** Find a the enum type by its integer value, as defined in the Thrift IDL.* @return null if the value is not found.*/public static SmsStatus findByValue(int value) {switch (value) {case 0:return IN_PROCESS;case 1:return DELIVERED;case 2:return UNDELIVERED;case 3:return SERVICE_ERROR;case 4:return USER_ABSENT;case 5:return MEMORY_FULL;case 6:return NDLC_FAIL;case 7:return INVALID_NUMBER;default:return null;}}}