def to_map()

in yuqing-20220301/alibabacloud_yuqing20220301/models.py [0:0]


    def to_map(self):
        _map = super().to_map()
        if _map is not None:
            return _map

        result = dict()
        if self.app_name is not None:
            result['appName'] = self.app_name
        if self.app_score is not None:
            result['appScore'] = self.app_score
        if self.app_store_name is not None:
            result['appStoreName'] = self.app_store_name
        if self.at_author_names is not None:
            result['atAuthorNames'] = self.at_author_names
        if self.audio_count is not None:
            result['audioCount'] = self.audio_count
        if self.author_avatar_url is not None:
            result['authorAvatarUrl'] = self.author_avatar_url
        if self.author_followers_count is not None:
            result['authorFollowersCount'] = self.author_followers_count
        if self.author_friends_count is not None:
            result['authorFriendsCount'] = self.author_friends_count
        if self.author_gender is not None:
            result['authorGender'] = self.author_gender
        if self.author_id is not None:
            result['authorId'] = self.author_id
        if self.author_likes_count is not None:
            result['authorLikesCount'] = self.author_likes_count
        if self.author_name is not None:
            result['authorName'] = self.author_name
        if self.author_profile_url is not None:
            result['authorProfileUrl'] = self.author_profile_url
        if self.author_statuses_count is not None:
            result['authorStatusesCount'] = self.author_statuses_count
        if self.author_verified is not None:
            result['authorVerified'] = self.author_verified
        if self.author_verify_type is not None:
            result['authorVerifyType'] = self.author_verify_type
        if self.content_audio_text is not None:
            result['contentAudioText'] = self.content_audio_text
        if self.content_audio_urls is not None:
            result['contentAudioUrls'] = self.content_audio_urls
        if self.content_image_text is not None:
            result['contentImageText'] = self.content_image_text
        if self.content_image_urls is not None:
            result['contentImageUrls'] = self.content_image_urls
        if self.content_lang is not None:
            result['contentLang'] = self.content_lang
        if self.content_len is not None:
            result['contentLen'] = self.content_len
        if self.content_video_text is not None:
            result['contentVideoText'] = self.content_video_text
        if self.content_video_urls is not None:
            result['contentVideoUrls'] = self.content_video_urls
        if self.create_time is not None:
            result['createTime'] = self.create_time
        if self.doc_answers_count is not None:
            result['docAnswersCount'] = self.doc_answers_count
        if self.doc_areas is not None:
            result['docAreas'] = self.doc_areas
        if self.doc_coin_count is not None:
            result['docCoinCount'] = self.doc_coin_count
        if self.doc_comments_count is not None:
            result['docCommentsCount'] = self.doc_comments_count
        if self.doc_content is not None:
            result['docContent'] = self.doc_content
        if self.doc_content_brief is not None:
            result['docContentBrief'] = self.doc_content_brief
        if self.doc_content_sign is not None:
            result['docContentSign'] = self.doc_content_sign
        if self.doc_id is not None:
            result['docId'] = self.doc_id
        if self.doc_likes_count is not None:
            result['docLikesCount'] = self.doc_likes_count
        if self.doc_play_count is not None:
            result['docPlayCount'] = self.doc_play_count
        if self.doc_reading_count is not None:
            result['docReadingCount'] = self.doc_reading_count
        if self.doc_reads_count is not None:
            result['docReadsCount'] = self.doc_reads_count
        if self.doc_reposts_count is not None:
            result['docRepostsCount'] = self.doc_reposts_count
        if self.doc_reprint_name is not None:
            result['docReprintName'] = self.doc_reprint_name
        if self.doc_self_content_sign is not None:
            result['docSelfContentSign'] = self.doc_self_content_sign
        if self.doc_title is not None:
            result['docTitle'] = self.doc_title
        if self.doc_url is not None:
            result['docUrl'] = self.doc_url
        if self.emotion_score is not None:
            result['emotionScore'] = self.emotion_score
        if self.emotion_type is not None:
            result['emotionType'] = self.emotion_type
        if self.ext_info is not None:
            result['extInfo'] = self.ext_info
        if self.fin_event_count is not None:
            result['finEventCount'] = self.fin_event_count
        result['financeEventList'] = []
        if self.finance_event_list is not None:
            for k in self.finance_event_list:
                result['financeEventList'].append(k.to_map() if k else None)
        if self.highlight_keywords is not None:
            result['highlightKeywords'] = self.highlight_keywords
        if self.image_count is not None:
            result['imageCount'] = self.image_count
        if self.influence_score is not None:
            result['influenceScore'] = self.influence_score
        if self.media_hosts is not None:
            result['mediaHosts'] = self.media_hosts
        if self.media_influence_level is not None:
            result['mediaInfluenceLevel'] = self.media_influence_level
        if self.media_name is not None:
            result['mediaName'] = self.media_name
        if self.media_propagation_level is not None:
            result['mediaPropagationLevel'] = self.media_propagation_level
        if self.media_type is not None:
            result['mediaType'] = self.media_type
        if self.message_type is not None:
            result['messageType'] = self.message_type
        if self.parent_doc_id is not None:
            result['parentDocId'] = self.parent_doc_id
        if self.propagation_score is not None:
            result['propagationScore'] = self.propagation_score
        if self.publish_time is not None:
            result['publishTime'] = self.publish_time
        if self.relevance_score is not None:
            result['relevanceScore'] = self.relevance_score
        if self.report_material_tags is not None:
            result['reportMaterialTags'] = self.report_material_tags
        if self.repost_list is not None:
            result['repostList'] = self.repost_list
        if self.similar_number is not None:
            result['similarNumber'] = self.similar_number
        if self.topics is not None:
            result['topics'] = self.topics
        if self.video_count is not None:
            result['videoCount'] = self.video_count
        if self.weibo_comment_id is not None:
            result['weiboCommentId'] = self.weibo_comment_id
        if self.weibo_mid is not None:
            result['weiboMid'] = self.weibo_mid
        return result