Skip to content

Commit 15c41cd

Browse files
committed
Add ListAppInstances Open API.
1 parent 4018cf4 commit 15c41cd

File tree

77 files changed

+9686
-0
lines changed

Some content is hidden

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

77 files changed

+9686
-0
lines changed

CHANGELOG

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2023-03-22 Version: 1.0.0
2+
- Add ListAppInstances Open API.
3+
14
2023-03-22 Version: 1.0.3
25
- Release SegmentLymphNode.
36

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,124 @@
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.appstream_center;
26+
using Aliyun.Acs.appstream_center.Transform;
27+
using Aliyun.Acs.appstream_center.Transform.V20210901;
28+
29+
namespace Aliyun.Acs.appstream_center.Model.V20210901
30+
{
31+
public class ApproveOtaTaskRequest : RpcAcsRequest<ApproveOtaTaskResponse>
32+
{
33+
public ApproveOtaTaskRequest()
34+
: base("appstream-center", "2021-09-01", "ApproveOtaTask")
35+
{
36+
Method = MethodType.POST;
37+
}
38+
39+
private string bizRegionId;
40+
41+
private string otaType;
42+
43+
private string startTime;
44+
45+
private string appInstanceGroupId;
46+
47+
private string taskId;
48+
49+
public string BizRegionId
50+
{
51+
get
52+
{
53+
return bizRegionId;
54+
}
55+
set
56+
{
57+
bizRegionId = value;
58+
DictionaryUtil.Add(BodyParameters, "BizRegionId", value);
59+
}
60+
}
61+
62+
public string OtaType
63+
{
64+
get
65+
{
66+
return otaType;
67+
}
68+
set
69+
{
70+
otaType = value;
71+
DictionaryUtil.Add(BodyParameters, "OtaType", value);
72+
}
73+
}
74+
75+
public string StartTime
76+
{
77+
get
78+
{
79+
return startTime;
80+
}
81+
set
82+
{
83+
startTime = value;
84+
DictionaryUtil.Add(BodyParameters, "StartTime", value);
85+
}
86+
}
87+
88+
public string AppInstanceGroupId
89+
{
90+
get
91+
{
92+
return appInstanceGroupId;
93+
}
94+
set
95+
{
96+
appInstanceGroupId = value;
97+
DictionaryUtil.Add(BodyParameters, "AppInstanceGroupId", value);
98+
}
99+
}
100+
101+
public string TaskId
102+
{
103+
get
104+
{
105+
return taskId;
106+
}
107+
set
108+
{
109+
taskId = value;
110+
DictionaryUtil.Add(BodyParameters, "TaskId", value);
111+
}
112+
}
113+
114+
public override bool CheckShowJsonItemName()
115+
{
116+
return false;
117+
}
118+
119+
public override ApproveOtaTaskResponse GetResponse(UnmarshallerContext unmarshallerContext)
120+
{
121+
return ApproveOtaTaskResponseUnmarshaller.Unmarshall(unmarshallerContext);
122+
}
123+
}
124+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
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.appstream_center.Model.V20210901
24+
{
25+
public class ApproveOtaTaskResponse : AcsResponse
26+
{
27+
28+
private string requestId;
29+
30+
private string code;
31+
32+
private string message;
33+
34+
public string RequestId
35+
{
36+
get
37+
{
38+
return requestId;
39+
}
40+
set
41+
{
42+
requestId = value;
43+
}
44+
}
45+
46+
public string Code
47+
{
48+
get
49+
{
50+
return code;
51+
}
52+
set
53+
{
54+
code = value;
55+
}
56+
}
57+
58+
public string Message
59+
{
60+
get
61+
{
62+
return message;
63+
}
64+
set
65+
{
66+
message = value;
67+
}
68+
}
69+
}
70+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,109 @@
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.appstream_center;
26+
using Aliyun.Acs.appstream_center.Transform;
27+
using Aliyun.Acs.appstream_center.Transform.V20210901;
28+
29+
namespace Aliyun.Acs.appstream_center.Model.V20210901
30+
{
31+
public class AuthorizeInstanceGroupRequest : RpcAcsRequest<AuthorizeInstanceGroupResponse>
32+
{
33+
public AuthorizeInstanceGroupRequest()
34+
: base("appstream-center", "2021-09-01", "AuthorizeInstanceGroup")
35+
{
36+
Method = MethodType.POST;
37+
}
38+
39+
private List<string> unAuthorizeUserIdss = new List<string>(){ };
40+
41+
private string productType;
42+
43+
private string appInstanceGroupId;
44+
45+
private List<string> authorizeUserIdss = new List<string>(){ };
46+
47+
public List<string> UnAuthorizeUserIdss
48+
{
49+
get
50+
{
51+
return unAuthorizeUserIdss;
52+
}
53+
54+
set
55+
{
56+
unAuthorizeUserIdss = value;
57+
}
58+
}
59+
60+
public string ProductType
61+
{
62+
get
63+
{
64+
return productType;
65+
}
66+
set
67+
{
68+
productType = value;
69+
DictionaryUtil.Add(BodyParameters, "ProductType", value);
70+
}
71+
}
72+
73+
public string AppInstanceGroupId
74+
{
75+
get
76+
{
77+
return appInstanceGroupId;
78+
}
79+
set
80+
{
81+
appInstanceGroupId = value;
82+
DictionaryUtil.Add(BodyParameters, "AppInstanceGroupId", value);
83+
}
84+
}
85+
86+
public List<string> AuthorizeUserIdss
87+
{
88+
get
89+
{
90+
return authorizeUserIdss;
91+
}
92+
93+
set
94+
{
95+
authorizeUserIdss = value;
96+
}
97+
}
98+
99+
public override bool CheckShowJsonItemName()
100+
{
101+
return false;
102+
}
103+
104+
public override AuthorizeInstanceGroupResponse GetResponse(UnmarshallerContext unmarshallerContext)
105+
{
106+
return AuthorizeInstanceGroupResponseUnmarshaller.Unmarshall(unmarshallerContext);
107+
}
108+
}
109+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
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.appstream_center.Model.V20210901
24+
{
25+
public class AuthorizeInstanceGroupResponse : AcsResponse
26+
{
27+
28+
private string requestId;
29+
30+
public string RequestId
31+
{
32+
get
33+
{
34+
return requestId;
35+
}
36+
set
37+
{
38+
requestId = value;
39+
}
40+
}
41+
}
42+
}

0 commit comments

Comments
 (0)