@@ -2585,6 +2585,15 @@ open class Client : AlibabacloudOpenApi.Client {
25852585 if ( !TeaUtils. Client. isUnset ( request. channelId) ) {
25862586 query [ " ChannelId " ] = request. channelId ?? " " ;
25872587 }
2588+ if ( !TeaUtils. Client. isUnset ( request. clockWidgets) ) {
2589+ query [ " ClockWidgets " ] = request. clockWidgets ?? [ ] ;
2590+ }
2591+ if ( !TeaUtils. Client. isUnset ( request. cropMode) ) {
2592+ query [ " CropMode " ] = request. cropMode!;
2593+ }
2594+ if ( !TeaUtils. Client. isUnset ( request. images) ) {
2595+ query [ " Images " ] = request. images ?? [ ] ;
2596+ }
25882597 if ( !TeaUtils. Client. isUnset ( request. panes) ) {
25892598 query [ " Panes " ] = request. panes ?? [ ] ;
25902599 }
@@ -2597,6 +2606,9 @@ open class Client : AlibabacloudOpenApi.Client {
25972606 if ( !TeaUtils. Client. isUnset ( request. templateId) ) {
25982607 query [ " TemplateId " ] = request. templateId ?? " " ;
25992608 }
2609+ if ( !TeaUtils. Client. isUnset ( request. texts) ) {
2610+ query [ " Texts " ] = request. texts ?? [ ] ;
2611+ }
26002612 var req : AlibabacloudOpenApi . OpenApiRequest = AlibabacloudOpenApi . OpenApiRequest ( [
26012613 " query " : AlibabaCloudOpenApiUtil . Client. query ( query)
26022614 ] )
@@ -2841,6 +2853,15 @@ open class Client : AlibabacloudOpenApi.Client {
28412853 if ( !TeaUtils. Client. isUnset ( request. channelId) ) {
28422854 query [ " ChannelId " ] = request. channelId ?? " " ;
28432855 }
2856+ if ( !TeaUtils. Client. isUnset ( request. clockWidgets) ) {
2857+ query [ " ClockWidgets " ] = request. clockWidgets ?? [ ] ;
2858+ }
2859+ if ( !TeaUtils. Client. isUnset ( request. cropMode) ) {
2860+ query [ " CropMode " ] = request. cropMode!;
2861+ }
2862+ if ( !TeaUtils. Client. isUnset ( request. images) ) {
2863+ query [ " Images " ] = request. images ?? [ ] ;
2864+ }
28442865 if ( !TeaUtils. Client. isUnset ( request. panes) ) {
28452866 query [ " Panes " ] = request. panes ?? [ ] ;
28462867 }
@@ -2850,6 +2871,9 @@ open class Client : AlibabacloudOpenApi.Client {
28502871 if ( !TeaUtils. Client. isUnset ( request. templateId) ) {
28512872 query [ " TemplateId " ] = request. templateId ?? " " ;
28522873 }
2874+ if ( !TeaUtils. Client. isUnset ( request. texts) ) {
2875+ query [ " Texts " ] = request. texts ?? [ ] ;
2876+ }
28532877 if ( !TeaUtils. Client. isUnset ( request. url) ) {
28542878 query [ " Url " ] = request. url ?? " " ;
28552879 }
@@ -3114,6 +3138,58 @@ open class Client : AlibabacloudOpenApi.Client {
31143138 return try await updateAutoLiveStreamRuleWithOptions ( request as! UpdateAutoLiveStreamRuleRequest , runtime as! TeaUtils . RuntimeOptions )
31153139 }
31163140
3141+ @available ( macOS 10 . 15 , iOS 13 , tvOS 13 , watchOS 6 , * )
3142+ public func updateCloudRecordWithOptions( _ request: UpdateCloudRecordRequest , _ runtime: TeaUtils . RuntimeOptions ) async throws -> UpdateCloudRecordResponse {
3143+ try TeaUtils . Client. validateModel ( request)
3144+ var query : [ String : Any ] = [ : ]
3145+ if ( !TeaUtils. Client. isUnset ( request. appId) ) {
3146+ query [ " AppId " ] = request. appId ?? " " ;
3147+ }
3148+ if ( !TeaUtils. Client. isUnset ( request. channelId) ) {
3149+ query [ " ChannelId " ] = request. channelId ?? " " ;
3150+ }
3151+ if ( !TeaUtils. Client. isUnset ( request. clockWidgets) ) {
3152+ query [ " ClockWidgets " ] = request. clockWidgets ?? [ ] ;
3153+ }
3154+ if ( !TeaUtils. Client. isUnset ( request. images) ) {
3155+ query [ " Images " ] = request. images ?? [ ] ;
3156+ }
3157+ if ( !TeaUtils. Client. isUnset ( request. panes) ) {
3158+ query [ " Panes " ] = request. panes ?? [ ] ;
3159+ }
3160+ if ( !TeaUtils. Client. isUnset ( request. taskId) ) {
3161+ query [ " TaskId " ] = request. taskId ?? " " ;
3162+ }
3163+ if ( !TeaUtils. Client. isUnset ( request. templateId) ) {
3164+ query [ " TemplateId " ] = request. templateId ?? " " ;
3165+ }
3166+ if ( !TeaUtils. Client. isUnset ( request. texts) ) {
3167+ query [ " Texts " ] = request. texts ?? [ ] ;
3168+ }
3169+ var req : AlibabacloudOpenApi . OpenApiRequest = AlibabacloudOpenApi . OpenApiRequest ( [
3170+ " query " : AlibabaCloudOpenApiUtil . Client. query ( query)
3171+ ] )
3172+ var params : AlibabacloudOpenApi . Params = AlibabacloudOpenApi . Params ( [
3173+ " action " : " UpdateCloudRecord " ,
3174+ " version " : " 2018-01-11 " ,
3175+ " protocol " : " HTTPS " ,
3176+ " pathname " : " / " ,
3177+ " method " : " POST " ,
3178+ " authType " : " AK " ,
3179+ " style " : " RPC " ,
3180+ " reqBodyType " : " formData " ,
3181+ " bodyType " : " json "
3182+ ] )
3183+ var tmp : [ String : Any ] = try await callApi ( params as! AlibabacloudOpenApi . Params , req as! AlibabacloudOpenApi . OpenApiRequest , runtime as! TeaUtils . RuntimeOptions )
3184+ return Tea . TeaConverter. fromMap ( UpdateCloudRecordResponse ( ) , tmp)
3185+ }
3186+
3187+ @available ( macOS 10 . 15 , iOS 13 , tvOS 13 , watchOS 6 , * )
3188+ public func updateCloudRecord( _ request: UpdateCloudRecordRequest ) async throws -> UpdateCloudRecordResponse {
3189+ var runtime : TeaUtils . RuntimeOptions = TeaUtils . RuntimeOptions ( [ : ] )
3190+ return try await updateCloudRecordWithOptions ( request as! UpdateCloudRecordRequest , runtime as! TeaUtils . RuntimeOptions )
3191+ }
3192+
31173193 @available ( macOS 10 . 15 , iOS 13 , tvOS 13 , watchOS 6 , * )
31183194 public func updateMPUTaskWithOptions( _ request: UpdateMPUTaskRequest , _ runtime: TeaUtils . RuntimeOptions ) async throws -> UpdateMPUTaskResponse {
31193195 try TeaUtils . Client. validateModel ( request)
@@ -3371,4 +3447,56 @@ open class Client : AlibabacloudOpenApi.Client {
33713447 var runtime : TeaUtils . RuntimeOptions = TeaUtils . RuntimeOptions ( [ : ] )
33723448 return try await updateRecordTemplateWithOptions ( request as! UpdateRecordTemplateRequest , runtime as! TeaUtils . RuntimeOptions )
33733449 }
3450+
3451+ @available ( macOS 10 . 15 , iOS 13 , tvOS 13 , watchOS 6 , * )
3452+ public func updateStreamingOutWithOptions( _ request: UpdateStreamingOutRequest , _ runtime: TeaUtils . RuntimeOptions ) async throws -> UpdateStreamingOutResponse {
3453+ try TeaUtils . Client. validateModel ( request)
3454+ var query : [ String : Any ] = [ : ]
3455+ if ( !TeaUtils. Client. isUnset ( request. appId) ) {
3456+ query [ " AppId " ] = request. appId ?? " " ;
3457+ }
3458+ if ( !TeaUtils. Client. isUnset ( request. channelId) ) {
3459+ query [ " ChannelId " ] = request. channelId ?? " " ;
3460+ }
3461+ if ( !TeaUtils. Client. isUnset ( request. clockWidgets) ) {
3462+ query [ " ClockWidgets " ] = request. clockWidgets ?? [ ] ;
3463+ }
3464+ if ( !TeaUtils. Client. isUnset ( request. images) ) {
3465+ query [ " Images " ] = request. images ?? [ ] ;
3466+ }
3467+ if ( !TeaUtils. Client. isUnset ( request. panes) ) {
3468+ query [ " Panes " ] = request. panes ?? [ ] ;
3469+ }
3470+ if ( !TeaUtils. Client. isUnset ( request. taskId) ) {
3471+ query [ " TaskId " ] = request. taskId ?? " " ;
3472+ }
3473+ if ( !TeaUtils. Client. isUnset ( request. templateId) ) {
3474+ query [ " TemplateId " ] = request. templateId ?? " " ;
3475+ }
3476+ if ( !TeaUtils. Client. isUnset ( request. texts) ) {
3477+ query [ " Texts " ] = request. texts ?? [ ] ;
3478+ }
3479+ var req : AlibabacloudOpenApi . OpenApiRequest = AlibabacloudOpenApi . OpenApiRequest ( [
3480+ " query " : AlibabaCloudOpenApiUtil . Client. query ( query)
3481+ ] )
3482+ var params : AlibabacloudOpenApi . Params = AlibabacloudOpenApi . Params ( [
3483+ " action " : " UpdateStreamingOut " ,
3484+ " version " : " 2018-01-11 " ,
3485+ " protocol " : " HTTPS " ,
3486+ " pathname " : " / " ,
3487+ " method " : " POST " ,
3488+ " authType " : " AK " ,
3489+ " style " : " RPC " ,
3490+ " reqBodyType " : " formData " ,
3491+ " bodyType " : " json "
3492+ ] )
3493+ var tmp : [ String : Any ] = try await callApi ( params as! AlibabacloudOpenApi . Params , req as! AlibabacloudOpenApi . OpenApiRequest , runtime as! TeaUtils . RuntimeOptions )
3494+ return Tea . TeaConverter. fromMap ( UpdateStreamingOutResponse ( ) , tmp)
3495+ }
3496+
3497+ @available ( macOS 10 . 15 , iOS 13 , tvOS 13 , watchOS 6 , * )
3498+ public func updateStreamingOut( _ request: UpdateStreamingOutRequest ) async throws -> UpdateStreamingOutResponse {
3499+ var runtime : TeaUtils . RuntimeOptions = TeaUtils . RuntimeOptions ( [ : ] )
3500+ return try await updateStreamingOutWithOptions ( request as! UpdateStreamingOutRequest , runtime as! TeaUtils . RuntimeOptions )
3501+ }
33743502}
0 commit comments