Rev 1329 | Rev 3430 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
/*** Autogenerated by Thrift** DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING*/package in.shop2020.model.v1.catalog;import java.util.Map;import java.util.HashMap;import org.apache.thrift.TEnum;/*** Caution :- Never ever change the numbers in it. Please confirm from @Chandranshu or @Rajveer before any changes in enum and other entries in file.* **/public enum status implements TEnum{PHASED_OUT(0),DELETED(1),PAUSED(2),ACTIVE(3),IN_PROCESS(4),CONTENT_COMPLETE(5),PAUSED_BY_RISK(6);private static final Map<Integer, status> BY_VALUE = new HashMap<Integer,status>() {{for(status val : status.values()) {put(val.getValue(), val);}}};private final int value;private status(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 status findByValue(int value) {return BY_VALUE.get(value);}}