Skip to content

Commit 6fd6632

Browse files
committed
Update API DescribeNotifyConfig: add response parameters Body.AudioOssPath.
1 parent 2d5d04b commit 6fd6632

File tree

5 files changed

+124
-5
lines changed

5 files changed

+124
-5
lines changed

AlibabacloudICE20201109.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 = "AlibabacloudICE20201109"
4-
spec.version = "5.0.2"
4+
spec.version = "5.0.3"
55
spec.license = "Apache 2.0"
66
spec.summary = "Alibaba Cloud ICE (20201109) SDK Library for Swift"
77
spec.homepage = "https://github.com/alibabacloud-sdk-swift/ice-20201109"

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)`AlibabacloudICE20201109` 集成到你的 Xcode 项目中,需要在 `Cartfile` 中定义以下内容:
1818

1919
```ogdl
20-
github "alibabacloud-sdk-swift/ice-20201109" "5.0.2"
20+
github "alibabacloud-sdk-swift/ice-20201109" "5.0.3"
2121
```
2222

2323
### Swift 包管理工具
@@ -26,7 +26,7 @@ github "alibabacloud-sdk-swift/ice-20201109" "5.0.2"
2626

2727
```swift
2828
dependencies: [
29-
.package(url: "https://github.com/alibabacloud-sdk-swift/ice-20201109.git", from: "5.0.2")
29+
.package(url: "https://github.com/alibabacloud-sdk-swift/ice-20201109.git", from: "5.0.3")
3030
]
3131
```
3232

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 `AlibabacloudICE20201109` into your Xcode project using [Carthage](https://github.com/Carthage/Carthage), specify it in your `Cartfile`:
1818

1919
```ogdl
20-
github "alibabacloud-sdk-swift/ice-20201109" "5.0.2"
20+
github "alibabacloud-sdk-swift/ice-20201109" "5.0.3"
2121
```
2222

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

2727
```swift
2828
dependencies: [
29-
.package(url: "https://github.com/alibabacloud-sdk-swift/ice-20201109.git", from: "5.0.2")
29+
.package(url: "https://github.com/alibabacloud-sdk-swift/ice-20201109.git", from: "5.0.3")
3030
]
3131
```
3232

Sources/AlibabacloudICE20201109/Client.swift

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10996,9 +10996,15 @@ open class Client : AlibabacloudOpenApi.Client {
1099610996
if (!TeaUtils.Client.isUnset(request.AIAgentId)) {
1099710997
query["AIAgentId"] = request.AIAgentId ?? "";
1099810998
}
10999+
if (!TeaUtils.Client.isUnset(request.audioOssPath)) {
11000+
query["AudioOssPath"] = request.audioOssPath ?? "";
11001+
}
1099911002
if (!TeaUtils.Client.isUnset(request.callbackUrl)) {
1100011003
query["CallbackUrl"] = request.callbackUrl ?? "";
1100111004
}
11005+
if (!TeaUtils.Client.isUnset(request.enableAudioRecording)) {
11006+
query["EnableAudioRecording"] = request.enableAudioRecording!;
11007+
}
1100211008
if (!TeaUtils.Client.isUnset(request.enableNotify)) {
1100311009
query["EnableNotify"] = request.enableNotify!;
1100411010
}

Sources/AlibabacloudICE20201109/Models.swift

Lines changed: 113 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21056,8 +21056,12 @@ public class DescribeNotifyConfigRequest : Tea.TeaModel {
2105621056
}
2105721057

2105821058
public class DescribeNotifyConfigResponseBody : Tea.TeaModel {
21059+
public var audioOssPath: String?
21060+
2105921061
public var callbackUrl: String?
2106021062

21063+
public var enableAudioRecording: Bool?
21064+
2106121065
public var enableNotify: Bool?
2106221066

2106321067
public var eventTypes: String?
@@ -21080,9 +21084,15 @@ public class DescribeNotifyConfigResponseBody : Tea.TeaModel {
2108021084

2108121085
public override func toMap() -> [String : Any] {
2108221086
var map = super.toMap()
21087+
if self.audioOssPath != nil {
21088+
map["AudioOssPath"] = self.audioOssPath!
21089+
}
2108321090
if self.callbackUrl != nil {
2108421091
map["CallbackUrl"] = self.callbackUrl!
2108521092
}
21093+
if self.enableAudioRecording != nil {
21094+
map["EnableAudioRecording"] = self.enableAudioRecording!
21095+
}
2108621096
if self.enableNotify != nil {
2108721097
map["EnableNotify"] = self.enableNotify!
2108821098
}
@@ -21099,9 +21109,15 @@ public class DescribeNotifyConfigResponseBody : Tea.TeaModel {
2109921109
}
2110021110

2110121111
public override func fromMap(_ dict: [String: Any]) -> Void {
21112+
if dict.keys.contains("AudioOssPath") {
21113+
self.audioOssPath = dict["AudioOssPath"] as! String
21114+
}
2110221115
if dict.keys.contains("CallbackUrl") {
2110321116
self.callbackUrl = dict["CallbackUrl"] as! String
2110421117
}
21118+
if dict.keys.contains("EnableAudioRecording") {
21119+
self.enableAudioRecording = dict["EnableAudioRecording"] as! Bool
21120+
}
2110521121
if dict.keys.contains("EnableNotify") {
2110621122
self.enableNotify = dict["EnableNotify"] as! Bool
2110721123
}
@@ -45653,6 +45669,69 @@ public class ListAIAgentDialoguesRequest : Tea.TeaModel {
4565345669

4565445670
public class ListAIAgentDialoguesResponseBody : Tea.TeaModel {
4565545671
public class Dialogues : Tea.TeaModel {
45672+
public class AttachedFileList : Tea.TeaModel {
45673+
public var format: String?
45674+
45675+
public var id: String?
45676+
45677+
public var name: String?
45678+
45679+
public var type: Int32?
45680+
45681+
public var url: String?
45682+
45683+
public override init() {
45684+
super.init()
45685+
}
45686+
45687+
public init(_ dict: [String: Any]) {
45688+
super.init()
45689+
self.fromMap(dict)
45690+
}
45691+
45692+
public override func validate() throws -> Void {
45693+
}
45694+
45695+
public override func toMap() -> [String : Any] {
45696+
var map = super.toMap()
45697+
if self.format != nil {
45698+
map["Format"] = self.format!
45699+
}
45700+
if self.id != nil {
45701+
map["Id"] = self.id!
45702+
}
45703+
if self.name != nil {
45704+
map["Name"] = self.name!
45705+
}
45706+
if self.type != nil {
45707+
map["Type"] = self.type!
45708+
}
45709+
if self.url != nil {
45710+
map["Url"] = self.url!
45711+
}
45712+
return map
45713+
}
45714+
45715+
public override func fromMap(_ dict: [String: Any]) -> Void {
45716+
if dict.keys.contains("Format") {
45717+
self.format = dict["Format"] as! String
45718+
}
45719+
if dict.keys.contains("Id") {
45720+
self.id = dict["Id"] as! String
45721+
}
45722+
if dict.keys.contains("Name") {
45723+
self.name = dict["Name"] as! String
45724+
}
45725+
if dict.keys.contains("Type") {
45726+
self.type = dict["Type"] as! Int32
45727+
}
45728+
if dict.keys.contains("Url") {
45729+
self.url = dict["Url"] as! String
45730+
}
45731+
}
45732+
}
45733+
public var attachedFileList: [ListAIAgentDialoguesResponseBody.Dialogues.AttachedFileList]?
45734+
4565645735
public var dialogueId: String?
4565745736

4565845737
public var producer: String?
@@ -45683,6 +45762,13 @@ public class ListAIAgentDialoguesResponseBody : Tea.TeaModel {
4568345762

4568445763
public override func toMap() -> [String : Any] {
4568545764
var map = super.toMap()
45765+
if self.attachedFileList != nil {
45766+
var tmp : [Any] = []
45767+
for k in self.attachedFileList! {
45768+
tmp.append(k.toMap())
45769+
}
45770+
map["AttachedFileList"] = tmp
45771+
}
4568645772
if self.dialogueId != nil {
4568745773
map["DialogueId"] = self.dialogueId!
4568845774
}
@@ -45711,6 +45797,17 @@ public class ListAIAgentDialoguesResponseBody : Tea.TeaModel {
4571145797
}
4571245798

4571345799
public override func fromMap(_ dict: [String: Any]) -> Void {
45800+
if dict.keys.contains("AttachedFileList") {
45801+
var tmp : [ListAIAgentDialoguesResponseBody.Dialogues.AttachedFileList] = []
45802+
for v in dict["AttachedFileList"] as! [Any] {
45803+
var model = ListAIAgentDialoguesResponseBody.Dialogues.AttachedFileList()
45804+
if v != nil {
45805+
model.fromMap(v as! [String: Any])
45806+
}
45807+
tmp.append(model)
45808+
}
45809+
self.attachedFileList = tmp
45810+
}
4571445811
if dict.keys.contains("DialogueId") {
4571545812
self.dialogueId = dict["DialogueId"] as! String
4571645813
}
@@ -75986,8 +76083,12 @@ public class SetEventCallbackResponse : Tea.TeaModel {
7598676083
public class SetNotifyConfigRequest : Tea.TeaModel {
7598776084
public var AIAgentId: String?
7598876085

76086+
public var audioOssPath: String?
76087+
7598976088
public var callbackUrl: String?
7599076089

76090+
public var enableAudioRecording: Bool?
76091+
7599176092
public var enableNotify: Bool?
7599276093

7599376094
public var eventTypes: String?
@@ -76011,9 +76112,15 @@ public class SetNotifyConfigRequest : Tea.TeaModel {
7601176112
if self.AIAgentId != nil {
7601276113
map["AIAgentId"] = self.AIAgentId!
7601376114
}
76115+
if self.audioOssPath != nil {
76116+
map["AudioOssPath"] = self.audioOssPath!
76117+
}
7601476118
if self.callbackUrl != nil {
7601576119
map["CallbackUrl"] = self.callbackUrl!
7601676120
}
76121+
if self.enableAudioRecording != nil {
76122+
map["EnableAudioRecording"] = self.enableAudioRecording!
76123+
}
7601776124
if self.enableNotify != nil {
7601876125
map["EnableNotify"] = self.enableNotify!
7601976126
}
@@ -76030,9 +76137,15 @@ public class SetNotifyConfigRequest : Tea.TeaModel {
7603076137
if dict.keys.contains("AIAgentId") {
7603176138
self.AIAgentId = dict["AIAgentId"] as! String
7603276139
}
76140+
if dict.keys.contains("AudioOssPath") {
76141+
self.audioOssPath = dict["AudioOssPath"] as! String
76142+
}
7603376143
if dict.keys.contains("CallbackUrl") {
7603476144
self.callbackUrl = dict["CallbackUrl"] as! String
7603576145
}
76146+
if dict.keys.contains("EnableAudioRecording") {
76147+
self.enableAudioRecording = dict["EnableAudioRecording"] as! Bool
76148+
}
7603676149
if dict.keys.contains("EnableNotify") {
7603776150
self.enableNotify = dict["EnableNotify"] as! Bool
7603876151
}

0 commit comments

Comments
 (0)