'A dict representation of this twitter.List instance.
The return value uses the same key names as the JSON representation.
Return:
A dict representing this twitter.List instance'

def AsDict(self):

    data = {}
    if self.id:
        data['id'] = self.id
    if self.name:
        data['name'] = self.name
    if self.slug:
        data['slug'] = self.slug
    if self.description:
        data['description'] = self.description
    if self.full_name:
        data['full_name'] = self.full_name
    if self.mode:
        data['mode'] = self.mode
    if self.uri:
        data['uri'] = self.uri
    if (self.member_count is not None):
        data['member_count'] = self.member_count
    if (self.subscriber_count is not None):
        data['subscriber_count'] = self.subscriber_count
    if (self.following is not None):
        data['following'] = self.following
    if (self.user is not None):
        data['user'] = self.user.AsDict()
    return data
