Skip to content

Commit b5c9955

Browse files
committed
Support API GetAICoachCheatDetection.
1 parent e3fbd3d commit b5c9955

File tree

8 files changed

+377
-4
lines changed

8 files changed

+377
-4
lines changed

intelligentcreation-20240313/ChangeLog.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
2025-04-10 Version: 2.13.0
2+
- Support API GetAICoachCheatDetection.
3+
- Update API SelectResource: add response parameters Body.aliyunUid.
4+
5+
16
2025-04-08 Version: 2.12.2
27
- Update API BatchCreateAICoachTask: add request parameters body.studentList.
38
- Update API CreateAICoachTask: add request parameters body.studentAudioUrl.

intelligentcreation-20240313/core/Client.cs

Lines changed: 144 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3877,6 +3877,150 @@ public async Task<FinishAICoachTaskSessionResponse> FinishAICoachTaskSessionAsyn
38773877
return await FinishAICoachTaskSessionWithOptionsAsync(request, headers, runtime);
38783878
}
38793879

3880+
/// <term><b>Summary:</b></term>
3881+
/// <summary>
3882+
/// <para>查询作弊检测详情</para>
3883+
/// </summary>
3884+
///
3885+
/// <param name="request">
3886+
/// GetAICoachCheatDetectionRequest
3887+
/// </param>
3888+
/// <param name="headers">
3889+
/// map
3890+
/// </param>
3891+
/// <param name="runtime">
3892+
/// runtime options for this request RuntimeOptions
3893+
/// </param>
3894+
///
3895+
/// <returns>
3896+
/// GetAICoachCheatDetectionResponse
3897+
/// </returns>
3898+
public GetAICoachCheatDetectionResponse GetAICoachCheatDetectionWithOptions(GetAICoachCheatDetectionRequest request, Dictionary<string, string> headers, AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime)
3899+
{
3900+
AlibabaCloud.TeaUtil.Common.ValidateModel(request);
3901+
Dictionary<string, object> query = new Dictionary<string, object>(){};
3902+
if (!AlibabaCloud.TeaUtil.Common.IsUnset(request.SessionId))
3903+
{
3904+
query["sessionId"] = request.SessionId;
3905+
}
3906+
AlibabaCloud.OpenApiClient.Models.OpenApiRequest req = new AlibabaCloud.OpenApiClient.Models.OpenApiRequest
3907+
{
3908+
Headers = headers,
3909+
Query = AlibabaCloud.OpenApiUtil.Client.Query(query),
3910+
};
3911+
AlibabaCloud.OpenApiClient.Models.Params params_ = new AlibabaCloud.OpenApiClient.Models.Params
3912+
{
3913+
Action = "GetAICoachCheatDetection",
3914+
Version = "2024-03-13",
3915+
Protocol = "HTTPS",
3916+
Pathname = "/yic/yic-console/openService/v1/aicoach/getCheatDetection",
3917+
Method = "GET",
3918+
AuthType = "AK",
3919+
Style = "ROA",
3920+
ReqBodyType = "json",
3921+
BodyType = "json",
3922+
};
3923+
if (AlibabaCloud.TeaUtil.Common.IsUnset(_signatureVersion) || !AlibabaCloud.TeaUtil.Common.EqualString(_signatureVersion, "v4"))
3924+
{
3925+
return TeaModel.ToObject<GetAICoachCheatDetectionResponse>(CallApi(params_, req, runtime));
3926+
}
3927+
else
3928+
{
3929+
return TeaModel.ToObject<GetAICoachCheatDetectionResponse>(Execute(params_, req, runtime));
3930+
}
3931+
}
3932+
3933+
/// <term><b>Summary:</b></term>
3934+
/// <summary>
3935+
/// <para>查询作弊检测详情</para>
3936+
/// </summary>
3937+
///
3938+
/// <param name="request">
3939+
/// GetAICoachCheatDetectionRequest
3940+
/// </param>
3941+
/// <param name="headers">
3942+
/// map
3943+
/// </param>
3944+
/// <param name="runtime">
3945+
/// runtime options for this request RuntimeOptions
3946+
/// </param>
3947+
///
3948+
/// <returns>
3949+
/// GetAICoachCheatDetectionResponse
3950+
/// </returns>
3951+
public async Task<GetAICoachCheatDetectionResponse> GetAICoachCheatDetectionWithOptionsAsync(GetAICoachCheatDetectionRequest request, Dictionary<string, string> headers, AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime)
3952+
{
3953+
AlibabaCloud.TeaUtil.Common.ValidateModel(request);
3954+
Dictionary<string, object> query = new Dictionary<string, object>(){};
3955+
if (!AlibabaCloud.TeaUtil.Common.IsUnset(request.SessionId))
3956+
{
3957+
query["sessionId"] = request.SessionId;
3958+
}
3959+
AlibabaCloud.OpenApiClient.Models.OpenApiRequest req = new AlibabaCloud.OpenApiClient.Models.OpenApiRequest
3960+
{
3961+
Headers = headers,
3962+
Query = AlibabaCloud.OpenApiUtil.Client.Query(query),
3963+
};
3964+
AlibabaCloud.OpenApiClient.Models.Params params_ = new AlibabaCloud.OpenApiClient.Models.Params
3965+
{
3966+
Action = "GetAICoachCheatDetection",
3967+
Version = "2024-03-13",
3968+
Protocol = "HTTPS",
3969+
Pathname = "/yic/yic-console/openService/v1/aicoach/getCheatDetection",
3970+
Method = "GET",
3971+
AuthType = "AK",
3972+
Style = "ROA",
3973+
ReqBodyType = "json",
3974+
BodyType = "json",
3975+
};
3976+
if (AlibabaCloud.TeaUtil.Common.IsUnset(_signatureVersion) || !AlibabaCloud.TeaUtil.Common.EqualString(_signatureVersion, "v4"))
3977+
{
3978+
return TeaModel.ToObject<GetAICoachCheatDetectionResponse>(await CallApiAsync(params_, req, runtime));
3979+
}
3980+
else
3981+
{
3982+
return TeaModel.ToObject<GetAICoachCheatDetectionResponse>(await ExecuteAsync(params_, req, runtime));
3983+
}
3984+
}
3985+
3986+
/// <term><b>Summary:</b></term>
3987+
/// <summary>
3988+
/// <para>查询作弊检测详情</para>
3989+
/// </summary>
3990+
///
3991+
/// <param name="request">
3992+
/// GetAICoachCheatDetectionRequest
3993+
/// </param>
3994+
///
3995+
/// <returns>
3996+
/// GetAICoachCheatDetectionResponse
3997+
/// </returns>
3998+
public GetAICoachCheatDetectionResponse GetAICoachCheatDetection(GetAICoachCheatDetectionRequest request)
3999+
{
4000+
AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime = new AlibabaCloud.TeaUtil.Models.RuntimeOptions();
4001+
Dictionary<string, string> headers = new Dictionary<string, string>(){};
4002+
return GetAICoachCheatDetectionWithOptions(request, headers, runtime);
4003+
}
4004+
4005+
/// <term><b>Summary:</b></term>
4006+
/// <summary>
4007+
/// <para>查询作弊检测详情</para>
4008+
/// </summary>
4009+
///
4010+
/// <param name="request">
4011+
/// GetAICoachCheatDetectionRequest
4012+
/// </param>
4013+
///
4014+
/// <returns>
4015+
/// GetAICoachCheatDetectionResponse
4016+
/// </returns>
4017+
public async Task<GetAICoachCheatDetectionResponse> GetAICoachCheatDetectionAsync(GetAICoachCheatDetectionRequest request)
4018+
{
4019+
AlibabaCloud.TeaUtil.Models.RuntimeOptions runtime = new AlibabaCloud.TeaUtil.Models.RuntimeOptions();
4020+
Dictionary<string, string> headers = new Dictionary<string, string>(){};
4021+
return await GetAICoachCheatDetectionWithOptionsAsync(request, headers, runtime);
4022+
}
4023+
38804024
/// <term><b>Summary:</b></term>
38814025
/// <summary>
38824026
/// <para>查询剧本详情</para>
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
// This file is auto-generated, don't edit it. Thanks.
2+
3+
using System;
4+
using System.Collections.Generic;
5+
using System.IO;
6+
7+
using Tea;
8+
9+
namespace AlibabaCloud.SDK.IntelligentCreation20240313.Models
10+
{
11+
public class GetAICoachCheatDetectionRequest : TeaModel {
12+
/// <summary>
13+
/// <b>Example:</b>
14+
/// <para>79e954faffe2415ebd18188ba787d78e</para>
15+
/// </summary>
16+
[NameInMap("sessionId")]
17+
[Validation(Required=false)]
18+
public string SessionId { get; set; }
19+
20+
}
21+
22+
}
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
// This file is auto-generated, don't edit it. Thanks.
2+
3+
using System;
4+
using System.Collections.Generic;
5+
using System.IO;
6+
7+
using Tea;
8+
9+
namespace AlibabaCloud.SDK.IntelligentCreation20240313.Models
10+
{
11+
public class GetAICoachCheatDetectionResponse : TeaModel {
12+
[NameInMap("headers")]
13+
[Validation(Required=false)]
14+
public Dictionary<string, string> Headers { get; set; }
15+
16+
[NameInMap("statusCode")]
17+
[Validation(Required=false)]
18+
public int? StatusCode { get; set; }
19+
20+
[NameInMap("body")]
21+
[Validation(Required=false)]
22+
public GetAICoachCheatDetectionResponseBody Body { get; set; }
23+
24+
}
25+
26+
}
Lines changed: 172 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,172 @@
1+
// This file is auto-generated, don't edit it. Thanks.
2+
3+
using System;
4+
using System.Collections.Generic;
5+
using System.IO;
6+
7+
using Tea;
8+
9+
namespace AlibabaCloud.SDK.IntelligentCreation20240313.Models
10+
{
11+
public class GetAICoachCheatDetectionResponseBody : TeaModel {
12+
/// <summary>
13+
/// <b>Example:</b>
14+
/// <para>1</para>
15+
/// </summary>
16+
[NameInMap("cheatId")]
17+
[Validation(Required=false)]
18+
public string CheatId { get; set; }
19+
20+
/// <summary>
21+
/// <b>Example:</b>
22+
/// <para>success</para>
23+
/// </summary>
24+
[NameInMap("errorCode")]
25+
[Validation(Required=false)]
26+
public string ErrorCode { get; set; }
27+
28+
[NameInMap("errorMessage")]
29+
[Validation(Required=false)]
30+
public string ErrorMessage { get; set; }
31+
32+
/// <summary>
33+
/// <b>Example:</b>
34+
/// <para>2025-02-24 12:00:00</para>
35+
/// </summary>
36+
[NameInMap("gmtCreate")]
37+
[Validation(Required=false)]
38+
public string GmtCreate { get; set; }
39+
40+
[NameInMap("imageCheat")]
41+
[Validation(Required=false)]
42+
public GetAICoachCheatDetectionResponseBodyImageCheat ImageCheat { get; set; }
43+
public class GetAICoachCheatDetectionResponseBodyImageCheat : TeaModel {
44+
/// <summary>
45+
/// <b>Example:</b>
46+
/// <para>demo</para>
47+
/// </summary>
48+
[NameInMap("desc")]
49+
[Validation(Required=false)]
50+
public string Desc { get; set; }
51+
52+
[NameInMap("list")]
53+
[Validation(Required=false)]
54+
public List<GetAICoachCheatDetectionResponseBodyImageCheatList> List { get; set; }
55+
public class GetAICoachCheatDetectionResponseBodyImageCheatList : TeaModel {
56+
/// <summary>
57+
/// <b>Example:</b>
58+
/// <para>2025-03-22 10:05:07</para>
59+
/// </summary>
60+
[NameInMap("time")]
61+
[Validation(Required=false)]
62+
public string Time { get; set; }
63+
64+
/// <summary>
65+
/// <b>Example:</b>
66+
/// <para><a href="https://demo.com">https://demo.com</a></para>
67+
/// </summary>
68+
[NameInMap("url")]
69+
[Validation(Required=false)]
70+
public string Url { get; set; }
71+
72+
}
73+
74+
/// <summary>
75+
/// <b>Example:</b>
76+
/// <para>1</para>
77+
/// </summary>
78+
[NameInMap("status")]
79+
[Validation(Required=false)]
80+
public int? Status { get; set; }
81+
82+
}
83+
84+
/// <summary>
85+
/// <para>Id of the request</para>
86+
///
87+
/// <b>Example:</b>
88+
/// <para>0E8B1746-AE35-5C4B-A3A8-345B274AE32C</para>
89+
/// </summary>
90+
[NameInMap("requestId")]
91+
[Validation(Required=false)]
92+
public string RequestId { get; set; }
93+
94+
/// <summary>
95+
/// <b>Example:</b>
96+
/// <para>1</para>
97+
/// </summary>
98+
[NameInMap("status")]
99+
[Validation(Required=false)]
100+
public int? Status { get; set; }
101+
102+
/// <summary>
103+
/// <para>true</para>
104+
///
105+
/// <b>Example:</b>
106+
/// <para>True</para>
107+
/// </summary>
108+
[NameInMap("success")]
109+
[Validation(Required=false)]
110+
public bool? Success { get; set; }
111+
112+
[NameInMap("voiceCheat")]
113+
[Validation(Required=false)]
114+
public GetAICoachCheatDetectionResponseBodyVoiceCheat VoiceCheat { get; set; }
115+
public class GetAICoachCheatDetectionResponseBodyVoiceCheat : TeaModel {
116+
[NameInMap("comparisonList")]
117+
[Validation(Required=false)]
118+
public List<GetAICoachCheatDetectionResponseBodyVoiceCheatComparisonList> ComparisonList { get; set; }
119+
public class GetAICoachCheatDetectionResponseBodyVoiceCheatComparisonList : TeaModel {
120+
/// <summary>
121+
/// <b>Example:</b>
122+
/// <para>2024-12-11 10:07:23</para>
123+
/// </summary>
124+
[NameInMap("time")]
125+
[Validation(Required=false)]
126+
public string Time { get; set; }
127+
128+
/// <summary>
129+
/// <b>Example:</b>
130+
/// <para><a href="https://demo.com">https://demo.com</a></para>
131+
/// </summary>
132+
[NameInMap("url")]
133+
[Validation(Required=false)]
134+
public string Url { get; set; }
135+
136+
}
137+
138+
/// <summary>
139+
/// <b>Example:</b>
140+
/// <para>demo</para>
141+
/// </summary>
142+
[NameInMap("desc")]
143+
[Validation(Required=false)]
144+
public string Desc { get; set; }
145+
146+
[NameInMap("originalList")]
147+
[Validation(Required=false)]
148+
public List<GetAICoachCheatDetectionResponseBodyVoiceCheatOriginalList> OriginalList { get; set; }
149+
public class GetAICoachCheatDetectionResponseBodyVoiceCheatOriginalList : TeaModel {
150+
/// <summary>
151+
/// <b>Example:</b>
152+
/// <para><a href="https://demo.com">https://demo.com</a></para>
153+
/// </summary>
154+
[NameInMap("url")]
155+
[Validation(Required=false)]
156+
public string Url { get; set; }
157+
158+
}
159+
160+
/// <summary>
161+
/// <b>Example:</b>
162+
/// <para>1</para>
163+
/// </summary>
164+
[NameInMap("status")]
165+
[Validation(Required=false)]
166+
public int? Status { get; set; }
167+
168+
}
169+
170+
}
171+
172+
}

intelligentcreation-20240313/core/Models/SelectResourceResponseBody.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@
99
namespace AlibabaCloud.SDK.IntelligentCreation20240313.Models
1010
{
1111
public class SelectResourceResponseBody : TeaModel {
12+
[NameInMap("aliyunUid")]
13+
[Validation(Required=false)]
14+
public string AliyunUid { get; set; }
15+
1216
/// <summary>
1317
/// <b>Example:</b>
1418
/// <para>0E8B1746-AE35-5C4B-A3A8-345B274AE32C</para>

0 commit comments

Comments
 (0)