from enum import Enum

class AdapterType(Enum):
    MYSQL = 'MYSQL'
    CSV = 'CSV'
    XML = 'XML'

    def get(self):
        return self.value.lower()

    def list():
        return list(map(AdapterType.get, AdapterType))

    def class_name(self):
        if self.value.upper() == 'MYSQL':
            return 'MySQLAdapter'