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

Skip to content

Commit 5182ce4

Browse files
committed
add ITaaS sdk 玄武令产品
1 parent f4f56be commit 5182ce4

File tree

53 files changed

+4807
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+4807
-0
lines changed

aliyun-java-sdk-itaas/.gitkeep

Whitespace-only changes.

aliyun-java-sdk-itaas/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-itaas</artifactId>
5+
<packaging>jar</packaging>
6+
<version>1.0.0</version>
7+
<name>aliyun-java-sdk-itaas</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.4.2</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: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
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.itaas.model.v20170505;
20+
21+
import com.aliyuncs.RpcAcsRequest;
22+
23+
/**
24+
* @author auto create
25+
* @version
26+
*/
27+
public class AddIPSegmentRequest extends RpcAcsRequest<AddIPSegmentResponse> {
28+
29+
public AddIPSegmentRequest() {
30+
super("ITaaS", "2017-05-05", "AddIPSegment");
31+
}
32+
33+
private String sysfrom;
34+
35+
private String operator;
36+
37+
private String clientappid;
38+
39+
private String ipsegment;
40+
41+
private String memo;
42+
43+
public String getSysfrom() {
44+
return this.sysfrom;
45+
}
46+
47+
public void setSysfrom(String sysfrom) {
48+
this.sysfrom = sysfrom;
49+
putQueryParameter("Sysfrom", sysfrom);
50+
}
51+
52+
public String getOperator() {
53+
return this.operator;
54+
}
55+
56+
public void setOperator(String operator) {
57+
this.operator = operator;
58+
putQueryParameter("Operator", operator);
59+
}
60+
61+
public String getClientappid() {
62+
return this.clientappid;
63+
}
64+
65+
public void setClientappid(String clientappid) {
66+
this.clientappid = clientappid;
67+
putQueryParameter("Clientappid", clientappid);
68+
}
69+
70+
public String getIpsegment() {
71+
return this.ipsegment;
72+
}
73+
74+
public void setIpsegment(String ipsegment) {
75+
this.ipsegment = ipsegment;
76+
putQueryParameter("Ipsegment", ipsegment);
77+
}
78+
79+
public String getMemo() {
80+
return this.memo;
81+
}
82+
83+
public void setMemo(String memo) {
84+
this.memo = memo;
85+
putQueryParameter("Memo", memo);
86+
}
87+
88+
@Override
89+
public Class<AddIPSegmentResponse> getResponseClass() {
90+
return AddIPSegmentResponse.class;
91+
}
92+
93+
}
Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
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.itaas.model.v20170505;
20+
21+
import java.util.List;
22+
import com.aliyuncs.AcsResponse;
23+
import com.aliyuncs.itaas.transform.v20170505.AddIPSegmentResponseUnmarshaller;
24+
import com.aliyuncs.transform.UnmarshallerContext;
25+
26+
/**
27+
* @author auto create
28+
* @version
29+
*/
30+
public class AddIPSegmentResponse extends AcsResponse {
31+
32+
private String requestId;
33+
34+
private Integer errorCode;
35+
36+
private String errorMsg;
37+
38+
private Boolean success;
39+
40+
private List<ErrorMessage> errorList;
41+
42+
public String getRequestId() {
43+
return this.requestId;
44+
}
45+
46+
public void setRequestId(String requestId) {
47+
this.requestId = requestId;
48+
}
49+
50+
public Integer getErrorCode() {
51+
return this.errorCode;
52+
}
53+
54+
public void setErrorCode(Integer errorCode) {
55+
this.errorCode = errorCode;
56+
}
57+
58+
public String getErrorMsg() {
59+
return this.errorMsg;
60+
}
61+
62+
public void setErrorMsg(String errorMsg) {
63+
this.errorMsg = errorMsg;
64+
}
65+
66+
public Boolean getSuccess() {
67+
return this.success;
68+
}
69+
70+
public void setSuccess(Boolean success) {
71+
this.success = success;
72+
}
73+
74+
public List<ErrorMessage> getErrorList() {
75+
return this.errorList;
76+
}
77+
78+
public void setErrorList(List<ErrorMessage> errorList) {
79+
this.errorList = errorList;
80+
}
81+
82+
public static class ErrorMessage {
83+
84+
private String errorMessage;
85+
86+
public String getErrorMessage() {
87+
return this.errorMessage;
88+
}
89+
90+
public void setErrorMessage(String errorMessage) {
91+
this.errorMessage = errorMessage;
92+
}
93+
}
94+
95+
@Override
96+
public AddIPSegmentResponse getInstance(UnmarshallerContext context) {
97+
return AddIPSegmentResponseUnmarshaller.unmarshall(this, context);
98+
}
99+
}
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.itaas.model.v20170505;
20+
21+
import com.aliyuncs.RpcAcsRequest;
22+
23+
/**
24+
* @author auto create
25+
* @version
26+
*/
27+
public class CreateBoxCodeRequest extends RpcAcsRequest<CreateBoxCodeResponse> {
28+
29+
public CreateBoxCodeRequest() {
30+
super("ITaaS", "2017-05-05", "CreateBoxCode");
31+
}
32+
33+
private String sysfrom;
34+
35+
private String operator;
36+
37+
private String clientappid;
38+
39+
public String getSysfrom() {
40+
return this.sysfrom;
41+
}
42+
43+
public void setSysfrom(String sysfrom) {
44+
this.sysfrom = sysfrom;
45+
putQueryParameter("Sysfrom", sysfrom);
46+
}
47+
48+
public String getOperator() {
49+
return this.operator;
50+
}
51+
52+
public void setOperator(String operator) {
53+
this.operator = operator;
54+
putQueryParameter("Operator", operator);
55+
}
56+
57+
public String getClientappid() {
58+
return this.clientappid;
59+
}
60+
61+
public void setClientappid(String clientappid) {
62+
this.clientappid = clientappid;
63+
putQueryParameter("Clientappid", clientappid);
64+
}
65+
66+
@Override
67+
public Class<CreateBoxCodeResponse> getResponseClass() {
68+
return CreateBoxCodeResponse.class;
69+
}
70+
71+
}

0 commit comments

Comments
 (0)