Skip to content

Commit f8efdd8

Browse files
committed
COUPONNEW SDK Auto Released By yingying,Version:1.0.2
发布日志: 1, add getCouponFullTemplatePage one new api.
1 parent 8717549 commit f8efdd8

File tree

5 files changed

+205
-1
lines changed

5 files changed

+205
-1
lines changed

aliyun-java-sdk-couponnew/ChangeLog.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
2019-04-23 Version: 1.0.2
2+
1, add getCouponFullTemplatePage one new api.
3+
4+
15
2019-04-17 Version: 1.0.0
26
1, publish first
37
2, add one new api name getUidsByTemplateId

aliyun-java-sdk-couponnew/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<groupId>com.aliyun</groupId>
44
<artifactId>aliyun-java-sdk-couponnew</artifactId>
55
<packaging>jar</packaging>
6-
<version>1.0.0</version>
6+
<version>1.0.2</version>
77
<name>aliyun-java-sdk-couponnew</name>
88
<url>http://www.aliyun.com</url>
99
<description>Aliyun Open API SDK for Java
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
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.couponnew.model.v20190401;
16+
17+
import com.aliyuncs.RpcAcsRequest;
18+
19+
/**
20+
* @author auto create
21+
* @version
22+
*/
23+
public class GetCouponFullTemplatePageRequest extends RpcAcsRequest<GetCouponFullTemplatePageResponse> {
24+
25+
public GetCouponFullTemplatePageRequest() {
26+
super("CouponNew", "2019-04-01", "GetCouponFullTemplatePage");
27+
}
28+
29+
private String fromApp;
30+
31+
private String param;
32+
33+
private Integer pageNo;
34+
35+
private Integer pageSize;
36+
37+
public String getFromApp() {
38+
return this.fromApp;
39+
}
40+
41+
public void setFromApp(String fromApp) {
42+
this.fromApp = fromApp;
43+
if(fromApp != null){
44+
putQueryParameter("FromApp", fromApp);
45+
}
46+
}
47+
48+
public String getParam() {
49+
return this.param;
50+
}
51+
52+
public void setParam(String param) {
53+
this.param = param;
54+
if(param != null){
55+
putQueryParameter("Param", param);
56+
}
57+
}
58+
59+
public Integer getPageNo() {
60+
return this.pageNo;
61+
}
62+
63+
public void setPageNo(Integer pageNo) {
64+
this.pageNo = pageNo;
65+
if(pageNo != null){
66+
putQueryParameter("PageNo", pageNo.toString());
67+
}
68+
}
69+
70+
public Integer getPageSize() {
71+
return this.pageSize;
72+
}
73+
74+
public void setPageSize(Integer pageSize) {
75+
this.pageSize = pageSize;
76+
if(pageSize != null){
77+
putQueryParameter("PageSize", pageSize.toString());
78+
}
79+
}
80+
81+
@Override
82+
public Class<GetCouponFullTemplatePageResponse> getResponseClass() {
83+
return GetCouponFullTemplatePageResponse.class;
84+
}
85+
86+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
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.couponnew.model.v20190401;
16+
17+
import com.aliyuncs.AcsResponse;
18+
import com.aliyuncs.couponnew.transform.v20190401.GetCouponFullTemplatePageResponseUnmarshaller;
19+
import com.aliyuncs.transform.UnmarshallerContext;
20+
21+
/**
22+
* @author auto create
23+
* @version
24+
*/
25+
public class GetCouponFullTemplatePageResponse extends AcsResponse {
26+
27+
private String requestId;
28+
29+
private Boolean success;
30+
31+
private String code;
32+
33+
private String message;
34+
35+
private String data;
36+
37+
public String getRequestId() {
38+
return this.requestId;
39+
}
40+
41+
public void setRequestId(String requestId) {
42+
this.requestId = requestId;
43+
}
44+
45+
public Boolean getSuccess() {
46+
return this.success;
47+
}
48+
49+
public void setSuccess(Boolean success) {
50+
this.success = success;
51+
}
52+
53+
public String getCode() {
54+
return this.code;
55+
}
56+
57+
public void setCode(String code) {
58+
this.code = code;
59+
}
60+
61+
public String getMessage() {
62+
return this.message;
63+
}
64+
65+
public void setMessage(String message) {
66+
this.message = message;
67+
}
68+
69+
public String getData() {
70+
return this.data;
71+
}
72+
73+
public void setData(String data) {
74+
this.data = data;
75+
}
76+
77+
@Override
78+
public GetCouponFullTemplatePageResponse getInstance(UnmarshallerContext context) {
79+
return GetCouponFullTemplatePageResponseUnmarshaller.unmarshall(this, context);
80+
}
81+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
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.couponnew.transform.v20190401;
16+
17+
import com.aliyuncs.couponnew.model.v20190401.GetCouponFullTemplatePageResponse;
18+
import com.aliyuncs.transform.UnmarshallerContext;
19+
20+
21+
public class GetCouponFullTemplatePageResponseUnmarshaller {
22+
23+
public static GetCouponFullTemplatePageResponse unmarshall(GetCouponFullTemplatePageResponse getCouponFullTemplatePageResponse, UnmarshallerContext context) {
24+
25+
getCouponFullTemplatePageResponse.setRequestId(context.stringValue("GetCouponFullTemplatePageResponse.RequestId"));
26+
getCouponFullTemplatePageResponse.setSuccess(context.booleanValue("GetCouponFullTemplatePageResponse.Success"));
27+
getCouponFullTemplatePageResponse.setCode(context.stringValue("GetCouponFullTemplatePageResponse.Code"));
28+
getCouponFullTemplatePageResponse.setMessage(context.stringValue("GetCouponFullTemplatePageResponse.Message"));
29+
getCouponFullTemplatePageResponse.setData(context.stringValue("GetCouponFullTemplatePageResponse.Data"));
30+
31+
return getCouponFullTemplatePageResponse;
32+
}
33+
}

0 commit comments

Comments
 (0)