Skip to content

Commit 143598e

Browse files
committed
OTS SDK Auto Released By wanhong.chenwh,Version:4.0.0
发布日志: 1, The official release 4.0.0
1 parent feacbb3 commit 143598e

Some content is hidden

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

42 files changed

+3860
-0
lines changed

aliyun-net-sdk-ots/ChangeLog.txt

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
2018-08-08 Version: 4.0.0
2+
1, The official release 4.0.0
3+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,177 @@
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+
using Aliyun.Acs.Core;
20+
using Aliyun.Acs.Core.Http;
21+
using Aliyun.Acs.Core.Transform;
22+
using Aliyun.Acs.Core.Utils;
23+
using Aliyun.Acs.Ots.Transform;
24+
using Aliyun.Acs.Ots.Transform.V20160620;
25+
using System.Collections.Generic;
26+
27+
namespace Aliyun.Acs.Ots.Model.V20160620
28+
{
29+
public class BindInstance2VpcRequest : RpcAcsRequest<BindInstance2VpcResponse>
30+
{
31+
public BindInstance2VpcRequest()
32+
: base("Ots", "2016-06-20", "BindInstance2Vpc", "ots", "openAPI")
33+
{
34+
Method = MethodType.POST;
35+
}
36+
37+
private string access_key_id;
38+
39+
private string instanceVpcName;
40+
41+
private long? resourceOwnerId;
42+
43+
private string instanceName;
44+
45+
private string vpcId;
46+
47+
private string action;
48+
49+
private string virtualSwitchId;
50+
51+
private string regionNo;
52+
53+
private string network;
54+
55+
public string Access_key_id
56+
{
57+
get
58+
{
59+
return access_key_id;
60+
}
61+
set
62+
{
63+
access_key_id = value;
64+
DictionaryUtil.Add(QueryParameters, "access_key_id", value);
65+
}
66+
}
67+
68+
public string InstanceVpcName
69+
{
70+
get
71+
{
72+
return instanceVpcName;
73+
}
74+
set
75+
{
76+
instanceVpcName = value;
77+
DictionaryUtil.Add(QueryParameters, "InstanceVpcName", value);
78+
}
79+
}
80+
81+
public long? ResourceOwnerId
82+
{
83+
get
84+
{
85+
return resourceOwnerId;
86+
}
87+
set
88+
{
89+
resourceOwnerId = value;
90+
DictionaryUtil.Add(QueryParameters, "ResourceOwnerId", value.ToString());
91+
}
92+
}
93+
94+
public string InstanceName
95+
{
96+
get
97+
{
98+
return instanceName;
99+
}
100+
set
101+
{
102+
instanceName = value;
103+
DictionaryUtil.Add(QueryParameters, "InstanceName", value);
104+
}
105+
}
106+
107+
public string VpcId
108+
{
109+
get
110+
{
111+
return vpcId;
112+
}
113+
set
114+
{
115+
vpcId = value;
116+
DictionaryUtil.Add(QueryParameters, "VpcId", value);
117+
}
118+
}
119+
120+
public string Action
121+
{
122+
get
123+
{
124+
return action;
125+
}
126+
set
127+
{
128+
action = value;
129+
DictionaryUtil.Add(QueryParameters, "Action", value);
130+
}
131+
}
132+
133+
public string VirtualSwitchId
134+
{
135+
get
136+
{
137+
return virtualSwitchId;
138+
}
139+
set
140+
{
141+
virtualSwitchId = value;
142+
DictionaryUtil.Add(QueryParameters, "VirtualSwitchId", value);
143+
}
144+
}
145+
146+
public string RegionNo
147+
{
148+
get
149+
{
150+
return regionNo;
151+
}
152+
set
153+
{
154+
regionNo = value;
155+
DictionaryUtil.Add(QueryParameters, "RegionNo", value);
156+
}
157+
}
158+
159+
public string Network
160+
{
161+
get
162+
{
163+
return network;
164+
}
165+
set
166+
{
167+
network = value;
168+
DictionaryUtil.Add(QueryParameters, "Network", value);
169+
}
170+
}
171+
172+
public override BindInstance2VpcResponse GetResponse(Core.Transform.UnmarshallerContext unmarshallerContext)
173+
{
174+
return BindInstance2VpcResponseUnmarshaller.Unmarshall(unmarshallerContext);
175+
}
176+
}
177+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
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+
using Aliyun.Acs.Core;
20+
using System.Collections.Generic;
21+
22+
namespace Aliyun.Acs.Ots.Model.V20160620
23+
{
24+
public class BindInstance2VpcResponse : AcsResponse
25+
{
26+
27+
private string requestId;
28+
29+
private string endpoint;
30+
31+
private string domain;
32+
33+
public string RequestId
34+
{
35+
get
36+
{
37+
return requestId;
38+
}
39+
set
40+
{
41+
requestId = value;
42+
}
43+
}
44+
45+
public string Endpoint
46+
{
47+
get
48+
{
49+
return endpoint;
50+
}
51+
set
52+
{
53+
endpoint = value;
54+
}
55+
}
56+
57+
public string Domain
58+
{
59+
get
60+
{
61+
return domain;
62+
}
63+
set
64+
{
65+
domain = value;
66+
}
67+
}
68+
}
69+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,102 @@
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+
using Aliyun.Acs.Core;
20+
using Aliyun.Acs.Core.Http;
21+
using Aliyun.Acs.Core.Transform;
22+
using Aliyun.Acs.Core.Utils;
23+
using Aliyun.Acs.Ots.Transform;
24+
using Aliyun.Acs.Ots.Transform.V20160620;
25+
using System.Collections.Generic;
26+
27+
namespace Aliyun.Acs.Ots.Model.V20160620
28+
{
29+
public class DeleteInstanceRequest : RpcAcsRequest<DeleteInstanceResponse>
30+
{
31+
public DeleteInstanceRequest()
32+
: base("Ots", "2016-06-20", "DeleteInstance", "ots", "openAPI")
33+
{
34+
Method = MethodType.POST;
35+
}
36+
37+
private string access_key_id;
38+
39+
private long? resourceOwnerId;
40+
41+
private string instanceName;
42+
43+
private string action;
44+
45+
public string Access_key_id
46+
{
47+
get
48+
{
49+
return access_key_id;
50+
}
51+
set
52+
{
53+
access_key_id = value;
54+
DictionaryUtil.Add(QueryParameters, "access_key_id", value);
55+
}
56+
}
57+
58+
public long? ResourceOwnerId
59+
{
60+
get
61+
{
62+
return resourceOwnerId;
63+
}
64+
set
65+
{
66+
resourceOwnerId = value;
67+
DictionaryUtil.Add(QueryParameters, "ResourceOwnerId", value.ToString());
68+
}
69+
}
70+
71+
public string InstanceName
72+
{
73+
get
74+
{
75+
return instanceName;
76+
}
77+
set
78+
{
79+
instanceName = value;
80+
DictionaryUtil.Add(QueryParameters, "InstanceName", value);
81+
}
82+
}
83+
84+
public string Action
85+
{
86+
get
87+
{
88+
return action;
89+
}
90+
set
91+
{
92+
action = value;
93+
DictionaryUtil.Add(QueryParameters, "Action", value);
94+
}
95+
}
96+
97+
public override DeleteInstanceResponse GetResponse(Core.Transform.UnmarshallerContext unmarshallerContext)
98+
{
99+
return DeleteInstanceResponseUnmarshaller.Unmarshall(unmarshallerContext);
100+
}
101+
}
102+
}

0 commit comments

Comments
 (0)