From ded9899e46ad04e62676e5b3ccfa418967f4436e Mon Sep 17 00:00:00 2001 From: sdk-team Date: Wed, 13 Dec 2023 03:46:24 +0000 Subject: [PATCH] Generated 2017-03-21 for vod. --- ChangeLog.txt | 4 ++++ services/vod/struct_video_base.go | 1 + services/vod/update_media_storage_class.go | 9 +++++---- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/ChangeLog.txt b/ChangeLog.txt index 79f3003bc4..8a04d6ec74 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -1,3 +1,7 @@ +2023-12-13 Version: v1.62.632 +- Generated 2017-03-21 for `vod`. +- Support Media StorageClass. + 2023-12-12 Version: v1.62.631 - Generated 2023-07-01 for `DdosDiversion`. -sdk release. diff --git a/services/vod/struct_video_base.go b/services/vod/struct_video_base.go index 7f07a1bf59..e396625e1d 100644 --- a/services/vod/struct_video_base.go +++ b/services/vod/struct_video_base.go @@ -27,5 +27,6 @@ type VideoBase struct { Title string `json:"Title" xml:"Title"` MediaType string `json:"MediaType" xml:"MediaType"` DanMuURL string `json:"DanMuURL" xml:"DanMuURL"` + StorageClass string `json:"StorageClass" xml:"StorageClass"` ThumbnailList ThumbnailListInGetPlayInfo `json:"ThumbnailList" xml:"ThumbnailList"` } diff --git a/services/vod/update_media_storage_class.go b/services/vod/update_media_storage_class.go index 7cd6a06dab..748de3d9a4 100644 --- a/services/vod/update_media_storage_class.go +++ b/services/vod/update_media_storage_class.go @@ -71,10 +71,11 @@ func (client *Client) UpdateMediaStorageClassWithCallback(request *UpdateMediaSt // UpdateMediaStorageClassRequest is the request struct for api UpdateMediaStorageClass type UpdateMediaStorageClassRequest struct { *requests.RpcRequest - RestoreTier string `position:"Query" name:"RestoreTier"` - Scope string `position:"Query" name:"Scope"` - MediaIds string `position:"Query" name:"MediaIds"` - StorageClass string `position:"Query" name:"StorageClass"` + RestoreTier string `position:"Query" name:"RestoreTier"` + Scope string `position:"Query" name:"Scope"` + MediaIds string `position:"Query" name:"MediaIds"` + StorageClass string `position:"Query" name:"StorageClass"` + AllowUpdateWithoutTimeLimit requests.Boolean `position:"Query" name:"AllowUpdateWithoutTimeLimit"` } // UpdateMediaStorageClassResponse is the response struct for api UpdateMediaStorageClass