@@ -21056,8 +21056,12 @@ public class DescribeNotifyConfigRequest : Tea.TeaModel {
21056
21056
}
21057
21057
21058
21058
public class DescribeNotifyConfigResponseBody : Tea.TeaModel {
21059
+ public var audioOssPath: String?
21060
+
21059
21061
public var callbackUrl: String?
21060
21062
21063
+ public var enableAudioRecording: Bool?
21064
+
21061
21065
public var enableNotify: Bool?
21062
21066
21063
21067
public var eventTypes: String?
@@ -21080,9 +21084,15 @@ public class DescribeNotifyConfigResponseBody : Tea.TeaModel {
21080
21084
21081
21085
public override func toMap() -> [String : Any] {
21082
21086
var map = super.toMap()
21087
+ if self.audioOssPath != nil {
21088
+ map["AudioOssPath"] = self.audioOssPath!
21089
+ }
21083
21090
if self.callbackUrl != nil {
21084
21091
map["CallbackUrl"] = self.callbackUrl!
21085
21092
}
21093
+ if self.enableAudioRecording != nil {
21094
+ map["EnableAudioRecording"] = self.enableAudioRecording!
21095
+ }
21086
21096
if self.enableNotify != nil {
21087
21097
map["EnableNotify"] = self.enableNotify!
21088
21098
}
@@ -21099,9 +21109,15 @@ public class DescribeNotifyConfigResponseBody : Tea.TeaModel {
21099
21109
}
21100
21110
21101
21111
public override func fromMap(_ dict: [String: Any]) -> Void {
21112
+ if dict.keys.contains("AudioOssPath") {
21113
+ self.audioOssPath = dict["AudioOssPath"] as! String
21114
+ }
21102
21115
if dict.keys.contains("CallbackUrl") {
21103
21116
self.callbackUrl = dict["CallbackUrl"] as! String
21104
21117
}
21118
+ if dict.keys.contains("EnableAudioRecording") {
21119
+ self.enableAudioRecording = dict["EnableAudioRecording"] as! Bool
21120
+ }
21105
21121
if dict.keys.contains("EnableNotify") {
21106
21122
self.enableNotify = dict["EnableNotify"] as! Bool
21107
21123
}
@@ -45653,6 +45669,69 @@ public class ListAIAgentDialoguesRequest : Tea.TeaModel {
45653
45669
45654
45670
public class ListAIAgentDialoguesResponseBody : Tea.TeaModel {
45655
45671
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
+
45656
45735
public var dialogueId: String?
45657
45736
45658
45737
public var producer: String?
@@ -45683,6 +45762,13 @@ public class ListAIAgentDialoguesResponseBody : Tea.TeaModel {
45683
45762
45684
45763
public override func toMap() -> [String : Any] {
45685
45764
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
+ }
45686
45772
if self.dialogueId != nil {
45687
45773
map["DialogueId"] = self.dialogueId!
45688
45774
}
@@ -45711,6 +45797,17 @@ public class ListAIAgentDialoguesResponseBody : Tea.TeaModel {
45711
45797
}
45712
45798
45713
45799
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
+ }
45714
45811
if dict.keys.contains("DialogueId") {
45715
45812
self.dialogueId = dict["DialogueId"] as! String
45716
45813
}
@@ -75986,8 +76083,12 @@ public class SetEventCallbackResponse : Tea.TeaModel {
75986
76083
public class SetNotifyConfigRequest : Tea.TeaModel {
75987
76084
public var AIAgentId: String?
75988
76085
76086
+ public var audioOssPath: String?
76087
+
75989
76088
public var callbackUrl: String?
75990
76089
76090
+ public var enableAudioRecording: Bool?
76091
+
75991
76092
public var enableNotify: Bool?
75992
76093
75993
76094
public var eventTypes: String?
@@ -76011,9 +76112,15 @@ public class SetNotifyConfigRequest : Tea.TeaModel {
76011
76112
if self.AIAgentId != nil {
76012
76113
map["AIAgentId"] = self.AIAgentId!
76013
76114
}
76115
+ if self.audioOssPath != nil {
76116
+ map["AudioOssPath"] = self.audioOssPath!
76117
+ }
76014
76118
if self.callbackUrl != nil {
76015
76119
map["CallbackUrl"] = self.callbackUrl!
76016
76120
}
76121
+ if self.enableAudioRecording != nil {
76122
+ map["EnableAudioRecording"] = self.enableAudioRecording!
76123
+ }
76017
76124
if self.enableNotify != nil {
76018
76125
map["EnableNotify"] = self.enableNotify!
76019
76126
}
@@ -76030,9 +76137,15 @@ public class SetNotifyConfigRequest : Tea.TeaModel {
76030
76137
if dict.keys.contains("AIAgentId") {
76031
76138
self.AIAgentId = dict["AIAgentId"] as! String
76032
76139
}
76140
+ if dict.keys.contains("AudioOssPath") {
76141
+ self.audioOssPath = dict["AudioOssPath"] as! String
76142
+ }
76033
76143
if dict.keys.contains("CallbackUrl") {
76034
76144
self.callbackUrl = dict["CallbackUrl"] as! String
76035
76145
}
76146
+ if dict.keys.contains("EnableAudioRecording") {
76147
+ self.enableAudioRecording = dict["EnableAudioRecording"] as! Bool
76148
+ }
76036
76149
if dict.keys.contains("EnableNotify") {
76037
76150
self.enableNotify = dict["EnableNotify"] as! Bool
76038
76151
}
0 commit comments