Skip to content

Commit 29ececc

Browse files
committed
New build from amp.
1 parent 3490a92 commit 29ececc

File tree

5 files changed

+120
-1
lines changed

5 files changed

+120
-1
lines changed

aliyun-java-sdk-servicemesh/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2021-03-12 Version: 1.1.0
2+
- New build from amp.
3+
14
2021-03-12 Version: 1.0.8
25
- Generated 2020-01-11 for `servicemesh`.
36

aliyun-java-sdk-servicemesh/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<groupId>com.aliyun</groupId>
55
<artifactId>aliyun-java-sdk-servicemesh</artifactId>
66
<packaging>jar</packaging>
7-
<version>1.0.8</version>
7+
<version>1.1.0</version>
88
<name>aliyun-java-sdk-servicemesh</name>
99
<url>http://www.aliyun.com</url>
1010
<description>Aliyun Open API SDK for Java
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License");
3+
* you may not use this file except in compliance with the License.
4+
* You may obtain a copy of the License at
5+
*
6+
* http://www.apache.org/licenses/LICENSE-2.0
7+
*
8+
* Unless required by applicable law or agreed to in writing, software
9+
* distributed under the License is distributed on an "AS IS" BASIS,
10+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
* See the License for the specific language governing permissions and
12+
* limitations under the License.
13+
*/
14+
15+
package com.aliyuncs.servicemesh.model.v20200111;
16+
17+
import com.aliyuncs.RpcAcsRequest;
18+
import com.aliyuncs.http.MethodType;
19+
import com.aliyuncs.servicemesh.Endpoint;
20+
21+
/**
22+
* @author auto create
23+
* @version
24+
*/
25+
public class InitializeASMRoleRequest extends RpcAcsRequest<InitializeASMRoleResponse> {
26+
27+
public InitializeASMRoleRequest() {
28+
super("servicemesh", "2020-01-11", "InitializeASMRole", "servicemesh");
29+
setMethod(MethodType.POST);
30+
try {
31+
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap);
32+
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType);
33+
} catch (Exception e) {}
34+
}
35+
36+
@Override
37+
public Class<InitializeASMRoleResponse> getResponseClass() {
38+
return InitializeASMRoleResponse.class;
39+
}
40+
41+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License");
3+
* you may not use this file except in compliance with the License.
4+
* You may obtain a copy of the License at
5+
*
6+
* http://www.apache.org/licenses/LICENSE-2.0
7+
*
8+
* Unless required by applicable law or agreed to in writing, software
9+
* distributed under the License is distributed on an "AS IS" BASIS,
10+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
* See the License for the specific language governing permissions and
12+
* limitations under the License.
13+
*/
14+
15+
package com.aliyuncs.servicemesh.model.v20200111;
16+
17+
import com.aliyuncs.AcsResponse;
18+
import com.aliyuncs.servicemesh.transform.v20200111.InitializeASMRoleResponseUnmarshaller;
19+
import com.aliyuncs.transform.UnmarshallerContext;
20+
21+
/**
22+
* @author auto create
23+
* @version
24+
*/
25+
public class InitializeASMRoleResponse extends AcsResponse {
26+
27+
private String requestId;
28+
29+
public String getRequestId() {
30+
return this.requestId;
31+
}
32+
33+
public void setRequestId(String requestId) {
34+
this.requestId = requestId;
35+
}
36+
37+
@Override
38+
public InitializeASMRoleResponse getInstance(UnmarshallerContext context) {
39+
return InitializeASMRoleResponseUnmarshaller.unmarshall(this, context);
40+
}
41+
42+
@Override
43+
public boolean checkShowJsonItemName() {
44+
return false;
45+
}
46+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License");
3+
* you may not use this file except in compliance with the License.
4+
* You may obtain a copy of the License at
5+
*
6+
* http://www.apache.org/licenses/LICENSE-2.0
7+
*
8+
* Unless required by applicable law or agreed to in writing, software
9+
* distributed under the License is distributed on an "AS IS" BASIS,
10+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
* See the License for the specific language governing permissions and
12+
* limitations under the License.
13+
*/
14+
15+
package com.aliyuncs.servicemesh.transform.v20200111;
16+
17+
import com.aliyuncs.servicemesh.model.v20200111.InitializeASMRoleResponse;
18+
import com.aliyuncs.transform.UnmarshallerContext;
19+
20+
21+
public class InitializeASMRoleResponseUnmarshaller {
22+
23+
public static InitializeASMRoleResponse unmarshall(InitializeASMRoleResponse initializeASMRoleResponse, UnmarshallerContext _ctx) {
24+
25+
initializeASMRoleResponse.setRequestId(_ctx.stringValue("InitializeASMRoleResponse.RequestId"));
26+
27+
return initializeASMRoleResponse;
28+
}
29+
}

0 commit comments

Comments
 (0)