Skip to content

Commit 77f366f

Browse files
committed
Support API ApplyTempStorageLease.
1 parent 77bc5d2 commit 77f366f

25 files changed

+1044
-147
lines changed

bailian-20231229/ChangeLog.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
2025-11-04 Version: 2.6.0
2+
- Support API ApplyTempStorageLease.
3+
4+
15
2025-09-20 Version: 2.5.0
26
- Support API ChangeParseSetting.
37
- Support API GetAvailableParserTypes.

bailian-20231229/core/Client.cs

Lines changed: 382 additions & 48 deletions
Large diffs are not rendered by default.
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
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.Bailian20231229.Models
10+
{
11+
public class ApplyTempStorageLeaseRequest : TeaModel {
12+
/// <summary>
13+
/// <para>This parameter is required.</para>
14+
///
15+
/// <b>Example:</b>
16+
/// <para>example.txt</para>
17+
/// </summary>
18+
[NameInMap("FileName")]
19+
[Validation(Required=false)]
20+
public string FileName { get; set; }
21+
22+
/// <summary>
23+
/// <para>This parameter is required.</para>
24+
///
25+
/// <b>Example:</b>
26+
/// <para>1024</para>
27+
/// </summary>
28+
[NameInMap("SizeInBytes")]
29+
[Validation(Required=false)]
30+
public long? SizeInBytes { get; set; }
31+
32+
}
33+
34+
}
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.Bailian20231229.Models
10+
{
11+
public class ApplyTempStorageLeaseResponse : 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 ApplyTempStorageLeaseResponseBody Body { get; set; }
23+
24+
}
25+
26+
}
Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
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.Bailian20231229.Models
10+
{
11+
public class ApplyTempStorageLeaseResponseBody : TeaModel {
12+
/// <summary>
13+
/// <b>Example:</b>
14+
/// <para>DataCenter.FileTooLarge</para>
15+
/// </summary>
16+
[NameInMap("Code")]
17+
[Validation(Required=false)]
18+
public string Code { get; set; }
19+
20+
[NameInMap("Data")]
21+
[Validation(Required=false)]
22+
public ApplyTempStorageLeaseResponseBodyData Data { get; set; }
23+
public class ApplyTempStorageLeaseResponseBodyData : TeaModel {
24+
[NameInMap("Param")]
25+
[Validation(Required=false)]
26+
public ApplyTempStorageLeaseResponseBodyDataParam Param { get; set; }
27+
public class ApplyTempStorageLeaseResponseBodyDataParam : TeaModel {
28+
/// <summary>
29+
/// <b>Example:</b>
30+
/// <para>Content-Type: application/json</para>
31+
/// </summary>
32+
[NameInMap("Headers")]
33+
[Validation(Required=false)]
34+
public object Headers { get; set; }
35+
36+
/// <summary>
37+
/// <b>Example:</b>
38+
/// <para>PUT</para>
39+
/// </summary>
40+
[NameInMap("Method")]
41+
[Validation(Required=false)]
42+
public string Method { get; set; }
43+
44+
/// <summary>
45+
/// <b>Example:</b>
46+
/// <para><a href="https://bailian-datahub-data-origin-prod.oss-cn-hangzhou.aliyuncs.com/1005426495169178/10024405/68abd1dea7b6404d8f7d7b9f7fbd332d.1716698936847.pdf?Expires=1716699536&OSSAccessKeyId=TestID&Signature=HfwPUZo4pR6DatSDym0zFKVh9Wg%3D">https://bailian-datahub-data-origin-prod.oss-cn-hangzhou.aliyuncs.com/1005426495169178/10024405/68abd1dea7b6404d8f7d7b9f7fbd332d.1716698936847.pdf?Expires=1716699536&amp;OSSAccessKeyId=TestID&amp;Signature=HfwPUZo4pR6DatSDym0zFKVh9Wg%3D</a></para>
47+
/// </summary>
48+
[NameInMap("Url")]
49+
[Validation(Required=false)]
50+
public string Url { get; set; }
51+
52+
}
53+
54+
/// <summary>
55+
/// <b>Example:</b>
56+
/// <para>1e6a159107384782be5e45ac4759b247.1719325231035</para>
57+
/// </summary>
58+
[NameInMap("TempStorageLeaseId")]
59+
[Validation(Required=false)]
60+
public string TempStorageLeaseId { get; set; }
61+
62+
}
63+
64+
/// <summary>
65+
/// <b>Example:</b>
66+
/// <para>User not authorized to operate on the specified resource</para>
67+
/// </summary>
68+
[NameInMap("Message")]
69+
[Validation(Required=false)]
70+
public string Message { get; set; }
71+
72+
/// <summary>
73+
/// <b>Example:</b>
74+
/// <para>778C0B3B-xxxx-5FC1-A947-36EDD13606AB</para>
75+
/// </summary>
76+
[NameInMap("RequestId")]
77+
[Validation(Required=false)]
78+
public string RequestId { get; set; }
79+
80+
/// <summary>
81+
/// <b>Example:</b>
82+
/// <para>200</para>
83+
/// </summary>
84+
[NameInMap("Status")]
85+
[Validation(Required=false)]
86+
public string Status { get; set; }
87+
88+
[NameInMap("Success")]
89+
[Validation(Required=false)]
90+
public bool? Success { get; set; }
91+
92+
}
93+
94+
}

bailian-20231229/core/Models/ChangeParseSettingRequest.cs

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ namespace AlibabaCloud.SDK.Bailian20231229.Models
1010
{
1111
public class ChangeParseSettingRequest : TeaModel {
1212
/// <summary>
13+
/// <para>The category ID, which is the <c>CategoryId</c> returned by <b>AddCategory</b>. To view the category ID, click the ID icon next to the category name on the Unstructured Data tab of the <a href="https://bailian.console.alibabacloud.com/?tab=app#/data-center">Application Data</a> page.</para>
1314
/// <para>This parameter is required.</para>
1415
///
1516
/// <b>Example:</b>
@@ -20,6 +21,7 @@ public class ChangeParseSettingRequest : TeaModel {
2021
public string CategoryId { get; set; }
2122

2223
/// <summary>
24+
/// <para>The file type. Valid values: pdf, docx, and doc.</para>
2325
/// <para>This parameter is required.</para>
2426
///
2527
/// <b>Example:</b>
@@ -30,6 +32,13 @@ public class ChangeParseSettingRequest : TeaModel {
3032
public string FileType { get; set; }
3133

3234
/// <summary>
35+
/// <para>The parser code. Valid values:</para>
36+
/// <list type="bullet">
37+
/// <item><description>DOCMIND (Intelligent parsing)</description></item>
38+
/// <item><description>DOCMIND_DIGITAL (Digital parsing)</description></item>
39+
/// <item><description>DOCMIND_LLM_VERSION (LLM parsing)</description></item>
40+
/// <item><description>DASH_QWEN_VL_PARSER (Qwen VL parsing)</description></item>
41+
/// </list>
3342
/// <para>This parameter is required.</para>
3443
///
3544
/// <b>Example:</b>
@@ -39,18 +48,31 @@ public class ChangeParseSettingRequest : TeaModel {
3948
[Validation(Required=false)]
4049
public string Parser { get; set; }
4150

51+
/// <summary>
52+
/// <para>The parser configuration. Currently, this is available only for Qwen VL parsing.</para>
53+
/// </summary>
4254
[NameInMap("ParserConfig")]
4355
[Validation(Required=false)]
4456
public ChangeParseSettingRequestParserConfig ParserConfig { get; set; }
4557
public class ChangeParseSettingRequestParserConfig : TeaModel {
4658
/// <summary>
59+
/// <para>The model name.</para>
60+
/// <para>Valid values:</para>
61+
/// <list type="bullet">
62+
/// <item><description>qwen-vl-max</description></item>
63+
/// <item><description>qwen-vl-plus</description></item>
64+
/// </list>
65+
///
4766
/// <b>Example:</b>
4867
/// <para>qwen-vl-max</para>
4968
/// </summary>
5069
[NameInMap("modelName")]
5170
[Validation(Required=false)]
5271
public string ModelName { get; set; }
5372

73+
/// <summary>
74+
/// <para>The prompt used for parsing.</para>
75+
/// </summary>
5476
[NameInMap("modelPrompt")]
5577
[Validation(Required=false)]
5678
public string ModelPrompt { get; set; }

bailian-20231229/core/Models/ChangeParseSettingResponseBody.cs

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,25 @@ namespace AlibabaCloud.SDK.Bailian20231229.Models
1010
{
1111
public class ChangeParseSettingResponseBody : TeaModel {
1212
/// <summary>
13+
/// <para>The status code.</para>
14+
///
1315
/// <b>Example:</b>
1416
/// <para>InvalidParameter</para>
1517
/// </summary>
1618
[NameInMap("Code")]
1719
[Validation(Required=false)]
1820
public string Code { get; set; }
1921

22+
/// <summary>
23+
/// <para>The returned data fields.</para>
24+
/// </summary>
2025
[NameInMap("Data")]
2126
[Validation(Required=false)]
2227
public ChangeParseSettingResponseBodyData Data { get; set; }
2328
public class ChangeParseSettingResponseBodyData : TeaModel {
2429
/// <summary>
30+
/// <para>The result of the modification.</para>
31+
///
2532
/// <b>Example:</b>
2633
/// <para>true</para>
2734
/// </summary>
@@ -32,6 +39,8 @@ public class ChangeParseSettingResponseBodyData : TeaModel {
3239
}
3340

3441
/// <summary>
42+
/// <para>The error message.</para>
43+
///
3544
/// <b>Example:</b>
3645
/// <para>User not authorized to operate on the specified resource.</para>
3746
/// </summary>
@@ -40,6 +49,8 @@ public class ChangeParseSettingResponseBodyData : TeaModel {
4049
public string Message { get; set; }
4150

4251
/// <summary>
52+
/// <para>The request ID.</para>
53+
///
4354
/// <b>Example:</b>
4455
/// <para>7BA8ADD9-53D6-53F0-918F-A1E776AD230E</para>
4556
/// </summary>
@@ -48,6 +59,8 @@ public class ChangeParseSettingResponseBodyData : TeaModel {
4859
public string RequestId { get; set; }
4960

5061
/// <summary>
62+
/// <para>The HTTP status code returned.</para>
63+
///
5164
/// <b>Example:</b>
5265
/// <para>200</para>
5366
/// </summary>
@@ -56,6 +69,12 @@ public class ChangeParseSettingResponseBodyData : TeaModel {
5669
public string Status { get; set; }
5770

5871
/// <summary>
72+
/// <para>Indicates whether the call is successful. Valid values:</para>
73+
/// <list type="bullet">
74+
/// <item><description>true</description></item>
75+
/// <item><description>false</description></item>
76+
/// </list>
77+
///
5978
/// <b>Example:</b>
6079
/// <para>true</para>
6180
/// </summary>

bailian-20231229/core/Models/ChangeParseSettingShrinkRequest.cs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ namespace AlibabaCloud.SDK.Bailian20231229.Models
1010
{
1111
public class ChangeParseSettingShrinkRequest : TeaModel {
1212
/// <summary>
13+
/// <para>The category ID, which is the <c>CategoryId</c> returned by <b>AddCategory</b>. To view the category ID, click the ID icon next to the category name on the Unstructured Data tab of the <a href="https://bailian.console.alibabacloud.com/?tab=app#/data-center">Application Data</a> page.</para>
1314
/// <para>This parameter is required.</para>
1415
///
1516
/// <b>Example:</b>
@@ -20,6 +21,7 @@ public class ChangeParseSettingShrinkRequest : TeaModel {
2021
public string CategoryId { get; set; }
2122

2223
/// <summary>
24+
/// <para>The file type. Valid values: pdf, docx, and doc.</para>
2325
/// <para>This parameter is required.</para>
2426
///
2527
/// <b>Example:</b>
@@ -30,6 +32,13 @@ public class ChangeParseSettingShrinkRequest : TeaModel {
3032
public string FileType { get; set; }
3133

3234
/// <summary>
35+
/// <para>The parser code. Valid values:</para>
36+
/// <list type="bullet">
37+
/// <item><description>DOCMIND (Intelligent parsing)</description></item>
38+
/// <item><description>DOCMIND_DIGITAL (Digital parsing)</description></item>
39+
/// <item><description>DOCMIND_LLM_VERSION (LLM parsing)</description></item>
40+
/// <item><description>DASH_QWEN_VL_PARSER (Qwen VL parsing)</description></item>
41+
/// </list>
3342
/// <para>This parameter is required.</para>
3443
///
3544
/// <b>Example:</b>
@@ -39,6 +48,9 @@ public class ChangeParseSettingShrinkRequest : TeaModel {
3948
[Validation(Required=false)]
4049
public string Parser { get; set; }
4150

51+
/// <summary>
52+
/// <para>The parser configuration. Currently, this is available only for Qwen VL parsing.</para>
53+
/// </summary>
4254
[NameInMap("ParserConfig")]
4355
[Validation(Required=false)]
4456
public string ParserConfigShrink { get; set; }

0 commit comments

Comments
 (0)