Skip to content

Commit

Permalink
Supported API For ECS.
Browse files Browse the repository at this point in the history
  • Loading branch information
sdk-team committed Jul 1, 2023
1 parent ec95f89 commit f03d83c
Show file tree
Hide file tree
Showing 5 changed files with 618 additions and 1 deletion.
9 changes: 9 additions & 0 deletions aliyun-java-sdk-sas/ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
2023-07-01 Version: 1.1.35
- Supported API For ECS.
- Service online.
- Fixed bugs for Container.
- Supported Global Param.
- Support lable.
- Fixed bugs for tags.
- Support security score rule.

2023-06-24 Version: 1.1.34
- Supported ListInstanceRiskNum For Ecs.
- Supported ListInstanceRiskLevels For ECS.
Expand Down
2 changes: 1 addition & 1 deletion aliyun-java-sdk-sas/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<groupId>com.aliyun</groupId>
<artifactId>aliyun-java-sdk-sas</artifactId>
<packaging>jar</packaging>
<version>1.1.34</version>
<version>1.1.35</version>
<name>aliyun-java-sdk-sas</name>
<url>http://www.aliyun.com</url>
<description>Aliyun Open API SDK for Java
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package com.aliyuncs.sas.model.v20181203;

import com.aliyuncs.RpcAcsRequest;
import java.util.List;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.sas.Endpoint;

/**
* @author auto create
* @version
*/
public class GetClientRatioStatisticRequest extends RpcAcsRequest<GetClientRatioStatisticResponse> {


private Long timeEnd;

private List<String> statisticTypes;

private Long timeStart;
public GetClientRatioStatisticRequest() {
super("Sas", "2018-12-03", "GetClientRatioStatistic", "sas");
setMethod(MethodType.POST);
try {
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}

public Long getTimeEnd() {
return this.timeEnd;
}

public void setTimeEnd(Long timeEnd) {
this.timeEnd = timeEnd;
if(timeEnd != null){
putQueryParameter("TimeEnd", timeEnd.toString());
}
}

public List<String> getStatisticTypes() {
return this.statisticTypes;
}

public void setStatisticTypes(List<String> statisticTypes) {
this.statisticTypes = statisticTypes;
if (statisticTypes != null) {
for (int depth1 = 0; depth1 < statisticTypes.size(); depth1++) {
putQueryParameter("StatisticTypes." + (depth1 + 1) , statisticTypes.get(depth1));
}
}
}

public Long getTimeStart() {
return this.timeStart;
}

public void setTimeStart(Long timeStart) {
this.timeStart = timeStart;
if(timeStart != null){
putQueryParameter("TimeStart", timeStart.toString());
}
}

@Override
public Class<GetClientRatioStatisticResponse> getResponseClass() {
return GetClientRatioStatisticResponse.class;
}

}
Loading

0 comments on commit f03d83c

Please sign in to comment.