Blame | Last modification | View Log | RSS feed
/*** Migrated from ThriftConfig - Thrift dependency removed**/package in.shop2020.model.v1.catalog;import java.util.Map;import java.util.HashMap;/*** 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 {PHASED_OUT(0),DELETED(1),PAUSED(2),ACTIVE(3),IN_PROCESS(4),CONTENT_COMPLETE(5),PAUSED_BY_RISK(6),COMING_SOON(7),PARTIALLY_ACTIVE(8);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) {switch (value) {case 0:return PHASED_OUT;case 1:return DELETED;case 2:return PAUSED;case 3:return ACTIVE;case 4:return IN_PROCESS;case 5:return CONTENT_COMPLETE;case 6:return PAUSED_BY_RISK;case 7:return COMING_SOON;case 8:return PARTIALLY_ACTIVE;default:return null;}}}