diff --git a/aliyun-java-sdk-push/ChangeLog.txt b/aliyun-java-sdk-push/ChangeLog.txt index 7432250f39..39c75a4a67 100644 --- a/aliyun-java-sdk-push/ChangeLog.txt +++ b/aliyun-java-sdk-push/ChangeLog.txt @@ -1,3 +1,6 @@ +2024-11-13 Version: 3.13.19 +- Supported AndroidMessageOppoCategory, AndroidMessageOppoNotifyLevel for Push and MassPush. + 2024-10-23 Version: 3.13.18 - Update API Push and MassPush: add param AndroidNotificationThreadId diff --git a/aliyun-java-sdk-push/pom.xml b/aliyun-java-sdk-push/pom.xml index 24b8285281..b933c125ae 100644 --- a/aliyun-java-sdk-push/pom.xml +++ b/aliyun-java-sdk-push/pom.xml @@ -4,7 +4,7 @@ com.aliyun aliyun-java-sdk-push jar - 3.13.18 + 3.13.19 aliyun-java-sdk-push http://www.aliyun.com Aliyun Open API SDK for Java diff --git a/aliyun-java-sdk-push/src/main/java/com/aliyuncs/push/model/v20160801/MassPushRequest.java b/aliyun-java-sdk-push/src/main/java/com/aliyuncs/push/model/v20160801/MassPushRequest.java index 0ddb3f148b..b1c27ea726 100644 --- a/aliyun-java-sdk-push/src/main/java/com/aliyuncs/push/model/v20160801/MassPushRequest.java +++ b/aliyun-java-sdk-push/src/main/java/com/aliyuncs/push/model/v20160801/MassPushRequest.java @@ -47,6 +47,7 @@ public void setPushTasks(List pushTasks) { if (pushTasks != null) { for (int depth1 = 0; depth1 < pushTasks.size(); depth1++) { putBodyParameter("PushTask." + (depth1 + 1) + ".AndroidNotificationBarType" , pushTasks.get(depth1).getAndroidNotificationBarType()); + putBodyParameter("PushTask." + (depth1 + 1) + ".AndroidMessageOppoNotifyLevel" , pushTasks.get(depth1).getAndroidMessageOppoNotifyLevel()); putBodyParameter("PushTask." + (depth1 + 1) + ".Body" , pushTasks.get(depth1).getBody()); putBodyParameter("PushTask." + (depth1 + 1) + ".DeviceType" , pushTasks.get(depth1).getDeviceType()); putBodyParameter("PushTask." + (depth1 + 1) + ".PushTime" , pushTasks.get(depth1).getPushTime()); @@ -65,10 +66,10 @@ public void setPushTasks(List pushTasks) { putBodyParameter("PushTask." + (depth1 + 1) + ".iOSApnsEnv" , pushTasks.get(depth1).getIOSApnsEnv()); putBodyParameter("PushTask." + (depth1 + 1) + ".iOSMutableContent" , pushTasks.get(depth1).getIOSMutableContent()); putBodyParameter("PushTask." + (depth1 + 1) + ".AndroidNotificationBarPriority" , pushTasks.get(depth1).getAndroidNotificationBarPriority()); - putBodyParameter("PushTask." + (depth1 + 1) + ".AndroidImageUrl" , pushTasks.get(depth1).getAndroidImageUrl()); putBodyParameter("PushTask." + (depth1 + 1) + ".ExpireTime" , pushTasks.get(depth1).getExpireTime()); - putBodyParameter("PushTask." + (depth1 + 1) + ".AndroidHonorTargetUserType" , pushTasks.get(depth1).getAndroidHonorTargetUserType()); + putBodyParameter("PushTask." + (depth1 + 1) + ".AndroidImageUrl" , pushTasks.get(depth1).getAndroidImageUrl()); putBodyParameter("PushTask." + (depth1 + 1) + ".AndroidNotificationThreadId" , pushTasks.get(depth1).getAndroidNotificationThreadId()); + putBodyParameter("PushTask." + (depth1 + 1) + ".AndroidHonorTargetUserType" , pushTasks.get(depth1).getAndroidHonorTargetUserType()); putBodyParameter("PushTask." + (depth1 + 1) + ".HarmonyRemindBody" , pushTasks.get(depth1).getHarmonyRemindBody()); putBodyParameter("PushTask." + (depth1 + 1) + ".AndroidNotificationVivoChannel" , pushTasks.get(depth1).getAndroidNotificationVivoChannel()); putBodyParameter("PushTask." + (depth1 + 1) + ".AndroidVivoReceiptId" , pushTasks.get(depth1).getAndroidVivoReceiptId()); @@ -79,34 +80,34 @@ public void setPushTasks(List pushTasks) { putBodyParameter("PushTask." + (depth1 + 1) + ".iOSRelevanceScore" , pushTasks.get(depth1).getIOSRelevanceScore()); putBodyParameter("PushTask." + (depth1 + 1) + ".AndroidVivoPushMode" , pushTasks.get(depth1).getAndroidVivoPushMode()); putBodyParameter("PushTask." + (depth1 + 1) + ".AndroidInboxBody" , pushTasks.get(depth1).getAndroidInboxBody()); - putBodyParameter("PushTask." + (depth1 + 1) + ".HarmonyReceiptId" , pushTasks.get(depth1).getHarmonyReceiptId()); putBodyParameter("PushTask." + (depth1 + 1) + ".JobKey" , pushTasks.get(depth1).getJobKey()); + putBodyParameter("PushTask." + (depth1 + 1) + ".HarmonyReceiptId" , pushTasks.get(depth1).getHarmonyReceiptId()); putBodyParameter("PushTask." + (depth1 + 1) + ".AndroidOpenUrl" , pushTasks.get(depth1).getAndroidOpenUrl()); putBodyParameter("PushTask." + (depth1 + 1) + ".AndroidBadgeSetNum" , pushTasks.get(depth1).getAndroidBadgeSetNum()); putBodyParameter("PushTask." + (depth1 + 1) + ".AndroidXiaoMiNotifyBody" , pushTasks.get(depth1).getAndroidXiaoMiNotifyBody()); - putBodyParameter("PushTask." + (depth1 + 1) + ".AndroidXiaomiBigPictureUrl" , pushTasks.get(depth1).getAndroidXiaomiBigPictureUrl()); putBodyParameter("PushTask." + (depth1 + 1) + ".iOSSubtitle" , pushTasks.get(depth1).getIOSSubtitle()); + putBodyParameter("PushTask." + (depth1 + 1) + ".AndroidXiaomiBigPictureUrl" , pushTasks.get(depth1).getAndroidXiaomiBigPictureUrl()); putBodyParameter("PushTask." + (depth1 + 1) + ".HarmonyCategory" , pushTasks.get(depth1).getHarmonyCategory()); - putBodyParameter("PushTask." + (depth1 + 1) + ".iOSNotificationThreadId" , pushTasks.get(depth1).getIOSNotificationThreadId()); putBodyParameter("PushTask." + (depth1 + 1) + ".iOSRemind" , pushTasks.get(depth1).getIOSRemind()); + putBodyParameter("PushTask." + (depth1 + 1) + ".iOSNotificationThreadId" , pushTasks.get(depth1).getIOSNotificationThreadId()); putBodyParameter("PushTask." + (depth1 + 1) + ".AndroidHuaweiTargetUserType" , pushTasks.get(depth1).getAndroidHuaweiTargetUserType()); putBodyParameter("PushTask." + (depth1 + 1) + ".HarmonyRemind" , pushTasks.get(depth1).getHarmonyRemind()); putBodyParameter("PushTask." + (depth1 + 1) + ".AndroidMusic" , pushTasks.get(depth1).getAndroidMusic()); putBodyParameter("PushTask." + (depth1 + 1) + ".HarmonyExtensionPush" , pushTasks.get(depth1).getHarmonyExtensionPush()); - putBodyParameter("PushTask." + (depth1 + 1) + ".AndroidMessageHuaweiUrgency" , pushTasks.get(depth1).getAndroidMessageHuaweiUrgency()); putBodyParameter("PushTask." + (depth1 + 1) + ".iOSNotificationCollapseId" , pushTasks.get(depth1).getIOSNotificationCollapseId()); + putBodyParameter("PushTask." + (depth1 + 1) + ".AndroidMessageHuaweiUrgency" , pushTasks.get(depth1).getAndroidMessageHuaweiUrgency()); putBodyParameter("PushTask." + (depth1 + 1) + ".PushType" , pushTasks.get(depth1).getPushType()); putBodyParameter("PushTask." + (depth1 + 1) + ".iOSInterruptionLevel" , pushTasks.get(depth1).getIOSInterruptionLevel()); putBodyParameter("PushTask." + (depth1 + 1) + ".HarmonyExtensionExtraData" , pushTasks.get(depth1).getHarmonyExtensionExtraData()); putBodyParameter("PushTask." + (depth1 + 1) + ".AndroidExtParameters" , pushTasks.get(depth1).getAndroidExtParameters()); putBodyParameter("PushTask." + (depth1 + 1) + ".HarmonyImageUrl" , pushTasks.get(depth1).getHarmonyImageUrl()); - putBodyParameter("PushTask." + (depth1 + 1) + ".AndroidBigBody" , pushTasks.get(depth1).getAndroidBigBody()); putBodyParameter("PushTask." + (depth1 + 1) + ".iOSBadge" , pushTasks.get(depth1).getIOSBadge()); + putBodyParameter("PushTask." + (depth1 + 1) + ".AndroidBigBody" , pushTasks.get(depth1).getAndroidBigBody()); putBodyParameter("PushTask." + (depth1 + 1) + ".iOSBadgeAutoIncrement" , pushTasks.get(depth1).getIOSBadgeAutoIncrement()); putBodyParameter("PushTask." + (depth1 + 1) + ".AndroidOpenType" , pushTasks.get(depth1).getAndroidOpenType()); putBodyParameter("PushTask." + (depth1 + 1) + ".HarmonyRemindTitle" , pushTasks.get(depth1).getHarmonyRemindTitle()); - putBodyParameter("PushTask." + (depth1 + 1) + ".AndroidBadgeClass" , pushTasks.get(depth1).getAndroidBadgeClass()); putBodyParameter("PushTask." + (depth1 + 1) + ".Title" , pushTasks.get(depth1).getTitle()); + putBodyParameter("PushTask." + (depth1 + 1) + ".AndroidBadgeClass" , pushTasks.get(depth1).getAndroidBadgeClass()); putBodyParameter("PushTask." + (depth1 + 1) + ".HarmonyBadgeAddNum" , pushTasks.get(depth1).getHarmonyBadgeAddNum()); putBodyParameter("PushTask." + (depth1 + 1) + ".HarmonyTestMessage" , pushTasks.get(depth1).getHarmonyTestMessage()); putBodyParameter("PushTask." + (depth1 + 1) + ".AndroidRenderStyle" , pushTasks.get(depth1).getAndroidRenderStyle()); @@ -124,18 +125,19 @@ public void setPushTasks(List pushTasks) { putBodyParameter("PushTask." + (depth1 + 1) + ".AndroidNotificationGroup" , pushTasks.get(depth1).getAndroidNotificationGroup()); putBodyParameter("PushTask." + (depth1 + 1) + ".SendChannels" , pushTasks.get(depth1).getSendChannels()); putBodyParameter("PushTask." + (depth1 + 1) + ".HarmonyActionType" , pushTasks.get(depth1).getHarmonyActionType()); - putBodyParameter("PushTask." + (depth1 + 1) + ".HarmonyNotificationSlotType" , pushTasks.get(depth1).getHarmonyNotificationSlotType()); putBodyParameter("PushTask." + (depth1 + 1) + ".Target" , pushTasks.get(depth1).getTarget()); + putBodyParameter("PushTask." + (depth1 + 1) + ".HarmonyNotificationSlotType" , pushTasks.get(depth1).getHarmonyNotificationSlotType()); putBodyParameter("PushTask." + (depth1 + 1) + ".AndroidBigTitle" , pushTasks.get(depth1).getAndroidBigTitle()); putBodyParameter("PushTask." + (depth1 + 1) + ".AndroidNotificationChannel" , pushTasks.get(depth1).getAndroidNotificationChannel()); putBodyParameter("PushTask." + (depth1 + 1) + ".AndroidRemind" , pushTasks.get(depth1).getAndroidRemind()); putBodyParameter("PushTask." + (depth1 + 1) + ".HarmonyInboxContent" , pushTasks.get(depth1).getHarmonyInboxContent()); putBodyParameter("PushTask." + (depth1 + 1) + ".AndroidActivity" , pushTasks.get(depth1).getAndroidActivity()); + putBodyParameter("PushTask." + (depth1 + 1) + ".AndroidMessageOppoCategory" , pushTasks.get(depth1).getAndroidMessageOppoCategory()); putBodyParameter("PushTask." + (depth1 + 1) + ".AndroidNotificationNotifyId" , pushTasks.get(depth1).getAndroidNotificationNotifyId()); putBodyParameter("PushTask." + (depth1 + 1) + ".TargetValue" , pushTasks.get(depth1).getTargetValue()); putBodyParameter("PushTask." + (depth1 + 1) + ".HarmonyBadgeSetNum" , pushTasks.get(depth1).getHarmonyBadgeSetNum()); - putBodyParameter("PushTask." + (depth1 + 1) + ".AndroidXiaoMiActivity" , pushTasks.get(depth1).getAndroidXiaoMiActivity()); putBodyParameter("PushTask." + (depth1 + 1) + ".AndroidXiaoMiNotifyTitle" , pushTasks.get(depth1).getAndroidXiaoMiNotifyTitle()); + putBodyParameter("PushTask." + (depth1 + 1) + ".AndroidXiaoMiActivity" , pushTasks.get(depth1).getAndroidXiaoMiActivity()); } } } @@ -155,6 +157,8 @@ public static class PushTask { private Integer androidNotificationBarType; + private Integer androidMessageOppoNotifyLevel; + private String body; private String deviceType; @@ -191,14 +195,14 @@ public static class PushTask { private Integer androidNotificationBarPriority; - private String androidImageUrl; - private String expireTime; - private Integer androidHonorTargetUserType; + private String androidImageUrl; private String androidNotificationThreadId; + private Integer androidHonorTargetUserType; + private String harmonyRemindBody; private String androidNotificationVivoChannel; @@ -219,26 +223,26 @@ public static class PushTask { private String androidInboxBody; - private String harmonyReceiptId; - private String jobKey; + private String harmonyReceiptId; + private String androidOpenUrl; private Integer androidBadgeSetNum; private String androidXiaoMiNotifyBody; - private String androidXiaomiBigPictureUrl; - private String iOSSubtitle; - private String harmonyCategory; + private String androidXiaomiBigPictureUrl; - private String iOSNotificationThreadId; + private String harmonyCategory; private Boolean iOSRemind; + private String iOSNotificationThreadId; + private Integer androidHuaweiTargetUserType; private Boolean harmonyRemind; @@ -247,10 +251,10 @@ public static class PushTask { private Boolean harmonyExtensionPush; - private String androidMessageHuaweiUrgency; - private String iOSNotificationCollapseId; + private String androidMessageHuaweiUrgency; + private String pushType; private String iOSInterruptionLevel; @@ -261,20 +265,20 @@ public static class PushTask { private String harmonyImageUrl; - private String androidBigBody; - private Integer iOSBadge; + private String androidBigBody; + private Boolean iOSBadgeAutoIncrement; private String androidOpenType; private String harmonyRemindTitle; - private String androidBadgeClass; - private String title; + private String androidBadgeClass; + private Integer harmonyBadgeAddNum; private Boolean harmonyTestMessage; @@ -309,10 +313,10 @@ public static class PushTask { private String harmonyActionType; - private String harmonyNotificationSlotType; - private String target; + private String harmonyNotificationSlotType; + private String androidBigTitle; private String androidNotificationChannel; @@ -323,16 +327,18 @@ public static class PushTask { private String androidActivity; + private String androidMessageOppoCategory; + private Integer androidNotificationNotifyId; private String targetValue; private Integer harmonyBadgeSetNum; - private String androidXiaoMiActivity; - private String androidXiaoMiNotifyTitle; + private String androidXiaoMiActivity; + public Integer getAndroidNotificationBarType() { return this.androidNotificationBarType; } @@ -341,6 +347,14 @@ public void setAndroidNotificationBarType(Integer androidNotificationBarType) { this.androidNotificationBarType = androidNotificationBarType; } + public Integer getAndroidMessageOppoNotifyLevel() { + return this.androidMessageOppoNotifyLevel; + } + + public void setAndroidMessageOppoNotifyLevel(Integer androidMessageOppoNotifyLevel) { + this.androidMessageOppoNotifyLevel = androidMessageOppoNotifyLevel; + } + public String getBody() { return this.body; } @@ -485,14 +499,6 @@ public void setAndroidNotificationBarPriority(Integer androidNotificationBarPrio this.androidNotificationBarPriority = androidNotificationBarPriority; } - public String getAndroidImageUrl() { - return this.androidImageUrl; - } - - public void setAndroidImageUrl(String androidImageUrl) { - this.androidImageUrl = androidImageUrl; - } - public String getExpireTime() { return this.expireTime; } @@ -501,12 +507,12 @@ public void setExpireTime(String expireTime) { this.expireTime = expireTime; } - public Integer getAndroidHonorTargetUserType() { - return this.androidHonorTargetUserType; + public String getAndroidImageUrl() { + return this.androidImageUrl; } - public void setAndroidHonorTargetUserType(Integer androidHonorTargetUserType) { - this.androidHonorTargetUserType = androidHonorTargetUserType; + public void setAndroidImageUrl(String androidImageUrl) { + this.androidImageUrl = androidImageUrl; } public String getAndroidNotificationThreadId() { @@ -517,6 +523,14 @@ public void setAndroidNotificationThreadId(String androidNotificationThreadId) { this.androidNotificationThreadId = androidNotificationThreadId; } + public Integer getAndroidHonorTargetUserType() { + return this.androidHonorTargetUserType; + } + + public void setAndroidHonorTargetUserType(Integer androidHonorTargetUserType) { + this.androidHonorTargetUserType = androidHonorTargetUserType; + } + public String getHarmonyRemindBody() { return this.harmonyRemindBody; } @@ -597,14 +611,6 @@ public void setAndroidInboxBody(String androidInboxBody) { this.androidInboxBody = androidInboxBody; } - public String getHarmonyReceiptId() { - return this.harmonyReceiptId; - } - - public void setHarmonyReceiptId(String harmonyReceiptId) { - this.harmonyReceiptId = harmonyReceiptId; - } - public String getJobKey() { return this.jobKey; } @@ -613,6 +619,14 @@ public void setJobKey(String jobKey) { this.jobKey = jobKey; } + public String getHarmonyReceiptId() { + return this.harmonyReceiptId; + } + + public void setHarmonyReceiptId(String harmonyReceiptId) { + this.harmonyReceiptId = harmonyReceiptId; + } + public String getAndroidOpenUrl() { return this.androidOpenUrl; } @@ -637,14 +651,6 @@ public void setAndroidXiaoMiNotifyBody(String androidXiaoMiNotifyBody) { this.androidXiaoMiNotifyBody = androidXiaoMiNotifyBody; } - public String getAndroidXiaomiBigPictureUrl() { - return this.androidXiaomiBigPictureUrl; - } - - public void setAndroidXiaomiBigPictureUrl(String androidXiaomiBigPictureUrl) { - this.androidXiaomiBigPictureUrl = androidXiaomiBigPictureUrl; - } - public String getIOSSubtitle() { return this.iOSSubtitle; } @@ -653,20 +659,20 @@ public void setIOSSubtitle(String iOSSubtitle) { this.iOSSubtitle = iOSSubtitle; } - public String getHarmonyCategory() { - return this.harmonyCategory; + public String getAndroidXiaomiBigPictureUrl() { + return this.androidXiaomiBigPictureUrl; } - public void setHarmonyCategory(String harmonyCategory) { - this.harmonyCategory = harmonyCategory; + public void setAndroidXiaomiBigPictureUrl(String androidXiaomiBigPictureUrl) { + this.androidXiaomiBigPictureUrl = androidXiaomiBigPictureUrl; } - public String getIOSNotificationThreadId() { - return this.iOSNotificationThreadId; + public String getHarmonyCategory() { + return this.harmonyCategory; } - public void setIOSNotificationThreadId(String iOSNotificationThreadId) { - this.iOSNotificationThreadId = iOSNotificationThreadId; + public void setHarmonyCategory(String harmonyCategory) { + this.harmonyCategory = harmonyCategory; } public Boolean getIOSRemind() { @@ -677,6 +683,14 @@ public void setIOSRemind(Boolean iOSRemind) { this.iOSRemind = iOSRemind; } + public String getIOSNotificationThreadId() { + return this.iOSNotificationThreadId; + } + + public void setIOSNotificationThreadId(String iOSNotificationThreadId) { + this.iOSNotificationThreadId = iOSNotificationThreadId; + } + public Integer getAndroidHuaweiTargetUserType() { return this.androidHuaweiTargetUserType; } @@ -709,14 +723,6 @@ public void setHarmonyExtensionPush(Boolean harmonyExtensionPush) { this.harmonyExtensionPush = harmonyExtensionPush; } - public String getAndroidMessageHuaweiUrgency() { - return this.androidMessageHuaweiUrgency; - } - - public void setAndroidMessageHuaweiUrgency(String androidMessageHuaweiUrgency) { - this.androidMessageHuaweiUrgency = androidMessageHuaweiUrgency; - } - public String getIOSNotificationCollapseId() { return this.iOSNotificationCollapseId; } @@ -725,6 +731,14 @@ public void setIOSNotificationCollapseId(String iOSNotificationCollapseId) { this.iOSNotificationCollapseId = iOSNotificationCollapseId; } + public String getAndroidMessageHuaweiUrgency() { + return this.androidMessageHuaweiUrgency; + } + + public void setAndroidMessageHuaweiUrgency(String androidMessageHuaweiUrgency) { + this.androidMessageHuaweiUrgency = androidMessageHuaweiUrgency; + } + public String getPushType() { return this.pushType; } @@ -765,14 +779,6 @@ public void setHarmonyImageUrl(String harmonyImageUrl) { this.harmonyImageUrl = harmonyImageUrl; } - public String getAndroidBigBody() { - return this.androidBigBody; - } - - public void setAndroidBigBody(String androidBigBody) { - this.androidBigBody = androidBigBody; - } - public Integer getIOSBadge() { return this.iOSBadge; } @@ -781,6 +787,14 @@ public void setIOSBadge(Integer iOSBadge) { this.iOSBadge = iOSBadge; } + public String getAndroidBigBody() { + return this.androidBigBody; + } + + public void setAndroidBigBody(String androidBigBody) { + this.androidBigBody = androidBigBody; + } + public Boolean getIOSBadgeAutoIncrement() { return this.iOSBadgeAutoIncrement; } @@ -805,14 +819,6 @@ public void setHarmonyRemindTitle(String harmonyRemindTitle) { this.harmonyRemindTitle = harmonyRemindTitle; } - public String getAndroidBadgeClass() { - return this.androidBadgeClass; - } - - public void setAndroidBadgeClass(String androidBadgeClass) { - this.androidBadgeClass = androidBadgeClass; - } - public String getTitle() { return this.title; } @@ -821,6 +827,14 @@ public void setTitle(String title) { this.title = title; } + public String getAndroidBadgeClass() { + return this.androidBadgeClass; + } + + public void setAndroidBadgeClass(String androidBadgeClass) { + this.androidBadgeClass = androidBadgeClass; + } + public Integer getHarmonyBadgeAddNum() { return this.harmonyBadgeAddNum; } @@ -957,14 +971,6 @@ public void setHarmonyActionType(String harmonyActionType) { this.harmonyActionType = harmonyActionType; } - public String getHarmonyNotificationSlotType() { - return this.harmonyNotificationSlotType; - } - - public void setHarmonyNotificationSlotType(String harmonyNotificationSlotType) { - this.harmonyNotificationSlotType = harmonyNotificationSlotType; - } - public String getTarget() { return this.target; } @@ -973,6 +979,14 @@ public void setTarget(String target) { this.target = target; } + public String getHarmonyNotificationSlotType() { + return this.harmonyNotificationSlotType; + } + + public void setHarmonyNotificationSlotType(String harmonyNotificationSlotType) { + this.harmonyNotificationSlotType = harmonyNotificationSlotType; + } + public String getAndroidBigTitle() { return this.androidBigTitle; } @@ -1013,6 +1027,14 @@ public void setAndroidActivity(String androidActivity) { this.androidActivity = androidActivity; } + public String getAndroidMessageOppoCategory() { + return this.androidMessageOppoCategory; + } + + public void setAndroidMessageOppoCategory(String androidMessageOppoCategory) { + this.androidMessageOppoCategory = androidMessageOppoCategory; + } + public Integer getAndroidNotificationNotifyId() { return this.androidNotificationNotifyId; } @@ -1037,14 +1059,6 @@ public void setHarmonyBadgeSetNum(Integer harmonyBadgeSetNum) { this.harmonyBadgeSetNum = harmonyBadgeSetNum; } - public String getAndroidXiaoMiActivity() { - return this.androidXiaoMiActivity; - } - - public void setAndroidXiaoMiActivity(String androidXiaoMiActivity) { - this.androidXiaoMiActivity = androidXiaoMiActivity; - } - public String getAndroidXiaoMiNotifyTitle() { return this.androidXiaoMiNotifyTitle; } @@ -1052,6 +1066,14 @@ public String getAndroidXiaoMiNotifyTitle() { public void setAndroidXiaoMiNotifyTitle(String androidXiaoMiNotifyTitle) { this.androidXiaoMiNotifyTitle = androidXiaoMiNotifyTitle; } + + public String getAndroidXiaoMiActivity() { + return this.androidXiaoMiActivity; + } + + public void setAndroidXiaoMiActivity(String androidXiaoMiActivity) { + this.androidXiaoMiActivity = androidXiaoMiActivity; + } } @Override diff --git a/aliyun-java-sdk-push/src/main/java/com/aliyuncs/push/model/v20160801/PushRequest.java b/aliyun-java-sdk-push/src/main/java/com/aliyuncs/push/model/v20160801/PushRequest.java index ffe5b94700..ec5dd1cc0d 100644 --- a/aliyun-java-sdk-push/src/main/java/com/aliyuncs/push/model/v20160801/PushRequest.java +++ b/aliyun-java-sdk-push/src/main/java/com/aliyuncs/push/model/v20160801/PushRequest.java @@ -27,6 +27,8 @@ public class PushRequest extends RpcAcsRequest { private Integer androidNotificationBarType; + private Integer androidMessageOppoNotifyLevel; + private String deviceType; private String pushTime; @@ -215,6 +217,8 @@ public class PushRequest extends RpcAcsRequest { private String harmonyInboxContent; + private String androidMessageOppoCategory; + private String androidXiaoMiActivity; public PushRequest() { super("Push", "2016-08-01", "Push"); @@ -236,6 +240,17 @@ public void setAndroidNotificationBarType(Integer androidNotificationBarType) { } } + public Integer getAndroidMessageOppoNotifyLevel() { + return this.androidMessageOppoNotifyLevel; + } + + public void setAndroidMessageOppoNotifyLevel(Integer androidMessageOppoNotifyLevel) { + this.androidMessageOppoNotifyLevel = androidMessageOppoNotifyLevel; + if(androidMessageOppoNotifyLevel != null){ + putQueryParameter("AndroidMessageOppoNotifyLevel", androidMessageOppoNotifyLevel.toString()); + } + } + public String getDeviceType() { return this.deviceType; } @@ -1270,6 +1285,17 @@ public void setHarmonyInboxContent(String harmonyInboxContent) { } } + public String getAndroidMessageOppoCategory() { + return this.androidMessageOppoCategory; + } + + public void setAndroidMessageOppoCategory(String androidMessageOppoCategory) { + this.androidMessageOppoCategory = androidMessageOppoCategory; + if(androidMessageOppoCategory != null){ + putQueryParameter("AndroidMessageOppoCategory", androidMessageOppoCategory); + } + } + public String getAndroidXiaoMiActivity() { return this.androidXiaoMiActivity; }