Browse Source

VOD SDK Auto Released By guzhaoyuan,Version:1.53.7

Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
haowei.yao 6 years ago
parent
commit
04069f0b8c
32 changed files with 831 additions and 183 deletions
  1. 9 0
      ChangeLog.txt
  2. 1 0
      services/vod/create_upload_video.go
  3. 4 1
      services/vod/delete_transcode_template_group.go
  4. 0 108
      services/vod/delete_transcode_templates.go
  5. 108 0
      services/vod/get_transcode_summary.go
  6. 107 0
      services/vod/get_transcode_task.go
  7. 111 0
      services/vod/list_transcode_task.go
  8. 5 4
      services/vod/search_media.go
  9. 27 20
      services/vod/struct_audio.go
  10. 1 0
      services/vod/struct_image_info.go
  11. 21 0
      services/vod/struct_non_exist_video_ids_in_get_transcode_summary.go
  12. 33 0
      services/vod/struct_output_file.go
  13. 15 21
      services/vod/struct_play_info.go
  14. 42 0
      services/vod/struct_play_info_in_get_play_info.go
  15. 35 0
      services/vod/struct_play_info_in_list_live_record_video.go
  16. 1 1
      services/vod/struct_play_info_list_in_get_play_info.go
  17. 1 1
      services/vod/struct_play_info_list_in_list_live_record_video.go
  18. 21 0
      services/vod/struct_play_info_list_in_search_media.go
  19. 32 0
      services/vod/struct_transcode_job_info.go
  20. 21 0
      services/vod/struct_transcode_job_info_list.go
  21. 37 0
      services/vod/struct_transcode_job_info_summary.go
  22. 21 0
      services/vod/struct_transcode_job_info_summary_list.go
  23. 27 0
      services/vod/struct_transcode_summary.go
  24. 21 0
      services/vod/struct_transcode_summary_list.go
  25. 28 0
      services/vod/struct_transcode_task.go
  26. 21 0
      services/vod/struct_transcode_task_list.go
  27. 32 25
      services/vod/struct_video.go
  28. 1 0
      services/vod/struct_video_in_get_video_info.go
  29. 1 0
      services/vod/struct_video_stream.go
  30. 21 0
      services/vod/struct_watermark_id_list_in_get_transcode_summary.go
  31. 21 0
      services/vod/struct_watermark_id_list_in_get_transcode_task.go
  32. 5 2
      services/vod/update_video_info.go

+ 9 - 0
ChangeLog.txt

@@ -1,3 +1,12 @@
+2019-02-28 Version: 1.53.7
+1, Add new apis named ListTranscodeTask, GetTranscodeTask, GetTranscodeSummary.
+2, Add the new field named TranscodeTemplateIds and ForceDelGroup to DeleteTranscodeTemplateGroup api request, and add a new field named NonExistTranscodeTemplateIds to the api response.
+3, Add a new field named Rotate in VideoStream of Mezzanine struct to GetMezzanineInfo api response .
+4, Add a new field named Status in ImageInfo to GetImageInfo api response.
+5, Add a new field named CustomMediaInfo to UpdateVideoInfo, GetVideoInfo and SearchMedia api to support the custom mediaInfo feature.
+6, Add a new filed named PlayInfoList and some Audit fields to SearchMedia api response.
+7, Clean up an api named DeleteTranscodeTemplates, which is replaced with the api named DeleteTranscodeTemplateGroup.
+
 2019-02-27 Version: 1.53.6
 1, Add three APIs for tag. APIs : TagResources, UntagResources, ListTagResources.
 

+ 1 - 0
services/vod/create_upload_video.go

@@ -92,6 +92,7 @@ type CreateUploadVideoRequest struct {
 	TemplateGroupId      string           `position:"Query" name:"TemplateGroupId"`
 	CateId               requests.Integer `position:"Query" name:"CateId"`
 	WorkflowId           string           `position:"Query" name:"WorkflowId"`
+	CustomMediaInfo      string           `position:"Query" name:"CustomMediaInfo"`
 }
 
 // CreateUploadVideoResponse is the response struct for api CreateUploadVideo

+ 4 - 1
services/vod/delete_transcode_template_group.go

@@ -78,14 +78,17 @@ type DeleteTranscodeTemplateGroupRequest struct {
 	*requests.RpcRequest
 	ResourceOwnerId          requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	ResourceOwnerAccount     string           `position:"Query" name:"ResourceOwnerAccount"`
+	TranscodeTemplateIds     string           `position:"Query" name:"TranscodeTemplateIds"`
 	OwnerId                  requests.Integer `position:"Query" name:"OwnerId"`
 	TranscodeTemplateGroupId string           `position:"Query" name:"TranscodeTemplateGroupId"`
+	ForceDelGroup            string           `position:"Query" name:"ForceDelGroup"`
 }
 
 // DeleteTranscodeTemplateGroupResponse is the response struct for api DeleteTranscodeTemplateGroup
 type DeleteTranscodeTemplateGroupResponse struct {
 	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
+	RequestId                    string   `json:"RequestId" xml:"RequestId"`
+	NonExistTranscodeTemplateIds []string `json:"NonExistTranscodeTemplateIds" xml:"NonExistTranscodeTemplateIds"`
 }
 
 // CreateDeleteTranscodeTemplateGroupRequest creates a request to invoke DeleteTranscodeTemplateGroup API

+ 0 - 108
services/vod/delete_transcode_templates.go

@@ -1,108 +0,0 @@
-package vod
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under the License.
-//
-// Code generated by Alibaba Cloud SDK Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is regenerated.
-
-import (
-	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
-	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
-)
-
-// DeleteTranscodeTemplates invokes the vod.DeleteTranscodeTemplates API synchronously
-// api document: https://help.aliyun.com/api/vod/deletetranscodetemplates.html
-func (client *Client) DeleteTranscodeTemplates(request *DeleteTranscodeTemplatesRequest) (response *DeleteTranscodeTemplatesResponse, err error) {
-	response = CreateDeleteTranscodeTemplatesResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DeleteTranscodeTemplatesWithChan invokes the vod.DeleteTranscodeTemplates API asynchronously
-// api document: https://help.aliyun.com/api/vod/deletetranscodetemplates.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeleteTranscodeTemplatesWithChan(request *DeleteTranscodeTemplatesRequest) (<-chan *DeleteTranscodeTemplatesResponse, <-chan error) {
-	responseChan := make(chan *DeleteTranscodeTemplatesResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DeleteTranscodeTemplates(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DeleteTranscodeTemplatesWithCallback invokes the vod.DeleteTranscodeTemplates API asynchronously
-// api document: https://help.aliyun.com/api/vod/deletetranscodetemplates.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeleteTranscodeTemplatesWithCallback(request *DeleteTranscodeTemplatesRequest, callback func(response *DeleteTranscodeTemplatesResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DeleteTranscodeTemplatesResponse
-		var err error
-		defer close(result)
-		response, err = client.DeleteTranscodeTemplates(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DeleteTranscodeTemplatesRequest is the request struct for api DeleteTranscodeTemplates
-type DeleteTranscodeTemplatesRequest struct {
-	*requests.RpcRequest
-	ResourceOwnerId          requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	ResourceOwnerAccount     string           `position:"Query" name:"ResourceOwnerAccount"`
-	OwnerId                  requests.Integer `position:"Query" name:"OwnerId"`
-	TranscodeTemplateGroupId string           `position:"Query" name:"TranscodeTemplateGroupId"`
-	TranscodeTemplateIdList  string           `position:"Query" name:"TranscodeTemplateIdList"`
-}
-
-// DeleteTranscodeTemplatesResponse is the response struct for api DeleteTranscodeTemplates
-type DeleteTranscodeTemplatesResponse struct {
-	*responses.BaseResponse
-	RequestId                    string   `json:"RequestId" xml:"RequestId"`
-	NonExistTranscodeTemplateIds []string `json:"NonExistTranscodeTemplateIds" xml:"NonExistTranscodeTemplateIds"`
-}
-
-// CreateDeleteTranscodeTemplatesRequest creates a request to invoke DeleteTranscodeTemplates API
-func CreateDeleteTranscodeTemplatesRequest() (request *DeleteTranscodeTemplatesRequest) {
-	request = &DeleteTranscodeTemplatesRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("vod", "2017-03-21", "DeleteTranscodeTemplates", "vod", "openAPI")
-	return
-}
-
-// CreateDeleteTranscodeTemplatesResponse creates a response to parse from DeleteTranscodeTemplates response
-func CreateDeleteTranscodeTemplatesResponse() (response *DeleteTranscodeTemplatesResponse) {
-	response = &DeleteTranscodeTemplatesResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 108 - 0
services/vod/get_transcode_summary.go

@@ -0,0 +1,108 @@
+package vod
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// GetTranscodeSummary invokes the vod.GetTranscodeSummary API synchronously
+// api document: https://help.aliyun.com/api/vod/gettranscodesummary.html
+func (client *Client) GetTranscodeSummary(request *GetTranscodeSummaryRequest) (response *GetTranscodeSummaryResponse, err error) {
+	response = CreateGetTranscodeSummaryResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// GetTranscodeSummaryWithChan invokes the vod.GetTranscodeSummary API asynchronously
+// api document: https://help.aliyun.com/api/vod/gettranscodesummary.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) GetTranscodeSummaryWithChan(request *GetTranscodeSummaryRequest) (<-chan *GetTranscodeSummaryResponse, <-chan error) {
+	responseChan := make(chan *GetTranscodeSummaryResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.GetTranscodeSummary(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// GetTranscodeSummaryWithCallback invokes the vod.GetTranscodeSummary API asynchronously
+// api document: https://help.aliyun.com/api/vod/gettranscodesummary.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) GetTranscodeSummaryWithCallback(request *GetTranscodeSummaryRequest, callback func(response *GetTranscodeSummaryResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *GetTranscodeSummaryResponse
+		var err error
+		defer close(result)
+		response, err = client.GetTranscodeSummary(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// GetTranscodeSummaryRequest is the request struct for api GetTranscodeSummary
+type GetTranscodeSummaryRequest struct {
+	*requests.RpcRequest
+	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	VideoIds             string           `position:"Query" name:"VideoIds"`
+}
+
+// GetTranscodeSummaryResponse is the response struct for api GetTranscodeSummary
+type GetTranscodeSummaryResponse struct {
+	*responses.BaseResponse
+	RequestId            string             `json:"RequestId" xml:"RequestId"`
+	NonExistVideoIds     []string           `json:"NonExistVideoIds" xml:"NonExistVideoIds"`
+	TranscodeSummaryList []TranscodeSummary `json:"TranscodeSummaryList" xml:"TranscodeSummaryList"`
+}
+
+// CreateGetTranscodeSummaryRequest creates a request to invoke GetTranscodeSummary API
+func CreateGetTranscodeSummaryRequest() (request *GetTranscodeSummaryRequest) {
+	request = &GetTranscodeSummaryRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("vod", "2017-03-21", "GetTranscodeSummary", "vod", "openAPI")
+	return
+}
+
+// CreateGetTranscodeSummaryResponse creates a response to parse from GetTranscodeSummary response
+func CreateGetTranscodeSummaryResponse() (response *GetTranscodeSummaryResponse) {
+	response = &GetTranscodeSummaryResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 107 - 0
services/vod/get_transcode_task.go

@@ -0,0 +1,107 @@
+package vod
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// GetTranscodeTask invokes the vod.GetTranscodeTask API synchronously
+// api document: https://help.aliyun.com/api/vod/gettranscodetask.html
+func (client *Client) GetTranscodeTask(request *GetTranscodeTaskRequest) (response *GetTranscodeTaskResponse, err error) {
+	response = CreateGetTranscodeTaskResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// GetTranscodeTaskWithChan invokes the vod.GetTranscodeTask API asynchronously
+// api document: https://help.aliyun.com/api/vod/gettranscodetask.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) GetTranscodeTaskWithChan(request *GetTranscodeTaskRequest) (<-chan *GetTranscodeTaskResponse, <-chan error) {
+	responseChan := make(chan *GetTranscodeTaskResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.GetTranscodeTask(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// GetTranscodeTaskWithCallback invokes the vod.GetTranscodeTask API asynchronously
+// api document: https://help.aliyun.com/api/vod/gettranscodetask.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) GetTranscodeTaskWithCallback(request *GetTranscodeTaskRequest, callback func(response *GetTranscodeTaskResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *GetTranscodeTaskResponse
+		var err error
+		defer close(result)
+		response, err = client.GetTranscodeTask(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// GetTranscodeTaskRequest is the request struct for api GetTranscodeTask
+type GetTranscodeTaskRequest struct {
+	*requests.RpcRequest
+	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	TranscodeTaskId      string           `position:"Query" name:"TranscodeTaskId"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+}
+
+// GetTranscodeTaskResponse is the response struct for api GetTranscodeTask
+type GetTranscodeTaskResponse struct {
+	*responses.BaseResponse
+	RequestId     string        `json:"RequestId" xml:"RequestId"`
+	TranscodeTask TranscodeTask `json:"TranscodeTask" xml:"TranscodeTask"`
+}
+
+// CreateGetTranscodeTaskRequest creates a request to invoke GetTranscodeTask API
+func CreateGetTranscodeTaskRequest() (request *GetTranscodeTaskRequest) {
+	request = &GetTranscodeTaskRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("vod", "2017-03-21", "GetTranscodeTask", "vod", "openAPI")
+	return
+}
+
+// CreateGetTranscodeTaskResponse creates a response to parse from GetTranscodeTask response
+func CreateGetTranscodeTaskResponse() (response *GetTranscodeTaskResponse) {
+	response = &GetTranscodeTaskResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 111 - 0
services/vod/list_transcode_task.go

@@ -0,0 +1,111 @@
+package vod
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// ListTranscodeTask invokes the vod.ListTranscodeTask API synchronously
+// api document: https://help.aliyun.com/api/vod/listtranscodetask.html
+func (client *Client) ListTranscodeTask(request *ListTranscodeTaskRequest) (response *ListTranscodeTaskResponse, err error) {
+	response = CreateListTranscodeTaskResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// ListTranscodeTaskWithChan invokes the vod.ListTranscodeTask API asynchronously
+// api document: https://help.aliyun.com/api/vod/listtranscodetask.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ListTranscodeTaskWithChan(request *ListTranscodeTaskRequest) (<-chan *ListTranscodeTaskResponse, <-chan error) {
+	responseChan := make(chan *ListTranscodeTaskResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.ListTranscodeTask(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// ListTranscodeTaskWithCallback invokes the vod.ListTranscodeTask API asynchronously
+// api document: https://help.aliyun.com/api/vod/listtranscodetask.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ListTranscodeTaskWithCallback(request *ListTranscodeTaskRequest, callback func(response *ListTranscodeTaskResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *ListTranscodeTaskResponse
+		var err error
+		defer close(result)
+		response, err = client.ListTranscodeTask(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// ListTranscodeTaskRequest is the request struct for api ListTranscodeTask
+type ListTranscodeTaskRequest struct {
+	*requests.RpcRequest
+	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	PageNo               requests.Integer `position:"Query" name:"PageNo"`
+	PageSize             requests.Integer `position:"Query" name:"PageSize"`
+	EndTime              string           `position:"Query" name:"EndTime"`
+	VideoId              string           `position:"Query" name:"VideoId"`
+	StartTime            string           `position:"Query" name:"StartTime"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+}
+
+// ListTranscodeTaskResponse is the response struct for api ListTranscodeTask
+type ListTranscodeTaskResponse struct {
+	*responses.BaseResponse
+	RequestId         string          `json:"RequestId" xml:"RequestId"`
+	TranscodeTaskList []TranscodeTask `json:"TranscodeTaskList" xml:"TranscodeTaskList"`
+}
+
+// CreateListTranscodeTaskRequest creates a request to invoke ListTranscodeTask API
+func CreateListTranscodeTaskRequest() (request *ListTranscodeTaskRequest) {
+	request = &ListTranscodeTaskRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("vod", "2017-03-21", "ListTranscodeTask", "vod", "openAPI")
+	return
+}
+
+// CreateListTranscodeTaskResponse creates a response to parse from ListTranscodeTask response
+func CreateListTranscodeTaskResponse() (response *ListTranscodeTaskResponse) {
+	response = &ListTranscodeTaskResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 5 - 4
services/vod/search_media.go

@@ -78,15 +78,16 @@ type SearchMediaRequest struct {
 	*requests.RpcRequest
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	Match                string           `position:"Query" name:"Match"`
+	SessionId            string           `position:"Query" name:"SessionId"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	ScrollToken          string           `position:"Query" name:"ScrollToken"`
 	PageNo               requests.Integer `position:"Query" name:"PageNo"`
 	SearchType           string           `position:"Query" name:"SearchType"`
-	Match                string           `position:"Query" name:"Match"`
 	PageSize             requests.Integer `position:"Query" name:"PageSize"`
 	SortBy               string           `position:"Query" name:"SortBy"`
-	SessionId            string           `position:"Query" name:"SessionId"`
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	ResultTypes          string           `position:"Query" name:"ResultTypes"`
 	Fields               string           `position:"Query" name:"Fields"`
-	ScrollToken          string           `position:"Query" name:"ScrollToken"`
 }
 
 // SearchMediaResponse is the response struct for api SearchMedia

+ 27 - 20
services/vod/struct_audio.go

@@ -17,24 +17,31 @@ package vod
 
 // Audio is a nested struct in vod response
 type Audio struct {
-	AudioId          string   `json:"AudioId" xml:"AudioId"`
-	MediaSource      string   `json:"MediaSource" xml:"MediaSource"`
-	Title            string   `json:"Title" xml:"Title"`
-	Tags             string   `json:"Tags" xml:"Tags"`
-	Status           string   `json:"Status" xml:"Status"`
-	Size             int      `json:"Size" xml:"Size"`
-	Duration         float64  `json:"Duration" xml:"Duration"`
-	Description      string   `json:"Description" xml:"Description"`
-	ModificationTime string   `json:"ModificationTime" xml:"ModificationTime"`
-	CreationTime     string   `json:"CreationTime" xml:"CreationTime"`
-	CoverURL         string   `json:"CoverURL" xml:"CoverURL"`
-	CateId           int      `json:"CateId" xml:"CateId"`
-	CateName         string   `json:"CateName" xml:"CateName"`
-	DownloadSwitch   string   `json:"DownloadSwitch" xml:"DownloadSwitch"`
-	PreprocessStatus string   `json:"PreprocessStatus" xml:"PreprocessStatus"`
-	StorageLocation  string   `json:"StorageLocation" xml:"StorageLocation"`
-	RegionId         string   `json:"RegionId" xml:"RegionId"`
-	TranscodeMode    string   `json:"TranscodeMode" xml:"TranscodeMode"`
-	Snapshots        []string `json:"Snapshots" xml:"Snapshots"`
-	SpriteSnapshots  []string `json:"SpriteSnapshots" xml:"SpriteSnapshots"`
+	AudioId           string     `json:"AudioId" xml:"AudioId"`
+	MediaSource       string     `json:"MediaSource" xml:"MediaSource"`
+	Title             string     `json:"Title" xml:"Title"`
+	Tags              string     `json:"Tags" xml:"Tags"`
+	Status            string     `json:"Status" xml:"Status"`
+	Size              int        `json:"Size" xml:"Size"`
+	Duration          float64    `json:"Duration" xml:"Duration"`
+	Description       string     `json:"Description" xml:"Description"`
+	ModificationTime  string     `json:"ModificationTime" xml:"ModificationTime"`
+	CreationTime      string     `json:"CreationTime" xml:"CreationTime"`
+	CoverURL          string     `json:"CoverURL" xml:"CoverURL"`
+	CateId            int        `json:"CateId" xml:"CateId"`
+	CateName          string     `json:"CateName" xml:"CateName"`
+	DownloadSwitch    string     `json:"DownloadSwitch" xml:"DownloadSwitch"`
+	PreprocessStatus  string     `json:"PreprocessStatus" xml:"PreprocessStatus"`
+	StorageLocation   string     `json:"StorageLocation" xml:"StorageLocation"`
+	RegionId          string     `json:"RegionId" xml:"RegionId"`
+	TranscodeMode     string     `json:"TranscodeMode" xml:"TranscodeMode"`
+	AuditStatus       string     `json:"AuditStatus" xml:"AuditStatus"`
+	AuditAIStatus     string     `json:"AuditAIStatus" xml:"AuditAIStatus"`
+	AuditManualStatus string     `json:"AuditManualStatus" xml:"AuditManualStatus"`
+	AuditAIResult     string     `json:"AuditAIResult" xml:"AuditAIResult"`
+	AuditTemplateId   string     `json:"AuditTemplateId" xml:"AuditTemplateId"`
+	CustomMediaInfo   string     `json:"CustomMediaInfo" xml:"CustomMediaInfo"`
+	Snapshots         []string   `json:"Snapshots" xml:"Snapshots"`
+	SpriteSnapshots   []string   `json:"SpriteSnapshots" xml:"SpriteSnapshots"`
+	PlayInfoList      []PlayInfo `json:"PlayInfoList" xml:"PlayInfoList"`
 }

+ 1 - 0
services/vod/struct_image_info.go

@@ -27,5 +27,6 @@ type ImageInfo struct {
 	CateName        string    `json:"CateName" xml:"CateName"`
 	Description     string    `json:"Description" xml:"Description"`
 	StorageLocation string    `json:"StorageLocation" xml:"StorageLocation"`
+	Status          string    `json:"Status" xml:"Status"`
 	Mezzanine       Mezzanine `json:"Mezzanine" xml:"Mezzanine"`
 }

+ 21 - 0
services/vod/struct_non_exist_video_ids_in_get_transcode_summary.go

@@ -0,0 +1,21 @@
+package vod
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// NonExistVideoIdsInGetTranscodeSummary is a nested struct in vod response
+type NonExistVideoIdsInGetTranscodeSummary struct {
+	VideoId []string `json:"VideoId" xml:"VideoId"`
+}

+ 33 - 0
services/vod/struct_output_file.go

@@ -0,0 +1,33 @@
+package vod
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// OutputFile is a nested struct in vod response
+type OutputFile struct {
+	Width              string   `json:"Width" xml:"Width"`
+	Height             string   `json:"Height" xml:"Height"`
+	Bitrate            string   `json:"Bitrate" xml:"Bitrate"`
+	Fps                string   `json:"Fps" xml:"Fps"`
+	Format             string   `json:"Format" xml:"Format"`
+	Duration           string   `json:"Duration" xml:"Duration"`
+	Filesize           int      `json:"Filesize" xml:"Filesize"`
+	Encryption         string   `json:"Encryption" xml:"Encryption"`
+	AudioStreamList    string   `json:"AudioStreamList" xml:"AudioStreamList"`
+	VideoStreamList    string   `json:"VideoStreamList" xml:"VideoStreamList"`
+	SubtitleStreamList string   `json:"SubtitleStreamList" xml:"SubtitleStreamList"`
+	OutputFileUrl      string   `json:"OutputFileUrl" xml:"OutputFileUrl"`
+	WatermarkIdList    []string `json:"WatermarkIdList" xml:"WatermarkIdList"`
+}

+ 15 - 21
services/vod/struct_play_info.go

@@ -17,25 +17,19 @@ package vod
 
 // PlayInfo is a nested struct in vod response
 type PlayInfo struct {
-	JobId            string `json:"JobId" xml:"JobId"`
-	Format           string `json:"Format" xml:"Format"`
-	PreprocessStatus string `json:"PreprocessStatus" xml:"PreprocessStatus"`
-	EncryptType      string `json:"EncryptType" xml:"EncryptType"`
-	Fps              string `json:"Fps" xml:"Fps"`
-	ModificationTime string `json:"ModificationTime" xml:"ModificationTime"`
-	Bitrate          string `json:"Bitrate" xml:"Bitrate"`
-	Encrypt          int    `json:"Encrypt" xml:"Encrypt"`
-	Rand             string `json:"Rand" xml:"Rand"`
-	CreationTime     string `json:"CreationTime" xml:"CreationTime"`
-	StreamType       string `json:"StreamType" xml:"StreamType"`
-	Height           int    `json:"Height" xml:"Height"`
-	WatermarkId      string `json:"WatermarkId" xml:"WatermarkId"`
-	Duration         string `json:"Duration" xml:"Duration"`
-	Complexity       string `json:"Complexity" xml:"Complexity"`
-	Width            int    `json:"Width" xml:"Width"`
-	Size             int    `json:"Size" xml:"Size"`
-	Status           string `json:"Status" xml:"Status"`
-	Definition       string `json:"Definition" xml:"Definition"`
-	Plaintext        string `json:"Plaintext" xml:"Plaintext"`
-	PlayURL          string `json:"PlayURL" xml:"PlayURL"`
+	Height     string `json:"Height" xml:"Height"`
+	JobId      string `json:"JobId" xml:"JobId"`
+	Format     string `json:"Format" xml:"Format"`
+	Fps        string `json:"Fps" xml:"Fps"`
+	Bitrate    string `json:"Bitrate" xml:"Bitrate"`
+	Encrypt    int    `json:"Encrypt" xml:"Encrypt"`
+	Rand       string `json:"Rand" xml:"Rand"`
+	StreamType string `json:"StreamType" xml:"StreamType"`
+	Width      string `json:"Width" xml:"Width"`
+	Duration   string `json:"Duration" xml:"Duration"`
+	Complexity string `json:"Complexity" xml:"Complexity"`
+	Size       string `json:"Size" xml:"Size"`
+	Definition string `json:"Definition" xml:"Definition"`
+	Plaintext  string `json:"Plaintext" xml:"Plaintext"`
+	PlayURL    string `json:"PlayURL" xml:"PlayURL"`
 }

+ 42 - 0
services/vod/struct_play_info_in_get_play_info.go

@@ -0,0 +1,42 @@
+package vod
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// PlayInfoInGetPlayInfo is a nested struct in vod response
+type PlayInfoInGetPlayInfo struct {
+	Width            int    `json:"Width" xml:"Width"`
+	Height           int    `json:"Height" xml:"Height"`
+	Size             int    `json:"Size" xml:"Size"`
+	PlayURL          string `json:"PlayURL" xml:"PlayURL"`
+	Bitrate          string `json:"Bitrate" xml:"Bitrate"`
+	Definition       string `json:"Definition" xml:"Definition"`
+	Duration         string `json:"Duration" xml:"Duration"`
+	Format           string `json:"Format" xml:"Format"`
+	Fps              string `json:"Fps" xml:"Fps"`
+	Encrypt          int    `json:"Encrypt" xml:"Encrypt"`
+	Plaintext        string `json:"Plaintext" xml:"Plaintext"`
+	Complexity       string `json:"Complexity" xml:"Complexity"`
+	StreamType       string `json:"StreamType" xml:"StreamType"`
+	Rand             string `json:"Rand" xml:"Rand"`
+	JobId            string `json:"JobId" xml:"JobId"`
+	PreprocessStatus string `json:"PreprocessStatus" xml:"PreprocessStatus"`
+	WatermarkId      string `json:"WatermarkId" xml:"WatermarkId"`
+	Status           string `json:"Status" xml:"Status"`
+	CreationTime     string `json:"CreationTime" xml:"CreationTime"`
+	ModificationTime string `json:"ModificationTime" xml:"ModificationTime"`
+	EncryptType      string `json:"EncryptType" xml:"EncryptType"`
+	NarrowBandType   string `json:"NarrowBandType" xml:"NarrowBandType"`
+}

+ 35 - 0
services/vod/struct_play_info_in_list_live_record_video.go

@@ -0,0 +1,35 @@
+package vod
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// PlayInfoInListLiveRecordVideo is a nested struct in vod response
+type PlayInfoInListLiveRecordVideo struct {
+	Width      int    `json:"Width" xml:"Width"`
+	Height     int    `json:"Height" xml:"Height"`
+	Size       int    `json:"Size" xml:"Size"`
+	PlayURL    string `json:"PlayURL" xml:"PlayURL"`
+	Bitrate    string `json:"Bitrate" xml:"Bitrate"`
+	Definition string `json:"Definition" xml:"Definition"`
+	Duration   string `json:"Duration" xml:"Duration"`
+	Format     string `json:"Format" xml:"Format"`
+	Fps        string `json:"Fps" xml:"Fps"`
+	Encrypt    int    `json:"Encrypt" xml:"Encrypt"`
+	Plaintext  string `json:"Plaintext" xml:"Plaintext"`
+	Complexity string `json:"Complexity" xml:"Complexity"`
+	StreamType string `json:"StreamType" xml:"StreamType"`
+	Rand       string `json:"Rand" xml:"Rand"`
+	JobId      string `json:"JobId" xml:"JobId"`
+}

+ 1 - 1
services/vod/struct_play_info_list_in_get_play_info.go

@@ -17,5 +17,5 @@ package vod
 
 // PlayInfoListInGetPlayInfo is a nested struct in vod response
 type PlayInfoListInGetPlayInfo struct {
-	PlayInfo []PlayInfo `json:"PlayInfo" xml:"PlayInfo"`
+	PlayInfo []PlayInfoInGetPlayInfo `json:"PlayInfo" xml:"PlayInfo"`
 }

+ 1 - 1
services/vod/struct_play_info_list_in_list_live_record_video.go

@@ -17,5 +17,5 @@ package vod
 
 // PlayInfoListInListLiveRecordVideo is a nested struct in vod response
 type PlayInfoListInListLiveRecordVideo struct {
-	PlayInfo []PlayInfo `json:"PlayInfo" xml:"PlayInfo"`
+	PlayInfo []PlayInfoInListLiveRecordVideo `json:"PlayInfo" xml:"PlayInfo"`
 }

+ 21 - 0
services/vod/struct_play_info_list_in_search_media.go

@@ -0,0 +1,21 @@
+package vod
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// PlayInfoListInSearchMedia is a nested struct in vod response
+type PlayInfoListInSearchMedia struct {
+	PlayInfo []PlayInfo `json:"PlayInfo" xml:"PlayInfo"`
+}

+ 32 - 0
services/vod/struct_transcode_job_info.go

@@ -0,0 +1,32 @@
+package vod
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// TranscodeJobInfo is a nested struct in vod response
+type TranscodeJobInfo struct {
+	TranscodeJobId      string     `json:"TranscodeJobId" xml:"TranscodeJobId"`
+	TranscodeTemplateId string     `json:"TranscodeTemplateId" xml:"TranscodeTemplateId"`
+	TranscodeJobStatus  string     `json:"TranscodeJobStatus" xml:"TranscodeJobStatus"`
+	CreationTime        string     `json:"CreationTime" xml:"CreationTime"`
+	CompleteTime        string     `json:"CompleteTime" xml:"CompleteTime"`
+	TranscodeProgress   int        `json:"TranscodeProgress" xml:"TranscodeProgress"`
+	InputFileUrl        string     `json:"InputFileUrl" xml:"InputFileUrl"`
+	Priority            string     `json:"Priority" xml:"Priority"`
+	ErrorCode           string     `json:"ErrorCode" xml:"ErrorCode"`
+	ErrorMessage        string     `json:"ErrorMessage" xml:"ErrorMessage"`
+	Definition          string     `json:"Definition" xml:"Definition"`
+	OutputFile          OutputFile `json:"OutputFile" xml:"OutputFile"`
+}

+ 21 - 0
services/vod/struct_transcode_job_info_list.go

@@ -0,0 +1,21 @@
+package vod
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// TranscodeJobInfoList is a nested struct in vod response
+type TranscodeJobInfoList struct {
+	TranscodeJobInfo []TranscodeJobInfo `json:"TranscodeJobInfo" xml:"TranscodeJobInfo"`
+}

+ 37 - 0
services/vod/struct_transcode_job_info_summary.go

@@ -0,0 +1,37 @@
+package vod
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// TranscodeJobInfoSummary is a nested struct in vod response
+type TranscodeJobInfoSummary struct {
+	TranscodeTemplateId string   `json:"TranscodeTemplateId" xml:"TranscodeTemplateId"`
+	TranscodeJobStatus  string   `json:"TranscodeJobStatus" xml:"TranscodeJobStatus"`
+	CreationTime        string   `json:"CreationTime" xml:"CreationTime"`
+	CompleteTime        string   `json:"CompleteTime" xml:"CompleteTime"`
+	TranscodeProgress   int      `json:"TranscodeProgress" xml:"TranscodeProgress"`
+	ErrorCode           string   `json:"ErrorCode" xml:"ErrorCode"`
+	ErrorMessage        string   `json:"ErrorMessage" xml:"ErrorMessage"`
+	Definition          string   `json:"Definition" xml:"Definition"`
+	Encryption          string   `json:"Encryption" xml:"Encryption"`
+	Width               string   `json:"Width" xml:"Width"`
+	Height              string   `json:"Height" xml:"Height"`
+	Bitrate             string   `json:"Bitrate" xml:"Bitrate"`
+	Fps                 string   `json:"Fps" xml:"Fps"`
+	Format              string   `json:"Format" xml:"Format"`
+	Duration            string   `json:"Duration" xml:"Duration"`
+	Filesize            int      `json:"Filesize" xml:"Filesize"`
+	WatermarkIdList     []string `json:"WatermarkIdList" xml:"WatermarkIdList"`
+}

+ 21 - 0
services/vod/struct_transcode_job_info_summary_list.go

@@ -0,0 +1,21 @@
+package vod
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// TranscodeJobInfoSummaryList is a nested struct in vod response
+type TranscodeJobInfoSummaryList struct {
+	TranscodeJobInfoSummary []TranscodeJobInfoSummary `json:"TranscodeJobInfoSummary" xml:"TranscodeJobInfoSummary"`
+}

+ 27 - 0
services/vod/struct_transcode_summary.go

@@ -0,0 +1,27 @@
+package vod
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// TranscodeSummary is a nested struct in vod response
+type TranscodeSummary struct {
+	VideoId                     string                    `json:"VideoId" xml:"VideoId"`
+	TranscodeStatus             string                    `json:"TranscodeStatus" xml:"TranscodeStatus"`
+	CreationTime                string                    `json:"CreationTime" xml:"CreationTime"`
+	CompleteTime                string                    `json:"CompleteTime" xml:"CompleteTime"`
+	Trigger                     string                    `json:"Trigger" xml:"Trigger"`
+	TranscodeTemplateGroupId    string                    `json:"TranscodeTemplateGroupId" xml:"TranscodeTemplateGroupId"`
+	TranscodeJobInfoSummaryList []TranscodeJobInfoSummary `json:"TranscodeJobInfoSummaryList" xml:"TranscodeJobInfoSummaryList"`
+}

+ 21 - 0
services/vod/struct_transcode_summary_list.go

@@ -0,0 +1,21 @@
+package vod
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// TranscodeSummaryList is a nested struct in vod response
+type TranscodeSummaryList struct {
+	TranscodeSummary []TranscodeSummary `json:"TranscodeSummary" xml:"TranscodeSummary"`
+}

+ 28 - 0
services/vod/struct_transcode_task.go

@@ -0,0 +1,28 @@
+package vod
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// TranscodeTask is a nested struct in vod response
+type TranscodeTask struct {
+	Trigger                  string             `json:"Trigger" xml:"Trigger"`
+	TranscodeTaskId          string             `json:"TranscodeTaskId" xml:"TranscodeTaskId"`
+	CreationTime             string             `json:"CreationTime" xml:"CreationTime"`
+	CompleteTime             string             `json:"CompleteTime" xml:"CompleteTime"`
+	TranscodeTemplateGroupId string             `json:"TranscodeTemplateGroupId" xml:"TranscodeTemplateGroupId"`
+	TaskStatus               string             `json:"TaskStatus" xml:"TaskStatus"`
+	VideoId                  string             `json:"VideoId" xml:"VideoId"`
+	TranscodeJobInfoList     []TranscodeJobInfo `json:"TranscodeJobInfoList" xml:"TranscodeJobInfoList"`
+}

+ 21 - 0
services/vod/struct_transcode_task_list.go

@@ -0,0 +1,21 @@
+package vod
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// TranscodeTaskList is a nested struct in vod response
+type TranscodeTaskList struct {
+	TranscodeTask []TranscodeTask `json:"TranscodeTask" xml:"TranscodeTask"`
+}

+ 32 - 25
services/vod/struct_video.go

@@ -17,29 +17,36 @@ package vod
 
 // Video is a nested struct in vod response
 type Video struct {
-	MediaSource      string      `json:"MediaSource" xml:"MediaSource"`
-	ModifyTime       string      `json:"ModifyTime" xml:"ModifyTime"`
-	Title            string      `json:"Title" xml:"Title"`
-	CreateTime       string      `json:"CreateTime" xml:"CreateTime"`
-	TemplateGroupId  string      `json:"TemplateGroupId" xml:"TemplateGroupId"`
-	MediaType        string      `json:"MediaType" xml:"MediaType"`
-	RegionId         string      `json:"RegionId" xml:"RegionId"`
-	Duration         float64     `json:"Duration" xml:"Duration"`
-	CateName         string      `json:"CateName" xml:"CateName"`
-	Size             int         `json:"Size" xml:"Size"`
-	Description      string      `json:"Description" xml:"Description"`
-	CateId           int         `json:"CateId" xml:"CateId"`
-	Tags             string      `json:"Tags" xml:"Tags"`
-	PreprocessStatus string      `json:"PreprocessStatus" xml:"PreprocessStatus"`
-	TranscodeMode    string      `json:"TranscodeMode" xml:"TranscodeMode"`
-	ModificationTime string      `json:"ModificationTime" xml:"ModificationTime"`
-	StorageLocation  string      `json:"StorageLocation" xml:"StorageLocation"`
-	CreationTime     string      `json:"CreationTime" xml:"CreationTime"`
-	CoverURL         string      `json:"CoverURL" xml:"CoverURL"`
-	Status           string      `json:"Status" xml:"Status"`
-	DownloadSwitch   string      `json:"DownloadSwitch" xml:"DownloadSwitch"`
-	VideoId          string      `json:"VideoId" xml:"VideoId"`
-	SpriteSnapshots  []string    `json:"SpriteSnapshots" xml:"SpriteSnapshots"`
-	Snapshots        []string    `json:"Snapshots" xml:"Snapshots"`
-	ThumbnailList    []Thumbnail `json:"ThumbnailList" xml:"ThumbnailList"`
+	MediaSource       string      `json:"MediaSource" xml:"MediaSource"`
+	AuditManualStatus string      `json:"AuditManualStatus" xml:"AuditManualStatus"`
+	ModifyTime        string      `json:"ModifyTime" xml:"ModifyTime"`
+	Title             string      `json:"Title" xml:"Title"`
+	CreateTime        string      `json:"CreateTime" xml:"CreateTime"`
+	TemplateGroupId   string      `json:"TemplateGroupId" xml:"TemplateGroupId"`
+	MediaType         string      `json:"MediaType" xml:"MediaType"`
+	CustomMediaInfo   string      `json:"CustomMediaInfo" xml:"CustomMediaInfo"`
+	AuditAIStatus     string      `json:"AuditAIStatus" xml:"AuditAIStatus"`
+	RegionId          string      `json:"RegionId" xml:"RegionId"`
+	Duration          float64     `json:"Duration" xml:"Duration"`
+	CateName          string      `json:"CateName" xml:"CateName"`
+	Size              int         `json:"Size" xml:"Size"`
+	Description       string      `json:"Description" xml:"Description"`
+	CateId            int         `json:"CateId" xml:"CateId"`
+	Tags              string      `json:"Tags" xml:"Tags"`
+	PreprocessStatus  string      `json:"PreprocessStatus" xml:"PreprocessStatus"`
+	TranscodeMode     string      `json:"TranscodeMode" xml:"TranscodeMode"`
+	ModificationTime  string      `json:"ModificationTime" xml:"ModificationTime"`
+	StorageLocation   string      `json:"StorageLocation" xml:"StorageLocation"`
+	CreationTime      string      `json:"CreationTime" xml:"CreationTime"`
+	AuditAIResult     string      `json:"AuditAIResult" xml:"AuditAIResult"`
+	CoverURL          string      `json:"CoverURL" xml:"CoverURL"`
+	AuditTemplateId   string      `json:"AuditTemplateId" xml:"AuditTemplateId"`
+	Status            string      `json:"Status" xml:"Status"`
+	AuditStatus       string      `json:"AuditStatus" xml:"AuditStatus"`
+	DownloadSwitch    string      `json:"DownloadSwitch" xml:"DownloadSwitch"`
+	VideoId           string      `json:"VideoId" xml:"VideoId"`
+	SpriteSnapshots   []string    `json:"SpriteSnapshots" xml:"SpriteSnapshots"`
+	Snapshots         []string    `json:"Snapshots" xml:"Snapshots"`
+	PlayInfoList      []PlayInfo  `json:"PlayInfoList" xml:"PlayInfoList"`
+	ThumbnailList     []Thumbnail `json:"ThumbnailList" xml:"ThumbnailList"`
 }

+ 1 - 0
services/vod/struct_video_in_get_video_info.go

@@ -36,6 +36,7 @@ type VideoInGetVideoInfo struct {
 	PreprocessStatus string                      `json:"PreprocessStatus" xml:"PreprocessStatus"`
 	StorageLocation  string                      `json:"StorageLocation" xml:"StorageLocation"`
 	RegionId         string                      `json:"RegionId" xml:"RegionId"`
+	CustomMediaInfo  string                      `json:"CustomMediaInfo" xml:"CustomMediaInfo"`
 	Snapshots        SnapshotsInGetVideoInfo     `json:"Snapshots" xml:"Snapshots"`
 	ThumbnailList    ThumbnailListInGetVideoInfo `json:"ThumbnailList" xml:"ThumbnailList"`
 }

+ 1 - 0
services/vod/struct_video_stream.go

@@ -38,4 +38,5 @@ type VideoStream struct {
 	Duration       string `json:"Duration" xml:"Duration"`
 	NumFrames      string `json:"NumFrames" xml:"NumFrames"`
 	Lang           string `json:"Lang" xml:"Lang"`
+	Rotate         string `json:"Rotate" xml:"Rotate"`
 }

+ 21 - 0
services/vod/struct_watermark_id_list_in_get_transcode_summary.go

@@ -0,0 +1,21 @@
+package vod
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// WatermarkIdListInGetTranscodeSummary is a nested struct in vod response
+type WatermarkIdListInGetTranscodeSummary struct {
+	WatermarkId []string `json:"WatermarkId" xml:"WatermarkId"`
+}

+ 21 - 0
services/vod/struct_watermark_id_list_in_get_transcode_task.go

@@ -0,0 +1,21 @@
+package vod
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// WatermarkIdListInGetTranscodeTask is a nested struct in vod response
+type WatermarkIdListInGetTranscodeTask struct {
+	WatermarkId []string `json:"WatermarkId" xml:"WatermarkId"`
+}

+ 5 - 2
services/vod/update_video_info.go

@@ -76,15 +76,18 @@ func (client *Client) UpdateVideoInfoWithCallback(request *UpdateVideoInfoReques
 // UpdateVideoInfoRequest is the request struct for api UpdateVideoInfo
 type UpdateVideoInfoRequest struct {
 	*requests.RpcRequest
-	CoverURL             string           `position:"Query" name:"CoverURL"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
-	CateId               requests.Integer `position:"Query" name:"CateId"`
 	Description          string           `position:"Query" name:"Description"`
 	VideoId              string           `position:"Query" name:"VideoId"`
 	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 	Title                string           `position:"Query" name:"Title"`
 	Tags                 string           `position:"Query" name:"Tags"`
+	CoverURL             string           `position:"Query" name:"CoverURL"`
+	DownloadSwitch       string           `position:"Query" name:"DownloadSwitch"`
+	CateId               requests.Integer `position:"Query" name:"CateId"`
+	CustomMediaInfo      string           `position:"Query" name:"CustomMediaInfo"`
+	Status               string           `position:"Query" name:"Status"`
 }
 
 // UpdateVideoInfoResponse is the response struct for api UpdateVideoInfo