Browse Source

VOD SDK Auto Released By guzhaoyuan,Version:1.60.12

Signed-off-by: sdk-team <sdk-team@alibabacloud.com>
sdk-team 6 years ago
parent
commit
13c38e4035
66 changed files with 1330 additions and 58 deletions
  1. 8 0
      ChangeLog.txt
  2. 1 0
      services/vod/attach_app_policy_to_identity.go
  3. 28 5
      services/vod/client.go
  4. 1 0
      services/vod/create_upload_image.go
  5. 3 3
      services/vod/describe_play_top_videos.go
  6. 108 0
      services/vod/describe_vod_ai_data.go
  7. 116 0
      services/vod/describe_vod_domain_usage_data.go
  8. 3 3
      services/vod/describe_vod_refresh_tasks.go
  9. 109 0
      services/vod/describe_vod_storage_data.go
  10. 108 0
      services/vod/describe_vod_transcode_data.go
  11. 108 0
      services/vod/get_ai_video_tag_result.go
  12. 1 1
      services/vod/get_audit_history.go
  13. 1 1
      services/vod/get_categories.go
  14. 111 0
      services/vod/get_upload_details.go
  15. 1 1
      services/vod/search_media.go
  16. 21 0
      services/vod/struct_ai_data.go
  17. 22 0
      services/vod/struct_ai_data_item.go
  18. 4 2
      services/vod/struct_attached_media.go
  19. 2 0
      services/vod/struct_attached_media_in_search_media.go
  20. 2 2
      services/vod/struct_audio.go
  21. 4 4
      services/vod/struct_category.go
  22. 21 0
      services/vod/struct_category_in_get_ai_video_tag_result.go
  23. 21 0
      services/vod/struct_category_item.go
  24. 2 2
      services/vod/struct_data.go
  25. 21 0
      services/vod/struct_data_in_describe_vod_ai_data.go
  26. 21 0
      services/vod/struct_data_in_describe_vod_transcode_data.go
  27. 22 0
      services/vod/struct_data_item.go
  28. 1 1
      services/vod/struct_domain_log_detail.go
  29. 21 0
      services/vod/struct_forbidden_media_ids.go
  30. 1 1
      services/vod/struct_image.go
  31. 2 1
      services/vod/struct_image_info.go
  32. 21 0
      services/vod/struct_keyword.go
  33. 22 0
      services/vod/struct_keyword_item.go
  34. 21 0
      services/vod/struct_location.go
  35. 22 0
      services/vod/struct_location_item.go
  36. 1 1
      services/vod/struct_log_info_detail.go
  37. 1 1
      services/vod/struct_material.go
  38. 1 1
      services/vod/struct_media_snapshot.go
  39. 3 3
      services/vod/struct_mezzanine_in_get_mezzanine_info.go
  40. 21 0
      services/vod/struct_non_exist_media_ids_in_get_upload_details.go
  41. 1 1
      services/vod/struct_output_file.go
  42. 3 3
      services/vod/struct_page_infos.go
  43. 21 0
      services/vod/struct_person.go
  44. 23 0
      services/vod/struct_person_item.go
  45. 1 1
      services/vod/struct_play_info.go
  46. 5 4
      services/vod/struct_play_info_in_get_play_info.go
  47. 4 4
      services/vod/struct_play_info_in_list_live_record_video.go
  48. 1 1
      services/vod/struct_snapshot.go
  49. 21 0
      services/vod/struct_storage_data.go
  50. 23 0
      services/vod/struct_storage_data_item.go
  51. 21 0
      services/vod/struct_time.go
  52. 22 0
      services/vod/struct_time_item.go
  53. 21 0
      services/vod/struct_times_in_get_ai_video_tag_result.go
  54. 21 0
      services/vod/struct_transcode_data.go
  55. 22 0
      services/vod/struct_transcode_data_item.go
  56. 1 1
      services/vod/struct_transcode_job_info.go
  57. 2 2
      services/vod/struct_transcode_job_info_summary.go
  58. 33 0
      services/vod/struct_upload_detail.go
  59. 21 0
      services/vod/struct_upload_details.go
  60. 21 0
      services/vod/struct_usage_data_per_interval.go
  61. 2 2
      services/vod/struct_video.go
  62. 2 2
      services/vod/struct_video_in_get_video_info.go
  63. 2 2
      services/vod/struct_video_in_get_video_list.go
  64. 2 2
      services/vod/struct_video_in_list_live_record_video.go
  65. 25 0
      services/vod/struct_video_tag_result.go
  66. 1 0
      services/vod/submit_snapshot_job.go

+ 8 - 0
ChangeLog.txt

@@ -1,3 +1,11 @@
+2019-05-16 Version: 1.60.12
+1, Add some new apis to fetch the usage data from VoD, such as DescribeVodDomainUsageData, DescribeVodStorageData, DescribeVodTranscodeData, DescribeVodAIData.
+2, Add a new api named GetUploadDetails to describe the upload detail, such as uploading time and uploading source.
+3, Add a new api named GetAIVideoTagResult to describe the result of AI tag.
+4, Add new field Icon and OnlineStatus to some apis to manage short video materials, such as SearchMedia, GetAttachedMediaInfo, CreateUploadAttachedMedia.
+5, Add a new field RegionId to the response of GetAttachedMediaInfo and GetImageInfo.
+6, Add the field named UserData to SubmitSnapshotJob api request.
+
 2019-05-16 Version: 1.60.11
 1, Update SDK Version
 2, Change api UpgradeClusterAddons, UpgradeClusterComponents, DescribeClusterAddonsVersion to public

+ 1 - 0
services/vod/attach_app_policy_to_identity.go

@@ -82,6 +82,7 @@ type AttachAppPolicyToIdentityRequest struct {
 	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	AppId                string           `position:"Query" name:"AppId"`
 	PolicyNames          string           `position:"Query" name:"PolicyNames"`
+	ResourceRealOwnerId  string           `position:"Query" name:"ResourceRealOwnerId"`
 	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 }
 

+ 28 - 5
services/vod/client.go

@@ -18,6 +18,7 @@ package vod
 import (
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/auth"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/auth/credentials/provider"
 )
 
 // Client is the sdk client struct, each func corresponds to an OpenAPI
@@ -32,6 +33,20 @@ func NewClient() (client *Client, err error) {
 	return
 }
 
+// NewClientWithProvider creates a sdk client with providers
+// usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
+func NewClientWithProvider(regionId string, providers ...provider.Provider) (client *Client, err error) {
+	client = &Client{}
+	var pc provider.Provider
+	if len(providers) == 0 {
+		pc = provider.DefaultChain
+	} else {
+		pc = provider.NewProviderChain(providers)
+	}
+	err = client.InitWithProviderChain(regionId, pc)
+	return
+}
+
 // NewClientWithOptions creates a sdk client with regionId/sdkConfig/credential
 // this is the common api to create a sdk client
 func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.Credential) (client *Client, err error) {
@@ -41,7 +56,7 @@ func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.C
 }
 
 // NewClientWithAccessKey is a shortcut to create sdk client with accesskey
-// usage: https://help.aliyun.com/document_detail/66217.html
+// usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
 func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (client *Client, err error) {
 	client = &Client{}
 	err = client.InitWithAccessKey(regionId, accessKeyId, accessKeySecret)
@@ -49,7 +64,7 @@ func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (clie
 }
 
 // NewClientWithStsToken is a shortcut to create sdk client with sts token
-// usage: https://help.aliyun.com/document_detail/66222.html
+// usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
 func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken string) (client *Client, err error) {
 	client = &Client{}
 	err = client.InitWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken)
@@ -57,15 +72,23 @@ func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToke
 }
 
 // NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn
-// usage: https://help.aliyun.com/document_detail/66222.html
+// usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
 func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName string) (client *Client, err error) {
 	client = &Client{}
 	err = client.InitWithRamRoleArn(regionId, accessKeyId, accessKeySecret, roleArn, roleSessionName)
 	return
 }
 
+// NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn and policy
+// usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
+func NewClientWithRamRoleArnAndPolicy(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName, policy string) (client *Client, err error) {
+	client = &Client{}
+	err = client.InitWithRamRoleArnAndPolicy(regionId, accessKeyId, accessKeySecret, roleArn, roleSessionName, policy)
+	return
+}
+
 // NewClientWithEcsRamRole is a shortcut to create sdk client with ecs ram role
-// usage: https://help.aliyun.com/document_detail/66223.html
+// usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
 func NewClientWithEcsRamRole(regionId string, roleName string) (client *Client, err error) {
 	client = &Client{}
 	err = client.InitWithEcsRamRole(regionId, roleName)
@@ -73,7 +96,7 @@ func NewClientWithEcsRamRole(regionId string, roleName string) (client *Client,
 }
 
 // NewClientWithRsaKeyPair is a shortcut to create sdk client with rsa key pair
-// attention: rsa key pair auth is only Japan regions available
+// usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
 func NewClientWithRsaKeyPair(regionId string, publicKeyId, privateKey string, sessionExpiration int) (client *Client, err error) {
 	client = &Client{}
 	err = client.InitWithRsaKeyPair(regionId, publicKeyId, privateKey, sessionExpiration)

+ 1 - 0
services/vod/create_upload_image.go

@@ -99,6 +99,7 @@ type CreateUploadImageResponse struct {
 	ImageURL      string `json:"ImageURL" xml:"ImageURL"`
 	UploadAddress string `json:"UploadAddress" xml:"UploadAddress"`
 	UploadAuth    string `json:"UploadAuth" xml:"UploadAuth"`
+	FileURL       string `json:"FileURL" xml:"FileURL"`
 }
 
 // CreateCreateUploadImageRequest creates a request to invoke CreateUploadImage API

+ 3 - 3
services/vod/describe_play_top_videos.go

@@ -86,9 +86,9 @@ type DescribePlayTopVideosRequest struct {
 type DescribePlayTopVideosResponse struct {
 	*responses.BaseResponse
 	RequestId     string        `json:"RequestId" xml:"RequestId"`
-	PageNo        int           `json:"PageNo" xml:"PageNo"`
-	PageSize      int           `json:"PageSize" xml:"PageSize"`
-	TotalNum      int           `json:"TotalNum" xml:"TotalNum"`
+	PageNo        int64         `json:"PageNo" xml:"PageNo"`
+	PageSize      int64         `json:"PageSize" xml:"PageSize"`
+	TotalNum      int64         `json:"TotalNum" xml:"TotalNum"`
 	TopPlayVideos TopPlayVideos `json:"TopPlayVideos" xml:"TopPlayVideos"`
 }
 

+ 108 - 0
services/vod/describe_vod_ai_data.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"
+)
+
+// DescribeVodAIData invokes the vod.DescribeVodAIData API synchronously
+// api document: https://help.aliyun.com/api/vod/describevodaidata.html
+func (client *Client) DescribeVodAIData(request *DescribeVodAIDataRequest) (response *DescribeVodAIDataResponse, err error) {
+	response = CreateDescribeVodAIDataResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeVodAIDataWithChan invokes the vod.DescribeVodAIData API asynchronously
+// api document: https://help.aliyun.com/api/vod/describevodaidata.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeVodAIDataWithChan(request *DescribeVodAIDataRequest) (<-chan *DescribeVodAIDataResponse, <-chan error) {
+	responseChan := make(chan *DescribeVodAIDataResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeVodAIData(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeVodAIDataWithCallback invokes the vod.DescribeVodAIData API asynchronously
+// api document: https://help.aliyun.com/api/vod/describevodaidata.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeVodAIDataWithCallback(request *DescribeVodAIDataRequest, callback func(response *DescribeVodAIDataResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeVodAIDataResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeVodAIData(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeVodAIDataRequest is the request struct for api DescribeVodAIData
+type DescribeVodAIDataRequest struct {
+	*requests.RpcRequest
+	StartTime string           `position:"Query" name:"StartTime"`
+	EndTime   string           `position:"Query" name:"EndTime"`
+	OwnerId   requests.Integer `position:"Query" name:"OwnerId"`
+	Region    string           `position:"Query" name:"Region"`
+}
+
+// DescribeVodAIDataResponse is the response struct for api DescribeVodAIData
+type DescribeVodAIDataResponse struct {
+	*responses.BaseResponse
+	RequestId    string `json:"RequestId" xml:"RequestId"`
+	DataInterval string `json:"DataInterval" xml:"DataInterval"`
+	AIData       AIData `json:"AIData" xml:"AIData"`
+}
+
+// CreateDescribeVodAIDataRequest creates a request to invoke DescribeVodAIData API
+func CreateDescribeVodAIDataRequest() (request *DescribeVodAIDataRequest) {
+	request = &DescribeVodAIDataRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("vod", "2017-03-21", "DescribeVodAIData", "vod", "openAPI")
+	return
+}
+
+// CreateDescribeVodAIDataResponse creates a response to parse from DescribeVodAIData response
+func CreateDescribeVodAIDataResponse() (response *DescribeVodAIDataResponse) {
+	response = &DescribeVodAIDataResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 116 - 0
services/vod/describe_vod_domain_usage_data.go

@@ -0,0 +1,116 @@
+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"
+)
+
+// DescribeVodDomainUsageData invokes the vod.DescribeVodDomainUsageData API synchronously
+// api document: https://help.aliyun.com/api/vod/describevoddomainusagedata.html
+func (client *Client) DescribeVodDomainUsageData(request *DescribeVodDomainUsageDataRequest) (response *DescribeVodDomainUsageDataResponse, err error) {
+	response = CreateDescribeVodDomainUsageDataResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeVodDomainUsageDataWithChan invokes the vod.DescribeVodDomainUsageData API asynchronously
+// api document: https://help.aliyun.com/api/vod/describevoddomainusagedata.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeVodDomainUsageDataWithChan(request *DescribeVodDomainUsageDataRequest) (<-chan *DescribeVodDomainUsageDataResponse, <-chan error) {
+	responseChan := make(chan *DescribeVodDomainUsageDataResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeVodDomainUsageData(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeVodDomainUsageDataWithCallback invokes the vod.DescribeVodDomainUsageData API asynchronously
+// api document: https://help.aliyun.com/api/vod/describevoddomainusagedata.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeVodDomainUsageDataWithCallback(request *DescribeVodDomainUsageDataRequest, callback func(response *DescribeVodDomainUsageDataResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeVodDomainUsageDataResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeVodDomainUsageData(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeVodDomainUsageDataRequest is the request struct for api DescribeVodDomainUsageData
+type DescribeVodDomainUsageDataRequest struct {
+	*requests.RpcRequest
+	StartTime  string           `position:"Query" name:"StartTime"`
+	Type       string           `position:"Query" name:"Type"`
+	Area       string           `position:"Query" name:"Area"`
+	DomainName string           `position:"Query" name:"DomainName"`
+	EndTime    string           `position:"Query" name:"EndTime"`
+	OwnerId    requests.Integer `position:"Query" name:"OwnerId"`
+	Field      string           `position:"Query" name:"Field"`
+}
+
+// DescribeVodDomainUsageDataResponse is the response struct for api DescribeVodDomainUsageData
+type DescribeVodDomainUsageDataResponse struct {
+	*responses.BaseResponse
+	RequestId            string               `json:"RequestId" xml:"RequestId"`
+	DomainName           string               `json:"DomainName" xml:"DomainName"`
+	StartTime            string               `json:"StartTime" xml:"StartTime"`
+	EndTime              string               `json:"EndTime" xml:"EndTime"`
+	Type                 string               `json:"Type" xml:"Type"`
+	Area                 string               `json:"Area" xml:"Area"`
+	DataInterval         string               `json:"DataInterval" xml:"DataInterval"`
+	UsageDataPerInterval UsageDataPerInterval `json:"UsageDataPerInterval" xml:"UsageDataPerInterval"`
+}
+
+// CreateDescribeVodDomainUsageDataRequest creates a request to invoke DescribeVodDomainUsageData API
+func CreateDescribeVodDomainUsageDataRequest() (request *DescribeVodDomainUsageDataRequest) {
+	request = &DescribeVodDomainUsageDataRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("vod", "2017-03-21", "DescribeVodDomainUsageData", "vod", "openAPI")
+	return
+}
+
+// CreateDescribeVodDomainUsageDataResponse creates a response to parse from DescribeVodDomainUsageData response
+func CreateDescribeVodDomainUsageDataResponse() (response *DescribeVodDomainUsageDataResponse) {
+	response = &DescribeVodDomainUsageDataResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 3 - 3
services/vod/describe_vod_refresh_tasks.go

@@ -94,9 +94,9 @@ type DescribeVodRefreshTasksRequest struct {
 type DescribeVodRefreshTasksResponse struct {
 	*responses.BaseResponse
 	RequestId  string `json:"RequestId" xml:"RequestId"`
-	PageNumber int    `json:"PageNumber" xml:"PageNumber"`
-	PageSize   int    `json:"PageSize" xml:"PageSize"`
-	TotalCount int    `json:"TotalCount" xml:"TotalCount"`
+	PageNumber int64  `json:"PageNumber" xml:"PageNumber"`
+	PageSize   int64  `json:"PageSize" xml:"PageSize"`
+	TotalCount int64  `json:"TotalCount" xml:"TotalCount"`
 	Tasks      Tasks  `json:"Tasks" xml:"Tasks"`
 }
 

+ 109 - 0
services/vod/describe_vod_storage_data.go

@@ -0,0 +1,109 @@
+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"
+)
+
+// DescribeVodStorageData invokes the vod.DescribeVodStorageData API synchronously
+// api document: https://help.aliyun.com/api/vod/describevodstoragedata.html
+func (client *Client) DescribeVodStorageData(request *DescribeVodStorageDataRequest) (response *DescribeVodStorageDataResponse, err error) {
+	response = CreateDescribeVodStorageDataResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeVodStorageDataWithChan invokes the vod.DescribeVodStorageData API asynchronously
+// api document: https://help.aliyun.com/api/vod/describevodstoragedata.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeVodStorageDataWithChan(request *DescribeVodStorageDataRequest) (<-chan *DescribeVodStorageDataResponse, <-chan error) {
+	responseChan := make(chan *DescribeVodStorageDataResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeVodStorageData(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeVodStorageDataWithCallback invokes the vod.DescribeVodStorageData API asynchronously
+// api document: https://help.aliyun.com/api/vod/describevodstoragedata.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeVodStorageDataWithCallback(request *DescribeVodStorageDataRequest, callback func(response *DescribeVodStorageDataResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeVodStorageDataResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeVodStorageData(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeVodStorageDataRequest is the request struct for api DescribeVodStorageData
+type DescribeVodStorageDataRequest struct {
+	*requests.RpcRequest
+	StartTime   string           `position:"Query" name:"StartTime"`
+	StorageType string           `position:"Query" name:"StorageType"`
+	EndTime     string           `position:"Query" name:"EndTime"`
+	OwnerId     requests.Integer `position:"Query" name:"OwnerId"`
+	Region      string           `position:"Query" name:"Region"`
+}
+
+// DescribeVodStorageDataResponse is the response struct for api DescribeVodStorageData
+type DescribeVodStorageDataResponse struct {
+	*responses.BaseResponse
+	RequestId    string      `json:"RequestId" xml:"RequestId"`
+	DataInterval string      `json:"DataInterval" xml:"DataInterval"`
+	StorageData  StorageData `json:"StorageData" xml:"StorageData"`
+}
+
+// CreateDescribeVodStorageDataRequest creates a request to invoke DescribeVodStorageData API
+func CreateDescribeVodStorageDataRequest() (request *DescribeVodStorageDataRequest) {
+	request = &DescribeVodStorageDataRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("vod", "2017-03-21", "DescribeVodStorageData", "vod", "openAPI")
+	return
+}
+
+// CreateDescribeVodStorageDataResponse creates a response to parse from DescribeVodStorageData response
+func CreateDescribeVodStorageDataResponse() (response *DescribeVodStorageDataResponse) {
+	response = &DescribeVodStorageDataResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 108 - 0
services/vod/describe_vod_transcode_data.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"
+)
+
+// DescribeVodTranscodeData invokes the vod.DescribeVodTranscodeData API synchronously
+// api document: https://help.aliyun.com/api/vod/describevodtranscodedata.html
+func (client *Client) DescribeVodTranscodeData(request *DescribeVodTranscodeDataRequest) (response *DescribeVodTranscodeDataResponse, err error) {
+	response = CreateDescribeVodTranscodeDataResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeVodTranscodeDataWithChan invokes the vod.DescribeVodTranscodeData API asynchronously
+// api document: https://help.aliyun.com/api/vod/describevodtranscodedata.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeVodTranscodeDataWithChan(request *DescribeVodTranscodeDataRequest) (<-chan *DescribeVodTranscodeDataResponse, <-chan error) {
+	responseChan := make(chan *DescribeVodTranscodeDataResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeVodTranscodeData(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeVodTranscodeDataWithCallback invokes the vod.DescribeVodTranscodeData API asynchronously
+// api document: https://help.aliyun.com/api/vod/describevodtranscodedata.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeVodTranscodeDataWithCallback(request *DescribeVodTranscodeDataRequest, callback func(response *DescribeVodTranscodeDataResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeVodTranscodeDataResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeVodTranscodeData(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeVodTranscodeDataRequest is the request struct for api DescribeVodTranscodeData
+type DescribeVodTranscodeDataRequest struct {
+	*requests.RpcRequest
+	StartTime string           `position:"Query" name:"StartTime"`
+	EndTime   string           `position:"Query" name:"EndTime"`
+	OwnerId   requests.Integer `position:"Query" name:"OwnerId"`
+	Region    string           `position:"Query" name:"Region"`
+}
+
+// DescribeVodTranscodeDataResponse is the response struct for api DescribeVodTranscodeData
+type DescribeVodTranscodeDataResponse struct {
+	*responses.BaseResponse
+	RequestId     string        `json:"RequestId" xml:"RequestId"`
+	DataInterval  string        `json:"DataInterval" xml:"DataInterval"`
+	TranscodeData TranscodeData `json:"TranscodeData" xml:"TranscodeData"`
+}
+
+// CreateDescribeVodTranscodeDataRequest creates a request to invoke DescribeVodTranscodeData API
+func CreateDescribeVodTranscodeDataRequest() (request *DescribeVodTranscodeDataRequest) {
+	request = &DescribeVodTranscodeDataRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("vod", "2017-03-21", "DescribeVodTranscodeData", "vod", "openAPI")
+	return
+}
+
+// CreateDescribeVodTranscodeDataResponse creates a response to parse from DescribeVodTranscodeData response
+func CreateDescribeVodTranscodeDataResponse() (response *DescribeVodTranscodeDataResponse) {
+	response = &DescribeVodTranscodeDataResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 108 - 0
services/vod/get_ai_video_tag_result.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"
+)
+
+// GetAIVideoTagResult invokes the vod.GetAIVideoTagResult API synchronously
+// api document: https://help.aliyun.com/api/vod/getaivideotagresult.html
+func (client *Client) GetAIVideoTagResult(request *GetAIVideoTagResultRequest) (response *GetAIVideoTagResultResponse, err error) {
+	response = CreateGetAIVideoTagResultResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// GetAIVideoTagResultWithChan invokes the vod.GetAIVideoTagResult API asynchronously
+// api document: https://help.aliyun.com/api/vod/getaivideotagresult.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) GetAIVideoTagResultWithChan(request *GetAIVideoTagResultRequest) (<-chan *GetAIVideoTagResultResponse, <-chan error) {
+	responseChan := make(chan *GetAIVideoTagResultResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.GetAIVideoTagResult(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// GetAIVideoTagResultWithCallback invokes the vod.GetAIVideoTagResult API asynchronously
+// api document: https://help.aliyun.com/api/vod/getaivideotagresult.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) GetAIVideoTagResultWithCallback(request *GetAIVideoTagResultRequest, callback func(response *GetAIVideoTagResultResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *GetAIVideoTagResultResponse
+		var err error
+		defer close(result)
+		response, err = client.GetAIVideoTagResult(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// GetAIVideoTagResultRequest is the request struct for api GetAIVideoTagResult
+type GetAIVideoTagResultRequest struct {
+	*requests.RpcRequest
+	ResourceOwnerId      string `position:"Query" name:"ResourceOwnerId"`
+	ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"`
+	OwnerAccount         string `position:"Query" name:"OwnerAccount"`
+	OwnerId              string `position:"Query" name:"OwnerId"`
+	MediaId              string `position:"Query" name:"MediaId"`
+}
+
+// GetAIVideoTagResultResponse is the response struct for api GetAIVideoTagResult
+type GetAIVideoTagResultResponse struct {
+	*responses.BaseResponse
+	RequestId      string         `json:"RequestId" xml:"RequestId"`
+	VideoTagResult VideoTagResult `json:"VideoTagResult" xml:"VideoTagResult"`
+}
+
+// CreateGetAIVideoTagResultRequest creates a request to invoke GetAIVideoTagResult API
+func CreateGetAIVideoTagResultRequest() (request *GetAIVideoTagResultRequest) {
+	request = &GetAIVideoTagResultRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("vod", "2017-03-21", "GetAIVideoTagResult", "vod", "openAPI")
+	return
+}
+
+// CreateGetAIVideoTagResultResponse creates a response to parse from GetAIVideoTagResult response
+func CreateGetAIVideoTagResultResponse() (response *GetAIVideoTagResultResponse) {
+	response = &GetAIVideoTagResultResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 1 - 1
services/vod/get_audit_history.go

@@ -87,7 +87,7 @@ type GetAuditHistoryResponse struct {
 	*responses.BaseResponse
 	RequestId string    `json:"RequestId" xml:"RequestId"`
 	Status    string    `json:"Status" xml:"Status"`
-	Total     int       `json:"Total" xml:"Total"`
+	Total     int64     `json:"Total" xml:"Total"`
 	Histories []History `json:"Histories" xml:"Histories"`
 }
 

+ 1 - 1
services/vod/get_categories.go

@@ -90,7 +90,7 @@ type GetCategoriesRequest struct {
 type GetCategoriesResponse struct {
 	*responses.BaseResponse
 	RequestId     string        `json:"RequestId" xml:"RequestId"`
-	SubTotal      int           `json:"SubTotal" xml:"SubTotal"`
+	SubTotal      int64         `json:"SubTotal" xml:"SubTotal"`
 	Category      Category      `json:"Category" xml:"Category"`
 	SubCategories SubCategories `json:"SubCategories" xml:"SubCategories"`
 }

+ 111 - 0
services/vod/get_upload_details.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"
+)
+
+// GetUploadDetails invokes the vod.GetUploadDetails API synchronously
+// api document: https://help.aliyun.com/api/vod/getuploaddetails.html
+func (client *Client) GetUploadDetails(request *GetUploadDetailsRequest) (response *GetUploadDetailsResponse, err error) {
+	response = CreateGetUploadDetailsResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// GetUploadDetailsWithChan invokes the vod.GetUploadDetails API asynchronously
+// api document: https://help.aliyun.com/api/vod/getuploaddetails.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) GetUploadDetailsWithChan(request *GetUploadDetailsRequest) (<-chan *GetUploadDetailsResponse, <-chan error) {
+	responseChan := make(chan *GetUploadDetailsResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.GetUploadDetails(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// GetUploadDetailsWithCallback invokes the vod.GetUploadDetails API asynchronously
+// api document: https://help.aliyun.com/api/vod/getuploaddetails.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) GetUploadDetailsWithCallback(request *GetUploadDetailsRequest, callback func(response *GetUploadDetailsResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *GetUploadDetailsResponse
+		var err error
+		defer close(result)
+		response, err = client.GetUploadDetails(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// GetUploadDetailsRequest is the request struct for api GetUploadDetails
+type GetUploadDetailsRequest struct {
+	*requests.RpcRequest
+	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	ResourceRealOwnerId  requests.Integer `position:"Query" name:"ResourceRealOwnerId"`
+	MediaIds             string           `position:"Query" name:"MediaIds"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	MediaType            string           `position:"Query" name:"MediaType"`
+}
+
+// GetUploadDetailsResponse is the response struct for api GetUploadDetails
+type GetUploadDetailsResponse struct {
+	*responses.BaseResponse
+	RequestId         string         `json:"RequestId" xml:"RequestId"`
+	NonExistMediaIds  []string       `json:"NonExistMediaIds" xml:"NonExistMediaIds"`
+	ForbiddenMediaIds []string       `json:"ForbiddenMediaIds" xml:"ForbiddenMediaIds"`
+	UploadDetails     []UploadDetail `json:"UploadDetails" xml:"UploadDetails"`
+}
+
+// CreateGetUploadDetailsRequest creates a request to invoke GetUploadDetails API
+func CreateGetUploadDetailsRequest() (request *GetUploadDetailsRequest) {
+	request = &GetUploadDetailsRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("vod", "2017-03-21", "GetUploadDetails", "vod", "openAPI")
+	return
+}
+
+// CreateGetUploadDetailsResponse creates a response to parse from GetUploadDetails response
+func CreateGetUploadDetailsResponse() (response *GetUploadDetailsResponse) {
+	response = &GetUploadDetailsResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 1 - 1
services/vod/search_media.go

@@ -95,7 +95,7 @@ type SearchMediaResponse struct {
 	*responses.BaseResponse
 	RequestId   string  `json:"RequestId" xml:"RequestId"`
 	ScrollToken string  `json:"ScrollToken" xml:"ScrollToken"`
-	Total       int     `json:"Total" xml:"Total"`
+	Total       int64   `json:"Total" xml:"Total"`
 	MediaList   []Media `json:"MediaList" xml:"MediaList"`
 }
 

+ 21 - 0
services/vod/struct_ai_data.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.
+
+// AIData is a nested struct in vod response
+type AIData struct {
+	AIDataItem []AIDataItem `json:"AIDataItem" xml:"AIDataItem"`
+}

+ 22 - 0
services/vod/struct_ai_data_item.go

@@ -0,0 +1,22 @@
+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.
+
+// AIDataItem is a nested struct in vod response
+type AIDataItem struct {
+	TimeStamp string                  `json:"TimeStamp" xml:"TimeStamp"`
+	Data      DataInDescribeVodAIData `json:"Data" xml:"Data"`
+}

+ 4 - 2
services/vod/struct_attached_media.go

@@ -21,10 +21,12 @@ type AttachedMedia struct {
 	Title            string     `json:"Title" xml:"Title"`
 	ModificationTime string     `json:"ModificationTime" xml:"ModificationTime"`
 	CreationTime     string     `json:"CreationTime" xml:"CreationTime"`
+	Icon             string     `json:"Icon" xml:"Icon"`
 	URL              string     `json:"URL" xml:"URL"`
 	AppId            string     `json:"AppId" xml:"AppId"`
-	FileSize         int        `json:"FileSize" xml:"FileSize"`
-	StorageLocation  int        `json:"StorageLocation" xml:"StorageLocation"`
+	RegionId         string     `json:"RegionId" xml:"RegionId"`
+	FileSize         int64      `json:"FileSize" xml:"FileSize"`
+	StorageLocation  int64      `json:"StorageLocation" xml:"StorageLocation"`
 	Status           string     `json:"Status" xml:"Status"`
 	MediaId          string     `json:"MediaId" xml:"MediaId"`
 	Description      string     `json:"Description" xml:"Description"`

+ 2 - 0
services/vod/struct_attached_media_in_search_media.go

@@ -30,5 +30,7 @@ type AttachedMediaInSearchMedia struct {
 	StorageLocation  string     `json:"StorageLocation" xml:"StorageLocation"`
 	RegionId         string     `json:"RegionId" xml:"RegionId"`
 	AppId            string     `json:"AppId" xml:"AppId"`
+	Icon             string     `json:"Icon" xml:"Icon"`
+	OnlineStatus     string     `json:"OnlineStatus" xml:"OnlineStatus"`
 	Categories       []Category `json:"Categories" xml:"Categories"`
 }

+ 2 - 2
services/vod/struct_audio.go

@@ -22,13 +22,13 @@ type Audio struct {
 	Title             string     `json:"Title" xml:"Title"`
 	Tags              string     `json:"Tags" xml:"Tags"`
 	Status            string     `json:"Status" xml:"Status"`
-	Size              int        `json:"Size" xml:"Size"`
+	Size              int64      `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"`
+	CateId            int64      `json:"CateId" xml:"CateId"`
 	CateName          string     `json:"CateName" xml:"CateName"`
 	DownloadSwitch    string     `json:"DownloadSwitch" xml:"DownloadSwitch"`
 	PreprocessStatus  string     `json:"PreprocessStatus" xml:"PreprocessStatus"`

+ 4 - 4
services/vod/struct_category.go

@@ -18,9 +18,9 @@ package vod
 // Category is a nested struct in vod response
 type Category struct {
 	CateName string `json:"CateName" xml:"CateName"`
-	Level    int    `json:"Level" xml:"Level"`
-	SubTotal int    `json:"SubTotal" xml:"SubTotal"`
-	ParentId int    `json:"ParentId" xml:"ParentId"`
-	CateId   int    `json:"CateId" xml:"CateId"`
+	Level    int64  `json:"Level" xml:"Level"`
+	SubTotal int64  `json:"SubTotal" xml:"SubTotal"`
+	ParentId int64  `json:"ParentId" xml:"ParentId"`
+	CateId   int64  `json:"CateId" xml:"CateId"`
 	Type     string `json:"Type" xml:"Type"`
 }

+ 21 - 0
services/vod/struct_category_in_get_ai_video_tag_result.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.
+
+// CategoryInGetAIVideoTagResult is a nested struct in vod response
+type CategoryInGetAIVideoTagResult struct {
+	CategoryItem []CategoryItem `json:"CategoryItem" xml:"CategoryItem"`
+}

+ 21 - 0
services/vod/struct_category_item.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.
+
+// CategoryItem is a nested struct in vod response
+type CategoryItem struct {
+	Tag string `json:"Tag" xml:"Tag"`
+}

+ 2 - 2
services/vod/struct_data.go

@@ -18,9 +18,9 @@ package vod
 // Data is a nested struct in vod response
 type Data struct {
 	Suggestion      string            `json:"Suggestion" xml:"Suggestion"`
-	AbnormalModules string            `json:"AbnormalModules" xml:"AbnormalModules"`
 	Label           string            `json:"Label" xml:"Label"`
+	AbnormalModules string            `json:"AbnormalModules" xml:"AbnormalModules"`
 	VideoResult     VideoResult       `json:"VideoResult" xml:"VideoResult"`
-	ImageResult     []ImageResultItem `json:"ImageResult" xml:"ImageResult"`
 	TextResult      []TextResultItem  `json:"TextResult" xml:"TextResult"`
+	ImageResult     []ImageResultItem `json:"ImageResult" xml:"ImageResult"`
 }

+ 21 - 0
services/vod/struct_data_in_describe_vod_ai_data.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.
+
+// DataInDescribeVodAIData is a nested struct in vod response
+type DataInDescribeVodAIData struct {
+	DataItem []DataItem `json:"DataItem" xml:"DataItem"`
+}

+ 21 - 0
services/vod/struct_data_in_describe_vod_transcode_data.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.
+
+// DataInDescribeVodTranscodeData is a nested struct in vod response
+type DataInDescribeVodTranscodeData struct {
+	DataItem []DataItem `json:"DataItem" xml:"DataItem"`
+}

+ 22 - 0
services/vod/struct_data_item.go

@@ -0,0 +1,22 @@
+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.
+
+// DataItem is a nested struct in vod response
+type DataItem struct {
+	Name  string `json:"Name" xml:"Name"`
+	Value string `json:"Value" xml:"Value"`
+}

+ 1 - 1
services/vod/struct_domain_log_detail.go

@@ -18,7 +18,7 @@ package vod
 // DomainLogDetail is a nested struct in vod response
 type DomainLogDetail struct {
 	DomainName string    `json:"DomainName" xml:"DomainName"`
-	LogCount   int       `json:"LogCount" xml:"LogCount"`
+	LogCount   int64     `json:"LogCount" xml:"LogCount"`
 	PageInfos  PageInfos `json:"PageInfos" xml:"PageInfos"`
 	LogInfos   LogInfos  `json:"LogInfos" xml:"LogInfos"`
 }

+ 21 - 0
services/vod/struct_forbidden_media_ids.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.
+
+// ForbiddenMediaIds is a nested struct in vod response
+type ForbiddenMediaIds struct {
+	MediaId []string `json:"MediaId" xml:"MediaId"`
+}

+ 1 - 1
services/vod/struct_image.go

@@ -19,7 +19,7 @@ package vod
 type Image struct {
 	Title            string `json:"Title" xml:"Title"`
 	ImageId          string `json:"ImageId" xml:"ImageId"`
-	CateId           int    `json:"CateId" xml:"CateId"`
+	CateId           int64  `json:"CateId" xml:"CateId"`
 	CateName         string `json:"CateName" xml:"CateName"`
 	Ext              string `json:"Ext" xml:"Ext"`
 	CreationTime     string `json:"CreationTime" xml:"CreationTime"`

+ 2 - 1
services/vod/struct_image_info.go

@@ -23,11 +23,12 @@ type ImageInfo struct {
 	ImageType       string    `json:"ImageType" xml:"ImageType"`
 	Tags            string    `json:"Tags" xml:"Tags"`
 	URL             string    `json:"URL" xml:"URL"`
-	CateId          int       `json:"CateId" xml:"CateId"`
+	CateId          int64     `json:"CateId" xml:"CateId"`
 	CateName        string    `json:"CateName" xml:"CateName"`
 	Description     string    `json:"Description" xml:"Description"`
 	StorageLocation string    `json:"StorageLocation" xml:"StorageLocation"`
 	Status          string    `json:"Status" xml:"Status"`
 	AppId           string    `json:"AppId" xml:"AppId"`
+	RegionId        string    `json:"RegionId" xml:"RegionId"`
 	Mezzanine       Mezzanine `json:"Mezzanine" xml:"Mezzanine"`
 }

+ 21 - 0
services/vod/struct_keyword.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.
+
+// Keyword is a nested struct in vod response
+type Keyword struct {
+	KeywordItem []KeywordItem `json:"KeywordItem" xml:"KeywordItem"`
+}

+ 22 - 0
services/vod/struct_keyword_item.go

@@ -0,0 +1,22 @@
+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.
+
+// KeywordItem is a nested struct in vod response
+type KeywordItem struct {
+	Tag   string   `json:"Tag" xml:"Tag"`
+	Times []string `json:"Times" xml:"Times"`
+}

+ 21 - 0
services/vod/struct_location.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.
+
+// Location is a nested struct in vod response
+type Location struct {
+	LocationItem []LocationItem `json:"LocationItem" xml:"LocationItem"`
+}

+ 22 - 0
services/vod/struct_location_item.go

@@ -0,0 +1,22 @@
+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.
+
+// LocationItem is a nested struct in vod response
+type LocationItem struct {
+	Tag   string   `json:"Tag" xml:"Tag"`
+	Times []string `json:"Times" xml:"Times"`
+}

+ 1 - 1
services/vod/struct_log_info_detail.go

@@ -19,7 +19,7 @@ package vod
 type LogInfoDetail struct {
 	LogName   string `json:"LogName" xml:"LogName"`
 	LogPath   string `json:"LogPath" xml:"LogPath"`
-	LogSize   int    `json:"LogSize" xml:"LogSize"`
+	LogSize   int64  `json:"LogSize" xml:"LogSize"`
 	StartTime string `json:"StartTime" xml:"StartTime"`
 	EndTime   string `json:"EndTime" xml:"EndTime"`
 }

+ 1 - 1
services/vod/struct_material.go

@@ -21,7 +21,7 @@ type Material struct {
 	Title        string                                `json:"Title" xml:"Title"`
 	Tags         string                                `json:"Tags" xml:"Tags"`
 	Status       string                                `json:"Status" xml:"Status"`
-	Size         int                                   `json:"Size" xml:"Size"`
+	Size         int64                                 `json:"Size" xml:"Size"`
 	Duration     float64                               `json:"Duration" xml:"Duration"`
 	Description  string                                `json:"Description" xml:"Description"`
 	CreationTime string                                `json:"CreationTime" xml:"CreationTime"`

+ 1 - 1
services/vod/struct_media_snapshot.go

@@ -17,7 +17,7 @@ package vod
 
 // MediaSnapshot is a nested struct in vod response
 type MediaSnapshot struct {
-	Total        int                      `json:"Total" xml:"Total"`
+	Total        int64                    `json:"Total" xml:"Total"`
 	Regular      string                   `json:"Regular" xml:"Regular"`
 	CreationTime string                   `json:"CreationTime" xml:"CreationTime"`
 	JobId        string                   `json:"JobId" xml:"JobId"`

+ 3 - 3
services/vod/struct_mezzanine_in_get_mezzanine_info.go

@@ -22,9 +22,9 @@ type MezzanineInGetMezzanineInfo struct {
 	CreationTime     string        `json:"CreationTime" xml:"CreationTime"`
 	Duration         string        `json:"Duration" xml:"Duration"`
 	Fps              string        `json:"Fps" xml:"Fps"`
-	Height           int           `json:"Height" xml:"Height"`
-	Width            int           `json:"Width" xml:"Width"`
-	Size             int           `json:"Size" xml:"Size"`
+	Height           int64         `json:"Height" xml:"Height"`
+	Width            int64         `json:"Width" xml:"Width"`
+	Size             int64         `json:"Size" xml:"Size"`
 	Status           string        `json:"Status" xml:"Status"`
 	FileURL          string        `json:"FileURL" xml:"FileURL"`
 	FileName         string        `json:"FileName" xml:"FileName"`

+ 21 - 0
services/vod/struct_non_exist_media_ids_in_get_upload_details.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.
+
+// NonExistMediaIdsInGetUploadDetails is a nested struct in vod response
+type NonExistMediaIdsInGetUploadDetails struct {
+	MediaId []string `json:"MediaId" xml:"MediaId"`
+}

+ 1 - 1
services/vod/struct_output_file.go

@@ -23,7 +23,7 @@ type OutputFile struct {
 	Fps                string   `json:"Fps" xml:"Fps"`
 	Format             string   `json:"Format" xml:"Format"`
 	Duration           string   `json:"Duration" xml:"Duration"`
-	Filesize           int      `json:"Filesize" xml:"Filesize"`
+	Filesize           int64    `json:"Filesize" xml:"Filesize"`
 	Encryption         string   `json:"Encryption" xml:"Encryption"`
 	AudioStreamList    string   `json:"AudioStreamList" xml:"AudioStreamList"`
 	VideoStreamList    string   `json:"VideoStreamList" xml:"VideoStreamList"`

+ 3 - 3
services/vod/struct_page_infos.go

@@ -17,7 +17,7 @@ package vod
 
 // PageInfos is a nested struct in vod response
 type PageInfos struct {
-	PageNumber int `json:"PageNumber" xml:"PageNumber"`
-	PageSize   int `json:"PageSize" xml:"PageSize"`
-	Total      int `json:"Total" xml:"Total"`
+	PageNumber int64 `json:"PageNumber" xml:"PageNumber"`
+	PageSize   int64 `json:"PageSize" xml:"PageSize"`
+	Total      int64 `json:"Total" xml:"Total"`
 }

+ 21 - 0
services/vod/struct_person.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.
+
+// Person is a nested struct in vod response
+type Person struct {
+	PersonItem []PersonItem `json:"PersonItem" xml:"PersonItem"`
+}

+ 23 - 0
services/vod/struct_person_item.go

@@ -0,0 +1,23 @@
+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.
+
+// PersonItem is a nested struct in vod response
+type PersonItem struct {
+	FaceUrl string   `json:"FaceUrl" xml:"FaceUrl"`
+	Tag     string   `json:"Tag" xml:"Tag"`
+	Times   []string `json:"Times" xml:"Times"`
+}

+ 1 - 1
services/vod/struct_play_info.go

@@ -22,7 +22,7 @@ type PlayInfo struct {
 	Format     string `json:"Format" xml:"Format"`
 	Fps        string `json:"Fps" xml:"Fps"`
 	Bitrate    string `json:"Bitrate" xml:"Bitrate"`
-	Encrypt    int    `json:"Encrypt" xml:"Encrypt"`
+	Encrypt    int64  `json:"Encrypt" xml:"Encrypt"`
 	Rand       string `json:"Rand" xml:"Rand"`
 	StreamType string `json:"StreamType" xml:"StreamType"`
 	Width      string `json:"Width" xml:"Width"`

+ 5 - 4
services/vod/struct_play_info_in_get_play_info.go

@@ -17,16 +17,16 @@ package vod
 
 // 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"`
+	Width            int64  `json:"Width" xml:"Width"`
+	Height           int64  `json:"Height" xml:"Height"`
+	Size             int64  `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"`
+	Encrypt          int64  `json:"Encrypt" xml:"Encrypt"`
 	Plaintext        string `json:"Plaintext" xml:"Plaintext"`
 	Complexity       string `json:"Complexity" xml:"Complexity"`
 	StreamType       string `json:"StreamType" xml:"StreamType"`
@@ -39,4 +39,5 @@ type PlayInfoInGetPlayInfo struct {
 	ModificationTime string `json:"ModificationTime" xml:"ModificationTime"`
 	EncryptType      string `json:"EncryptType" xml:"EncryptType"`
 	NarrowBandType   string `json:"NarrowBandType" xml:"NarrowBandType"`
+	Specification    string `json:"Specification" xml:"Specification"`
 }

+ 4 - 4
services/vod/struct_play_info_in_list_live_record_video.go

@@ -17,16 +17,16 @@ package vod
 
 // 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"`
+	Width      int64  `json:"Width" xml:"Width"`
+	Height     int64  `json:"Height" xml:"Height"`
+	Size       int64  `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"`
+	Encrypt    int64  `json:"Encrypt" xml:"Encrypt"`
 	Plaintext  string `json:"Plaintext" xml:"Plaintext"`
 	Complexity string `json:"Complexity" xml:"Complexity"`
 	StreamType string `json:"StreamType" xml:"StreamType"`

+ 1 - 1
services/vod/struct_snapshot.go

@@ -17,6 +17,6 @@ package vod
 
 // Snapshot is a nested struct in vod response
 type Snapshot struct {
-	Index int    `json:"Index" xml:"Index"`
+	Index int64  `json:"Index" xml:"Index"`
 	Url   string `json:"Url" xml:"Url"`
 }

+ 21 - 0
services/vod/struct_storage_data.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.
+
+// StorageData is a nested struct in vod response
+type StorageData struct {
+	StorageDataItem []StorageDataItem `json:"StorageDataItem" xml:"StorageDataItem"`
+}

+ 23 - 0
services/vod/struct_storage_data_item.go

@@ -0,0 +1,23 @@
+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.
+
+// StorageDataItem is a nested struct in vod response
+type StorageDataItem struct {
+	TimeStamp          string `json:"TimeStamp" xml:"TimeStamp"`
+	StorageUtilization string `json:"StorageUtilization" xml:"StorageUtilization"`
+	NetworkOut         string `json:"NetworkOut" xml:"NetworkOut"`
+}

+ 21 - 0
services/vod/struct_time.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.
+
+// Time is a nested struct in vod response
+type Time struct {
+	TimeItem []TimeItem `json:"TimeItem" xml:"TimeItem"`
+}

+ 22 - 0
services/vod/struct_time_item.go

@@ -0,0 +1,22 @@
+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.
+
+// TimeItem is a nested struct in vod response
+type TimeItem struct {
+	Tag   string   `json:"Tag" xml:"Tag"`
+	Times []string `json:"Times" xml:"Times"`
+}

+ 21 - 0
services/vod/struct_times_in_get_ai_video_tag_result.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.
+
+// TimesInGetAIVideoTagResult is a nested struct in vod response
+type TimesInGetAIVideoTagResult struct {
+	Times []string `json:"Times" xml:"Times"`
+}

+ 21 - 0
services/vod/struct_transcode_data.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.
+
+// TranscodeData is a nested struct in vod response
+type TranscodeData struct {
+	TranscodeDataItem []TranscodeDataItem `json:"TranscodeDataItem" xml:"TranscodeDataItem"`
+}

+ 22 - 0
services/vod/struct_transcode_data_item.go

@@ -0,0 +1,22 @@
+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.
+
+// TranscodeDataItem is a nested struct in vod response
+type TranscodeDataItem struct {
+	TimeStamp string                         `json:"TimeStamp" xml:"TimeStamp"`
+	Data      DataInDescribeVodTranscodeData `json:"Data" xml:"Data"`
+}

+ 1 - 1
services/vod/struct_transcode_job_info.go

@@ -22,7 +22,7 @@ type TranscodeJobInfo struct {
 	TranscodeJobStatus  string     `json:"TranscodeJobStatus" xml:"TranscodeJobStatus"`
 	CreationTime        string     `json:"CreationTime" xml:"CreationTime"`
 	CompleteTime        string     `json:"CompleteTime" xml:"CompleteTime"`
-	TranscodeProgress   int        `json:"TranscodeProgress" xml:"TranscodeProgress"`
+	TranscodeProgress   int64      `json:"TranscodeProgress" xml:"TranscodeProgress"`
 	InputFileUrl        string     `json:"InputFileUrl" xml:"InputFileUrl"`
 	Priority            string     `json:"Priority" xml:"Priority"`
 	ErrorCode           string     `json:"ErrorCode" xml:"ErrorCode"`

+ 2 - 2
services/vod/struct_transcode_job_info_summary.go

@@ -21,7 +21,7 @@ type TranscodeJobInfoSummary struct {
 	TranscodeJobStatus  string   `json:"TranscodeJobStatus" xml:"TranscodeJobStatus"`
 	CreationTime        string   `json:"CreationTime" xml:"CreationTime"`
 	CompleteTime        string   `json:"CompleteTime" xml:"CompleteTime"`
-	TranscodeProgress   int      `json:"TranscodeProgress" xml:"TranscodeProgress"`
+	TranscodeProgress   int64    `json:"TranscodeProgress" xml:"TranscodeProgress"`
 	ErrorCode           string   `json:"ErrorCode" xml:"ErrorCode"`
 	ErrorMessage        string   `json:"ErrorMessage" xml:"ErrorMessage"`
 	Definition          string   `json:"Definition" xml:"Definition"`
@@ -32,6 +32,6 @@ type TranscodeJobInfoSummary struct {
 	Fps                 string   `json:"Fps" xml:"Fps"`
 	Format              string   `json:"Format" xml:"Format"`
 	Duration            string   `json:"Duration" xml:"Duration"`
-	Filesize            int      `json:"Filesize" xml:"Filesize"`
+	Filesize            int64    `json:"Filesize" xml:"Filesize"`
 	WatermarkIdList     []string `json:"WatermarkIdList" xml:"WatermarkIdList"`
 }

+ 33 - 0
services/vod/struct_upload_detail.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.
+
+// UploadDetail is a nested struct in vod response
+type UploadDetail struct {
+	MediaId          string  `json:"MediaId" xml:"MediaId"`
+	Title            string  `json:"Title" xml:"Title"`
+	FileSize         int64   `json:"FileSize" xml:"FileSize"`
+	Status           string  `json:"Status" xml:"Status"`
+	UploadStatus     string  `json:"UploadStatus" xml:"UploadStatus"`
+	CreationTime     string  `json:"CreationTime" xml:"CreationTime"`
+	ModificationTime string  `json:"ModificationTime" xml:"ModificationTime"`
+	CompletionTime   string  `json:"CompletionTime" xml:"CompletionTime"`
+	UploadSize       int64   `json:"UploadSize" xml:"UploadSize"`
+	UploadRatio      float64 `json:"UploadRatio" xml:"UploadRatio"`
+	UploadIP         string  `json:"UploadIP" xml:"UploadIP"`
+	UploadSource     string  `json:"UploadSource" xml:"UploadSource"`
+	DeviceModel      string  `json:"DeviceModel" xml:"DeviceModel"`
+}

+ 21 - 0
services/vod/struct_upload_details.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.
+
+// UploadDetails is a nested struct in vod response
+type UploadDetails struct {
+	UploadDetail []UploadDetail `json:"UploadDetail" xml:"UploadDetail"`
+}

+ 21 - 0
services/vod/struct_usage_data_per_interval.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.
+
+// UsageDataPerInterval is a nested struct in vod response
+type UsageDataPerInterval struct {
+	DataModule []DataModule `json:"DataModule" xml:"DataModule"`
+}

+ 2 - 2
services/vod/struct_video.go

@@ -29,9 +29,9 @@ type Video struct {
 	RegionId          string      `json:"RegionId" xml:"RegionId"`
 	Duration          float64     `json:"Duration" xml:"Duration"`
 	CateName          string      `json:"CateName" xml:"CateName"`
-	Size              int         `json:"Size" xml:"Size"`
+	Size              int64       `json:"Size" xml:"Size"`
 	Description       string      `json:"Description" xml:"Description"`
-	CateId            int         `json:"CateId" xml:"CateId"`
+	CateId            int64       `json:"CateId" xml:"CateId"`
 	Tags              string      `json:"Tags" xml:"Tags"`
 	PreprocessStatus  string      `json:"PreprocessStatus" xml:"PreprocessStatus"`
 	TranscodeMode     string      `json:"TranscodeMode" xml:"TranscodeMode"`

+ 2 - 2
services/vod/struct_video_in_get_video_info.go

@@ -21,7 +21,7 @@ type VideoInGetVideoInfo struct {
 	Title            string                      `json:"Title" xml:"Title"`
 	Tags             string                      `json:"Tags" xml:"Tags"`
 	Status           string                      `json:"Status" xml:"Status"`
-	Size             int                         `json:"Size" xml:"Size"`
+	Size             int64                       `json:"Size" xml:"Size"`
 	Duration         float64                     `json:"Duration" xml:"Duration"`
 	Description      string                      `json:"Description" xml:"Description"`
 	CreateTime       string                      `json:"CreateTime" xml:"CreateTime"`
@@ -29,7 +29,7 @@ type VideoInGetVideoInfo struct {
 	ModificationTime string                      `json:"ModificationTime" xml:"ModificationTime"`
 	CreationTime     string                      `json:"CreationTime" xml:"CreationTime"`
 	CoverURL         string                      `json:"CoverURL" xml:"CoverURL"`
-	CateId           int                         `json:"CateId" xml:"CateId"`
+	CateId           int64                       `json:"CateId" xml:"CateId"`
 	CateName         string                      `json:"CateName" xml:"CateName"`
 	DownloadSwitch   string                      `json:"DownloadSwitch" xml:"DownloadSwitch"`
 	TemplateGroupId  string                      `json:"TemplateGroupId" xml:"TemplateGroupId"`

+ 2 - 2
services/vod/struct_video_in_get_video_list.go

@@ -21,7 +21,7 @@ type VideoInGetVideoList struct {
 	Title            string                  `json:"Title" xml:"Title"`
 	Tags             string                  `json:"Tags" xml:"Tags"`
 	Status           string                  `json:"Status" xml:"Status"`
-	Size             int                     `json:"Size" xml:"Size"`
+	Size             int64                   `json:"Size" xml:"Size"`
 	Duration         float64                 `json:"Duration" xml:"Duration"`
 	Description      string                  `json:"Description" xml:"Description"`
 	CreateTime       string                  `json:"CreateTime" xml:"CreateTime"`
@@ -29,7 +29,7 @@ type VideoInGetVideoList struct {
 	ModificationTime string                  `json:"ModificationTime" xml:"ModificationTime"`
 	CreationTime     string                  `json:"CreationTime" xml:"CreationTime"`
 	CoverURL         string                  `json:"CoverURL" xml:"CoverURL"`
-	CateId           int                     `json:"CateId" xml:"CateId"`
+	CateId           int64                   `json:"CateId" xml:"CateId"`
 	CateName         string                  `json:"CateName" xml:"CateName"`
 	StorageLocation  string                  `json:"StorageLocation" xml:"StorageLocation"`
 	AppId            string                  `json:"AppId" xml:"AppId"`

+ 2 - 2
services/vod/struct_video_in_list_live_record_video.go

@@ -21,11 +21,11 @@ type VideoInListLiveRecordVideo struct {
 	Title           string                         `json:"Title" xml:"Title"`
 	Tags            string                         `json:"Tags" xml:"Tags"`
 	Status          string                         `json:"Status" xml:"Status"`
-	Size            int                            `json:"Size" xml:"Size"`
+	Size            int64                          `json:"Size" xml:"Size"`
 	Privilege       int                            `json:"Privilege" xml:"Privilege"`
 	Duration        float64                        `json:"Duration" xml:"Duration"`
 	Description     string                         `json:"Description" xml:"Description"`
-	CustomerId      int                            `json:"CustomerId" xml:"CustomerId"`
+	CustomerId      int64                          `json:"CustomerId" xml:"CustomerId"`
 	CreateTime      string                         `json:"CreateTime" xml:"CreateTime"`
 	CreationTime    string                         `json:"CreationTime" xml:"CreationTime"`
 	ModifyTime      string                         `json:"ModifyTime" xml:"ModifyTime"`

+ 25 - 0
services/vod/struct_video_tag_result.go

@@ -0,0 +1,25 @@
+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.
+
+// VideoTagResult is a nested struct in vod response
+type VideoTagResult struct {
+	Category []CategoryItem `json:"Category" xml:"Category"`
+	Person   []PersonItem   `json:"Person" xml:"Person"`
+	Time     []TimeItem     `json:"Time" xml:"Time"`
+	Location []LocationItem `json:"Location" xml:"Location"`
+	Keyword  []KeywordItem  `json:"Keyword" xml:"Keyword"`
+}

+ 1 - 0
services/vod/submit_snapshot_job.go

@@ -81,6 +81,7 @@ type SubmitSnapshotJobRequest struct {
 	Count                requests.Integer `position:"Query" name:"Count"`
 	VideoId              string           `position:"Query" name:"VideoId"`
 	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	UserData             string           `position:"Query" name:"UserData"`
 	SpecifiedOffsetTime  requests.Integer `position:"Query" name:"SpecifiedOffsetTime"`
 	Width                string           `position:"Query" name:"Width"`
 	Interval             requests.Integer `position:"Query" name:"Interval"`