map toMap()

in push-20160801/include/alibabacloud/push_20160801.hpp [1797:2097]


  map<string, boost::any> toMap() override {
    map<string, boost::any> res;
    if (androidActivity) {
      res["AndroidActivity"] = boost::any(*androidActivity);
    }
    if (androidBadgeAddNum) {
      res["AndroidBadgeAddNum"] = boost::any(*androidBadgeAddNum);
    }
    if (androidBadgeClass) {
      res["AndroidBadgeClass"] = boost::any(*androidBadgeClass);
    }
    if (androidBadgeSetNum) {
      res["AndroidBadgeSetNum"] = boost::any(*androidBadgeSetNum);
    }
    if (androidBigBody) {
      res["AndroidBigBody"] = boost::any(*androidBigBody);
    }
    if (androidBigPictureUrl) {
      res["AndroidBigPictureUrl"] = boost::any(*androidBigPictureUrl);
    }
    if (androidBigTitle) {
      res["AndroidBigTitle"] = boost::any(*androidBigTitle);
    }
    if (androidExtParameters) {
      res["AndroidExtParameters"] = boost::any(*androidExtParameters);
    }
    if (androidHonorTargetUserType) {
      res["AndroidHonorTargetUserType"] = boost::any(*androidHonorTargetUserType);
    }
    if (androidHuaweiReceiptId) {
      res["AndroidHuaweiReceiptId"] = boost::any(*androidHuaweiReceiptId);
    }
    if (androidHuaweiTargetUserType) {
      res["AndroidHuaweiTargetUserType"] = boost::any(*androidHuaweiTargetUserType);
    }
    if (androidImageUrl) {
      res["AndroidImageUrl"] = boost::any(*androidImageUrl);
    }
    if (androidInboxBody) {
      res["AndroidInboxBody"] = boost::any(*androidInboxBody);
    }
    if (androidMessageHuaweiCategory) {
      res["AndroidMessageHuaweiCategory"] = boost::any(*androidMessageHuaweiCategory);
    }
    if (androidMessageHuaweiUrgency) {
      res["AndroidMessageHuaweiUrgency"] = boost::any(*androidMessageHuaweiUrgency);
    }
    if (androidMessageOppoCategory) {
      res["AndroidMessageOppoCategory"] = boost::any(*androidMessageOppoCategory);
    }
    if (androidMessageOppoNotifyLevel) {
      res["AndroidMessageOppoNotifyLevel"] = boost::any(*androidMessageOppoNotifyLevel);
    }
    if (androidMessageVivoCategory) {
      res["AndroidMessageVivoCategory"] = boost::any(*androidMessageVivoCategory);
    }
    if (androidMusic) {
      res["AndroidMusic"] = boost::any(*androidMusic);
    }
    if (androidNotificationBarPriority) {
      res["AndroidNotificationBarPriority"] = boost::any(*androidNotificationBarPriority);
    }
    if (androidNotificationBarType) {
      res["AndroidNotificationBarType"] = boost::any(*androidNotificationBarType);
    }
    if (androidNotificationChannel) {
      res["AndroidNotificationChannel"] = boost::any(*androidNotificationChannel);
    }
    if (androidNotificationGroup) {
      res["AndroidNotificationGroup"] = boost::any(*androidNotificationGroup);
    }
    if (androidNotificationHonorChannel) {
      res["AndroidNotificationHonorChannel"] = boost::any(*androidNotificationHonorChannel);
    }
    if (androidNotificationHuaweiChannel) {
      res["AndroidNotificationHuaweiChannel"] = boost::any(*androidNotificationHuaweiChannel);
    }
    if (androidNotificationNotifyId) {
      res["AndroidNotificationNotifyId"] = boost::any(*androidNotificationNotifyId);
    }
    if (androidNotificationThreadId) {
      res["AndroidNotificationThreadId"] = boost::any(*androidNotificationThreadId);
    }
    if (androidNotificationVivoChannel) {
      res["AndroidNotificationVivoChannel"] = boost::any(*androidNotificationVivoChannel);
    }
    if (androidNotificationXiaomiChannel) {
      res["AndroidNotificationXiaomiChannel"] = boost::any(*androidNotificationXiaomiChannel);
    }
    if (androidNotifyType) {
      res["AndroidNotifyType"] = boost::any(*androidNotifyType);
    }
    if (androidOpenType) {
      res["AndroidOpenType"] = boost::any(*androidOpenType);
    }
    if (androidOpenUrl) {
      res["AndroidOpenUrl"] = boost::any(*androidOpenUrl);
    }
    if (androidPopupActivity) {
      res["AndroidPopupActivity"] = boost::any(*androidPopupActivity);
    }
    if (androidPopupBody) {
      res["AndroidPopupBody"] = boost::any(*androidPopupBody);
    }
    if (androidPopupTitle) {
      res["AndroidPopupTitle"] = boost::any(*androidPopupTitle);
    }
    if (androidRemind) {
      res["AndroidRemind"] = boost::any(*androidRemind);
    }
    if (androidRenderStyle) {
      res["AndroidRenderStyle"] = boost::any(*androidRenderStyle);
    }
    if (androidTargetUserType) {
      res["AndroidTargetUserType"] = boost::any(*androidTargetUserType);
    }
    if (androidVivoPushMode) {
      res["AndroidVivoPushMode"] = boost::any(*androidVivoPushMode);
    }
    if (androidVivoReceiptId) {
      res["AndroidVivoReceiptId"] = boost::any(*androidVivoReceiptId);
    }
    if (androidXiaoMiActivity) {
      res["AndroidXiaoMiActivity"] = boost::any(*androidXiaoMiActivity);
    }
    if (androidXiaoMiNotifyBody) {
      res["AndroidXiaoMiNotifyBody"] = boost::any(*androidXiaoMiNotifyBody);
    }
    if (androidXiaoMiNotifyTitle) {
      res["AndroidXiaoMiNotifyTitle"] = boost::any(*androidXiaoMiNotifyTitle);
    }
    if (androidXiaomiBigPictureUrl) {
      res["AndroidXiaomiBigPictureUrl"] = boost::any(*androidXiaomiBigPictureUrl);
    }
    if (androidXiaomiImageUrl) {
      res["AndroidXiaomiImageUrl"] = boost::any(*androidXiaomiImageUrl);
    }
    if (body) {
      res["Body"] = boost::any(*body);
    }
    if (deviceType) {
      res["DeviceType"] = boost::any(*deviceType);
    }
    if (expireTime) {
      res["ExpireTime"] = boost::any(*expireTime);
    }
    if (harmonyAction) {
      res["HarmonyAction"] = boost::any(*harmonyAction);
    }
    if (harmonyActionType) {
      res["HarmonyActionType"] = boost::any(*harmonyActionType);
    }
    if (harmonyBadgeAddNum) {
      res["HarmonyBadgeAddNum"] = boost::any(*harmonyBadgeAddNum);
    }
    if (harmonyBadgeSetNum) {
      res["HarmonyBadgeSetNum"] = boost::any(*harmonyBadgeSetNum);
    }
    if (harmonyCategory) {
      res["HarmonyCategory"] = boost::any(*harmonyCategory);
    }
    if (harmonyExtParameters) {
      res["HarmonyExtParameters"] = boost::any(*harmonyExtParameters);
    }
    if (harmonyExtensionExtraData) {
      res["HarmonyExtensionExtraData"] = boost::any(*harmonyExtensionExtraData);
    }
    if (harmonyExtensionPush) {
      res["HarmonyExtensionPush"] = boost::any(*harmonyExtensionPush);
    }
    if (harmonyImageUrl) {
      res["HarmonyImageUrl"] = boost::any(*harmonyImageUrl);
    }
    if (harmonyInboxContent) {
      res["HarmonyInboxContent"] = boost::any(*harmonyInboxContent);
    }
    if (harmonyNotificationSlotType) {
      res["HarmonyNotificationSlotType"] = boost::any(*harmonyNotificationSlotType);
    }
    if (harmonyNotifyId) {
      res["HarmonyNotifyId"] = boost::any(*harmonyNotifyId);
    }
    if (harmonyReceiptId) {
      res["HarmonyReceiptId"] = boost::any(*harmonyReceiptId);
    }
    if (harmonyRemind) {
      res["HarmonyRemind"] = boost::any(*harmonyRemind);
    }
    if (harmonyRemindBody) {
      res["HarmonyRemindBody"] = boost::any(*harmonyRemindBody);
    }
    if (harmonyRemindTitle) {
      res["HarmonyRemindTitle"] = boost::any(*harmonyRemindTitle);
    }
    if (harmonyRenderStyle) {
      res["HarmonyRenderStyle"] = boost::any(*harmonyRenderStyle);
    }
    if (harmonyTestMessage) {
      res["HarmonyTestMessage"] = boost::any(*harmonyTestMessage);
    }
    if (harmonyUri) {
      res["HarmonyUri"] = boost::any(*harmonyUri);
    }
    if (jobKey) {
      res["JobKey"] = boost::any(*jobKey);
    }
    if (pushTime) {
      res["PushTime"] = boost::any(*pushTime);
    }
    if (pushType) {
      res["PushType"] = boost::any(*pushType);
    }
    if (sendChannels) {
      res["SendChannels"] = boost::any(*sendChannels);
    }
    if (sendSpeed) {
      res["SendSpeed"] = boost::any(*sendSpeed);
    }
    if (storeOffline) {
      res["StoreOffline"] = boost::any(*storeOffline);
    }
    if (target) {
      res["Target"] = boost::any(*target);
    }
    if (targetValue) {
      res["TargetValue"] = boost::any(*targetValue);
    }
    if (title) {
      res["Title"] = boost::any(*title);
    }
    if (trim) {
      res["Trim"] = boost::any(*trim);
    }
    if (iOSApnsEnv) {
      res["iOSApnsEnv"] = boost::any(*iOSApnsEnv);
    }
    if (iOSBadge) {
      res["iOSBadge"] = boost::any(*iOSBadge);
    }
    if (iOSBadgeAutoIncrement) {
      res["iOSBadgeAutoIncrement"] = boost::any(*iOSBadgeAutoIncrement);
    }
    if (iOSExtParameters) {
      res["iOSExtParameters"] = boost::any(*iOSExtParameters);
    }
    if (iOSInterruptionLevel) {
      res["iOSInterruptionLevel"] = boost::any(*iOSInterruptionLevel);
    }
    if (iOSLiveActivityAttributes) {
      res["iOSLiveActivityAttributes"] = boost::any(*iOSLiveActivityAttributes);
    }
    if (iOSLiveActivityAttributesType) {
      res["iOSLiveActivityAttributesType"] = boost::any(*iOSLiveActivityAttributesType);
    }
    if (iOSLiveActivityContentState) {
      res["iOSLiveActivityContentState"] = boost::any(*iOSLiveActivityContentState);
    }
    if (iOSLiveActivityDismissalDate) {
      res["iOSLiveActivityDismissalDate"] = boost::any(*iOSLiveActivityDismissalDate);
    }
    if (iOSLiveActivityEvent) {
      res["iOSLiveActivityEvent"] = boost::any(*iOSLiveActivityEvent);
    }
    if (iOSLiveActivityId) {
      res["iOSLiveActivityId"] = boost::any(*iOSLiveActivityId);
    }
    if (iOSLiveActivityStaleDate) {
      res["iOSLiveActivityStaleDate"] = boost::any(*iOSLiveActivityStaleDate);
    }
    if (iOSMusic) {
      res["iOSMusic"] = boost::any(*iOSMusic);
    }
    if (iOSMutableContent) {
      res["iOSMutableContent"] = boost::any(*iOSMutableContent);
    }
    if (iOSNotificationCategory) {
      res["iOSNotificationCategory"] = boost::any(*iOSNotificationCategory);
    }
    if (iOSNotificationCollapseId) {
      res["iOSNotificationCollapseId"] = boost::any(*iOSNotificationCollapseId);
    }
    if (iOSNotificationThreadId) {
      res["iOSNotificationThreadId"] = boost::any(*iOSNotificationThreadId);
    }
    if (iOSRelevanceScore) {
      res["iOSRelevanceScore"] = boost::any(*iOSRelevanceScore);
    }
    if (iOSRemind) {
      res["iOSRemind"] = boost::any(*iOSRemind);
    }
    if (iOSRemindBody) {
      res["iOSRemindBody"] = boost::any(*iOSRemindBody);
    }
    if (iOSSilentNotification) {
      res["iOSSilentNotification"] = boost::any(*iOSSilentNotification);
    }
    if (iOSSubtitle) {
      res["iOSSubtitle"] = boost::any(*iOSSubtitle);
    }
    return res;
  }