def to_map()

in push-20160801/alibabacloud_push20160801/models.py [0:0]


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

        result = dict()
        if self.android_activity is not None:
            result['AndroidActivity'] = self.android_activity
        if self.android_badge_add_num is not None:
            result['AndroidBadgeAddNum'] = self.android_badge_add_num
        if self.android_badge_class is not None:
            result['AndroidBadgeClass'] = self.android_badge_class
        if self.android_badge_set_num is not None:
            result['AndroidBadgeSetNum'] = self.android_badge_set_num
        if self.android_big_body is not None:
            result['AndroidBigBody'] = self.android_big_body
        if self.android_big_picture_url is not None:
            result['AndroidBigPictureUrl'] = self.android_big_picture_url
        if self.android_big_title is not None:
            result['AndroidBigTitle'] = self.android_big_title
        if self.android_ext_parameters is not None:
            result['AndroidExtParameters'] = self.android_ext_parameters
        if self.android_honor_target_user_type is not None:
            result['AndroidHonorTargetUserType'] = self.android_honor_target_user_type
        if self.android_huawei_receipt_id is not None:
            result['AndroidHuaweiReceiptId'] = self.android_huawei_receipt_id
        if self.android_huawei_target_user_type is not None:
            result['AndroidHuaweiTargetUserType'] = self.android_huawei_target_user_type
        if self.android_image_url is not None:
            result['AndroidImageUrl'] = self.android_image_url
        if self.android_inbox_body is not None:
            result['AndroidInboxBody'] = self.android_inbox_body
        if self.android_message_huawei_category is not None:
            result['AndroidMessageHuaweiCategory'] = self.android_message_huawei_category
        if self.android_message_huawei_urgency is not None:
            result['AndroidMessageHuaweiUrgency'] = self.android_message_huawei_urgency
        if self.android_message_oppo_category is not None:
            result['AndroidMessageOppoCategory'] = self.android_message_oppo_category
        if self.android_message_oppo_notify_level is not None:
            result['AndroidMessageOppoNotifyLevel'] = self.android_message_oppo_notify_level
        if self.android_message_vivo_category is not None:
            result['AndroidMessageVivoCategory'] = self.android_message_vivo_category
        if self.android_music is not None:
            result['AndroidMusic'] = self.android_music
        if self.android_notification_bar_priority is not None:
            result['AndroidNotificationBarPriority'] = self.android_notification_bar_priority
        if self.android_notification_bar_type is not None:
            result['AndroidNotificationBarType'] = self.android_notification_bar_type
        if self.android_notification_channel is not None:
            result['AndroidNotificationChannel'] = self.android_notification_channel
        if self.android_notification_group is not None:
            result['AndroidNotificationGroup'] = self.android_notification_group
        if self.android_notification_honor_channel is not None:
            result['AndroidNotificationHonorChannel'] = self.android_notification_honor_channel
        if self.android_notification_huawei_channel is not None:
            result['AndroidNotificationHuaweiChannel'] = self.android_notification_huawei_channel
        if self.android_notification_notify_id is not None:
            result['AndroidNotificationNotifyId'] = self.android_notification_notify_id
        if self.android_notification_thread_id is not None:
            result['AndroidNotificationThreadId'] = self.android_notification_thread_id
        if self.android_notification_vivo_channel is not None:
            result['AndroidNotificationVivoChannel'] = self.android_notification_vivo_channel
        if self.android_notification_xiaomi_channel is not None:
            result['AndroidNotificationXiaomiChannel'] = self.android_notification_xiaomi_channel
        if self.android_notify_type is not None:
            result['AndroidNotifyType'] = self.android_notify_type
        if self.android_open_type is not None:
            result['AndroidOpenType'] = self.android_open_type
        if self.android_open_url is not None:
            result['AndroidOpenUrl'] = self.android_open_url
        if self.android_popup_activity is not None:
            result['AndroidPopupActivity'] = self.android_popup_activity
        if self.android_popup_body is not None:
            result['AndroidPopupBody'] = self.android_popup_body
        if self.android_popup_title is not None:
            result['AndroidPopupTitle'] = self.android_popup_title
        if self.android_remind is not None:
            result['AndroidRemind'] = self.android_remind
        if self.android_render_style is not None:
            result['AndroidRenderStyle'] = self.android_render_style
        if self.android_target_user_type is not None:
            result['AndroidTargetUserType'] = self.android_target_user_type
        if self.android_vivo_push_mode is not None:
            result['AndroidVivoPushMode'] = self.android_vivo_push_mode
        if self.android_vivo_receipt_id is not None:
            result['AndroidVivoReceiptId'] = self.android_vivo_receipt_id
        if self.android_xiao_mi_activity is not None:
            result['AndroidXiaoMiActivity'] = self.android_xiao_mi_activity
        if self.android_xiao_mi_notify_body is not None:
            result['AndroidXiaoMiNotifyBody'] = self.android_xiao_mi_notify_body
        if self.android_xiao_mi_notify_title is not None:
            result['AndroidXiaoMiNotifyTitle'] = self.android_xiao_mi_notify_title
        if self.android_xiaomi_big_picture_url is not None:
            result['AndroidXiaomiBigPictureUrl'] = self.android_xiaomi_big_picture_url
        if self.android_xiaomi_image_url is not None:
            result['AndroidXiaomiImageUrl'] = self.android_xiaomi_image_url
        if self.body is not None:
            result['Body'] = self.body
        if self.device_type is not None:
            result['DeviceType'] = self.device_type
        if self.expire_time is not None:
            result['ExpireTime'] = self.expire_time
        if self.harmony_action is not None:
            result['HarmonyAction'] = self.harmony_action
        if self.harmony_action_type is not None:
            result['HarmonyActionType'] = self.harmony_action_type
        if self.harmony_badge_add_num is not None:
            result['HarmonyBadgeAddNum'] = self.harmony_badge_add_num
        if self.harmony_badge_set_num is not None:
            result['HarmonyBadgeSetNum'] = self.harmony_badge_set_num
        if self.harmony_category is not None:
            result['HarmonyCategory'] = self.harmony_category
        if self.harmony_ext_parameters is not None:
            result['HarmonyExtParameters'] = self.harmony_ext_parameters
        if self.harmony_extension_extra_data is not None:
            result['HarmonyExtensionExtraData'] = self.harmony_extension_extra_data
        if self.harmony_extension_push is not None:
            result['HarmonyExtensionPush'] = self.harmony_extension_push
        if self.harmony_image_url is not None:
            result['HarmonyImageUrl'] = self.harmony_image_url
        if self.harmony_inbox_content is not None:
            result['HarmonyInboxContent'] = self.harmony_inbox_content
        if self.harmony_notification_slot_type is not None:
            result['HarmonyNotificationSlotType'] = self.harmony_notification_slot_type
        if self.harmony_notify_id is not None:
            result['HarmonyNotifyId'] = self.harmony_notify_id
        if self.harmony_receipt_id is not None:
            result['HarmonyReceiptId'] = self.harmony_receipt_id
        if self.harmony_remind is not None:
            result['HarmonyRemind'] = self.harmony_remind
        if self.harmony_remind_body is not None:
            result['HarmonyRemindBody'] = self.harmony_remind_body
        if self.harmony_remind_title is not None:
            result['HarmonyRemindTitle'] = self.harmony_remind_title
        if self.harmony_render_style is not None:
            result['HarmonyRenderStyle'] = self.harmony_render_style
        if self.harmony_test_message is not None:
            result['HarmonyTestMessage'] = self.harmony_test_message
        if self.harmony_uri is not None:
            result['HarmonyUri'] = self.harmony_uri
        if self.job_key is not None:
            result['JobKey'] = self.job_key
        if self.push_time is not None:
            result['PushTime'] = self.push_time
        if self.push_type is not None:
            result['PushType'] = self.push_type
        if self.send_channels is not None:
            result['SendChannels'] = self.send_channels
        if self.send_speed is not None:
            result['SendSpeed'] = self.send_speed
        if self.store_offline is not None:
            result['StoreOffline'] = self.store_offline
        if self.target is not None:
            result['Target'] = self.target
        if self.target_value is not None:
            result['TargetValue'] = self.target_value
        if self.title is not None:
            result['Title'] = self.title
        if self.trim is not None:
            result['Trim'] = self.trim
        if self.i_osapns_env is not None:
            result['iOSApnsEnv'] = self.i_osapns_env
        if self.i_osbadge is not None:
            result['iOSBadge'] = self.i_osbadge
        if self.i_osbadge_auto_increment is not None:
            result['iOSBadgeAutoIncrement'] = self.i_osbadge_auto_increment
        if self.i_osext_parameters is not None:
            result['iOSExtParameters'] = self.i_osext_parameters
        if self.i_osinterruption_level is not None:
            result['iOSInterruptionLevel'] = self.i_osinterruption_level
        if self.i_oslive_activity_attributes is not None:
            result['iOSLiveActivityAttributes'] = self.i_oslive_activity_attributes
        if self.i_oslive_activity_attributes_type is not None:
            result['iOSLiveActivityAttributesType'] = self.i_oslive_activity_attributes_type
        if self.i_oslive_activity_content_state is not None:
            result['iOSLiveActivityContentState'] = self.i_oslive_activity_content_state
        if self.i_oslive_activity_dismissal_date is not None:
            result['iOSLiveActivityDismissalDate'] = self.i_oslive_activity_dismissal_date
        if self.i_oslive_activity_event is not None:
            result['iOSLiveActivityEvent'] = self.i_oslive_activity_event
        if self.i_oslive_activity_id is not None:
            result['iOSLiveActivityId'] = self.i_oslive_activity_id
        if self.i_oslive_activity_stale_date is not None:
            result['iOSLiveActivityStaleDate'] = self.i_oslive_activity_stale_date
        if self.i_osmusic is not None:
            result['iOSMusic'] = self.i_osmusic
        if self.i_osmutable_content is not None:
            result['iOSMutableContent'] = self.i_osmutable_content
        if self.i_osnotification_category is not None:
            result['iOSNotificationCategory'] = self.i_osnotification_category
        if self.i_osnotification_collapse_id is not None:
            result['iOSNotificationCollapseId'] = self.i_osnotification_collapse_id
        if self.i_osnotification_thread_id is not None:
            result['iOSNotificationThreadId'] = self.i_osnotification_thread_id
        if self.i_osrelevance_score is not None:
            result['iOSRelevanceScore'] = self.i_osrelevance_score
        if self.i_osremind is not None:
            result['iOSRemind'] = self.i_osremind
        if self.i_osremind_body is not None:
            result['iOSRemindBody'] = self.i_osremind_body
        if self.i_ossilent_notification is not None:
            result['iOSSilentNotification'] = self.i_ossilent_notification
        if self.i_ossubtitle is not None:
            result['iOSSubtitle'] = self.i_ossubtitle
        return result