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