|
|
@@ -34,24 +34,6 @@ void PushRequest::setAndroidNotificationBarType(int androidNotificationBarType)
|
|
|
setParameter(std::string("AndroidNotificationBarType"), std::to_string(androidNotificationBarType));
|
|
|
}
|
|
|
|
|
|
-int PushRequest::getSmsSendPolicy() const {
|
|
|
- return smsSendPolicy_;
|
|
|
-}
|
|
|
-
|
|
|
-void PushRequest::setSmsSendPolicy(int smsSendPolicy) {
|
|
|
- smsSendPolicy_ = smsSendPolicy;
|
|
|
- setParameter(std::string("SmsSendPolicy"), std::to_string(smsSendPolicy));
|
|
|
-}
|
|
|
-
|
|
|
-std::string PushRequest::getBody() const {
|
|
|
- return body_;
|
|
|
-}
|
|
|
-
|
|
|
-void PushRequest::setBody(const std::string &body) {
|
|
|
- body_ = body;
|
|
|
- setParameter(std::string("Body"), body);
|
|
|
-}
|
|
|
-
|
|
|
std::string PushRequest::getDeviceType() const {
|
|
|
return deviceType_;
|
|
|
}
|
|
|
@@ -79,6 +61,402 @@ void PushRequest::setSendSpeed(int sendSpeed) {
|
|
|
setParameter(std::string("SendSpeed"), std::to_string(sendSpeed));
|
|
|
}
|
|
|
|
|
|
+std::string PushRequest::getIOSRemindBody() const {
|
|
|
+ return iOSRemindBody_;
|
|
|
+}
|
|
|
+
|
|
|
+void PushRequest::setIOSRemindBody(const std::string &iOSRemindBody) {
|
|
|
+ iOSRemindBody_ = iOSRemindBody;
|
|
|
+ setParameter(std::string("iOSRemindBody"), iOSRemindBody);
|
|
|
+}
|
|
|
+
|
|
|
+bool PushRequest::getTrim() const {
|
|
|
+ return trim_;
|
|
|
+}
|
|
|
+
|
|
|
+void PushRequest::setTrim(bool trim) {
|
|
|
+ trim_ = trim;
|
|
|
+ setParameter(std::string("Trim"), trim ? "true" : "false");
|
|
|
+}
|
|
|
+
|
|
|
+std::string PushRequest::getAndroidPopupTitle() const {
|
|
|
+ return androidPopupTitle_;
|
|
|
+}
|
|
|
+
|
|
|
+void PushRequest::setAndroidPopupTitle(const std::string &androidPopupTitle) {
|
|
|
+ androidPopupTitle_ = androidPopupTitle;
|
|
|
+ setParameter(std::string("AndroidPopupTitle"), androidPopupTitle);
|
|
|
+}
|
|
|
+
|
|
|
+std::string PushRequest::getIOSApnsEnv() const {
|
|
|
+ return iOSApnsEnv_;
|
|
|
+}
|
|
|
+
|
|
|
+void PushRequest::setIOSApnsEnv(const std::string &iOSApnsEnv) {
|
|
|
+ iOSApnsEnv_ = iOSApnsEnv;
|
|
|
+ setParameter(std::string("iOSApnsEnv"), iOSApnsEnv);
|
|
|
+}
|
|
|
+
|
|
|
+int PushRequest::getAndroidNotificationBarPriority() const {
|
|
|
+ return androidNotificationBarPriority_;
|
|
|
+}
|
|
|
+
|
|
|
+void PushRequest::setAndroidNotificationBarPriority(int androidNotificationBarPriority) {
|
|
|
+ androidNotificationBarPriority_ = androidNotificationBarPriority;
|
|
|
+ setParameter(std::string("AndroidNotificationBarPriority"), std::to_string(androidNotificationBarPriority));
|
|
|
+}
|
|
|
+
|
|
|
+std::string PushRequest::getExpireTime() const {
|
|
|
+ return expireTime_;
|
|
|
+}
|
|
|
+
|
|
|
+void PushRequest::setExpireTime(const std::string &expireTime) {
|
|
|
+ expireTime_ = expireTime;
|
|
|
+ setParameter(std::string("ExpireTime"), expireTime);
|
|
|
+}
|
|
|
+
|
|
|
+std::string PushRequest::getAndroidImageUrl() const {
|
|
|
+ return androidImageUrl_;
|
|
|
+}
|
|
|
+
|
|
|
+void PushRequest::setAndroidImageUrl(const std::string &androidImageUrl) {
|
|
|
+ androidImageUrl_ = androidImageUrl;
|
|
|
+ setParameter(std::string("AndroidImageUrl"), androidImageUrl);
|
|
|
+}
|
|
|
+
|
|
|
+std::string PushRequest::getAndroidVivoReceiptId() const {
|
|
|
+ return androidVivoReceiptId_;
|
|
|
+}
|
|
|
+
|
|
|
+void PushRequest::setAndroidVivoReceiptId(const std::string &androidVivoReceiptId) {
|
|
|
+ androidVivoReceiptId_ = androidVivoReceiptId;
|
|
|
+ setParameter(std::string("AndroidVivoReceiptId"), androidVivoReceiptId);
|
|
|
+}
|
|
|
+
|
|
|
+std::string PushRequest::getIOSNotificationCategory() const {
|
|
|
+ return iOSNotificationCategory_;
|
|
|
+}
|
|
|
+
|
|
|
+void PushRequest::setIOSNotificationCategory(const std::string &iOSNotificationCategory) {
|
|
|
+ iOSNotificationCategory_ = iOSNotificationCategory;
|
|
|
+ setParameter(std::string("iOSNotificationCategory"), iOSNotificationCategory);
|
|
|
+}
|
|
|
+
|
|
|
+std::string PushRequest::getAndroidXiaomiBigPictureUrl() const {
|
|
|
+ return androidXiaomiBigPictureUrl_;
|
|
|
+}
|
|
|
+
|
|
|
+void PushRequest::setAndroidXiaomiBigPictureUrl(const std::string &androidXiaomiBigPictureUrl) {
|
|
|
+ androidXiaomiBigPictureUrl_ = androidXiaomiBigPictureUrl;
|
|
|
+ setParameter(std::string("AndroidXiaomiBigPictureUrl"), androidXiaomiBigPictureUrl);
|
|
|
+}
|
|
|
+
|
|
|
+std::string PushRequest::getHarmonyCategory() const {
|
|
|
+ return harmonyCategory_;
|
|
|
+}
|
|
|
+
|
|
|
+void PushRequest::setHarmonyCategory(const std::string &harmonyCategory) {
|
|
|
+ harmonyCategory_ = harmonyCategory;
|
|
|
+ setParameter(std::string("HarmonyCategory"), harmonyCategory);
|
|
|
+}
|
|
|
+
|
|
|
+bool PushRequest::getIOSRemind() const {
|
|
|
+ return iOSRemind_;
|
|
|
+}
|
|
|
+
|
|
|
+void PushRequest::setIOSRemind(bool iOSRemind) {
|
|
|
+ iOSRemind_ = iOSRemind;
|
|
|
+ setParameter(std::string("iOSRemind"), iOSRemind ? "true" : "false");
|
|
|
+}
|
|
|
+
|
|
|
+std::string PushRequest::getIOSNotificationThreadId() const {
|
|
|
+ return iOSNotificationThreadId_;
|
|
|
+}
|
|
|
+
|
|
|
+void PushRequest::setIOSNotificationThreadId(const std::string &iOSNotificationThreadId) {
|
|
|
+ iOSNotificationThreadId_ = iOSNotificationThreadId;
|
|
|
+ setParameter(std::string("iOSNotificationThreadId"), iOSNotificationThreadId);
|
|
|
+}
|
|
|
+
|
|
|
+int PushRequest::getAndroidHuaweiTargetUserType() const {
|
|
|
+ return androidHuaweiTargetUserType_;
|
|
|
+}
|
|
|
+
|
|
|
+void PushRequest::setAndroidHuaweiTargetUserType(int androidHuaweiTargetUserType) {
|
|
|
+ androidHuaweiTargetUserType_ = androidHuaweiTargetUserType;
|
|
|
+ setParameter(std::string("AndroidHuaweiTargetUserType"), std::to_string(androidHuaweiTargetUserType));
|
|
|
+}
|
|
|
+
|
|
|
+std::string PushRequest::getAndroidMessageHuaweiUrgency() const {
|
|
|
+ return androidMessageHuaweiUrgency_;
|
|
|
+}
|
|
|
+
|
|
|
+void PushRequest::setAndroidMessageHuaweiUrgency(const std::string &androidMessageHuaweiUrgency) {
|
|
|
+ androidMessageHuaweiUrgency_ = androidMessageHuaweiUrgency;
|
|
|
+ setParameter(std::string("AndroidMessageHuaweiUrgency"), androidMessageHuaweiUrgency);
|
|
|
+}
|
|
|
+
|
|
|
+std::string PushRequest::getIOSInterruptionLevel() const {
|
|
|
+ return iOSInterruptionLevel_;
|
|
|
+}
|
|
|
+
|
|
|
+void PushRequest::setIOSInterruptionLevel(const std::string &iOSInterruptionLevel) {
|
|
|
+ iOSInterruptionLevel_ = iOSInterruptionLevel;
|
|
|
+ setParameter(std::string("iOSInterruptionLevel"), iOSInterruptionLevel);
|
|
|
+}
|
|
|
+
|
|
|
+std::string PushRequest::getAndroidExtParameters() const {
|
|
|
+ return androidExtParameters_;
|
|
|
+}
|
|
|
+
|
|
|
+void PushRequest::setAndroidExtParameters(const std::string &androidExtParameters) {
|
|
|
+ androidExtParameters_ = androidExtParameters;
|
|
|
+ setParameter(std::string("AndroidExtParameters"), androidExtParameters);
|
|
|
+}
|
|
|
+
|
|
|
+int PushRequest::getIOSBadge() const {
|
|
|
+ return iOSBadge_;
|
|
|
+}
|
|
|
+
|
|
|
+void PushRequest::setIOSBadge(int iOSBadge) {
|
|
|
+ iOSBadge_ = iOSBadge;
|
|
|
+ setParameter(std::string("iOSBadge"), std::to_string(iOSBadge));
|
|
|
+}
|
|
|
+
|
|
|
+bool PushRequest::getIOSBadgeAutoIncrement() const {
|
|
|
+ return iOSBadgeAutoIncrement_;
|
|
|
+}
|
|
|
+
|
|
|
+void PushRequest::setIOSBadgeAutoIncrement(bool iOSBadgeAutoIncrement) {
|
|
|
+ iOSBadgeAutoIncrement_ = iOSBadgeAutoIncrement;
|
|
|
+ setParameter(std::string("iOSBadgeAutoIncrement"), iOSBadgeAutoIncrement ? "true" : "false");
|
|
|
+}
|
|
|
+
|
|
|
+std::string PushRequest::getAndroidOpenType() const {
|
|
|
+ return androidOpenType_;
|
|
|
+}
|
|
|
+
|
|
|
+void PushRequest::setAndroidOpenType(const std::string &androidOpenType) {
|
|
|
+ androidOpenType_ = androidOpenType;
|
|
|
+ setParameter(std::string("AndroidOpenType"), androidOpenType);
|
|
|
+}
|
|
|
+
|
|
|
+std::string PushRequest::getHarmonyRemindTitle() const {
|
|
|
+ return harmonyRemindTitle_;
|
|
|
+}
|
|
|
+
|
|
|
+void PushRequest::setHarmonyRemindTitle(const std::string &harmonyRemindTitle) {
|
|
|
+ harmonyRemindTitle_ = harmonyRemindTitle;
|
|
|
+ setParameter(std::string("HarmonyRemindTitle"), harmonyRemindTitle);
|
|
|
+}
|
|
|
+
|
|
|
+std::string PushRequest::getAndroidBadgeClass() const {
|
|
|
+ return androidBadgeClass_;
|
|
|
+}
|
|
|
+
|
|
|
+void PushRequest::setAndroidBadgeClass(const std::string &androidBadgeClass) {
|
|
|
+ androidBadgeClass_ = androidBadgeClass;
|
|
|
+ setParameter(std::string("AndroidBadgeClass"), androidBadgeClass);
|
|
|
+}
|
|
|
+
|
|
|
+int PushRequest::getSmsDelaySecs() const {
|
|
|
+ return smsDelaySecs_;
|
|
|
+}
|
|
|
+
|
|
|
+void PushRequest::setSmsDelaySecs(int smsDelaySecs) {
|
|
|
+ smsDelaySecs_ = smsDelaySecs;
|
|
|
+ setParameter(std::string("SmsDelaySecs"), std::to_string(smsDelaySecs));
|
|
|
+}
|
|
|
+
|
|
|
+int PushRequest::getAndroidRenderStyle() const {
|
|
|
+ return androidRenderStyle_;
|
|
|
+}
|
|
|
+
|
|
|
+void PushRequest::setAndroidRenderStyle(int androidRenderStyle) {
|
|
|
+ androidRenderStyle_ = androidRenderStyle;
|
|
|
+ setParameter(std::string("AndroidRenderStyle"), std::to_string(androidRenderStyle));
|
|
|
+}
|
|
|
+
|
|
|
+std::string PushRequest::getIOSExtParameters() const {
|
|
|
+ return iOSExtParameters_;
|
|
|
+}
|
|
|
+
|
|
|
+void PushRequest::setIOSExtParameters(const std::string &iOSExtParameters) {
|
|
|
+ iOSExtParameters_ = iOSExtParameters;
|
|
|
+ setParameter(std::string("iOSExtParameters"), iOSExtParameters);
|
|
|
+}
|
|
|
+
|
|
|
+std::string PushRequest::getAndroidXiaomiImageUrl() const {
|
|
|
+ return androidXiaomiImageUrl_;
|
|
|
+}
|
|
|
+
|
|
|
+void PushRequest::setAndroidXiaomiImageUrl(const std::string &androidXiaomiImageUrl) {
|
|
|
+ androidXiaomiImageUrl_ = androidXiaomiImageUrl;
|
|
|
+ setParameter(std::string("AndroidXiaomiImageUrl"), androidXiaomiImageUrl);
|
|
|
+}
|
|
|
+
|
|
|
+std::string PushRequest::getSmsTemplateName() const {
|
|
|
+ return smsTemplateName_;
|
|
|
+}
|
|
|
+
|
|
|
+void PushRequest::setSmsTemplateName(const std::string &smsTemplateName) {
|
|
|
+ smsTemplateName_ = smsTemplateName;
|
|
|
+ setParameter(std::string("SmsTemplateName"), smsTemplateName);
|
|
|
+}
|
|
|
+
|
|
|
+std::string PushRequest::getHarmonyUri() const {
|
|
|
+ return harmonyUri_;
|
|
|
+}
|
|
|
+
|
|
|
+void PushRequest::setHarmonyUri(const std::string &harmonyUri) {
|
|
|
+ harmonyUri_ = harmonyUri;
|
|
|
+ setParameter(std::string("HarmonyUri"), harmonyUri);
|
|
|
+}
|
|
|
+
|
|
|
+std::string PushRequest::getHarmonyExtParameters() const {
|
|
|
+ return harmonyExtParameters_;
|
|
|
+}
|
|
|
+
|
|
|
+void PushRequest::setHarmonyExtParameters(const std::string &harmonyExtParameters) {
|
|
|
+ harmonyExtParameters_ = harmonyExtParameters;
|
|
|
+ setParameter(std::string("HarmonyExtParameters"), harmonyExtParameters);
|
|
|
+}
|
|
|
+
|
|
|
+std::string PushRequest::getAndroidBigPictureUrl() const {
|
|
|
+ return androidBigPictureUrl_;
|
|
|
+}
|
|
|
+
|
|
|
+void PushRequest::setAndroidBigPictureUrl(const std::string &androidBigPictureUrl) {
|
|
|
+ androidBigPictureUrl_ = androidBigPictureUrl;
|
|
|
+ setParameter(std::string("AndroidBigPictureUrl"), androidBigPictureUrl);
|
|
|
+}
|
|
|
+
|
|
|
+bool PushRequest::getIOSSilentNotification() const {
|
|
|
+ return iOSSilentNotification_;
|
|
|
+}
|
|
|
+
|
|
|
+void PushRequest::setIOSSilentNotification(bool iOSSilentNotification) {
|
|
|
+ iOSSilentNotification_ = iOSSilentNotification;
|
|
|
+ setParameter(std::string("iOSSilentNotification"), iOSSilentNotification ? "true" : "false");
|
|
|
+}
|
|
|
+
|
|
|
+std::string PushRequest::getHarmonyNotificationSlotType() const {
|
|
|
+ return harmonyNotificationSlotType_;
|
|
|
+}
|
|
|
+
|
|
|
+void PushRequest::setHarmonyNotificationSlotType(const std::string &harmonyNotificationSlotType) {
|
|
|
+ harmonyNotificationSlotType_ = harmonyNotificationSlotType;
|
|
|
+ setParameter(std::string("HarmonyNotificationSlotType"), harmonyNotificationSlotType);
|
|
|
+}
|
|
|
+
|
|
|
+std::string PushRequest::getAndroidBigTitle() const {
|
|
|
+ return androidBigTitle_;
|
|
|
+}
|
|
|
+
|
|
|
+void PushRequest::setAndroidBigTitle(const std::string &androidBigTitle) {
|
|
|
+ androidBigTitle_ = androidBigTitle;
|
|
|
+ setParameter(std::string("AndroidBigTitle"), androidBigTitle);
|
|
|
+}
|
|
|
+
|
|
|
+std::string PushRequest::getAndroidNotificationChannel() const {
|
|
|
+ return androidNotificationChannel_;
|
|
|
+}
|
|
|
+
|
|
|
+void PushRequest::setAndroidNotificationChannel(const std::string &androidNotificationChannel) {
|
|
|
+ androidNotificationChannel_ = androidNotificationChannel;
|
|
|
+ setParameter(std::string("AndroidNotificationChannel"), androidNotificationChannel);
|
|
|
+}
|
|
|
+
|
|
|
+bool PushRequest::getAndroidRemind() const {
|
|
|
+ return androidRemind_;
|
|
|
+}
|
|
|
+
|
|
|
+void PushRequest::setAndroidRemind(bool androidRemind) {
|
|
|
+ androidRemind_ = androidRemind;
|
|
|
+ setParameter(std::string("AndroidRemind"), androidRemind ? "true" : "false");
|
|
|
+}
|
|
|
+
|
|
|
+std::string PushRequest::getAndroidActivity() const {
|
|
|
+ return androidActivity_;
|
|
|
+}
|
|
|
+
|
|
|
+void PushRequest::setAndroidActivity(const std::string &androidActivity) {
|
|
|
+ androidActivity_ = androidActivity;
|
|
|
+ setParameter(std::string("AndroidActivity"), androidActivity);
|
|
|
+}
|
|
|
+
|
|
|
+std::string PushRequest::getSmsSignName() const {
|
|
|
+ return smsSignName_;
|
|
|
+}
|
|
|
+
|
|
|
+void PushRequest::setSmsSignName(const std::string &smsSignName) {
|
|
|
+ smsSignName_ = smsSignName;
|
|
|
+ setParameter(std::string("SmsSignName"), smsSignName);
|
|
|
+}
|
|
|
+
|
|
|
+int PushRequest::getAndroidNotificationNotifyId() const {
|
|
|
+ return androidNotificationNotifyId_;
|
|
|
+}
|
|
|
+
|
|
|
+void PushRequest::setAndroidNotificationNotifyId(int androidNotificationNotifyId) {
|
|
|
+ androidNotificationNotifyId_ = androidNotificationNotifyId;
|
|
|
+ setParameter(std::string("AndroidNotificationNotifyId"), std::to_string(androidNotificationNotifyId));
|
|
|
+}
|
|
|
+
|
|
|
+long PushRequest::getAppKey() const {
|
|
|
+ return appKey_;
|
|
|
+}
|
|
|
+
|
|
|
+void PushRequest::setAppKey(long appKey) {
|
|
|
+ appKey_ = appKey;
|
|
|
+ setParameter(std::string("AppKey"), std::to_string(appKey));
|
|
|
+}
|
|
|
+
|
|
|
+std::string PushRequest::getTargetValue() const {
|
|
|
+ return targetValue_;
|
|
|
+}
|
|
|
+
|
|
|
+void PushRequest::setTargetValue(const std::string &targetValue) {
|
|
|
+ targetValue_ = targetValue;
|
|
|
+ setParameter(std::string("TargetValue"), targetValue);
|
|
|
+}
|
|
|
+
|
|
|
+int PushRequest::getHarmonyBadgeSetNum() const {
|
|
|
+ return harmonyBadgeSetNum_;
|
|
|
+}
|
|
|
+
|
|
|
+void PushRequest::setHarmonyBadgeSetNum(int harmonyBadgeSetNum) {
|
|
|
+ harmonyBadgeSetNum_ = harmonyBadgeSetNum;
|
|
|
+ setParameter(std::string("HarmonyBadgeSetNum"), std::to_string(harmonyBadgeSetNum));
|
|
|
+}
|
|
|
+
|
|
|
+std::string PushRequest::getAndroidXiaoMiNotifyTitle() const {
|
|
|
+ return androidXiaoMiNotifyTitle_;
|
|
|
+}
|
|
|
+
|
|
|
+void PushRequest::setAndroidXiaoMiNotifyTitle(const std::string &androidXiaoMiNotifyTitle) {
|
|
|
+ androidXiaoMiNotifyTitle_ = androidXiaoMiNotifyTitle;
|
|
|
+ setParameter(std::string("AndroidXiaoMiNotifyTitle"), androidXiaoMiNotifyTitle);
|
|
|
+}
|
|
|
+
|
|
|
+int PushRequest::getSmsSendPolicy() const {
|
|
|
+ return smsSendPolicy_;
|
|
|
+}
|
|
|
+
|
|
|
+void PushRequest::setSmsSendPolicy(int smsSendPolicy) {
|
|
|
+ smsSendPolicy_ = smsSendPolicy;
|
|
|
+ setParameter(std::string("SmsSendPolicy"), std::to_string(smsSendPolicy));
|
|
|
+}
|
|
|
+
|
|
|
+std::string PushRequest::getBody() const {
|
|
|
+ return body_;
|
|
|
+}
|
|
|
+
|
|
|
+void PushRequest::setBody(const std::string &body) {
|
|
|
+ body_ = body;
|
|
|
+ setParameter(std::string("Body"), body);
|
|
|
+}
|
|
|
+
|
|
|
std::string PushRequest::getAndroidNotificationHuaweiChannel() const {
|
|
|
return androidNotificationHuaweiChannel_;
|
|
|
}
|
|
|
@@ -97,22 +475,22 @@ void PushRequest::setAndroidPopupActivity(const std::string &androidPopupActivit
|
|
|
setParameter(std::string("AndroidPopupActivity"), androidPopupActivity);
|
|
|
}
|
|
|
|
|
|
-std::string PushRequest::getIOSRemindBody() const {
|
|
|
- return iOSRemindBody_;
|
|
|
+int PushRequest::getHarmonyNotifyId() const {
|
|
|
+ return harmonyNotifyId_;
|
|
|
}
|
|
|
|
|
|
-void PushRequest::setIOSRemindBody(const std::string &iOSRemindBody) {
|
|
|
- iOSRemindBody_ = iOSRemindBody;
|
|
|
- setParameter(std::string("iOSRemindBody"), iOSRemindBody);
|
|
|
+void PushRequest::setHarmonyNotifyId(int harmonyNotifyId) {
|
|
|
+ harmonyNotifyId_ = harmonyNotifyId;
|
|
|
+ setParameter(std::string("HarmonyNotifyId"), std::to_string(harmonyNotifyId));
|
|
|
}
|
|
|
|
|
|
-bool PushRequest::getTrim() const {
|
|
|
- return trim_;
|
|
|
+std::string PushRequest::getHarmonyRenderStyle() const {
|
|
|
+ return harmonyRenderStyle_;
|
|
|
}
|
|
|
|
|
|
-void PushRequest::setTrim(bool trim) {
|
|
|
- trim_ = trim;
|
|
|
- setParameter(std::string("Trim"), trim ? "true" : "false");
|
|
|
+void PushRequest::setHarmonyRenderStyle(const std::string &harmonyRenderStyle) {
|
|
|
+ harmonyRenderStyle_ = harmonyRenderStyle;
|
|
|
+ setParameter(std::string("HarmonyRenderStyle"), harmonyRenderStyle);
|
|
|
}
|
|
|
|
|
|
std::string PushRequest::getAndroidMessageVivoCategory() const {
|
|
|
@@ -133,15 +511,6 @@ void PushRequest::setAndroidNotifyType(const std::string &androidNotifyType) {
|
|
|
setParameter(std::string("AndroidNotifyType"), androidNotifyType);
|
|
|
}
|
|
|
|
|
|
-std::string PushRequest::getAndroidPopupTitle() const {
|
|
|
- return androidPopupTitle_;
|
|
|
-}
|
|
|
-
|
|
|
-void PushRequest::setAndroidPopupTitle(const std::string &androidPopupTitle) {
|
|
|
- androidPopupTitle_ = androidPopupTitle;
|
|
|
- setParameter(std::string("AndroidPopupTitle"), androidPopupTitle);
|
|
|
-}
|
|
|
-
|
|
|
std::string PushRequest::getAndroidMessageHuaweiCategory() const {
|
|
|
return androidMessageHuaweiCategory_;
|
|
|
}
|
|
|
@@ -160,49 +529,13 @@ void PushRequest::setIOSMusic(const std::string &iOSMusic) {
|
|
|
setParameter(std::string("iOSMusic"), iOSMusic);
|
|
|
}
|
|
|
|
|
|
-std::string PushRequest::getIOSApnsEnv() const {
|
|
|
- return iOSApnsEnv_;
|
|
|
-}
|
|
|
-
|
|
|
-void PushRequest::setIOSApnsEnv(const std::string &iOSApnsEnv) {
|
|
|
- iOSApnsEnv_ = iOSApnsEnv;
|
|
|
- setParameter(std::string("iOSApnsEnv"), iOSApnsEnv);
|
|
|
-}
|
|
|
-
|
|
|
-bool PushRequest::getIOSMutableContent() const {
|
|
|
- return iOSMutableContent_;
|
|
|
-}
|
|
|
-
|
|
|
-void PushRequest::setIOSMutableContent(bool iOSMutableContent) {
|
|
|
- iOSMutableContent_ = iOSMutableContent;
|
|
|
- setParameter(std::string("iOSMutableContent"), iOSMutableContent ? "true" : "false");
|
|
|
-}
|
|
|
-
|
|
|
-int PushRequest::getAndroidNotificationBarPriority() const {
|
|
|
- return androidNotificationBarPriority_;
|
|
|
-}
|
|
|
-
|
|
|
-void PushRequest::setAndroidNotificationBarPriority(int androidNotificationBarPriority) {
|
|
|
- androidNotificationBarPriority_ = androidNotificationBarPriority;
|
|
|
- setParameter(std::string("AndroidNotificationBarPriority"), std::to_string(androidNotificationBarPriority));
|
|
|
-}
|
|
|
-
|
|
|
-std::string PushRequest::getExpireTime() const {
|
|
|
- return expireTime_;
|
|
|
-}
|
|
|
-
|
|
|
-void PushRequest::setExpireTime(const std::string &expireTime) {
|
|
|
- expireTime_ = expireTime;
|
|
|
- setParameter(std::string("ExpireTime"), expireTime);
|
|
|
-}
|
|
|
-
|
|
|
-std::string PushRequest::getAndroidImageUrl() const {
|
|
|
- return androidImageUrl_;
|
|
|
+bool PushRequest::getIOSMutableContent() const {
|
|
|
+ return iOSMutableContent_;
|
|
|
}
|
|
|
|
|
|
-void PushRequest::setAndroidImageUrl(const std::string &androidImageUrl) {
|
|
|
- androidImageUrl_ = androidImageUrl;
|
|
|
- setParameter(std::string("AndroidImageUrl"), androidImageUrl);
|
|
|
+void PushRequest::setIOSMutableContent(bool iOSMutableContent) {
|
|
|
+ iOSMutableContent_ = iOSMutableContent;
|
|
|
+ setParameter(std::string("iOSMutableContent"), iOSMutableContent ? "true" : "false");
|
|
|
}
|
|
|
|
|
|
int PushRequest::getAndroidHonorTargetUserType() const {
|
|
|
@@ -214,6 +547,15 @@ void PushRequest::setAndroidHonorTargetUserType(int androidHonorTargetUserType)
|
|
|
setParameter(std::string("AndroidHonorTargetUserType"), std::to_string(androidHonorTargetUserType));
|
|
|
}
|
|
|
|
|
|
+std::string PushRequest::getHarmonyRemindBody() const {
|
|
|
+ return harmonyRemindBody_;
|
|
|
+}
|
|
|
+
|
|
|
+void PushRequest::setHarmonyRemindBody(const std::string &harmonyRemindBody) {
|
|
|
+ harmonyRemindBody_ = harmonyRemindBody;
|
|
|
+ setParameter(std::string("HarmonyRemindBody"), harmonyRemindBody);
|
|
|
+}
|
|
|
+
|
|
|
std::string PushRequest::getAndroidNotificationVivoChannel() const {
|
|
|
return androidNotificationVivoChannel_;
|
|
|
}
|
|
|
@@ -223,24 +565,6 @@ void PushRequest::setAndroidNotificationVivoChannel(const std::string &androidNo
|
|
|
setParameter(std::string("AndroidNotificationVivoChannel"), androidNotificationVivoChannel);
|
|
|
}
|
|
|
|
|
|
-std::string PushRequest::getAndroidVivoReceiptId() const {
|
|
|
- return androidVivoReceiptId_;
|
|
|
-}
|
|
|
-
|
|
|
-void PushRequest::setAndroidVivoReceiptId(const std::string &androidVivoReceiptId) {
|
|
|
- androidVivoReceiptId_ = androidVivoReceiptId;
|
|
|
- setParameter(std::string("AndroidVivoReceiptId"), androidVivoReceiptId);
|
|
|
-}
|
|
|
-
|
|
|
-std::string PushRequest::getIOSNotificationCategory() const {
|
|
|
- return iOSNotificationCategory_;
|
|
|
-}
|
|
|
-
|
|
|
-void PushRequest::setIOSNotificationCategory(const std::string &iOSNotificationCategory) {
|
|
|
- iOSNotificationCategory_ = iOSNotificationCategory;
|
|
|
- setParameter(std::string("iOSNotificationCategory"), iOSNotificationCategory);
|
|
|
-}
|
|
|
-
|
|
|
std::string PushRequest::getAndroidNotificationXiaomiChannel() const {
|
|
|
return androidNotificationXiaomiChannel_;
|
|
|
}
|
|
|
@@ -250,6 +574,15 @@ void PushRequest::setAndroidNotificationXiaomiChannel(const std::string &android
|
|
|
setParameter(std::string("AndroidNotificationXiaomiChannel"), androidNotificationXiaomiChannel);
|
|
|
}
|
|
|
|
|
|
+std::string PushRequest::getHarmonyAction() const {
|
|
|
+ return harmonyAction_;
|
|
|
+}
|
|
|
+
|
|
|
+void PushRequest::setHarmonyAction(const std::string &harmonyAction) {
|
|
|
+ harmonyAction_ = harmonyAction;
|
|
|
+ setParameter(std::string("HarmonyAction"), harmonyAction);
|
|
|
+}
|
|
|
+
|
|
|
bool PushRequest::getStoreOffline() const {
|
|
|
return storeOffline_;
|
|
|
}
|
|
|
@@ -304,6 +637,15 @@ void PushRequest::setJobKey(const std::string &jobKey) {
|
|
|
setParameter(std::string("JobKey"), jobKey);
|
|
|
}
|
|
|
|
|
|
+std::string PushRequest::getHarmonyReceiptId() const {
|
|
|
+ return harmonyReceiptId_;
|
|
|
+}
|
|
|
+
|
|
|
+void PushRequest::setHarmonyReceiptId(const std::string &harmonyReceiptId) {
|
|
|
+ harmonyReceiptId_ = harmonyReceiptId;
|
|
|
+ setParameter(std::string("HarmonyReceiptId"), harmonyReceiptId);
|
|
|
+}
|
|
|
+
|
|
|
std::string PushRequest::getAndroidOpenUrl() const {
|
|
|
return androidOpenUrl_;
|
|
|
}
|
|
|
@@ -313,6 +655,15 @@ void PushRequest::setAndroidOpenUrl(const std::string &androidOpenUrl) {
|
|
|
setParameter(std::string("AndroidOpenUrl"), androidOpenUrl);
|
|
|
}
|
|
|
|
|
|
+int PushRequest::getAndroidBadgeSetNum() const {
|
|
|
+ return androidBadgeSetNum_;
|
|
|
+}
|
|
|
+
|
|
|
+void PushRequest::setAndroidBadgeSetNum(int androidBadgeSetNum) {
|
|
|
+ androidBadgeSetNum_ = androidBadgeSetNum;
|
|
|
+ setParameter(std::string("AndroidBadgeSetNum"), std::to_string(androidBadgeSetNum));
|
|
|
+}
|
|
|
+
|
|
|
std::string PushRequest::getAndroidXiaoMiNotifyBody() const {
|
|
|
return androidXiaoMiNotifyBody_;
|
|
|
}
|
|
|
@@ -331,40 +682,13 @@ void PushRequest::setIOSSubtitle(const std::string &iOSSubtitle) {
|
|
|
setParameter(std::string("iOSSubtitle"), iOSSubtitle);
|
|
|
}
|
|
|
|
|
|
-std::string PushRequest::getAndroidXiaomiBigPictureUrl() const {
|
|
|
- return androidXiaomiBigPictureUrl_;
|
|
|
-}
|
|
|
-
|
|
|
-void PushRequest::setAndroidXiaomiBigPictureUrl(const std::string &androidXiaomiBigPictureUrl) {
|
|
|
- androidXiaomiBigPictureUrl_ = androidXiaomiBigPictureUrl;
|
|
|
- setParameter(std::string("AndroidXiaomiBigPictureUrl"), androidXiaomiBigPictureUrl);
|
|
|
-}
|
|
|
-
|
|
|
-bool PushRequest::getIOSRemind() const {
|
|
|
- return iOSRemind_;
|
|
|
-}
|
|
|
-
|
|
|
-void PushRequest::setIOSRemind(bool iOSRemind) {
|
|
|
- iOSRemind_ = iOSRemind;
|
|
|
- setParameter(std::string("iOSRemind"), iOSRemind ? "true" : "false");
|
|
|
-}
|
|
|
-
|
|
|
-std::string PushRequest::getIOSNotificationThreadId() const {
|
|
|
- return iOSNotificationThreadId_;
|
|
|
-}
|
|
|
-
|
|
|
-void PushRequest::setIOSNotificationThreadId(const std::string &iOSNotificationThreadId) {
|
|
|
- iOSNotificationThreadId_ = iOSNotificationThreadId;
|
|
|
- setParameter(std::string("iOSNotificationThreadId"), iOSNotificationThreadId);
|
|
|
-}
|
|
|
-
|
|
|
-int PushRequest::getAndroidHuaweiTargetUserType() const {
|
|
|
- return androidHuaweiTargetUserType_;
|
|
|
+bool PushRequest::getHarmonyRemind() const {
|
|
|
+ return harmonyRemind_;
|
|
|
}
|
|
|
|
|
|
-void PushRequest::setAndroidHuaweiTargetUserType(int androidHuaweiTargetUserType) {
|
|
|
- androidHuaweiTargetUserType_ = androidHuaweiTargetUserType;
|
|
|
- setParameter(std::string("AndroidHuaweiTargetUserType"), std::to_string(androidHuaweiTargetUserType));
|
|
|
+void PushRequest::setHarmonyRemind(bool harmonyRemind) {
|
|
|
+ harmonyRemind_ = harmonyRemind;
|
|
|
+ setParameter(std::string("HarmonyRemind"), harmonyRemind ? "true" : "false");
|
|
|
}
|
|
|
|
|
|
std::string PushRequest::getAndroidMusic() const {
|
|
|
@@ -376,6 +700,15 @@ void PushRequest::setAndroidMusic(const std::string &androidMusic) {
|
|
|
setParameter(std::string("AndroidMusic"), androidMusic);
|
|
|
}
|
|
|
|
|
|
+bool PushRequest::getHarmonyExtensionPush() const {
|
|
|
+ return harmonyExtensionPush_;
|
|
|
+}
|
|
|
+
|
|
|
+void PushRequest::setHarmonyExtensionPush(bool harmonyExtensionPush) {
|
|
|
+ harmonyExtensionPush_ = harmonyExtensionPush;
|
|
|
+ setParameter(std::string("HarmonyExtensionPush"), harmonyExtensionPush ? "true" : "false");
|
|
|
+}
|
|
|
+
|
|
|
std::string PushRequest::getIOSNotificationCollapseId() const {
|
|
|
return iOSNotificationCollapseId_;
|
|
|
}
|
|
|
@@ -385,15 +718,6 @@ void PushRequest::setIOSNotificationCollapseId(const std::string &iOSNotificatio
|
|
|
setParameter(std::string("iOSNotificationCollapseId"), iOSNotificationCollapseId);
|
|
|
}
|
|
|
|
|
|
-std::string PushRequest::getAndroidMessageHuaweiUrgency() const {
|
|
|
- return androidMessageHuaweiUrgency_;
|
|
|
-}
|
|
|
-
|
|
|
-void PushRequest::setAndroidMessageHuaweiUrgency(const std::string &androidMessageHuaweiUrgency) {
|
|
|
- androidMessageHuaweiUrgency_ = androidMessageHuaweiUrgency;
|
|
|
- setParameter(std::string("AndroidMessageHuaweiUrgency"), androidMessageHuaweiUrgency);
|
|
|
-}
|
|
|
-
|
|
|
std::string PushRequest::getPushType() const {
|
|
|
return pushType_;
|
|
|
}
|
|
|
@@ -403,31 +727,22 @@ void PushRequest::setPushType(const std::string &pushType) {
|
|
|
setParameter(std::string("PushType"), pushType);
|
|
|
}
|
|
|
|
|
|
-std::string PushRequest::getIOSInterruptionLevel() const {
|
|
|
- return iOSInterruptionLevel_;
|
|
|
-}
|
|
|
-
|
|
|
-void PushRequest::setIOSInterruptionLevel(const std::string &iOSInterruptionLevel) {
|
|
|
- iOSInterruptionLevel_ = iOSInterruptionLevel;
|
|
|
- setParameter(std::string("iOSInterruptionLevel"), iOSInterruptionLevel);
|
|
|
-}
|
|
|
-
|
|
|
-std::string PushRequest::getAndroidExtParameters() const {
|
|
|
- return androidExtParameters_;
|
|
|
+std::string PushRequest::getHarmonyExtensionExtraData() const {
|
|
|
+ return harmonyExtensionExtraData_;
|
|
|
}
|
|
|
|
|
|
-void PushRequest::setAndroidExtParameters(const std::string &androidExtParameters) {
|
|
|
- androidExtParameters_ = androidExtParameters;
|
|
|
- setParameter(std::string("AndroidExtParameters"), androidExtParameters);
|
|
|
+void PushRequest::setHarmonyExtensionExtraData(const std::string &harmonyExtensionExtraData) {
|
|
|
+ harmonyExtensionExtraData_ = harmonyExtensionExtraData;
|
|
|
+ setParameter(std::string("HarmonyExtensionExtraData"), harmonyExtensionExtraData);
|
|
|
}
|
|
|
|
|
|
-int PushRequest::getIOSBadge() const {
|
|
|
- return iOSBadge_;
|
|
|
+std::string PushRequest::getHarmonyImageUrl() const {
|
|
|
+ return harmonyImageUrl_;
|
|
|
}
|
|
|
|
|
|
-void PushRequest::setIOSBadge(int iOSBadge) {
|
|
|
- iOSBadge_ = iOSBadge;
|
|
|
- setParameter(std::string("iOSBadge"), std::to_string(iOSBadge));
|
|
|
+void PushRequest::setHarmonyImageUrl(const std::string &harmonyImageUrl) {
|
|
|
+ harmonyImageUrl_ = harmonyImageUrl;
|
|
|
+ setParameter(std::string("HarmonyImageUrl"), harmonyImageUrl);
|
|
|
}
|
|
|
|
|
|
std::string PushRequest::getAndroidBigBody() const {
|
|
|
@@ -439,24 +754,6 @@ void PushRequest::setAndroidBigBody(const std::string &androidBigBody) {
|
|
|
setParameter(std::string("AndroidBigBody"), androidBigBody);
|
|
|
}
|
|
|
|
|
|
-bool PushRequest::getIOSBadgeAutoIncrement() const {
|
|
|
- return iOSBadgeAutoIncrement_;
|
|
|
-}
|
|
|
-
|
|
|
-void PushRequest::setIOSBadgeAutoIncrement(bool iOSBadgeAutoIncrement) {
|
|
|
- iOSBadgeAutoIncrement_ = iOSBadgeAutoIncrement;
|
|
|
- setParameter(std::string("iOSBadgeAutoIncrement"), iOSBadgeAutoIncrement ? "true" : "false");
|
|
|
-}
|
|
|
-
|
|
|
-std::string PushRequest::getAndroidOpenType() const {
|
|
|
- return androidOpenType_;
|
|
|
-}
|
|
|
-
|
|
|
-void PushRequest::setAndroidOpenType(const std::string &androidOpenType) {
|
|
|
- androidOpenType_ = androidOpenType;
|
|
|
- setParameter(std::string("AndroidOpenType"), androidOpenType);
|
|
|
-}
|
|
|
-
|
|
|
std::string PushRequest::getTitle() const {
|
|
|
return title_;
|
|
|
}
|
|
|
@@ -475,31 +772,31 @@ void PushRequest::setAccessKeyId(const std::string &accessKeyId) {
|
|
|
setParameter(std::string("AccessKeyId"), accessKeyId);
|
|
|
}
|
|
|
|
|
|
-int PushRequest::getSmsDelaySecs() const {
|
|
|
- return smsDelaySecs_;
|
|
|
+int PushRequest::getHarmonyBadgeAddNum() const {
|
|
|
+ return harmonyBadgeAddNum_;
|
|
|
}
|
|
|
|
|
|
-void PushRequest::setSmsDelaySecs(int smsDelaySecs) {
|
|
|
- smsDelaySecs_ = smsDelaySecs;
|
|
|
- setParameter(std::string("SmsDelaySecs"), std::to_string(smsDelaySecs));
|
|
|
+void PushRequest::setHarmonyBadgeAddNum(int harmonyBadgeAddNum) {
|
|
|
+ harmonyBadgeAddNum_ = harmonyBadgeAddNum;
|
|
|
+ setParameter(std::string("HarmonyBadgeAddNum"), std::to_string(harmonyBadgeAddNum));
|
|
|
}
|
|
|
|
|
|
-int PushRequest::getAndroidRenderStyle() const {
|
|
|
- return androidRenderStyle_;
|
|
|
+bool PushRequest::getHarmonyTestMessage() const {
|
|
|
+ return harmonyTestMessage_;
|
|
|
}
|
|
|
|
|
|
-void PushRequest::setAndroidRenderStyle(int androidRenderStyle) {
|
|
|
- androidRenderStyle_ = androidRenderStyle;
|
|
|
- setParameter(std::string("AndroidRenderStyle"), std::to_string(androidRenderStyle));
|
|
|
+void PushRequest::setHarmonyTestMessage(bool harmonyTestMessage) {
|
|
|
+ harmonyTestMessage_ = harmonyTestMessage;
|
|
|
+ setParameter(std::string("HarmonyTestMessage"), harmonyTestMessage ? "true" : "false");
|
|
|
}
|
|
|
|
|
|
-std::string PushRequest::getIOSExtParameters() const {
|
|
|
- return iOSExtParameters_;
|
|
|
+int PushRequest::getAndroidBadgeAddNum() const {
|
|
|
+ return androidBadgeAddNum_;
|
|
|
}
|
|
|
|
|
|
-void PushRequest::setIOSExtParameters(const std::string &iOSExtParameters) {
|
|
|
- iOSExtParameters_ = iOSExtParameters;
|
|
|
- setParameter(std::string("iOSExtParameters"), iOSExtParameters);
|
|
|
+void PushRequest::setAndroidBadgeAddNum(int androidBadgeAddNum) {
|
|
|
+ androidBadgeAddNum_ = androidBadgeAddNum;
|
|
|
+ setParameter(std::string("AndroidBadgeAddNum"), std::to_string(androidBadgeAddNum));
|
|
|
}
|
|
|
|
|
|
std::string PushRequest::getAndroidHuaweiReceiptId() const {
|
|
|
@@ -520,15 +817,6 @@ void PushRequest::setAndroidNotificationHonorChannel(const std::string &androidN
|
|
|
setParameter(std::string("AndroidNotificationHonorChannel"), androidNotificationHonorChannel);
|
|
|
}
|
|
|
|
|
|
-std::string PushRequest::getAndroidXiaomiImageUrl() const {
|
|
|
- return androidXiaomiImageUrl_;
|
|
|
-}
|
|
|
-
|
|
|
-void PushRequest::setAndroidXiaomiImageUrl(const std::string &androidXiaomiImageUrl) {
|
|
|
- androidXiaomiImageUrl_ = androidXiaomiImageUrl;
|
|
|
- setParameter(std::string("AndroidXiaomiImageUrl"), androidXiaomiImageUrl);
|
|
|
-}
|
|
|
-
|
|
|
int PushRequest::getAndroidTargetUserType() const {
|
|
|
return androidTargetUserType_;
|
|
|
}
|
|
|
@@ -538,15 +826,6 @@ void PushRequest::setAndroidTargetUserType(int androidTargetUserType) {
|
|
|
setParameter(std::string("AndroidTargetUserType"), std::to_string(androidTargetUserType));
|
|
|
}
|
|
|
|
|
|
-std::string PushRequest::getSmsTemplateName() const {
|
|
|
- return smsTemplateName_;
|
|
|
-}
|
|
|
-
|
|
|
-void PushRequest::setSmsTemplateName(const std::string &smsTemplateName) {
|
|
|
- smsTemplateName_ = smsTemplateName;
|
|
|
- setParameter(std::string("SmsTemplateName"), smsTemplateName);
|
|
|
-}
|
|
|
-
|
|
|
std::string PushRequest::getAndroidPopupBody() const {
|
|
|
return androidPopupBody_;
|
|
|
}
|
|
|
@@ -556,24 +835,6 @@ void PushRequest::setAndroidPopupBody(const std::string &androidPopupBody) {
|
|
|
setParameter(std::string("AndroidPopupBody"), androidPopupBody);
|
|
|
}
|
|
|
|
|
|
-std::string PushRequest::getAndroidBigPictureUrl() const {
|
|
|
- return androidBigPictureUrl_;
|
|
|
-}
|
|
|
-
|
|
|
-void PushRequest::setAndroidBigPictureUrl(const std::string &androidBigPictureUrl) {
|
|
|
- androidBigPictureUrl_ = androidBigPictureUrl;
|
|
|
- setParameter(std::string("AndroidBigPictureUrl"), androidBigPictureUrl);
|
|
|
-}
|
|
|
-
|
|
|
-bool PushRequest::getIOSSilentNotification() const {
|
|
|
- return iOSSilentNotification_;
|
|
|
-}
|
|
|
-
|
|
|
-void PushRequest::setIOSSilentNotification(bool iOSSilentNotification) {
|
|
|
- iOSSilentNotification_ = iOSSilentNotification;
|
|
|
- setParameter(std::string("iOSSilentNotification"), iOSSilentNotification ? "true" : "false");
|
|
|
-}
|
|
|
-
|
|
|
std::string PushRequest::getAndroidNotificationGroup() const {
|
|
|
return androidNotificationGroup_;
|
|
|
}
|
|
|
@@ -592,6 +853,15 @@ void PushRequest::setSendChannels(const std::string &sendChannels) {
|
|
|
setParameter(std::string("SendChannels"), sendChannels);
|
|
|
}
|
|
|
|
|
|
+std::string PushRequest::getHarmonyActionType() const {
|
|
|
+ return harmonyActionType_;
|
|
|
+}
|
|
|
+
|
|
|
+void PushRequest::setHarmonyActionType(const std::string &harmonyActionType) {
|
|
|
+ harmonyActionType_ = harmonyActionType;
|
|
|
+ setParameter(std::string("HarmonyActionType"), harmonyActionType);
|
|
|
+}
|
|
|
+
|
|
|
std::string PushRequest::getTarget() const {
|
|
|
return target_;
|
|
|
}
|
|
|
@@ -601,85 +871,13 @@ void PushRequest::setTarget(const std::string &target) {
|
|
|
setParameter(std::string("Target"), target);
|
|
|
}
|
|
|
|
|
|
-std::string PushRequest::getAndroidBigTitle() const {
|
|
|
- return androidBigTitle_;
|
|
|
-}
|
|
|
-
|
|
|
-void PushRequest::setAndroidBigTitle(const std::string &androidBigTitle) {
|
|
|
- androidBigTitle_ = androidBigTitle;
|
|
|
- setParameter(std::string("AndroidBigTitle"), androidBigTitle);
|
|
|
-}
|
|
|
-
|
|
|
-std::string PushRequest::getAndroidNotificationChannel() const {
|
|
|
- return androidNotificationChannel_;
|
|
|
-}
|
|
|
-
|
|
|
-void PushRequest::setAndroidNotificationChannel(const std::string &androidNotificationChannel) {
|
|
|
- androidNotificationChannel_ = androidNotificationChannel;
|
|
|
- setParameter(std::string("AndroidNotificationChannel"), androidNotificationChannel);
|
|
|
-}
|
|
|
-
|
|
|
-bool PushRequest::getAndroidRemind() const {
|
|
|
- return androidRemind_;
|
|
|
-}
|
|
|
-
|
|
|
-void PushRequest::setAndroidRemind(bool androidRemind) {
|
|
|
- androidRemind_ = androidRemind;
|
|
|
- setParameter(std::string("AndroidRemind"), androidRemind ? "true" : "false");
|
|
|
-}
|
|
|
-
|
|
|
-std::string PushRequest::getAndroidActivity() const {
|
|
|
- return androidActivity_;
|
|
|
-}
|
|
|
-
|
|
|
-void PushRequest::setAndroidActivity(const std::string &androidActivity) {
|
|
|
- androidActivity_ = androidActivity;
|
|
|
- setParameter(std::string("AndroidActivity"), androidActivity);
|
|
|
-}
|
|
|
-
|
|
|
-std::string PushRequest::getSmsSignName() const {
|
|
|
- return smsSignName_;
|
|
|
-}
|
|
|
-
|
|
|
-void PushRequest::setSmsSignName(const std::string &smsSignName) {
|
|
|
- smsSignName_ = smsSignName;
|
|
|
- setParameter(std::string("SmsSignName"), smsSignName);
|
|
|
-}
|
|
|
-
|
|
|
-int PushRequest::getAndroidNotificationNotifyId() const {
|
|
|
- return androidNotificationNotifyId_;
|
|
|
-}
|
|
|
-
|
|
|
-void PushRequest::setAndroidNotificationNotifyId(int androidNotificationNotifyId) {
|
|
|
- androidNotificationNotifyId_ = androidNotificationNotifyId;
|
|
|
- setParameter(std::string("AndroidNotificationNotifyId"), std::to_string(androidNotificationNotifyId));
|
|
|
-}
|
|
|
-
|
|
|
-long PushRequest::getAppKey() const {
|
|
|
- return appKey_;
|
|
|
-}
|
|
|
-
|
|
|
-void PushRequest::setAppKey(long appKey) {
|
|
|
- appKey_ = appKey;
|
|
|
- setParameter(std::string("AppKey"), std::to_string(appKey));
|
|
|
+std::string PushRequest::getHarmonyInboxContent() const {
|
|
|
+ return harmonyInboxContent_;
|
|
|
}
|
|
|
|
|
|
-std::string PushRequest::getTargetValue() const {
|
|
|
- return targetValue_;
|
|
|
-}
|
|
|
-
|
|
|
-void PushRequest::setTargetValue(const std::string &targetValue) {
|
|
|
- targetValue_ = targetValue;
|
|
|
- setParameter(std::string("TargetValue"), targetValue);
|
|
|
-}
|
|
|
-
|
|
|
-std::string PushRequest::getAndroidXiaoMiNotifyTitle() const {
|
|
|
- return androidXiaoMiNotifyTitle_;
|
|
|
-}
|
|
|
-
|
|
|
-void PushRequest::setAndroidXiaoMiNotifyTitle(const std::string &androidXiaoMiNotifyTitle) {
|
|
|
- androidXiaoMiNotifyTitle_ = androidXiaoMiNotifyTitle;
|
|
|
- setParameter(std::string("AndroidXiaoMiNotifyTitle"), androidXiaoMiNotifyTitle);
|
|
|
+void PushRequest::setHarmonyInboxContent(const std::string &harmonyInboxContent) {
|
|
|
+ harmonyInboxContent_ = harmonyInboxContent;
|
|
|
+ setParameter(std::string("HarmonyInboxContent"), harmonyInboxContent);
|
|
|
}
|
|
|
|
|
|
std::string PushRequest::getAndroidXiaoMiActivity() const {
|