Skip to content

Commit 09e2644

Browse files
committed
Add OpenAPI CreateEaiJupyter.
1 parent 741c1dc commit 09e2644

18 files changed

+428
-95
lines changed

CHANGELOG

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
2022-10-10 Version: 2.0.1
2+
- Add OpenAPI CreateEaiJupyter.
3+
- Fixd bugs for OpenAPI DeleteEaiAll.
4+
15
2022-10-08 Version: 3.7.2
26
- Update by SDK platform.
37

aliyun-net-sdk-eais/Eais/Model/V20190624/AttachEaiResponse.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
* under the License.
1818
*/
1919
using System.Collections.Generic;
20-
20+
using Newtonsoft.Json;
2121
using Aliyun.Acs.Core;
2222

2323
namespace Aliyun.Acs.eais.Model.V20190624

aliyun-net-sdk-eais/Eais/Model/V20190624/CreateEaiAllResponse.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
* under the License.
1818
*/
1919
using System.Collections.Generic;
20-
20+
using Newtonsoft.Json;
2121
using Aliyun.Acs.Core;
2222

2323
namespace Aliyun.Acs.eais.Model.V20190624
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,113 @@
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 System.Collections.Generic;
20+
21+
using Aliyun.Acs.Core;
22+
using Aliyun.Acs.Core.Http;
23+
using Aliyun.Acs.Core.Transform;
24+
using Aliyun.Acs.Core.Utils;
25+
using Aliyun.Acs.eais.Transform;
26+
using Aliyun.Acs.eais.Transform.V20190624;
27+
28+
namespace Aliyun.Acs.eais.Model.V20190624
29+
{
30+
public class CreateEaiJupyterRequest : RpcAcsRequest<CreateEaiJupyterResponse>
31+
{
32+
public CreateEaiJupyterRequest()
33+
: base("eais", "2019-06-24", "CreateEaiJupyter", "eais", "openAPI")
34+
{
35+
if (this.GetType().GetProperty("ProductEndpointMap") != null && this.GetType().GetProperty("ProductEndpointType") != null)
36+
{
37+
this.GetType().GetProperty("ProductEndpointMap").SetValue(this, Aliyun.Acs.eais.Endpoint.endpointMap, null);
38+
this.GetType().GetProperty("ProductEndpointType").SetValue(this, Aliyun.Acs.eais.Endpoint.endpointRegionalType, null);
39+
}
40+
Method = MethodType.POST;
41+
}
42+
43+
private string clientToken;
44+
45+
private string securityGroupId;
46+
47+
private string eaisType;
48+
49+
private string vSwitchId;
50+
51+
public string ClientToken
52+
{
53+
get
54+
{
55+
return clientToken;
56+
}
57+
set
58+
{
59+
clientToken = value;
60+
DictionaryUtil.Add(QueryParameters, "ClientToken", value);
61+
}
62+
}
63+
64+
public string SecurityGroupId
65+
{
66+
get
67+
{
68+
return securityGroupId;
69+
}
70+
set
71+
{
72+
securityGroupId = value;
73+
DictionaryUtil.Add(QueryParameters, "SecurityGroupId", value);
74+
}
75+
}
76+
77+
public string EaisType
78+
{
79+
get
80+
{
81+
return eaisType;
82+
}
83+
set
84+
{
85+
eaisType = value;
86+
DictionaryUtil.Add(QueryParameters, "EaisType", value);
87+
}
88+
}
89+
90+
public string VSwitchId
91+
{
92+
get
93+
{
94+
return vSwitchId;
95+
}
96+
set
97+
{
98+
vSwitchId = value;
99+
DictionaryUtil.Add(QueryParameters, "VSwitchId", value);
100+
}
101+
}
102+
103+
public override bool CheckShowJsonItemName()
104+
{
105+
return false;
106+
}
107+
108+
public override CreateEaiJupyterResponse GetResponse(UnmarshallerContext unmarshallerContext)
109+
{
110+
return CreateEaiJupyterResponseUnmarshaller.Unmarshall(unmarshallerContext);
111+
}
112+
}
113+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
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 System.Collections.Generic;
20+
using Newtonsoft.Json;
21+
using Aliyun.Acs.Core;
22+
23+
namespace Aliyun.Acs.eais.Model.V20190624
24+
{
25+
public class CreateEaiJupyterResponse : AcsResponse
26+
{
27+
28+
private string requestId;
29+
30+
private string elasticAcceleratedInstanceId;
31+
32+
public string RequestId
33+
{
34+
get
35+
{
36+
return requestId;
37+
}
38+
set
39+
{
40+
requestId = value;
41+
}
42+
}
43+
44+
public string ElasticAcceleratedInstanceId
45+
{
46+
get
47+
{
48+
return elasticAcceleratedInstanceId;
49+
}
50+
set
51+
{
52+
elasticAcceleratedInstanceId = value;
53+
}
54+
}
55+
}
56+
}

aliyun-net-sdk-eais/Eais/Model/V20190624/CreateEaiRequest.cs

+30
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@ public CreateEaiRequest()
4242

4343
private string clientToken;
4444

45+
private string securityGroupId;
46+
47+
private string vSwitchId;
48+
4549
private string instanceName;
4650

4751
private string instanceType;
@@ -59,6 +63,32 @@ public string ClientToken
5963
}
6064
}
6165

66+
public string SecurityGroupId
67+
{
68+
get
69+
{
70+
return securityGroupId;
71+
}
72+
set
73+
{
74+
securityGroupId = value;
75+
DictionaryUtil.Add(QueryParameters, "SecurityGroupId", value);
76+
}
77+
}
78+
79+
public string VSwitchId
80+
{
81+
get
82+
{
83+
return vSwitchId;
84+
}
85+
set
86+
{
87+
vSwitchId = value;
88+
DictionaryUtil.Add(QueryParameters, "VSwitchId", value);
89+
}
90+
}
91+
6292
public string InstanceName
6393
{
6494
get

aliyun-net-sdk-eais/Eais/Model/V20190624/CreateEaiResponse.cs

+9-9
Original file line numberDiff line numberDiff line change
@@ -17,39 +17,39 @@
1717
* under the License.
1818
*/
1919
using System.Collections.Generic;
20-
20+
using Newtonsoft.Json;
2121
using Aliyun.Acs.Core;
2222

2323
namespace Aliyun.Acs.eais.Model.V20190624
2424
{
2525
public class CreateEaiResponse : AcsResponse
2626
{
2727

28-
private string requestId;
29-
3028
private string elasticAcceleratedInstanceId;
3129

32-
public string RequestId
30+
private string requestId;
31+
32+
public string ElasticAcceleratedInstanceId
3333
{
3434
get
3535
{
36-
return requestId;
36+
return elasticAcceleratedInstanceId;
3737
}
3838
set
3939
{
40-
requestId = value;
40+
elasticAcceleratedInstanceId = value;
4141
}
4242
}
4343

44-
public string ElasticAcceleratedInstanceId
44+
public string RequestId
4545
{
4646
get
4747
{
48-
return elasticAcceleratedInstanceId;
48+
return requestId;
4949
}
5050
set
5151
{
52-
elasticAcceleratedInstanceId = value;
52+
requestId = value;
5353
}
5454
}
5555
}

aliyun-net-sdk-eais/Eais/Model/V20190624/DeleteEaiAllResponse.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
* under the License.
1818
*/
1919
using System.Collections.Generic;
20-
20+
using Newtonsoft.Json;
2121
using Aliyun.Acs.Core;
2222

2323
namespace Aliyun.Acs.eais.Model.V20190624

aliyun-net-sdk-eais/Eais/Model/V20190624/DeleteEaiResponse.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
* under the License.
1818
*/
1919
using System.Collections.Generic;
20-
20+
using Newtonsoft.Json;
2121
using Aliyun.Acs.Core;
2222

2323
namespace Aliyun.Acs.eais.Model.V20190624

aliyun-net-sdk-eais/Eais/Model/V20190624/DescribeEaisRequest.cs

+30
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,12 @@ public DescribeEaisRequest()
4242

4343
private string elasticAcceleratedInstanceIds;
4444

45+
private int? pageNumber;
46+
4547
private string instanceName;
4648

49+
private int? pageSize;
50+
4751
private string instanceType;
4852

4953
private string status;
@@ -61,6 +65,19 @@ public string ElasticAcceleratedInstanceIds
6165
}
6266
}
6367

68+
public int? PageNumber
69+
{
70+
get
71+
{
72+
return pageNumber;
73+
}
74+
set
75+
{
76+
pageNumber = value;
77+
DictionaryUtil.Add(QueryParameters, "PageNumber", value.ToString());
78+
}
79+
}
80+
6481
public string InstanceName
6582
{
6683
get
@@ -74,6 +91,19 @@ public string InstanceName
7491
}
7592
}
7693

94+
public int? PageSize
95+
{
96+
get
97+
{
98+
return pageSize;
99+
}
100+
set
101+
{
102+
pageSize = value;
103+
DictionaryUtil.Add(QueryParameters, "PageSize", value.ToString());
104+
}
105+
}
106+
77107
public string InstanceType
78108
{
79109
get

0 commit comments

Comments
 (0)