Skip to content

Commit 2d4e04a

Browse files
committed
CDN SDK Auto Released By xiaoyao,Version:3.0.5
发布日志: 1, Update DescribeCdnTypes.
1 parent c8f0185 commit 2d4e04a

11 files changed

+775
-1
lines changed

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+
2019-02-14 Version: 3.0.5
2+
1, Update DescribeCdnTypes.
3+
14
2019-02-14 Version: 3.0.4
25
1, Update DescribeTopDomainsByFlow.
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.4</version>
6+
<version>3.0.5</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: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
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.v20141111;
16+
17+
import com.aliyuncs.RpcAcsRequest;
18+
19+
/**
20+
* @author auto create
21+
* @version
22+
*/
23+
public class DescribeCdnTypesRequest extends RpcAcsRequest<DescribeCdnTypesResponse> {
24+
25+
public DescribeCdnTypesRequest() {
26+
super("Cdn", "2014-11-11", "DescribeCdnTypes");
27+
}
28+
29+
private String securityToken;
30+
31+
private String ownerAccount;
32+
33+
private Long ownerId;
34+
35+
public String getBizSecurityToken() {
36+
return this.securityToken;
37+
}
38+
39+
public void setBizSecurityToken(String securityToken) {
40+
this.securityToken = securityToken;
41+
if(securityToken != null){
42+
putQueryParameter("SecurityToken", securityToken);
43+
}
44+
}
45+
46+
/**
47+
* @deprecated use getBizSecurityToken instead of this.
48+
*/
49+
@Deprecated
50+
public String getSecurityToken() {
51+
return this.securityToken;
52+
}
53+
54+
/**
55+
* @deprecated use setBizSecurityToken instead of this.
56+
*/
57+
@Deprecated
58+
public void setSecurityToken(String securityToken) {
59+
this.securityToken = securityToken;
60+
if(securityToken != null){
61+
putQueryParameter("SecurityToken", securityToken);
62+
}
63+
}
64+
65+
public String getOwnerAccount() {
66+
return this.ownerAccount;
67+
}
68+
69+
public void setOwnerAccount(String ownerAccount) {
70+
this.ownerAccount = ownerAccount;
71+
if(ownerAccount != null){
72+
putQueryParameter("OwnerAccount", ownerAccount);
73+
}
74+
}
75+
76+
public Long getOwnerId() {
77+
return this.ownerId;
78+
}
79+
80+
public void setOwnerId(Long ownerId) {
81+
this.ownerId = ownerId;
82+
if(ownerId != null){
83+
putQueryParameter("OwnerId", ownerId.toString());
84+
}
85+
}
86+
87+
@Override
88+
public Class<DescribeCdnTypesResponse> getResponseClass() {
89+
return DescribeCdnTypesResponse.class;
90+
}
91+
92+
}
Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
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.v20141111;
16+
17+
import java.util.List;
18+
import com.aliyuncs.AcsResponse;
19+
import com.aliyuncs.cdn.transform.v20141111.DescribeCdnTypesResponseUnmarshaller;
20+
import com.aliyuncs.transform.UnmarshallerContext;
21+
22+
/**
23+
* @author auto create
24+
* @version
25+
*/
26+
public class DescribeCdnTypesResponse extends AcsResponse {
27+
28+
private String requestId;
29+
30+
private List<CdnType> cdnTypes;
31+
32+
public String getRequestId() {
33+
return this.requestId;
34+
}
35+
36+
public void setRequestId(String requestId) {
37+
this.requestId = requestId;
38+
}
39+
40+
public List<CdnType> getCdnTypes() {
41+
return this.cdnTypes;
42+
}
43+
44+
public void setCdnTypes(List<CdnType> cdnTypes) {
45+
this.cdnTypes = cdnTypes;
46+
}
47+
48+
public static class CdnType {
49+
50+
private String type;
51+
52+
private String desc;
53+
54+
public String getType() {
55+
return this.type;
56+
}
57+
58+
public void setType(String type) {
59+
this.type = type;
60+
}
61+
62+
public String getDesc() {
63+
return this.desc;
64+
}
65+
66+
public void setDesc(String desc) {
67+
this.desc = desc;
68+
}
69+
}
70+
71+
@Override
72+
public DescribeCdnTypesResponse getInstance(UnmarshallerContext context) {
73+
return DescribeCdnTypesResponseUnmarshaller.unmarshall(this, context);
74+
}
75+
}
Lines changed: 118 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,118 @@
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.v20141111;
16+
17+
import com.aliyuncs.RpcAcsRequest;
18+
19+
/**
20+
* @author auto create
21+
* @version
22+
*/
23+
public class DescribeDomainCCAttackInfoRequest extends RpcAcsRequest<DescribeDomainCCAttackInfoResponse> {
24+
25+
public DescribeDomainCCAttackInfoRequest() {
26+
super("Cdn", "2014-11-11", "DescribeDomainCCAttackInfo");
27+
}
28+
29+
private String securityToken;
30+
31+
private String domainName;
32+
33+
private String endTime;
34+
35+
private String startTime;
36+
37+
private Long ownerId;
38+
39+
public String getBizSecurityToken() {
40+
return this.securityToken;
41+
}
42+
43+
public void setBizSecurityToken(String securityToken) {
44+
this.securityToken = securityToken;
45+
if(securityToken != null){
46+
putQueryParameter("SecurityToken", securityToken);
47+
}
48+
}
49+
50+
/**
51+
* @deprecated use getBizSecurityToken instead of this.
52+
*/
53+
@Deprecated
54+
public String getSecurityToken() {
55+
return this.securityToken;
56+
}
57+
58+
/**
59+
* @deprecated use setBizSecurityToken instead of this.
60+
*/
61+
@Deprecated
62+
public void setSecurityToken(String securityToken) {
63+
this.securityToken = securityToken;
64+
if(securityToken != null){
65+
putQueryParameter("SecurityToken", securityToken);
66+
}
67+
}
68+
69+
public String getDomainName() {
70+
return this.domainName;
71+
}
72+
73+
public void setDomainName(String domainName) {
74+
this.domainName = domainName;
75+
if(domainName != null){
76+
putQueryParameter("DomainName", domainName);
77+
}
78+
}
79+
80+
public String getEndTime() {
81+
return this.endTime;
82+
}
83+
84+
public void setEndTime(String endTime) {
85+
this.endTime = endTime;
86+
if(endTime != null){
87+
putQueryParameter("EndTime", endTime);
88+
}
89+
}
90+
91+
public String getStartTime() {
92+
return this.startTime;
93+
}
94+
95+
public void setStartTime(String startTime) {
96+
this.startTime = startTime;
97+
if(startTime != null){
98+
putQueryParameter("StartTime", startTime);
99+
}
100+
}
101+
102+
public Long getOwnerId() {
103+
return this.ownerId;
104+
}
105+
106+
public void setOwnerId(Long ownerId) {
107+
this.ownerId = ownerId;
108+
if(ownerId != null){
109+
putQueryParameter("OwnerId", ownerId.toString());
110+
}
111+
}
112+
113+
@Override
114+
public Class<DescribeDomainCCAttackInfoResponse> getResponseClass() {
115+
return DescribeDomainCCAttackInfoResponse.class;
116+
}
117+
118+
}

0 commit comments

Comments
 (0)