class WeekDayEnumeration: MONDAY = EnumItem(index=0, short='mon') TUESDAY = EnumItem(index=1, short='tue') WEDNESDAY = EnumItem(index=2, short='wed') THURSDAY = EnumItem(index=3, short='thu') FRIDAY = EnumItem(index=4, short='fri') SATURDAY = EnumItem(index=5, short='sat') SUNDAY = EnumItem(index=6, short='sun')
class PoolingStatusEnumeration: NONE = EnumItem() POOLING = EnumItem() GOOGLE_SEARCHING = EnumItem() ERROR_POOLING = EnumItem() ERROR_DELIVERING = EnumItem() SUCCESS = EnumItem()
class MyOtherEnumTest: ONE = EnumItem(value=1, otherValue='one') TWO = EnumItem(value=2, otherValue='two')
class SimpleEnumTest: ONE = EnumItem(value='one', otherValue=1) TWO = EnumItem(value='two', otherValue=1) THREE = EnumItem(value='three', otherValue=1)
class MyThirdEnumTest: ONE = EnumItem(value='one', otherValue=1)
class MyEnumTest: ONE = EnumItem(value='ONE', otherValue=1) TWO = EnumItem(value='ONE', otherValue=2)
class GoogleCredentialsEnumeration: CUSTOM_SEARCH_API_KEY = EnumItem( credential=EnvironmentHelper.get('GOOGLE_CUSTOM_SEARCH_API_KEY')) CUSTOM_SEARCH_CSE_ID = EnumItem( credential=EnvironmentHelper.get('GOOGLE_CUSTOM_SEARCH_CSE_ID'))
class MyEnumTest: ONE = EnumItem(value='one', otherValue=1) TWO = EnumItem(value='two', otherValue=2)
class MyThirdEnumTest: ONE = EnumItem(value=4) TWO = EnumItem(value=5) THREE = EnumItem(value=6)
class MyOtherEnumTest: ONE = EnumItem(value=1) TWO = EnumItem(value=2) THREE = EnumItem(value=3)
class ContactStatusEnumeration: NONE = EnumItem() ACTIVE = EnumItem() INACTIVE = EnumItem()
class AuthenticationStatusEnumeration: NONE = EnumItem() AUTHENTICATED = EnumItem() ALREADY_AUTHENTICATED = EnumItem() NOT_AUTHENTICATED = EnumItem()
class EncodeDecodeActionEnumeration : ENCODE = EnumItem() DECODE = EnumItem()
class MyEnumTest: ITS = EnumItem(name=ITS_NAME, label=ITS_LABEL, numeric=ITS_NUMERIC) A = EnumItem(name=A_NAME, label=A_LABEL, numeric=A_NUMERIC) TEST = EnumItem(name=TEST_NAME, label=TEST_LABEL, numeric=TEST_NUMERIC)
class MyOtherEnumTest: ONE = EnumItem(value=1, otherValue='1') TWO = EnumItem(value=2, otherValue='1') THREE = EnumItem(value=3, otherValue='1')
class SimpleEnum: ABC = EnumItem() DEF = EnumItem()
class MyThirdEnumTest: ONE = EnumItem(value=4, otherValue='1') TWO = EnumItem(value=5, otherValue='1') THREE = EnumItem(value=6, otherValue='1')
class MyThirdEnumTest: THREE = EnumItem(value='three', otherValue=3) FOUR = EnumItem(value='four', otherValue=4)
class ContactTypeEnumeration: NONE = EnumItem() USER = EnumItem() GROUP = EnumItem()