Skip to content

Commit 27a91c9

Browse files
committed
Update API GetSmartAuditResult: add response parameters Body.Data.ErrorItemDetails.$.Url.
1 parent c3767db commit 27a91c9

File tree

5 files changed

+139
-5
lines changed

5 files changed

+139
-5
lines changed

aimiaobi-20230801/AlibabacloudAiMiaoBi20230801.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Pod::Spec.new do |spec|
22

33
spec.name = "AlibabacloudAiMiaoBi20230801"
4-
spec.version = "1.35.0"
4+
spec.version = "1.35.1"
55
spec.license = "Apache 2.0"
66
spec.summary = "Alibaba Cloud AiMiaoBi (20230801) SDK Library for Swift"
77
spec.homepage = "https://github.com/alibabacloud-sdk-swift/aimiaobi-20230801"

aimiaobi-20230801/README-CN.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
要使用 [Carthage](https://github.com/Carthage/Carthage)`AlibabacloudAiMiaoBi20230801` 集成到你的 Xcode 项目中,需要在 `Cartfile` 中定义以下内容:
1818

1919
```ogdl
20-
github "alibabacloud-sdk-swift/aimiaobi-20230801" "1.35.0"
20+
github "alibabacloud-sdk-swift/aimiaobi-20230801" "1.35.1"
2121
```
2222

2323
### Swift 包管理工具
@@ -26,7 +26,7 @@ github "alibabacloud-sdk-swift/aimiaobi-20230801" "1.35.0"
2626

2727
```swift
2828
dependencies: [
29-
.package(url: "https://github.com/alibabacloud-sdk-swift/aimiaobi-20230801.git", from: "1.35.0")
29+
.package(url: "https://github.com/alibabacloud-sdk-swift/aimiaobi-20230801.git", from: "1.35.1")
3030
]
3131
```
3232

aimiaobi-20230801/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ English | [简体中文](README-CN.md)
1717
To integrate `AlibabacloudAiMiaoBi20230801` into your Xcode project using [Carthage](https://github.com/Carthage/Carthage), specify it in your `Cartfile`:
1818

1919
```ogdl
20-
github "alibabacloud-sdk-swift/aimiaobi-20230801" "1.35.0"
20+
github "alibabacloud-sdk-swift/aimiaobi-20230801" "1.35.1"
2121
```
2222

2323
### Swift Package Manager
@@ -26,7 +26,7 @@ To integrate `AlibabacloudAiMiaoBi20230801` into your Xcode project using [Swift
2626

2727
```swift
2828
dependencies: [
29-
.package(url: "https://github.com/alibabacloud-sdk-swift/aimiaobi-20230801.git", from: "1.35.0")
29+
.package(url: "https://github.com/alibabacloud-sdk-swift/aimiaobi-20230801.git", from: "1.35.1")
3030
]
3131
```
3232

aimiaobi-20230801/Sources/AlibabacloudAiMiaoBi20230801/Client.swift

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4534,6 +4534,9 @@ open class Client : AlibabacloudOpenApi.Client {
45344534
if (!TeaUtils.Client.isUnset(request.content)) {
45354535
body["Content"] = request.content ?? "";
45364536
}
4537+
if (!TeaUtils.Client.isUnset(request.prompt)) {
4538+
body["Prompt"] = request.prompt ?? "";
4539+
}
45374540
if (!TeaUtils.Client.isUnset(request.workspaceId)) {
45384541
body["WorkspaceId"] = request.workspaceId ?? "";
45394542
}
@@ -5285,6 +5288,9 @@ open class Client : AlibabacloudOpenApi.Client {
52855288
if (!TeaUtils.Client.isUnset(request.content)) {
52865289
body["Content"] = request.content ?? "";
52875290
}
5291+
if (!TeaUtils.Client.isUnset(request.prompt)) {
5292+
body["Prompt"] = request.prompt ?? "";
5293+
}
52885294
if (!TeaUtils.Client.isUnset(request.workspaceId)) {
52895295
body["WorkspaceId"] = request.workspaceId ?? "";
52905296
}
@@ -5410,6 +5416,9 @@ open class Client : AlibabacloudOpenApi.Client {
54105416
request.referenceDataShrink = AlibabaCloudOpenApiUtil.Client.arrayToStringWithSpecifiedStyle(tmpReq.referenceData, "ReferenceData", "json")
54115417
}
54125418
var body: [String: Any] = [:]
5419+
if (!TeaUtils.Client.isUnset(request.prompt)) {
5420+
body["Prompt"] = request.prompt ?? "";
5421+
}
54135422
if (!TeaUtils.Client.isUnset(request.referenceDataShrink)) {
54145423
body["ReferenceData"] = request.referenceDataShrink ?? "";
54155424
}
@@ -5745,6 +5754,9 @@ open class Client : AlibabacloudOpenApi.Client {
57455754
if (!TeaUtils.Client.isUnset(request.content)) {
57465755
body["Content"] = request.content ?? "";
57475756
}
5757+
if (!TeaUtils.Client.isUnset(request.prompt)) {
5758+
body["Prompt"] = request.prompt ?? "";
5759+
}
57485760
if (!TeaUtils.Client.isUnset(request.workspaceId)) {
57495761
body["WorkspaceId"] = request.workspaceId ?? "";
57505762
}
@@ -6841,6 +6853,9 @@ open class Client : AlibabacloudOpenApi.Client {
68416853
if (!TeaUtils.Client.isUnset(tmpReq.subCodes)) {
68426854
request.subCodesShrink = AlibabaCloudOpenApiUtil.Client.arrayToStringWithSpecifiedStyle(tmpReq.subCodes, "SubCodes", "json")
68436855
}
6856+
if (!TeaUtils.Client.isUnset(tmpReq.imageUrls)) {
6857+
request.imageUrlsShrink = AlibabaCloudOpenApiUtil.Client.arrayToStringWithSpecifiedStyle(tmpReq.imageUrls, "imageUrls", "json")
6858+
}
68446859
var body: [String: Any] = [:]
68456860
if (!TeaUtils.Client.isUnset(request.subCodesShrink)) {
68466861
body["SubCodes"] = request.subCodesShrink ?? "";
@@ -6851,6 +6866,9 @@ open class Client : AlibabacloudOpenApi.Client {
68516866
if (!TeaUtils.Client.isUnset(request.workspaceId)) {
68526867
body["WorkspaceId"] = request.workspaceId ?? "";
68536868
}
6869+
if (!TeaUtils.Client.isUnset(request.imageUrlsShrink)) {
6870+
body["imageUrls"] = request.imageUrlsShrink ?? "";
6871+
}
68546872
var req: AlibabacloudOpenApi.OpenApiRequest = AlibabacloudOpenApi.OpenApiRequest([
68556873
"body": AlibabaCloudOpenApiUtil.Client.parseToMap(body)
68566874
])

aimiaobi-20230801/Sources/AlibabacloudAiMiaoBi20230801/Models.swift

Lines changed: 116 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19133,6 +19133,8 @@ public class GetSmartAuditResultResponseBody : Tea.TeaModel {
1913319133

1913419134
public var subClassDesc: String?
1913519135

19136+
public var url: String?
19137+
1913619138
public override init() {
1913719139
super.init()
1913819140
}
@@ -19183,6 +19185,9 @@ public class GetSmartAuditResultResponseBody : Tea.TeaModel {
1918319185
if self.subClassDesc != nil {
1918419186
map["SubClassDesc"] = self.subClassDesc!
1918519187
}
19188+
if self.url != nil {
19189+
map["Url"] = self.url!
19190+
}
1918619191
return map
1918719192
}
1918819193

@@ -19224,6 +19229,9 @@ public class GetSmartAuditResultResponseBody : Tea.TeaModel {
1922419229
if let value = dict["SubClassDesc"] as? String {
1922519230
self.subClassDesc = value
1922619231
}
19232+
if let value = dict["Url"] as? String {
19233+
self.url = value
19234+
}
1922719235
}
1922819236
}
1922919237
public var errorItemDetails: [GetSmartAuditResultResponseBody.Data.ErrorItemDetails]?
@@ -37438,6 +37446,8 @@ public class QueryAuditTaskResponse : Tea.TeaModel {
3743837446
public class RunAbbreviationContentRequest : Tea.TeaModel {
3743937447
public var content: String?
3744037448

37449+
public var prompt: String?
37450+
3744137451
public var workspaceId: String?
3744237452

3744337453
public override init() {
@@ -37457,6 +37467,9 @@ public class RunAbbreviationContentRequest : Tea.TeaModel {
3745737467
if self.content != nil {
3745837468
map["Content"] = self.content!
3745937469
}
37470+
if self.prompt != nil {
37471+
map["Prompt"] = self.prompt!
37472+
}
3746037473
if self.workspaceId != nil {
3746137474
map["WorkspaceId"] = self.workspaceId!
3746237475
}
@@ -37468,6 +37481,9 @@ public class RunAbbreviationContentRequest : Tea.TeaModel {
3746837481
if let value = dict["Content"] as? String {
3746937482
self.content = value
3747037483
}
37484+
if let value = dict["Prompt"] as? String {
37485+
self.prompt = value
37486+
}
3747137487
if let value = dict["WorkspaceId"] as? String {
3747237488
self.workspaceId = value
3747337489
}
@@ -44188,6 +44204,8 @@ public class RunDocWashingResponse : Tea.TeaModel {
4418844204
public class RunExpandContentRequest : Tea.TeaModel {
4418944205
public var content: String?
4419044206

44207+
public var prompt: String?
44208+
4419144209
public var workspaceId: String?
4419244210

4419344211
public override init() {
@@ -44207,6 +44225,9 @@ public class RunExpandContentRequest : Tea.TeaModel {
4420744225
if self.content != nil {
4420844226
map["Content"] = self.content!
4420944227
}
44228+
if self.prompt != nil {
44229+
map["Prompt"] = self.prompt!
44230+
}
4421044231
if self.workspaceId != nil {
4421144232
map["WorkspaceId"] = self.workspaceId!
4421244233
}
@@ -44218,6 +44239,9 @@ public class RunExpandContentRequest : Tea.TeaModel {
4421844239
if let value = dict["Content"] as? String {
4421944240
self.content = value
4422044241
}
44242+
if let value = dict["Prompt"] as? String {
44243+
self.prompt = value
44244+
}
4422144245
if let value = dict["WorkspaceId"] as? String {
4422244246
self.workspaceId = value
4422344247
}
@@ -45300,6 +45324,8 @@ public class RunKeywordsExtractionGenerationRequest : Tea.TeaModel {
4530045324
}
4530145325
}
4530245326
}
45327+
public var prompt: String?
45328+
4530345329
public var referenceData: RunKeywordsExtractionGenerationRequest.ReferenceData?
4530445330

4530545331
public var taskId: String?
@@ -45321,6 +45347,9 @@ public class RunKeywordsExtractionGenerationRequest : Tea.TeaModel {
4532145347

4532245348
public override func toMap() -> [String : Any] {
4532345349
var map = super.toMap()
45350+
if self.prompt != nil {
45351+
map["Prompt"] = self.prompt!
45352+
}
4532445353
if self.referenceData != nil {
4532545354
map["ReferenceData"] = self.referenceData?.toMap()
4532645355
}
@@ -45335,6 +45364,9 @@ public class RunKeywordsExtractionGenerationRequest : Tea.TeaModel {
4533545364

4533645365
public override func fromMap(_ dict: [String: Any?]?) -> Void {
4533745366
guard let dict else { return }
45367+
if let value = dict["Prompt"] as? String {
45368+
self.prompt = value
45369+
}
4533845370
if let value = dict["ReferenceData"] as? [String: Any?] {
4533945371
var model = RunKeywordsExtractionGenerationRequest.ReferenceData()
4534045372
model.fromMap(value)
@@ -45350,6 +45382,8 @@ public class RunKeywordsExtractionGenerationRequest : Tea.TeaModel {
4535045382
}
4535145383

4535245384
public class RunKeywordsExtractionGenerationShrinkRequest : Tea.TeaModel {
45385+
public var prompt: String?
45386+
4535345387
public var referenceDataShrink: String?
4535445388

4535545389
public var taskId: String?
@@ -45370,6 +45404,9 @@ public class RunKeywordsExtractionGenerationShrinkRequest : Tea.TeaModel {
4537045404

4537145405
public override func toMap() -> [String : Any] {
4537245406
var map = super.toMap()
45407+
if self.prompt != nil {
45408+
map["Prompt"] = self.prompt!
45409+
}
4537345410
if self.referenceDataShrink != nil {
4537445411
map["ReferenceData"] = self.referenceDataShrink!
4537545412
}
@@ -45384,6 +45421,9 @@ public class RunKeywordsExtractionGenerationShrinkRequest : Tea.TeaModel {
4538445421

4538545422
public override func fromMap(_ dict: [String: Any?]?) -> Void {
4538645423
guard let dict else { return }
45424+
if let value = dict["Prompt"] as? String {
45425+
self.prompt = value
45426+
}
4538745427
if let value = dict["ReferenceData"] as? String {
4538845428
self.referenceDataShrink = value
4538945429
}
@@ -54195,6 +54235,8 @@ public class RunSummaryGenerateResponse : Tea.TeaModel {
5419554235
public class RunTextPolishingRequest : Tea.TeaModel {
5419654236
public var content: String?
5419754237

54238+
public var prompt: String?
54239+
5419854240
public var workspaceId: String?
5419954241

5420054242
public override init() {
@@ -54214,6 +54256,9 @@ public class RunTextPolishingRequest : Tea.TeaModel {
5421454256
if self.content != nil {
5421554257
map["Content"] = self.content!
5421654258
}
54259+
if self.prompt != nil {
54260+
map["Prompt"] = self.prompt!
54261+
}
5421754262
if self.workspaceId != nil {
5421854263
map["WorkspaceId"] = self.workspaceId!
5421954264
}
@@ -54225,6 +54270,9 @@ public class RunTextPolishingRequest : Tea.TeaModel {
5422554270
if let value = dict["Content"] as? String {
5422654271
self.content = value
5422754272
}
54273+
if let value = dict["Prompt"] as? String {
54274+
self.prompt = value
54275+
}
5422854276
if let value = dict["WorkspaceId"] as? String {
5422954277
self.workspaceId = value
5423054278
}
@@ -62946,12 +62994,52 @@ public class SubmitImportTermsTaskResponse : Tea.TeaModel {
6294662994
}
6294762995

6294862996
public class SubmitSmartAuditRequest : Tea.TeaModel {
62997+
public class ImageUrls : Tea.TeaModel {
62998+
public var id: String?
62999+
63000+
public var url: String?
63001+
63002+
public override init() {
63003+
super.init()
63004+
}
63005+
63006+
public init(_ dict: [String: Any]) {
63007+
super.init()
63008+
self.fromMap(dict)
63009+
}
63010+
63011+
public override func validate() throws -> Void {
63012+
}
63013+
63014+
public override func toMap() -> [String : Any] {
63015+
var map = super.toMap()
63016+
if self.id != nil {
63017+
map["id"] = self.id!
63018+
}
63019+
if self.url != nil {
63020+
map["url"] = self.url!
63021+
}
63022+
return map
63023+
}
63024+
63025+
public override func fromMap(_ dict: [String: Any?]?) -> Void {
63026+
guard let dict else { return }
63027+
if let value = dict["id"] as? String {
63028+
self.id = value
63029+
}
63030+
if let value = dict["url"] as? String {
63031+
self.url = value
63032+
}
63033+
}
63034+
}
6294963035
public var subCodes: [String]?
6295063036

6295163037
public var text: String?
6295263038

6295363039
public var workspaceId: String?
6295463040

63041+
public var imageUrls: [SubmitSmartAuditRequest.ImageUrls]?
63042+
6295563043
public override init() {
6295663044
super.init()
6295763045
}
@@ -62975,6 +63063,13 @@ public class SubmitSmartAuditRequest : Tea.TeaModel {
6297563063
if self.workspaceId != nil {
6297663064
map["WorkspaceId"] = self.workspaceId!
6297763065
}
63066+
if self.imageUrls != nil {
63067+
var tmp : [Any] = []
63068+
for k in self.imageUrls! {
63069+
tmp.append(k.toMap())
63070+
}
63071+
map["imageUrls"] = tmp
63072+
}
6297863073
return map
6297963074
}
6298063075

@@ -62989,6 +63084,19 @@ public class SubmitSmartAuditRequest : Tea.TeaModel {
6298963084
if let value = dict["WorkspaceId"] as? String {
6299063085
self.workspaceId = value
6299163086
}
63087+
if let value = dict["imageUrls"] as? [Any?] {
63088+
var tmp : [SubmitSmartAuditRequest.ImageUrls] = []
63089+
for v in value {
63090+
if v != nil {
63091+
var model = SubmitSmartAuditRequest.ImageUrls()
63092+
if v != nil {
63093+
model.fromMap(v as? [String: Any?])
63094+
}
63095+
tmp.append(model)
63096+
}
63097+
}
63098+
self.imageUrls = tmp
63099+
}
6299263100
}
6299363101
}
6299463102

@@ -62999,6 +63107,8 @@ public class SubmitSmartAuditShrinkRequest : Tea.TeaModel {
6299963107

6300063108
public var workspaceId: String?
6300163109

63110+
public var imageUrlsShrink: String?
63111+
6300263112
public override init() {
6300363113
super.init()
6300463114
}
@@ -63022,6 +63132,9 @@ public class SubmitSmartAuditShrinkRequest : Tea.TeaModel {
6302263132
if self.workspaceId != nil {
6302363133
map["WorkspaceId"] = self.workspaceId!
6302463134
}
63135+
if self.imageUrlsShrink != nil {
63136+
map["imageUrls"] = self.imageUrlsShrink!
63137+
}
6302563138
return map
6302663139
}
6302763140

@@ -63036,6 +63149,9 @@ public class SubmitSmartAuditShrinkRequest : Tea.TeaModel {
6303663149
if let value = dict["WorkspaceId"] as? String {
6303763150
self.workspaceId = value
6303863151
}
63152+
if let value = dict["imageUrls"] as? String {
63153+
self.imageUrlsShrink = value
63154+
}
6303963155
}
6304063156
}
6304163157

0 commit comments

Comments
 (0)