Skip to content

Commit 528cd30

Browse files
committed
CDN SDK Auto Released By xiaoyao,Version:3.0.1
发布日志: 1, Update SetWaitingRoomConfig.
1 parent 1ba4bba commit 528cd30

5 files changed

Lines changed: 199 additions & 1 deletion

File tree

aliyun-java-sdk-cdn/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2018-10-31 Version: 3.0.1
2+
1, Update SetWaitingRoomConfig.
3+
14
2018-10-31 Version: 3.0.0
25
1, Add SetWaitingRoomConfig.
36

aliyun-java-sdk-cdn/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-cdn</artifactId>
55
<packaging>jar</packaging>
6-
<version>3.0.0</version>
6+
<version>3.0.1</version>
77
<name>aliyun-java-sdk-cdn</name>
88
<url>http://www.aliyun.com</url>
99
<description>Aliyun Open API SDK for Java
Lines changed: 125 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,125 @@
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.cdn.model.v20180510;
16+
17+
import com.aliyuncs.RpcAcsRequest;
18+
19+
/**
20+
* @author auto create
21+
* @version
22+
*/
23+
public class SetWaitingRoomConfigRequest extends RpcAcsRequest<SetWaitingRoomConfigResponse> {
24+
25+
public SetWaitingRoomConfigRequest() {
26+
super("Cdn", "2018-05-10", "SetWaitingRoomConfig");
27+
}
28+
29+
private String waitUrl;
30+
31+
private String waitUri;
32+
33+
private Integer maxTimeWait;
34+
35+
private String domainName;
36+
37+
private Integer allowPct;
38+
39+
private Integer gapTime;
40+
41+
private Long ownerId;
42+
43+
public String getWaitUrl() {
44+
return this.waitUrl;
45+
}
46+
47+
public void setWaitUrl(String waitUrl) {
48+
this.waitUrl = waitUrl;
49+
if(waitUrl != null){
50+
putQueryParameter("WaitUrl", waitUrl);
51+
}
52+
}
53+
54+
public String getWaitUri() {
55+
return this.waitUri;
56+
}
57+
58+
public void setWaitUri(String waitUri) {
59+
this.waitUri = waitUri;
60+
if(waitUri != null){
61+
putQueryParameter("WaitUri", waitUri);
62+
}
63+
}
64+
65+
public Integer getMaxTimeWait() {
66+
return this.maxTimeWait;
67+
}
68+
69+
public void setMaxTimeWait(Integer maxTimeWait) {
70+
this.maxTimeWait = maxTimeWait;
71+
if(maxTimeWait != null){
72+
putQueryParameter("MaxTimeWait", maxTimeWait.toString());
73+
}
74+
}
75+
76+
public String getDomainName() {
77+
return this.domainName;
78+
}
79+
80+
public void setDomainName(String domainName) {
81+
this.domainName = domainName;
82+
if(domainName != null){
83+
putQueryParameter("DomainName", domainName);
84+
}
85+
}
86+
87+
public Integer getAllowPct() {
88+
return this.allowPct;
89+
}
90+
91+
public void setAllowPct(Integer allowPct) {
92+
this.allowPct = allowPct;
93+
if(allowPct != null){
94+
putQueryParameter("AllowPct", allowPct.toString());
95+
}
96+
}
97+
98+
public Integer getGapTime() {
99+
return this.gapTime;
100+
}
101+
102+
public void setGapTime(Integer gapTime) {
103+
this.gapTime = gapTime;
104+
if(gapTime != null){
105+
putQueryParameter("GapTime", gapTime.toString());
106+
}
107+
}
108+
109+
public Long getOwnerId() {
110+
return this.ownerId;
111+
}
112+
113+
public void setOwnerId(Long ownerId) {
114+
this.ownerId = ownerId;
115+
if(ownerId != null){
116+
putQueryParameter("OwnerId", ownerId.toString());
117+
}
118+
}
119+
120+
@Override
121+
public Class<SetWaitingRoomConfigResponse> getResponseClass() {
122+
return SetWaitingRoomConfigResponse.class;
123+
}
124+
125+
}
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
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.cdn.model.v20180510;
16+
17+
import com.aliyuncs.AcsResponse;
18+
import com.aliyuncs.cdn.transform.v20180510.SetWaitingRoomConfigResponseUnmarshaller;
19+
import com.aliyuncs.transform.UnmarshallerContext;
20+
21+
/**
22+
* @author auto create
23+
* @version
24+
*/
25+
public class SetWaitingRoomConfigResponse extends AcsResponse {
26+
27+
private String requestId;
28+
29+
public String getRequestId() {
30+
return this.requestId;
31+
}
32+
33+
public void setRequestId(String requestId) {
34+
this.requestId = requestId;
35+
}
36+
37+
@Override
38+
public SetWaitingRoomConfigResponse getInstance(UnmarshallerContext context) {
39+
return SetWaitingRoomConfigResponseUnmarshaller.unmarshall(this, context);
40+
}
41+
}
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
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.cdn.transform.v20180510;
16+
17+
import com.aliyuncs.cdn.model.v20180510.SetWaitingRoomConfigResponse;
18+
import com.aliyuncs.transform.UnmarshallerContext;
19+
20+
21+
public class SetWaitingRoomConfigResponseUnmarshaller {
22+
23+
public static SetWaitingRoomConfigResponse unmarshall(SetWaitingRoomConfigResponse setWaitingRoomConfigResponse, UnmarshallerContext context) {
24+
25+
setWaitingRoomConfigResponse.setRequestId(context.stringValue("SetWaitingRoomConfigResponse.RequestId"));
26+
27+
return setWaitingRoomConfigResponse;
28+
}
29+
}

0 commit comments

Comments
 (0)