Skip to content

Commit

Permalink
AMP Version Change.
Browse files Browse the repository at this point in the history
  • Loading branch information
sdk-team committed Jun 15, 2021
1 parent bd3bdea commit fb49be3
Show file tree
Hide file tree
Showing 42 changed files with 3,292 additions and 384 deletions.
3 changes: 3 additions & 0 deletions bssopenapi-20171214/ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
2021-06-15 Version: 1.0.6
- AMP Version Change.

2021-04-28 Version: 1.0.5
- AMP Version Change.

Expand Down
14 changes: 7 additions & 7 deletions bssopenapi-20171214/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.aliyun</groupId>
<artifactId>bssopenapi20171214</artifactId>
<version>1.0.5</version>
<version>1.0.6</version>
<packaging>jar</packaging>
<name>bssopenapi20171214</name>
<description>Alibaba Cloud BssOpenApi (20171214) SDK for Java
Expand All @@ -25,11 +25,11 @@
<distributionManagement>
<snapshotRepository>
<id>sonatype-nexus-snapshots</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>sonatype-nexus-staging</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
<scm>
Expand All @@ -41,7 +41,7 @@
<dependency>
<groupId>com.aliyun</groupId>
<artifactId>tea-util</artifactId>
<version>0.2.11</version>
<version>0.2.12</version>
</dependency>
<dependency>
<groupId>com.aliyun</groupId>
Expand All @@ -67,12 +67,12 @@
<dependency>
<groupId>com.aliyun</groupId>
<artifactId>tea-openapi</artifactId>
<version>0.0.16</version>
<version>0.0.18</version>
</dependency>
<dependency>
<groupId>com.aliyun</groupId>
<artifactId>openapiutil</artifactId>
<version>0.1.6</version>
<version>0.1.8</version>
</dependency>
</dependencies>
<build>
Expand Down Expand Up @@ -107,7 +107,7 @@
<extensions>true</extensions>
<configuration>
<serverId>sonatype-nexus-staging</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,19 @@ public String getEndpoint(String productId, String regionId, String endpointRule
return com.aliyun.endpointutil.Client.getEndpointRules(productId, regionId, endpointRule, network, suffix);
}

public AddAccountRelationResponse addAccountRelationWithOptions(AddAccountRelationRequest request, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
OpenApiRequest req = OpenApiRequest.build(TeaConverter.buildMap(
new TeaPair("body", com.aliyun.teautil.Common.toMap(request))
));
return TeaModel.toModel(this.doRPCRequest("AddAccountRelation", "2017-12-14", "HTTPS", "POST", "AK", "json", req, runtime), new AddAccountRelationResponse());
}

public AddAccountRelationResponse addAccountRelation(AddAccountRelationRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
return this.addAccountRelationWithOptions(request, runtime);
}

public AllocateCostUnitResourceResponse allocateCostUnitResourceWithOptions(AllocateCostUnitResourceRequest request, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
OpenApiRequest req = OpenApiRequest.build(TeaConverter.buildMap(
Expand Down Expand Up @@ -140,6 +153,19 @@ public ChangeResellerConsumeAmountResponse changeResellerConsumeAmount(ChangeRes
return this.changeResellerConsumeAmountWithOptions(request, runtime);
}

public ConfirmRelationResponse confirmRelationWithOptions(ConfirmRelationRequest request, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
OpenApiRequest req = OpenApiRequest.build(TeaConverter.buildMap(
new TeaPair("body", com.aliyun.teautil.Common.toMap(request))
));
return TeaModel.toModel(this.doRPCRequest("ConfirmRelation", "2017-12-14", "HTTPS", "POST", "AK", "json", req, runtime), new ConfirmRelationResponse());
}

public ConfirmRelationResponse confirmRelation(ConfirmRelationRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
return this.confirmRelationWithOptions(request, runtime);
}

public ConvertChargeTypeResponse convertChargeTypeWithOptions(ConvertChargeTypeRequest request, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
OpenApiRequest req = OpenApiRequest.build(TeaConverter.buildMap(
Expand Down Expand Up @@ -244,6 +270,32 @@ public DescribeInstanceBillResponse describeInstanceBill(DescribeInstanceBillReq
return this.describeInstanceBillWithOptions(request, runtime);
}

public DescribeResourceCoverageDetailResponse describeResourceCoverageDetailWithOptions(DescribeResourceCoverageDetailRequest request, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
OpenApiRequest req = OpenApiRequest.build(TeaConverter.buildMap(
new TeaPair("body", com.aliyun.teautil.Common.toMap(request))
));
return TeaModel.toModel(this.doRPCRequest("DescribeResourceCoverageDetail", "2017-12-14", "HTTPS", "POST", "AK", "json", req, runtime), new DescribeResourceCoverageDetailResponse());
}

public DescribeResourceCoverageDetailResponse describeResourceCoverageDetail(DescribeResourceCoverageDetailRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
return this.describeResourceCoverageDetailWithOptions(request, runtime);
}

public DescribeResourceCoverageTotalResponse describeResourceCoverageTotalWithOptions(DescribeResourceCoverageTotalRequest request, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
OpenApiRequest req = OpenApiRequest.build(TeaConverter.buildMap(
new TeaPair("body", com.aliyun.teautil.Common.toMap(request))
));
return TeaModel.toModel(this.doRPCRequest("DescribeResourceCoverageTotal", "2017-12-14", "HTTPS", "POST", "AK", "json", req, runtime), new DescribeResourceCoverageTotalResponse());
}

public DescribeResourceCoverageTotalResponse describeResourceCoverageTotal(DescribeResourceCoverageTotalRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
return this.describeResourceCoverageTotalWithOptions(request, runtime);
}

public DescribeResourcePackageProductResponse describeResourcePackageProductWithOptions(DescribeResourcePackageProductRequest request, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
OpenApiRequest req = OpenApiRequest.build(TeaConverter.buildMap(
Expand All @@ -257,6 +309,32 @@ public DescribeResourcePackageProductResponse describeResourcePackageProduct(Des
return this.describeResourcePackageProductWithOptions(request, runtime);
}

public DescribeResourceUsageDetailResponse describeResourceUsageDetailWithOptions(DescribeResourceUsageDetailRequest request, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
OpenApiRequest req = OpenApiRequest.build(TeaConverter.buildMap(
new TeaPair("body", com.aliyun.teautil.Common.toMap(request))
));
return TeaModel.toModel(this.doRPCRequest("DescribeResourceUsageDetail", "2017-12-14", "HTTPS", "POST", "AK", "json", req, runtime), new DescribeResourceUsageDetailResponse());
}

public DescribeResourceUsageDetailResponse describeResourceUsageDetail(DescribeResourceUsageDetailRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
return this.describeResourceUsageDetailWithOptions(request, runtime);
}

public DescribeResourceUsageTotalResponse describeResourceUsageTotalWithOptions(DescribeResourceUsageTotalRequest request, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
OpenApiRequest req = OpenApiRequest.build(TeaConverter.buildMap(
new TeaPair("body", com.aliyun.teautil.Common.toMap(request))
));
return TeaModel.toModel(this.doRPCRequest("DescribeResourceUsageTotal", "2017-12-14", "HTTPS", "POST", "AK", "json", req, runtime), new DescribeResourceUsageTotalResponse());
}

public DescribeResourceUsageTotalResponse describeResourceUsageTotal(DescribeResourceUsageTotalRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
return this.describeResourceUsageTotalWithOptions(request, runtime);
}

public DescribeSplitItemBillResponse describeSplitItemBillWithOptions(DescribeSplitItemBillRequest request, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
OpenApiRequest req = OpenApiRequest.build(TeaConverter.buildMap(
Expand Down Expand Up @@ -358,6 +436,19 @@ public GetSubscriptionPriceResponse getSubscriptionPrice(GetSubscriptionPriceReq
return this.getSubscriptionPriceWithOptions(request, runtime);
}

public ModifyAccountRelationResponse modifyAccountRelationWithOptions(ModifyAccountRelationRequest request, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
OpenApiRequest req = OpenApiRequest.build(TeaConverter.buildMap(
new TeaPair("body", com.aliyun.teautil.Common.toMap(request))
));
return TeaModel.toModel(this.doRPCRequest("ModifyAccountRelation", "2017-12-14", "HTTPS", "POST", "AK", "json", req, runtime), new ModifyAccountRelationResponse());
}

public ModifyAccountRelationResponse modifyAccountRelation(ModifyAccountRelationRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
return this.modifyAccountRelationWithOptions(request, runtime);
}

public ModifyCostUnitResponse modifyCostUnitWithOptions(ModifyCostUnitRequest request, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
OpenApiRequest req = OpenApiRequest.build(TeaConverter.buildMap(
Expand Down Expand Up @@ -534,6 +625,19 @@ public QueryCustomerAddressListResponse queryCustomerAddressList(QueryCustomerAd
return this.queryCustomerAddressListWithOptions(request, runtime);
}

public QueryDPUtilizationDetailResponse queryDPUtilizationDetailWithOptions(QueryDPUtilizationDetailRequest request, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
OpenApiRequest req = OpenApiRequest.build(TeaConverter.buildMap(
new TeaPair("body", com.aliyun.teautil.Common.toMap(request))
));
return TeaModel.toModel(this.doRPCRequest("QueryDPUtilizationDetail", "2017-12-14", "HTTPS", "POST", "AK", "json", req, runtime), new QueryDPUtilizationDetailResponse());
}

public QueryDPUtilizationDetailResponse queryDPUtilizationDetail(QueryDPUtilizationDetailRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
return this.queryDPUtilizationDetailWithOptions(request, runtime);
}

public QueryEvaluateListResponse queryEvaluateListWithOptions(QueryEvaluateListRequest request, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
OpenApiRequest req = OpenApiRequest.build(TeaConverter.buildMap(
Expand Down Expand Up @@ -821,6 +925,19 @@ public QueryUserOmsDataResponse queryUserOmsData(QueryUserOmsDataRequest request
return this.queryUserOmsDataWithOptions(request, runtime);
}

public RelieveAccountRelationResponse relieveAccountRelationWithOptions(RelieveAccountRelationRequest request, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
OpenApiRequest req = OpenApiRequest.build(TeaConverter.buildMap(
new TeaPair("body", com.aliyun.teautil.Common.toMap(request))
));
return TeaModel.toModel(this.doRPCRequest("RelieveAccountRelation", "2017-12-14", "HTTPS", "POST", "AK", "json", req, runtime), new RelieveAccountRelationResponse());
}

public RelieveAccountRelationResponse relieveAccountRelation(RelieveAccountRelationRequest request) throws Exception {
RuntimeOptions runtime = new RuntimeOptions();
return this.relieveAccountRelationWithOptions(request, runtime);
}

public RenewInstanceResponse renewInstanceWithOptions(RenewInstanceRequest request, RuntimeOptions runtime) throws Exception {
com.aliyun.teautil.Common.validateModel(request);
OpenApiRequest req = OpenApiRequest.build(TeaConverter.buildMap(
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.bssopenapi20171214.models;

import com.aliyun.tea.*;

public class AddAccountRelationRequest extends TeaModel {
@NameInMap("RelationType")
public String relationType;

@NameInMap("ParentUserId")
public Long parentUserId;

@NameInMap("ChildNick")
public String childNick;

@NameInMap("ChildUserId")
public Long childUserId;

@NameInMap("RequestId")
public String requestId;

@NameInMap("PermissionCodes")
public java.util.List<String> permissionCodes;

@NameInMap("RoleCodes")
public java.util.List<String> roleCodes;

public static AddAccountRelationRequest build(java.util.Map<String, ?> map) throws Exception {
AddAccountRelationRequest self = new AddAccountRelationRequest();
return TeaModel.build(map, self);
}

public AddAccountRelationRequest setRelationType(String relationType) {
this.relationType = relationType;
return this;
}
public String getRelationType() {
return this.relationType;
}

public AddAccountRelationRequest setParentUserId(Long parentUserId) {
this.parentUserId = parentUserId;
return this;
}
public Long getParentUserId() {
return this.parentUserId;
}

public AddAccountRelationRequest setChildNick(String childNick) {
this.childNick = childNick;
return this;
}
public String getChildNick() {
return this.childNick;
}

public AddAccountRelationRequest setChildUserId(Long childUserId) {
this.childUserId = childUserId;
return this;
}
public Long getChildUserId() {
return this.childUserId;
}

public AddAccountRelationRequest setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}

public AddAccountRelationRequest setPermissionCodes(java.util.List<String> permissionCodes) {
this.permissionCodes = permissionCodes;
return this;
}
public java.util.List<String> getPermissionCodes() {
return this.permissionCodes;
}

public AddAccountRelationRequest setRoleCodes(java.util.List<String> roleCodes) {
this.roleCodes = roleCodes;
return this;
}
public java.util.List<String> getRoleCodes() {
return this.roleCodes;
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.bssopenapi20171214.models;

import com.aliyun.tea.*;

public class AddAccountRelationResponse extends TeaModel {
@NameInMap("headers")
@Validation(required = true)
public java.util.Map<String, String> headers;

@NameInMap("body")
@Validation(required = true)
public AddAccountRelationResponseBody body;

public static AddAccountRelationResponse build(java.util.Map<String, ?> map) throws Exception {
AddAccountRelationResponse self = new AddAccountRelationResponse();
return TeaModel.build(map, self);
}

public AddAccountRelationResponse setHeaders(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
public java.util.Map<String, String> getHeaders() {
return this.headers;
}

public AddAccountRelationResponse setBody(AddAccountRelationResponseBody body) {
this.body = body;
return this;
}
public AddAccountRelationResponseBody getBody() {
return this.body;
}

}
Loading

0 comments on commit fb49be3

Please sign in to comment.