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