Skip to content

Commit bf33006

Browse files
committed
由顾怀发起的SAS-API SDK自动发布, BUILD_ID=158, 版本号:2.0.1
发布日志: 1, 首次发布态势感知对外sdk 2, 包含情报api两个接口(查询ip情报,查询手机号情报),和售卖的5个接口(查询实例数,新购,续费,升级,退款) 3, 由于之前已把jar包线下提供给客户,为了与当前保持一致,版本号从2.0.1开始
1 parent 62835ac commit bf33006

11 files changed

Lines changed: 854 additions & 0 deletions
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
2017-08-17 Version: 2.0.1
2+
1, 首次发布态势感知对外sdk
3+
2, 包含情报api两个接口(查询ip情报,查询手机号情报),和售卖的5个接口(查询实例数,新购,续费,升级,退款)
4+
3, 由于之前已把jar包线下提供给客户,为了与当前保持一致,版本号从2.0.1开始
5+

aliyun-java-sdk-sas-api/pom.xml

Lines changed: 118 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,118 @@
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-sas-api</artifactId>
5+
<packaging>jar</packaging>
6+
<version>2.0.1</version>
7+
<name>aliyun-java-sdk-sas-api</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+
18+
<distributionManagement>
19+
<snapshotRepository>
20+
<id>sonatype-nexus-snapshots</id>
21+
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
22+
</snapshotRepository>
23+
<repository>
24+
<id>sonatype-nexus-staging</id>
25+
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
26+
</repository>
27+
</distributionManagement>
28+
29+
<dependencies>
30+
<dependency>
31+
<groupId>com.aliyun</groupId>
32+
<artifactId>aliyun-java-sdk-core</artifactId>
33+
<optional>true</optional>
34+
<version>3.2.8</version>
35+
</dependency>
36+
</dependencies>
37+
<licenses>
38+
<license>
39+
<name></name>
40+
<url></url>
41+
<distribution></distribution>
42+
</license>
43+
</licenses>
44+
<scm>
45+
<url></url>
46+
<connection></connection>
47+
</scm>
48+
<developers>
49+
<developer>
50+
<id>aliyunproducts</id>
51+
<name>Aliyun SDK</name>
52+
<email>aliyunsdk@aliyun.com</email>
53+
</developer>
54+
</developers>
55+
<build>
56+
<plugins>
57+
<plugin>
58+
<artifactId>maven-compiler-plugin</artifactId>
59+
<version>2.3.2</version>
60+
<configuration>
61+
<source>1.6</source>
62+
<target>1.6</target>
63+
<encoding>UTF-8</encoding>
64+
</configuration>
65+
</plugin>
66+
<plugin>
67+
<groupId>org.apache.maven.plugins</groupId>
68+
<artifactId>maven-jar-plugin</artifactId>
69+
<version>2.3.2</version>
70+
<configuration>
71+
<excludes>
72+
</excludes>
73+
</configuration>
74+
</plugin>
75+
<plugin>
76+
<groupId>org.apache.maven.plugins</groupId>
77+
<artifactId>maven-surefire-plugin</artifactId>
78+
<version>2.10</version>
79+
<configuration>
80+
<argLine>-Dfile.encoding=UTF-8</argLine>
81+
</configuration>
82+
</plugin>
83+
<plugin>
84+
<groupId>org.apache.maven.plugins</groupId>
85+
<artifactId>maven-javadoc-plugin</artifactId>
86+
<version>2.8</version>
87+
<configuration>
88+
<encoding>UTF-8</encoding>
89+
</configuration>
90+
</plugin>
91+
<plugin>
92+
<groupId>org.apache.maven.plugins</groupId>
93+
<artifactId>maven-gpg-plugin</artifactId>
94+
<version>1.5</version>
95+
<executions>
96+
<execution>
97+
<id>sign-artifacts</id>
98+
<phase>verify</phase>
99+
<goals>
100+
<goal>sign</goal>
101+
</goals>
102+
</execution>
103+
</executions>
104+
</plugin>
105+
<plugin>
106+
<groupId>org.sonatype.plugins</groupId>
107+
<artifactId>nexus-staging-maven-plugin</artifactId>
108+
<version>1.6.3</version>
109+
<extensions>true</extensions>
110+
<configuration>
111+
<serverId>sonatype-nexus-staging</serverId>
112+
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
113+
<autoReleaseAfterClose>true</autoReleaseAfterClose>
114+
</configuration>
115+
</plugin>
116+
</plugins>
117+
</build>
118+
</project>
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
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.sas_api.model.v20170705;
20+
21+
import com.aliyuncs.RpcAcsRequest;
22+
23+
/**
24+
* @author auto create
25+
* @version
26+
*/
27+
public class GetInstanceCountRequest extends RpcAcsRequest<GetInstanceCountResponse> {
28+
29+
public GetInstanceCountRequest() {
30+
super("Sas-api", "2017-07-05", "GetInstanceCount");
31+
}
32+
33+
private Long ownerId;
34+
35+
public Long getOwnerId() {
36+
return this.ownerId;
37+
}
38+
39+
public void setOwnerId(Long ownerId) {
40+
this.ownerId = ownerId;
41+
if(ownerId != null){
42+
putQueryParameter("OwnerId", ownerId.toString());
43+
}
44+
}
45+
46+
@Override
47+
public Class<GetInstanceCountResponse> getResponseClass() {
48+
return GetInstanceCountResponse.class;
49+
}
50+
51+
}
Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
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.sas_api.model.v20170705;
20+
21+
import com.aliyuncs.AcsResponse;
22+
import com.aliyuncs.sas_api.transform.v20170705.GetInstanceCountResponseUnmarshaller;
23+
import com.aliyuncs.transform.UnmarshallerContext;
24+
25+
/**
26+
* @author auto create
27+
* @version
28+
*/
29+
public class GetInstanceCountResponse extends AcsResponse {
30+
31+
private String code;
32+
33+
private String message;
34+
35+
private Boolean success;
36+
37+
private String requestId;
38+
39+
private Integer data;
40+
41+
public String getCode() {
42+
return this.code;
43+
}
44+
45+
public void setCode(String code) {
46+
this.code = code;
47+
}
48+
49+
public String getMessage() {
50+
return this.message;
51+
}
52+
53+
public void setMessage(String message) {
54+
this.message = message;
55+
}
56+
57+
public Boolean getSuccess() {
58+
return this.success;
59+
}
60+
61+
public void setSuccess(Boolean success) {
62+
this.success = success;
63+
}
64+
65+
public String getRequestId() {
66+
return this.requestId;
67+
}
68+
69+
public void setRequestId(String requestId) {
70+
this.requestId = requestId;
71+
}
72+
73+
public Integer getData() {
74+
return this.data;
75+
}
76+
77+
public void setData(Integer data) {
78+
this.data = data;
79+
}
80+
81+
@Override
82+
public GetInstanceCountResponse getInstance(UnmarshallerContext context) {
83+
return GetInstanceCountResponseUnmarshaller.unmarshall(this, context);
84+
}
85+
}

0 commit comments

Comments
 (0)