def METHOD_NAME(self):
    """Returns the dictionary representation of the model using alias"""
    _dict = self.dict(by_alias=True,
                      exclude={
                      },
                      exclude_none=True)
    # set to None if outer_enum (nullable) is None
    # and __fields_set__ contains the field
    if self.outer_enum is None and "outer_enum" in self.__fields_set__:
        _dict['outerEnum'] = None
    return _dict