Skip to content

Commit 75339c3

Browse files
committed
Added param for ActivateLicenseResponse .
1 parent 69a69e3 commit 75339c3

File tree

5 files changed

+261
-2
lines changed

5 files changed

+261
-2
lines changed

aliyun-java-sdk-mseap/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2025-05-20 Version: 1.0.1
2+
- Added param for ActivateLicenseResponse .
3+
14
2024-07-10 Version: 1.0.0
25
- Added param for ActivateLicenseResponse .
36

aliyun-java-sdk-mseap/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<groupId>com.aliyun</groupId>
55
<artifactId>aliyun-java-sdk-mseap</artifactId>
66
<packaging>jar</packaging>
7-
<version>1.0.0</version>
7+
<version>1.0.1</version>
88
<name>aliyun-java-sdk-mseap</name>
99
<url>http://www.aliyun.com</url>
1010
<description>Aliyun Open API SDK for Java
@@ -92,7 +92,7 @@ http://www.aliyun.com</description>
9292
<plugin>
9393
<groupId>org.apache.maven.plugins</groupId>
9494
<artifactId>maven-gpg-plugin</artifactId>
95-
<version>1.5</version>
95+
<version>3.1.0</version>
9696
<executions>
9797
<execution>
9898
<id>sign-artifacts</id>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,148 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License");
3+
* you may not use this file except in compliance with the License.
4+
* You may obtain a copy of the License at
5+
*
6+
* http://www.apache.org/licenses/LICENSE-2.0
7+
*
8+
* Unless required by applicable law or agreed to in writing, software
9+
* distributed under the License is distributed on an "AS IS" BASIS,
10+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
* See the License for the specific language governing permissions and
12+
* limitations under the License.
13+
*/
14+
15+
package com.aliyuncs.mseap.model.v20210118;
16+
17+
import com.aliyuncs.RpcAcsRequest;
18+
import java.util.List;
19+
import java.util.Map;
20+
import com.google.gson.Gson;
21+
import com.google.gson.annotations.SerializedName;
22+
import com.aliyuncs.http.ProtocolType;
23+
import com.aliyuncs.http.MethodType;
24+
25+
/**
26+
* @author auto create
27+
* @version
28+
*/
29+
public class SendNotificationForPartnerRequest extends RpcAcsRequest<SendNotificationForPartnerResponse> {
30+
31+
32+
private String trackId;
33+
34+
@SerializedName("smartSubChannels")
35+
private List<String> smartSubChannels;
36+
37+
private String channelType;
38+
39+
private String notifyType;
40+
41+
private String notifycationEventType;
42+
43+
private String sendTarget;
44+
45+
private String bizId;
46+
47+
@SerializedName("paramMap")
48+
private Map<String,String> paramMap;
49+
public SendNotificationForPartnerRequest() {
50+
super("mseap", "2021-01-18", "SendNotificationForPartner");
51+
setProtocol(ProtocolType.HTTPS);
52+
setMethod(MethodType.POST);
53+
}
54+
55+
public String getTrackId() {
56+
return this.trackId;
57+
}
58+
59+
public void setTrackId(String trackId) {
60+
this.trackId = trackId;
61+
if(trackId != null){
62+
putQueryParameter("TrackId", trackId);
63+
}
64+
}
65+
66+
public List<String> getSmartSubChannels() {
67+
return this.smartSubChannels;
68+
}
69+
70+
public void setSmartSubChannels(List<String> smartSubChannels) {
71+
this.smartSubChannels = smartSubChannels;
72+
if (smartSubChannels != null) {
73+
putQueryParameter("SmartSubChannels" , new Gson().toJson(smartSubChannels));
74+
}
75+
}
76+
77+
public String getChannelType() {
78+
return this.channelType;
79+
}
80+
81+
public void setChannelType(String channelType) {
82+
this.channelType = channelType;
83+
if(channelType != null){
84+
putQueryParameter("ChannelType", channelType);
85+
}
86+
}
87+
88+
public String getNotifyType() {
89+
return this.notifyType;
90+
}
91+
92+
public void setNotifyType(String notifyType) {
93+
this.notifyType = notifyType;
94+
if(notifyType != null){
95+
putQueryParameter("NotifyType", notifyType);
96+
}
97+
}
98+
99+
public String getNotifycationEventType() {
100+
return this.notifycationEventType;
101+
}
102+
103+
public void setNotifycationEventType(String notifycationEventType) {
104+
this.notifycationEventType = notifycationEventType;
105+
if(notifycationEventType != null){
106+
putQueryParameter("NotifycationEventType", notifycationEventType);
107+
}
108+
}
109+
110+
public String getSendTarget() {
111+
return this.sendTarget;
112+
}
113+
114+
public void setSendTarget(String sendTarget) {
115+
this.sendTarget = sendTarget;
116+
if(sendTarget != null){
117+
putQueryParameter("SendTarget", sendTarget);
118+
}
119+
}
120+
121+
public String getBizId() {
122+
return this.bizId;
123+
}
124+
125+
public void setBizId(String bizId) {
126+
this.bizId = bizId;
127+
if(bizId != null){
128+
putQueryParameter("BizId", bizId);
129+
}
130+
}
131+
132+
public Map<String,String> getParamMap() {
133+
return this.paramMap;
134+
}
135+
136+
public void setParamMap(Map<String,String> paramMap) {
137+
this.paramMap = paramMap;
138+
if (paramMap != null) {
139+
putQueryParameter("ParamMap" , new Gson().toJson(paramMap));
140+
}
141+
}
142+
143+
@Override
144+
public Class<SendNotificationForPartnerResponse> getResponseClass() {
145+
return SendNotificationForPartnerResponse.class;
146+
}
147+
148+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License");
3+
* you may not use this file except in compliance with the License.
4+
* You may obtain a copy of the License at
5+
*
6+
* http://www.apache.org/licenses/LICENSE-2.0
7+
*
8+
* Unless required by applicable law or agreed to in writing, software
9+
* distributed under the License is distributed on an "AS IS" BASIS,
10+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
* See the License for the specific language governing permissions and
12+
* limitations under the License.
13+
*/
14+
15+
package com.aliyuncs.mseap.model.v20210118;
16+
17+
import com.aliyuncs.AcsResponse;
18+
import com.aliyuncs.mseap.transform.v20210118.SendNotificationForPartnerResponseUnmarshaller;
19+
import com.aliyuncs.transform.UnmarshallerContext;
20+
21+
/**
22+
* @author auto create
23+
* @version
24+
*/
25+
public class SendNotificationForPartnerResponse extends AcsResponse {
26+
27+
private String requestId;
28+
29+
private String errorMsg;
30+
31+
private Boolean success;
32+
33+
private String msgId;
34+
35+
public String getRequestId() {
36+
return this.requestId;
37+
}
38+
39+
public void setRequestId(String requestId) {
40+
this.requestId = requestId;
41+
}
42+
43+
public String getErrorMsg() {
44+
return this.errorMsg;
45+
}
46+
47+
public void setErrorMsg(String errorMsg) {
48+
this.errorMsg = errorMsg;
49+
}
50+
51+
public Boolean getSuccess() {
52+
return this.success;
53+
}
54+
55+
public void setSuccess(Boolean success) {
56+
this.success = success;
57+
}
58+
59+
public String getMsgId() {
60+
return this.msgId;
61+
}
62+
63+
public void setMsgId(String msgId) {
64+
this.msgId = msgId;
65+
}
66+
67+
@Override
68+
public SendNotificationForPartnerResponse getInstance(UnmarshallerContext context) {
69+
return SendNotificationForPartnerResponseUnmarshaller.unmarshall(this, context);
70+
}
71+
72+
@Override
73+
public boolean checkShowJsonItemName() {
74+
return false;
75+
}
76+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License");
3+
* you may not use this file except in compliance with the License.
4+
* You may obtain a copy of the License at
5+
*
6+
* http://www.apache.org/licenses/LICENSE-2.0
7+
*
8+
* Unless required by applicable law or agreed to in writing, software
9+
* distributed under the License is distributed on an "AS IS" BASIS,
10+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
* See the License for the specific language governing permissions and
12+
* limitations under the License.
13+
*/
14+
15+
package com.aliyuncs.mseap.transform.v20210118;
16+
17+
import com.aliyuncs.mseap.model.v20210118.SendNotificationForPartnerResponse;
18+
import com.aliyuncs.transform.UnmarshallerContext;
19+
20+
21+
public class SendNotificationForPartnerResponseUnmarshaller {
22+
23+
public static SendNotificationForPartnerResponse unmarshall(SendNotificationForPartnerResponse sendNotificationForPartnerResponse, UnmarshallerContext _ctx) {
24+
25+
sendNotificationForPartnerResponse.setRequestId(_ctx.stringValue("SendNotificationForPartnerResponse.RequestId"));
26+
sendNotificationForPartnerResponse.setErrorMsg(_ctx.stringValue("SendNotificationForPartnerResponse.ErrorMsg"));
27+
sendNotificationForPartnerResponse.setSuccess(_ctx.booleanValue("SendNotificationForPartnerResponse.Success"));
28+
sendNotificationForPartnerResponse.setMsgId(_ctx.stringValue("SendNotificationForPartnerResponse.MsgId"));
29+
30+
return sendNotificationForPartnerResponse;
31+
}
32+
}

0 commit comments

Comments
 (0)