Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 464a87e

Browse files
committed
httpdns first commit
1 parent 78be241 commit 464a87e

File tree

10 files changed

+598
-0
lines changed

10 files changed

+598
-0
lines changed

aliyun-java-sdk-httpdns/pom.xml

Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2+
<modelVersion>4.0.0</modelVersion>
3+
<groupId>com.aliyun</groupId>
4+
<artifactId>aliyun-java-sdk-httpdns</artifactId>
5+
<packaging>jar</packaging>
6+
<version>2.0.0</version>
7+
<name>aliyun-java-sdk-httpdns</name>
8+
<url>http://www.aliyun.com</url>
9+
<description>Aliyun Open API SDK for Java
10+
11+
Copyright (C) Alibaba Cloud Computing
12+
All rights reserved.
13+
14+
版权所有 (C)阿里云计算有限公司
15+
16+
http://www.aliyun.com</description>
17+
<dependencies>
18+
<dependency>
19+
<groupId>com.aliyun</groupId>
20+
<artifactId>aliyun-java-sdk-core</artifactId>
21+
<optional>true</optional>
22+
<version>2.3.6</version>
23+
</dependency>
24+
</dependencies>
25+
<licenses>
26+
<license>
27+
<name></name>
28+
<url></url>
29+
<distribution></distribution>
30+
</license>
31+
</licenses>
32+
<scm>
33+
<url></url>
34+
<connection></connection>
35+
</scm>
36+
<developers>
37+
<developer>
38+
<id>aliyunproducts</id>
39+
<name>Aliyun SDK</name>
40+
<email>[email protected]</email>
41+
</developer>
42+
</developers>
43+
<build>
44+
<plugins>
45+
<plugin>
46+
<artifactId>maven-compiler-plugin</artifactId>
47+
<version>2.3.2</version>
48+
<configuration>
49+
<source>1.6</source>
50+
<target>1.6</target>
51+
<encoding>UTF-8</encoding>
52+
</configuration>
53+
</plugin>
54+
<plugin>
55+
<groupId>org.apache.maven.plugins</groupId>
56+
<artifactId>maven-jar-plugin</artifactId>
57+
<version>2.3.2</version>
58+
<configuration>
59+
<excludes>
60+
</excludes>
61+
</configuration>
62+
</plugin>
63+
<plugin>
64+
<groupId>org.apache.maven.plugins</groupId>
65+
<artifactId>maven-surefire-plugin</artifactId>
66+
<version>2.10</version>
67+
<configuration>
68+
<argLine>-Dfile.encoding=UTF-8</argLine>
69+
</configuration>
70+
</plugin>
71+
<plugin>
72+
<groupId>org.apache.maven.plugins</groupId>
73+
<artifactId>maven-javadoc-plugin</artifactId>
74+
<version>2.8</version>
75+
<configuration>
76+
<encoding>UTF-8</encoding>
77+
</configuration>
78+
</plugin>
79+
</plugins>
80+
</build>
81+
</project>
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
/*
2+
* Licensed to the Apache Software Foundation (ASF) under one
3+
* or more contributor license agreements. See the NOTICE file
4+
* distributed with this work for additional information
5+
* regarding copyright ownership. The ASF licenses this file
6+
* to you under the Apache License, Version 2.0 (the
7+
* "License"); you may not use this file except in compliance
8+
* with the License. You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing,
13+
* software distributed under the License is distributed on an
14+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+
* KIND, either express or implied. See the License for the
16+
* specific language governing permissions and limitations
17+
* under the License.
18+
*/
19+
package com.aliyuncs.httpdns.model.v20160201;
20+
21+
import com.aliyuncs.RpcAcsRequest;
22+
23+
/**
24+
* @author auto create
25+
* @version
26+
*/
27+
public class AddDomainRequest extends RpcAcsRequest<AddDomainResponse> {
28+
29+
public AddDomainRequest() {
30+
super("Httpdns", "2016-02-01", "AddDomain");
31+
}
32+
33+
private String accountId;
34+
35+
private String domainName;
36+
37+
public String getAccountId() {
38+
return this.accountId;
39+
}
40+
41+
public void setAccountId(String accountId) {
42+
this.accountId = accountId;
43+
putQueryParameter("AccountId", accountId);
44+
}
45+
46+
public String getDomainName() {
47+
return this.domainName;
48+
}
49+
50+
public void setDomainName(String domainName) {
51+
this.domainName = domainName;
52+
putQueryParameter("DomainName", domainName);
53+
}
54+
55+
@Override
56+
public Class<AddDomainResponse> getResponseClass() {
57+
return AddDomainResponse.class;
58+
}
59+
60+
}
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
/*
2+
* Licensed to the Apache Software Foundation (ASF) under one
3+
* or more contributor license agreements. See the NOTICE file
4+
* distributed with this work for additional information
5+
* regarding copyright ownership. The ASF licenses this file
6+
* to you under the Apache License, Version 2.0 (the
7+
* "License"); you may not use this file except in compliance
8+
* with the License. You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing,
13+
* software distributed under the License is distributed on an
14+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+
* KIND, either express or implied. See the License for the
16+
* specific language governing permissions and limitations
17+
* under the License.
18+
*/
19+
package com.aliyuncs.httpdns.model.v20160201;
20+
21+
import com.aliyuncs.AcsResponse;
22+
import com.aliyuncs.httpdns.transform.v20160201.AddDomainResponseUnmarshaller;
23+
import com.aliyuncs.transform.UnmarshallerContext;
24+
25+
/**
26+
* @author auto create
27+
* @version
28+
*/
29+
public class AddDomainResponse extends AcsResponse {
30+
31+
private String requestId;
32+
33+
private String domainName;
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 getDomainName() {
44+
return this.domainName;
45+
}
46+
47+
public void setDomainName(String domainName) {
48+
this.domainName = domainName;
49+
}
50+
51+
@Override
52+
public AddDomainResponse getInstance(UnmarshallerContext context) {
53+
return AddDomainResponseUnmarshaller.unmarshall(this, context);
54+
}
55+
}
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
/*
2+
* Licensed to the Apache Software Foundation (ASF) under one
3+
* or more contributor license agreements. See the NOTICE file
4+
* distributed with this work for additional information
5+
* regarding copyright ownership. The ASF licenses this file
6+
* to you under the Apache License, Version 2.0 (the
7+
* "License"); you may not use this file except in compliance
8+
* with the License. You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing,
13+
* software distributed under the License is distributed on an
14+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+
* KIND, either express or implied. See the License for the
16+
* specific language governing permissions and limitations
17+
* under the License.
18+
*/
19+
package com.aliyuncs.httpdns.model.v20160201;
20+
21+
import com.aliyuncs.RpcAcsRequest;
22+
23+
/**
24+
* @author auto create
25+
* @version
26+
*/
27+
public class DeleteDomainRequest extends RpcAcsRequest<DeleteDomainResponse> {
28+
29+
public DeleteDomainRequest() {
30+
super("Httpdns", "2016-02-01", "DeleteDomain");
31+
}
32+
33+
private String accountId;
34+
35+
private String domainName;
36+
37+
public String getAccountId() {
38+
return this.accountId;
39+
}
40+
41+
public void setAccountId(String accountId) {
42+
this.accountId = accountId;
43+
putQueryParameter("AccountId", accountId);
44+
}
45+
46+
public String getDomainName() {
47+
return this.domainName;
48+
}
49+
50+
public void setDomainName(String domainName) {
51+
this.domainName = domainName;
52+
putQueryParameter("DomainName", domainName);
53+
}
54+
55+
@Override
56+
public Class<DeleteDomainResponse> getResponseClass() {
57+
return DeleteDomainResponse.class;
58+
}
59+
60+
}
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
/*
2+
* Licensed to the Apache Software Foundation (ASF) under one
3+
* or more contributor license agreements. See the NOTICE file
4+
* distributed with this work for additional information
5+
* regarding copyright ownership. The ASF licenses this file
6+
* to you under the Apache License, Version 2.0 (the
7+
* "License"); you may not use this file except in compliance
8+
* with the License. You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing,
13+
* software distributed under the License is distributed on an
14+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+
* KIND, either express or implied. See the License for the
16+
* specific language governing permissions and limitations
17+
* under the License.
18+
*/
19+
package com.aliyuncs.httpdns.model.v20160201;
20+
21+
import com.aliyuncs.AcsResponse;
22+
import com.aliyuncs.httpdns.transform.v20160201.DeleteDomainResponseUnmarshaller;
23+
import com.aliyuncs.transform.UnmarshallerContext;
24+
25+
/**
26+
* @author auto create
27+
* @version
28+
*/
29+
public class DeleteDomainResponse extends AcsResponse {
30+
31+
private String requestId;
32+
33+
private String domainName;
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 getDomainName() {
44+
return this.domainName;
45+
}
46+
47+
public void setDomainName(String domainName) {
48+
this.domainName = domainName;
49+
}
50+
51+
@Override
52+
public DeleteDomainResponse getInstance(UnmarshallerContext context) {
53+
return DeleteDomainResponseUnmarshaller.unmarshall(this, context);
54+
}
55+
}
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
/*
2+
* Licensed to the Apache Software Foundation (ASF) under one
3+
* or more contributor license agreements. See the NOTICE file
4+
* distributed with this work for additional information
5+
* regarding copyright ownership. The ASF licenses this file
6+
* to you under the Apache License, Version 2.0 (the
7+
* "License"); you may not use this file except in compliance
8+
* with the License. You may obtain a copy of the License at
9+
*
10+
* http://www.apache.org/licenses/LICENSE-2.0
11+
*
12+
* Unless required by applicable law or agreed to in writing,
13+
* software distributed under the License is distributed on an
14+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+
* KIND, either express or implied. See the License for the
16+
* specific language governing permissions and limitations
17+
* under the License.
18+
*/
19+
package com.aliyuncs.httpdns.model.v20160201;
20+
21+
import com.aliyuncs.RpcAcsRequest;
22+
23+
/**
24+
* @author auto create
25+
* @version
26+
*/
27+
public class DescribeDomainsRequest extends RpcAcsRequest<DescribeDomainsResponse> {
28+
29+
public DescribeDomainsRequest() {
30+
super("Httpdns", "2016-02-01", "DescribeDomains");
31+
}
32+
33+
private String accountId;
34+
35+
private Long pageNumber;
36+
37+
private Long pageSize;
38+
39+
public String getAccountId() {
40+
return this.accountId;
41+
}
42+
43+
public void setAccountId(String accountId) {
44+
this.accountId = accountId;
45+
putQueryParameter("AccountId", accountId);
46+
}
47+
48+
public Long getPageNumber() {
49+
return this.pageNumber;
50+
}
51+
52+
public void setPageNumber(Long pageNumber) {
53+
this.pageNumber = pageNumber;
54+
putQueryParameter("PageNumber", pageNumber);
55+
}
56+
57+
public Long getPageSize() {
58+
return this.pageSize;
59+
}
60+
61+
public void setPageSize(Long pageSize) {
62+
this.pageSize = pageSize;
63+
putQueryParameter("PageSize", pageSize);
64+
}
65+
66+
@Override
67+
public Class<DescribeDomainsResponse> getResponseClass() {
68+
return DescribeDomainsResponse.class;
69+
}
70+
71+
}

0 commit comments

Comments
 (0)