Skip to content

Commit 222a147

Browse files
author
邵士涛
committed
feat: auto generate for shaoshitao_test
1 parent c3c0e64 commit 222a147

File tree

146 files changed

+142
-697
lines changed

Some content is hidden

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

146 files changed

+142
-697
lines changed

volcengine-java-sdk-alb/src/main/java/com/volcengine/alb/AlbApi.java

Lines changed: 0 additions & 126 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,6 @@
8181
import com.volcengine.alb.model.DescribeListenersResponse;
8282
import com.volcengine.alb.model.DescribeLoadBalancerAttributesRequest;
8383
import com.volcengine.alb.model.DescribeLoadBalancerAttributesResponse;
84-
import com.volcengine.alb.model.DescribeLoadBalancerSpecsRequest;
85-
import com.volcengine.alb.model.DescribeLoadBalancerSpecsResponse;
8684
import com.volcengine.alb.model.DescribeLoadBalancersRequest;
8785
import com.volcengine.alb.model.DescribeLoadBalancersResponse;
8886
import com.volcengine.alb.model.DescribeRulesRequest;
@@ -3499,130 +3497,6 @@ public void onRequestProgress(long bytesWritten, long contentLength, boolean don
34993497
apiClient.executeAsync(call, localVarReturnType, callback);
35003498
return call;
35013499
}
3502-
/**
3503-
* Build call for describeLoadBalancerSpecs
3504-
* @param body (required)
3505-
* @param progressListener Progress listener
3506-
* @param progressRequestListener Progress request listener
3507-
* @return Call to execute
3508-
* @throws ApiException If fail to serialize the request body object
3509-
*/
3510-
public com.squareup.okhttp.Call describeLoadBalancerSpecsCall(DescribeLoadBalancerSpecsRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
3511-
Object localVarPostBody = body;
3512-
3513-
// create path and map variables
3514-
String localVarPath = "/DescribeLoadBalancerSpecs/2020-04-01/alb/get/";
3515-
3516-
List<Pair> localVarQueryParams = new ArrayList<Pair>();
3517-
List<Pair> localVarCollectionQueryParams = new ArrayList<Pair>();
3518-
3519-
Map<String, String> localVarHeaderParams = new HashMap<String, String>();
3520-
3521-
Map<String, Object> localVarFormParams = new HashMap<String, Object>();
3522-
3523-
final String[] localVarAccepts = {
3524-
"application/json"
3525-
};
3526-
final String localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
3527-
if (localVarAccept != null) localVarHeaderParams.put("Accept", localVarAccept);
3528-
3529-
final String[] localVarContentTypes = {
3530-
"text/plain"
3531-
};
3532-
final String localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
3533-
localVarHeaderParams.put("Content-Type", localVarContentType);
3534-
3535-
if(progressListener != null) {
3536-
apiClient.getHttpClient().networkInterceptors().add(new com.squareup.okhttp.Interceptor() {
3537-
@Override
3538-
public com.squareup.okhttp.Response intercept(com.squareup.okhttp.Interceptor.Chain chain) throws IOException {
3539-
com.squareup.okhttp.Response originalResponse = chain.proceed(chain.request());
3540-
return originalResponse.newBuilder()
3541-
.body(new ProgressResponseBody(originalResponse.body(), progressListener))
3542-
.build();
3543-
}
3544-
});
3545-
}
3546-
3547-
String[] localVarAuthNames = new String[] { "volcengineSign" };
3548-
return apiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarAuthNames, progressRequestListener);
3549-
}
3550-
3551-
@SuppressWarnings("rawtypes")
3552-
private com.squareup.okhttp.Call describeLoadBalancerSpecsValidateBeforeCall(DescribeLoadBalancerSpecsRequest body, final ProgressResponseBody.ProgressListener progressListener, final ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException {
3553-
// verify the required parameter 'body' is set
3554-
if (body == null) {
3555-
throw new ApiException("Missing the required parameter 'body' when calling describeLoadBalancerSpecs(Async)");
3556-
}
3557-
3558-
com.squareup.okhttp.Call call = describeLoadBalancerSpecsCall(body, progressListener, progressRequestListener);
3559-
return call;
3560-
3561-
3562-
3563-
3564-
3565-
}
3566-
3567-
/**
3568-
*
3569-
*
3570-
* @param body (required)
3571-
* @return DescribeLoadBalancerSpecsResponse
3572-
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
3573-
*/
3574-
public DescribeLoadBalancerSpecsResponse describeLoadBalancerSpecs(DescribeLoadBalancerSpecsRequest body) throws ApiException {
3575-
ApiResponse<DescribeLoadBalancerSpecsResponse> resp = describeLoadBalancerSpecsWithHttpInfo(body);
3576-
return resp.getData();
3577-
}
3578-
3579-
/**
3580-
*
3581-
*
3582-
* @param body (required)
3583-
* @return ApiResponse&lt;DescribeLoadBalancerSpecsResponse&gt;
3584-
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
3585-
*/
3586-
public ApiResponse<DescribeLoadBalancerSpecsResponse> describeLoadBalancerSpecsWithHttpInfo( @NotNull DescribeLoadBalancerSpecsRequest body) throws ApiException {
3587-
com.squareup.okhttp.Call call = describeLoadBalancerSpecsValidateBeforeCall(body, null, null);
3588-
Type localVarReturnType = new TypeToken<DescribeLoadBalancerSpecsResponse>(){}.getType();
3589-
return apiClient.execute(call, localVarReturnType);
3590-
}
3591-
3592-
/**
3593-
* (asynchronously)
3594-
*
3595-
* @param body (required)
3596-
* @param callback The callback to be executed when the API call finishes
3597-
* @return The request call
3598-
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
3599-
*/
3600-
public com.squareup.okhttp.Call describeLoadBalancerSpecsAsync(DescribeLoadBalancerSpecsRequest body, final ApiCallback<DescribeLoadBalancerSpecsResponse> callback) throws ApiException {
3601-
3602-
ProgressResponseBody.ProgressListener progressListener = null;
3603-
ProgressRequestBody.ProgressRequestListener progressRequestListener = null;
3604-
3605-
if (callback != null) {
3606-
progressListener = new ProgressResponseBody.ProgressListener() {
3607-
@Override
3608-
public void update(long bytesRead, long contentLength, boolean done) {
3609-
callback.onDownloadProgress(bytesRead, contentLength, done);
3610-
}
3611-
};
3612-
3613-
progressRequestListener = new ProgressRequestBody.ProgressRequestListener() {
3614-
@Override
3615-
public void onRequestProgress(long bytesWritten, long contentLength, boolean done) {
3616-
callback.onUploadProgress(bytesWritten, contentLength, done);
3617-
}
3618-
};
3619-
}
3620-
3621-
com.squareup.okhttp.Call call = describeLoadBalancerSpecsValidateBeforeCall(body, progressListener, progressRequestListener);
3622-
Type localVarReturnType = new TypeToken<DescribeLoadBalancerSpecsResponse>(){}.getType();
3623-
apiClient.executeAsync(call, localVarReturnType, callback);
3624-
return call;
3625-
}
36263500
/**
36273501
* Build call for describeLoadBalancers
36283502
* @param body (required)

volcengine-java-sdk-alb/src/main/java/com/volcengine/alb/model/AccessLogForDescribeLoadBalancerAttributesOutput.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
* AccessLogForDescribeLoadBalancerAttributesOutput
2828
*/
2929

30-
@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-08-31T15:08:51.023818+08:00[Asia/Shanghai]")
30+
@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-08-31T15:50:05.609740+08:00[Asia/Shanghai]")
3131
public class AccessLogForDescribeLoadBalancerAttributesOutput {
3232
@SerializedName("BucketName")
3333
private String bucketName = null;

volcengine-java-sdk-alb/src/main/java/com/volcengine/alb/model/AclEntryForAddAclEntriesInput.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
* AclEntryForAddAclEntriesInput
2828
*/
2929

30-
@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-08-31T15:08:51.023818+08:00[Asia/Shanghai]")
30+
@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-08-31T15:50:05.609740+08:00[Asia/Shanghai]")
3131
public class AclEntryForAddAclEntriesInput {
3232
@SerializedName("Description")
3333
private String description = null;

volcengine-java-sdk-alb/src/main/java/com/volcengine/alb/model/AclEntryForDescribeAclAttributesOutput.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
* AclEntryForDescribeAclAttributesOutput
2828
*/
2929

30-
@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-08-31T15:08:51.023818+08:00[Asia/Shanghai]")
30+
@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-08-31T15:50:05.609740+08:00[Asia/Shanghai]")
3131
public class AclEntryForDescribeAclAttributesOutput {
3232
@SerializedName("Description")
3333
private String description = null;

volcengine-java-sdk-alb/src/main/java/com/volcengine/alb/model/AclForDescribeAclsOutput.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
* AclForDescribeAclsOutput
3030
*/
3131

32-
@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-08-31T15:08:51.023818+08:00[Asia/Shanghai]")
32+
@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-08-31T15:50:05.609740+08:00[Asia/Shanghai]")
3333
public class AclForDescribeAclsOutput {
3434
@SerializedName("AclEntryCount")
3535
private Integer aclEntryCount = null;

volcengine-java-sdk-alb/src/main/java/com/volcengine/alb/model/AddAclEntriesRequest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
* AddAclEntriesRequest
3131
*/
3232

33-
@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-08-31T15:08:51.023818+08:00[Asia/Shanghai]")
33+
@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-08-31T15:50:05.609740+08:00[Asia/Shanghai]")
3434
public class AddAclEntriesRequest {
3535
@SerializedName("AclEntries")
3636
private List<AclEntryForAddAclEntriesInput> aclEntries = null;

volcengine-java-sdk-alb/src/main/java/com/volcengine/alb/model/AddAclEntriesResponse.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
* AddAclEntriesResponse
2828
*/
2929

30-
@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-08-31T15:08:51.023818+08:00[Asia/Shanghai]")
30+
@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-08-31T15:50:05.609740+08:00[Asia/Shanghai]")
3131
public class AddAclEntriesResponse {
3232
@SerializedName("RequestId")
3333
private String requestId = null;

volcengine-java-sdk-alb/src/main/java/com/volcengine/alb/model/AddServerGroupBackendServersRequest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
* AddServerGroupBackendServersRequest
3131
*/
3232

33-
@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-08-31T15:08:51.023818+08:00[Asia/Shanghai]")
33+
@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-08-31T15:50:05.609740+08:00[Asia/Shanghai]")
3434
public class AddServerGroupBackendServersRequest {
3535
@SerializedName("ServerGroupId")
3636
private String serverGroupId = null;

volcengine-java-sdk-alb/src/main/java/com/volcengine/alb/model/AddServerGroupBackendServersResponse.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
* AddServerGroupBackendServersResponse
3030
*/
3131

32-
@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-08-31T15:08:51.023818+08:00[Asia/Shanghai]")
32+
@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-08-31T15:50:05.609740+08:00[Asia/Shanghai]")
3333
public class AddServerGroupBackendServersResponse {
3434
@SerializedName("RequestId")
3535
private String requestId = null;

volcengine-java-sdk-alb/src/main/java/com/volcengine/alb/model/CertificateForDescribeCertificatesOutput.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
* CertificateForDescribeCertificatesOutput
3030
*/
3131

32-
@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-08-31T15:08:51.023818+08:00[Asia/Shanghai]")
32+
@javax.annotation.Generated(value = "io.swagger.codegen.v3.generators.java.JavaClientCodegen", date = "2022-08-31T15:50:05.609740+08:00[Asia/Shanghai]")
3333
public class CertificateForDescribeCertificatesOutput {
3434
@SerializedName("CertificateId")
3535
private String certificateId = null;

0 commit comments

Comments
 (0)