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

def AsDict(self):

    data = {}
    if self.created_at:
        data['created_at'] = self.created_at
    if self.favorited:
        data['favorited'] = self.favorited
    if self.favorite_count:
        data['favorite_count'] = self.favorite_count
    if self.id:
        data['id'] = self.id
    if self.text:
        data['text'] = self.text
    if self.location:
        data['location'] = self.location
    if self.user:
        data['user'] = self.user.AsDict()
    if self.in_reply_to_screen_name:
        data['in_reply_to_screen_name'] = self.in_reply_to_screen_name
    if self.in_reply_to_user_id:
        data['in_reply_to_user_id'] = self.in_reply_to_user_id
    if self.in_reply_to_status_id:
        data['in_reply_to_status_id'] = self.in_reply_to_status_id
    if (self.truncated is not None):
        data['truncated'] = self.truncated
    if (self.retweeted is not None):
        data['retweeted'] = self.retweeted
    if (self.favorited is not None):
        data['favorited'] = self.favorited
    if self.source:
        data['source'] = self.source
    if self.geo:
        data['geo'] = self.geo
    if self.place:
        data['place'] = self.place
    if self.coordinates:
        data['coordinates'] = self.coordinates
    if self.contributors:
        data['contributors'] = self.contributors
    if self.hashtags:
        data['hashtags'] = [h.text for h in self.hashtags]
    if self.retweeted_status:
        data['retweeted_status'] = self.retweeted_status.AsDict()
    if self.retweet_count:
        data['retweet_count'] = self.retweet_count
    if self.urls:
        data['urls'] = dict([(url.url, url.expanded_url) for url in self.urls])
    if self.user_mentions:
        data['user_mentions'] = [um.AsDict() for um in self.user_mentions]
    if self.current_user_retweet:
        data['current_user_retweet'] = self.current_user_retweet
    if self.possibly_sensitive:
        data['possibly_sensitive'] = self.possibly_sensitive
    if self.scopes:
        data['scopes'] = self.scopes
    if self.withheld_copyright:
        data['withheld_copyright'] = self.withheld_copyright
    if self.withheld_in_countries:
        data['withheld_in_countries'] = self.withheld_in_countries
    if self.withheld_scope:
        data['withheld_scope'] = self.withheld_scope
    return data
