def to_map()

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


    def to_map(self):
        _map = super(PushRequest, self).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_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_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_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.app_key is not None:
            result['AppKey'] = self.app_key
        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.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.sms_delay_secs is not None:
            result['SmsDelaySecs'] = self.sms_delay_secs
        if self.sms_params is not None:
            result['SmsParams'] = self.sms_params
        if self.sms_send_policy is not None:
            result['SmsSendPolicy'] = self.sms_send_policy
        if self.sms_sign_name is not None:
            result['SmsSignName'] = self.sms_sign_name
        if self.sms_template_name is not None:
            result['SmsTemplateName'] = self.sms_template_name
        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_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