Browse Source

Add a new api named SubmitDynamicImageJob capture a certain part of the video as a dynamic image.

sdk-team 6 years ago
parent
commit
147cd9fdeb
100 changed files with 410 additions and 247 deletions
  1. 7 0
      ChangeLog.txt
  2. 1 1
      services/vod/add_ai_template.go
  3. 2 2
      services/vod/add_category.go
  4. 4 4
      services/vod/add_editing_project.go
  5. 2 2
      services/vod/add_transcode_template_group.go
  6. 1 1
      services/vod/add_vod_domain.go
  7. 3 3
      services/vod/add_vod_template.go
  8. 3 3
      services/vod/add_watermark.go
  9. 4 4
      services/vod/attach_app_policy_to_identity.go
  10. 1 1
      services/vod/batch_set_vod_domain_configs.go
  11. 1 1
      services/vod/batch_start_vod_domain.go
  12. 1 1
      services/vod/batch_stop_vod_domain.go
  13. 25 0
      services/vod/client.go
  14. 2 2
      services/vod/create_app_info.go
  15. 5 5
      services/vod/create_upload_attached_media.go
  16. 5 5
      services/vod/create_upload_image.go
  17. 7 7
      services/vod/create_upload_video.go
  18. 1 1
      services/vod/delete_app_info.go
  19. 1 1
      services/vod/delete_attached_media.go
  20. 1 1
      services/vod/delete_category.go
  21. 1 1
      services/vod/delete_image.go
  22. 2 2
      services/vod/delete_message_callback.go
  23. 1 1
      services/vod/delete_mezzanines.go
  24. 1 1
      services/vod/delete_multipart_upload.go
  25. 1 1
      services/vod/delete_stream.go
  26. 2 2
      services/vod/delete_transcode_template_group.go
  27. 1 1
      services/vod/delete_vod_domain.go
  28. 2 2
      services/vod/delete_vod_specific_config.go
  29. 1 1
      services/vod/delete_vod_template.go
  30. 1 1
      services/vod/delete_watermark.go
  31. 1 1
      services/vod/describe_vod_certificate_list.go
  32. 1 1
      services/vod/describe_vod_domain_configs.go
  33. 1 1
      services/vod/describe_vod_domain_detail.go
  34. 1 1
      services/vod/describe_vod_refresh_quota.go
  35. 3 3
      services/vod/describe_vod_refresh_tasks.go
  36. 2 2
      services/vod/describe_vod_user_domains.go
  37. 3 3
      services/vod/detach_app_policy_from_identity.go
  38. 64 0
      services/vod/endpoint.go
  39. 1 1
      services/vod/get_ai_media_audit_job.go
  40. 1 1
      services/vod/get_app_infos.go
  41. 3 3
      services/vod/get_attached_media_info.go
  42. 1 1
      services/vod/get_audit_history.go
  43. 4 4
      services/vod/get_categories.go
  44. 1 1
      services/vod/get_default_ai_template.go
  45. 2 2
      services/vod/get_editing_project_materials.go
  46. 2 2
      services/vod/get_image_info.go
  47. 1 1
      services/vod/get_media_audit_result_detail.go
  48. 2 2
      services/vod/get_message_callback.go
  49. 3 3
      services/vod/get_mezzanine_info.go
  50. 5 5
      services/vod/get_play_info.go
  51. 1 1
      services/vod/get_transcode_task.go
  52. 1 1
      services/vod/get_upload_details.go
  53. 1 1
      services/vod/get_url_upload_infos.go
  54. 2 2
      services/vod/get_video_info.go
  55. 1 1
      services/vod/get_video_infos.go
  56. 5 5
      services/vod/get_video_list.go
  57. 2 2
      services/vod/get_video_play_auth.go
  58. 1 1
      services/vod/get_vod_template.go
  59. 1 1
      services/vod/get_watermark.go
  60. 1 1
      services/vod/list_ai_job.go
  61. 1 1
      services/vod/list_ai_template.go
  62. 4 3
      services/vod/list_app_info.go
  63. 2 2
      services/vod/list_app_policies_for_identity.go
  64. 5 5
      services/vod/list_live_record_video.go
  65. 4 4
      services/vod/list_snapshots.go
  66. 3 3
      services/vod/list_transcode_task.go
  67. 2 2
      services/vod/list_transcode_template_group.go
  68. 1 1
      services/vod/list_vod_template.go
  69. 2 2
      services/vod/list_watermark.go
  70. 2 2
      services/vod/move_app_resource.go
  71. 1 1
      services/vod/preload_vod_object_caches.go
  72. 4 4
      services/vod/produce_editing_project_video.go
  73. 1 1
      services/vod/refresh_vod_object_caches.go
  74. 4 4
      services/vod/register_media.go
  75. 3 3
      services/vod/search_editing_project.go
  76. 5 5
      services/vod/search_media.go
  77. 1 1
      services/vod/set_audit_security_ip.go
  78. 1 1
      services/vod/set_default_watermark.go
  79. 2 2
      services/vod/set_editing_project_materials.go
  80. 3 3
      services/vod/set_message_callback.go
  81. 3 3
      services/vod/set_vod_domain_certificate.go
  82. 26 0
      services/vod/struct_ad_result.go
  83. 3 1
      services/vod/struct_attached_media.go
  84. 0 36
      services/vod/struct_attached_media_in_search_media.go
  85. 28 28
      services/vod/struct_audio.go
  86. 1 1
      services/vod/struct_category_in_get_ai_video_tag_result.go
  87. 1 1
      services/vod/struct_counter_list_in_get_ai_media_audit_job.go
  88. 1 1
      services/vod/struct_counter_list_in_get_media_audit_result.go
  89. 1 1
      services/vod/struct_detail.go
  90. 21 0
      services/vod/struct_dynamic_image_job.go
  91. 1 0
      services/vod/struct_image_info.go
  92. 1 1
      services/vod/struct_image_result_in_get_ai_media_audit_job.go
  93. 1 1
      services/vod/struct_image_result_in_get_media_audit_result.go
  94. 1 1
      services/vod/struct_keyword.go
  95. 1 1
      services/vod/struct_list.go
  96. 26 0
      services/vod/struct_live_result.go
  97. 1 1
      services/vod/struct_location.go
  98. 26 0
      services/vod/struct_logo_result.go
  99. 7 7
      services/vod/struct_media.go
  100. 1 1
      services/vod/struct_person.go

+ 7 - 0
ChangeLog.txt

@@ -1,3 +1,10 @@
+2019-10-23 Version: 1.60.209
+- Add a new api named SubmitDynamicImageJob capture a certain part of the video as a dynamic image.
+- Add a new api named SubmitWorkflowJob to initiate the VoD workflow processing for audio and video.
+- Add a new field AuditStatus in the structure ImageInfo to GetImageInfo api response, which is used to identify the audit status of the image.
+- Modify the data type of return field StorageLocation to String.
+- Add a new field named MediaType to SubmitAIMediaAuditJob api request.
+
 2019-10-22 Version: 1.60.208
 - Supported Sync predict for Image.
 - Supported Set Frame Frequency for Stream Predict.

+ 1 - 1
services/vod/add_ai_template.go

@@ -77,10 +77,10 @@ func (client *Client) AddAITemplateWithCallback(request *AddAITemplateRequest, c
 type AddAITemplateRequest struct {
 	*requests.RpcRequest
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	TemplateConfig       string           `position:"Query" name:"TemplateConfig"`
 	TemplateType         string           `position:"Query" name:"TemplateType"`
 	TemplateName         string           `position:"Query" name:"TemplateName"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 }
 

+ 2 - 2
services/vod/add_category.go

@@ -77,11 +77,11 @@ func (client *Client) AddCategoryWithCallback(request *AddCategoryRequest, callb
 type AddCategoryRequest struct {
 	*requests.RpcRequest
 	ResourceOwnerId      string           `position:"Query" name:"ResourceOwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
-	OwnerId              string           `position:"Query" name:"OwnerId"`
 	Type                 string           `position:"Query" name:"Type"`
 	ParentId             requests.Integer `position:"Query" name:"ParentId"`
 	CateName             string           `position:"Query" name:"CateName"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	OwnerId              string           `position:"Query" name:"OwnerId"`
 }
 
 // AddCategoryResponse is the response struct for api AddCategory

+ 4 - 4
services/vod/add_editing_project.go

@@ -76,15 +76,15 @@ func (client *Client) AddEditingProjectWithCallback(request *AddEditingProjectRe
 // AddEditingProjectRequest is the request struct for api AddEditingProject
 type AddEditingProjectRequest struct {
 	*requests.RpcRequest
+	ResourceOwnerId      string `position:"Query" name:"ResourceOwnerId"`
+	Description          string `position:"Query" name:"Description"`
+	Title                string `position:"Query" name:"Title"`
 	CoverURL             string `position:"Query" name:"CoverURL"`
 	Division             string `position:"Query" name:"Division"`
-	ResourceOwnerId      string `position:"Query" name:"ResourceOwnerId"`
 	ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"`
 	OwnerAccount         string `position:"Query" name:"OwnerAccount"`
-	Description          string `position:"Query" name:"Description"`
-	Timeline             string `position:"Query" name:"Timeline"`
 	OwnerId              string `position:"Query" name:"OwnerId"`
-	Title                string `position:"Query" name:"Title"`
+	Timeline             string `position:"Query" name:"Timeline"`
 }
 
 // AddEditingProjectResponse is the response struct for api AddEditingProject

+ 2 - 2
services/vod/add_transcode_template_group.go

@@ -79,10 +79,10 @@ type AddTranscodeTemplateGroupRequest struct {
 	TranscodeTemplateList    string           `position:"Query" name:"TranscodeTemplateList"`
 	ResourceOwnerId          requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	ResourceOwnerAccount     string           `position:"Query" name:"ResourceOwnerAccount"`
-	AppId                    string           `position:"Query" name:"AppId"`
-	Name                     string           `position:"Query" name:"Name"`
 	OwnerId                  requests.Integer `position:"Query" name:"OwnerId"`
 	TranscodeTemplateGroupId string           `position:"Query" name:"TranscodeTemplateGroupId"`
+	AppId                    string           `position:"Query" name:"AppId"`
+	Name                     string           `position:"Query" name:"Name"`
 }
 
 // AddTranscodeTemplateGroupResponse is the response struct for api AddTranscodeTemplateGroup

+ 1 - 1
services/vod/add_vod_domain.go

@@ -78,8 +78,8 @@ type AddVodDomainRequest struct {
 	*requests.RpcRequest
 	Sources       string           `position:"Query" name:"Sources"`
 	SecurityToken string           `position:"Query" name:"SecurityToken"`
-	OwnerAccount  string           `position:"Query" name:"OwnerAccount"`
 	Scope         string           `position:"Query" name:"Scope"`
+	OwnerAccount  string           `position:"Query" name:"OwnerAccount"`
 	DomainName    string           `position:"Query" name:"DomainName"`
 	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
 	CheckUrl      string           `position:"Query" name:"CheckUrl"`

+ 3 - 3
services/vod/add_vod_template.go

@@ -77,13 +77,13 @@ func (client *Client) AddVodTemplateWithCallback(request *AddVodTemplateRequest,
 type AddVodTemplateRequest struct {
 	*requests.RpcRequest
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	SubTemplateType      string           `position:"Query" name:"SubTemplateType"`
 	TemplateConfig       string           `position:"Query" name:"TemplateConfig"`
 	TemplateType         string           `position:"Query" name:"TemplateType"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 	AppId                string           `position:"Query" name:"AppId"`
 	Name                 string           `position:"Query" name:"Name"`
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	SubTemplateType      string           `position:"Query" name:"SubTemplateType"`
 }
 
 // AddVodTemplateResponse is the response struct for api AddVodTemplate

+ 3 - 3
services/vod/add_watermark.go

@@ -77,13 +77,13 @@ func (client *Client) AddWatermarkWithCallback(request *AddWatermarkRequest, cal
 type AddWatermarkRequest struct {
 	*requests.RpcRequest
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	Type                 string           `position:"Query" name:"Type"`
 	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	WatermarkConfig      string           `position:"Query" name:"WatermarkConfig"`
 	AppId                string           `position:"Query" name:"AppId"`
 	Name                 string           `position:"Query" name:"Name"`
 	FileUrl              string           `position:"Query" name:"FileUrl"`
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	Type                 string           `position:"Query" name:"Type"`
-	WatermarkConfig      string           `position:"Query" name:"WatermarkConfig"`
 }
 
 // AddWatermarkResponse is the response struct for api AddWatermark

+ 4 - 4
services/vod/attach_app_policy_to_identity.go

@@ -76,14 +76,14 @@ func (client *Client) AttachAppPolicyToIdentityWithCallback(request *AttachAppPo
 // AttachAppPolicyToIdentityRequest is the request struct for api AttachAppPolicyToIdentity
 type AttachAppPolicyToIdentityRequest struct {
 	*requests.RpcRequest
-	IdentityName         string           `position:"Query" name:"IdentityName"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	IdentityType         string           `position:"Query" name:"IdentityType"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
-	AppId                string           `position:"Query" name:"AppId"`
 	PolicyNames          string           `position:"Query" name:"PolicyNames"`
 	ResourceRealOwnerId  string           `position:"Query" name:"ResourceRealOwnerId"`
+	IdentityName         string           `position:"Query" name:"IdentityName"`
+	IdentityType         string           `position:"Query" name:"IdentityType"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	AppId                string           `position:"Query" name:"AppId"`
 }
 
 // AttachAppPolicyToIdentityResponse is the response struct for api AttachAppPolicyToIdentity

+ 1 - 1
services/vod/batch_set_vod_domain_configs.go

@@ -77,10 +77,10 @@ func (client *Client) BatchSetVodDomainConfigsWithCallback(request *BatchSetVodD
 type BatchSetVodDomainConfigsRequest struct {
 	*requests.RpcRequest
 	Functions     string           `position:"Query" name:"Functions"`
-	SecurityToken string           `position:"Query" name:"SecurityToken"`
 	DomainNames   string           `position:"Query" name:"DomainNames"`
 	OwnerAccount  string           `position:"Query" name:"OwnerAccount"`
 	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
+	SecurityToken string           `position:"Query" name:"SecurityToken"`
 }
 
 // BatchSetVodDomainConfigsResponse is the response struct for api BatchSetVodDomainConfigs

+ 1 - 1
services/vod/batch_start_vod_domain.go

@@ -76,9 +76,9 @@ func (client *Client) BatchStartVodDomainWithCallback(request *BatchStartVodDoma
 // BatchStartVodDomainRequest is the request struct for api BatchStartVodDomain
 type BatchStartVodDomainRequest struct {
 	*requests.RpcRequest
-	SecurityToken string           `position:"Query" name:"SecurityToken"`
 	DomainNames   string           `position:"Query" name:"DomainNames"`
 	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
+	SecurityToken string           `position:"Query" name:"SecurityToken"`
 }
 
 // BatchStartVodDomainResponse is the response struct for api BatchStartVodDomain

+ 1 - 1
services/vod/batch_stop_vod_domain.go

@@ -76,9 +76,9 @@ func (client *Client) BatchStopVodDomainWithCallback(request *BatchStopVodDomain
 // BatchStopVodDomainRequest is the request struct for api BatchStopVodDomain
 type BatchStopVodDomainRequest struct {
 	*requests.RpcRequest
-	SecurityToken string           `position:"Query" name:"SecurityToken"`
 	DomainNames   string           `position:"Query" name:"DomainNames"`
 	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
+	SecurityToken string           `position:"Query" name:"SecurityToken"`
 }
 
 // BatchStopVodDomainResponse is the response struct for api BatchStopVodDomain

+ 25 - 0
services/vod/client.go

@@ -16,6 +16,8 @@ package vod
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
 import (
+	"reflect"
+
 	"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"
@@ -26,10 +28,25 @@ type Client struct {
 	sdk.Client
 }
 
+// SetClientProperty Set Property by Reflect
+func SetClientProperty(client *Client, propertyName string, propertyValue interface{}) {
+	v := reflect.ValueOf(client).Elem()
+	if v.FieldByName(propertyName).IsValid() && v.FieldByName(propertyName).CanSet() {
+		v.FieldByName(propertyName).Set(reflect.ValueOf(propertyValue))
+	}
+}
+
+// SetEndpointDataToClient Set EndpointMap and ENdpointType
+func SetEndpointDataToClient(client *Client) {
+	SetClientProperty(client, "EndpointMap", GetEndpointMap())
+	SetClientProperty(client, "EndpointType", GetEndpointType())
+}
+
 // NewClient creates a sdk client with environment variables
 func NewClient() (client *Client, err error) {
 	client = &Client{}
 	err = client.Init()
+	SetEndpointDataToClient(client)
 	return
 }
 
@@ -44,6 +61,7 @@ func NewClientWithProvider(regionId string, providers ...provider.Provider) (cli
 		pc = provider.NewProviderChain(providers)
 	}
 	err = client.InitWithProviderChain(regionId, pc)
+	SetEndpointDataToClient(client)
 	return
 }
 
@@ -52,6 +70,7 @@ func NewClientWithProvider(regionId string, providers ...provider.Provider) (cli
 func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.Credential) (client *Client, err error) {
 	client = &Client{}
 	err = client.InitWithOptions(regionId, config, credential)
+	SetEndpointDataToClient(client)
 	return
 }
 
@@ -60,6 +79,7 @@ func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.C
 func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (client *Client, err error) {
 	client = &Client{}
 	err = client.InitWithAccessKey(regionId, accessKeyId, accessKeySecret)
+	SetEndpointDataToClient(client)
 	return
 }
 
@@ -68,6 +88,7 @@ func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (clie
 func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken string) (client *Client, err error) {
 	client = &Client{}
 	err = client.InitWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken)
+	SetEndpointDataToClient(client)
 	return
 }
 
@@ -76,6 +97,7 @@ func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToke
 func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName string) (client *Client, err error) {
 	client = &Client{}
 	err = client.InitWithRamRoleArn(regionId, accessKeyId, accessKeySecret, roleArn, roleSessionName)
+	SetEndpointDataToClient(client)
 	return
 }
 
@@ -84,6 +106,7 @@ func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, role
 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)
+	SetEndpointDataToClient(client)
 	return
 }
 
@@ -92,6 +115,7 @@ func NewClientWithRamRoleArnAndPolicy(regionId string, accessKeyId, accessKeySec
 func NewClientWithEcsRamRole(regionId string, roleName string) (client *Client, err error) {
 	client = &Client{}
 	err = client.InitWithEcsRamRole(regionId, roleName)
+	SetEndpointDataToClient(client)
 	return
 }
 
@@ -100,5 +124,6 @@ func NewClientWithEcsRamRole(regionId string, roleName string) (client *Client,
 func NewClientWithRsaKeyPair(regionId string, publicKeyId, privateKey string, sessionExpiration int) (client *Client, err error) {
 	client = &Client{}
 	err = client.InitWithRsaKeyPair(regionId, publicKeyId, privateKey, sessionExpiration)
+	SetEndpointDataToClient(client)
 	return
 }

+ 2 - 2
services/vod/create_app_info.go

@@ -77,10 +77,10 @@ func (client *Client) CreateAppInfoWithCallback(request *CreateAppInfoRequest, c
 type CreateAppInfoRequest struct {
 	*requests.RpcRequest
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	AppName              string           `position:"Query" name:"AppName"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	Description          string           `position:"Query" name:"Description"`
 	ResourceRealOwnerId  requests.Integer `position:"Query" name:"ResourceRealOwnerId"`
+	AppName              string           `position:"Query" name:"AppName"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 }
 

+ 5 - 5
services/vod/create_upload_attached_media.go

@@ -77,20 +77,20 @@ func (client *Client) CreateUploadAttachedMediaWithCallback(request *CreateUploa
 type CreateUploadAttachedMediaRequest struct {
 	*requests.RpcRequest
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
-	CateIds              string           `position:"Query" name:"CateIds"`
 	Icon                 string           `position:"Query" name:"Icon"`
 	Description          string           `position:"Query" name:"Description"`
 	FileSize             string           `position:"Query" name:"FileSize"`
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 	Title                string           `position:"Query" name:"Title"`
 	BusinessType         string           `position:"Query" name:"BusinessType"`
-	Tags                 string           `position:"Query" name:"Tags"`
 	StorageLocation      string           `position:"Query" name:"StorageLocation"`
 	UserData             string           `position:"Query" name:"UserData"`
+	CateId               requests.Integer `position:"Query" name:"CateId"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	CateIds              string           `position:"Query" name:"CateIds"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	Tags                 string           `position:"Query" name:"Tags"`
 	MediaExt             string           `position:"Query" name:"MediaExt"`
 	FileName             string           `position:"Query" name:"FileName"`
-	CateId               requests.Integer `position:"Query" name:"CateId"`
 	AppId                string           `position:"Query" name:"AppId"`
 }
 

+ 5 - 5
services/vod/create_upload_image.go

@@ -77,17 +77,17 @@ func (client *Client) CreateUploadImageWithCallback(request *CreateUploadImageRe
 type CreateUploadImageRequest struct {
 	*requests.RpcRequest
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	Description          string           `position:"Query" name:"Description"`
+	Title                string           `position:"Query" name:"Title"`
+	StorageLocation      string           `position:"Query" name:"StorageLocation"`
+	UserData             string           `position:"Query" name:"UserData"`
+	CateId               requests.Integer `position:"Query" name:"CateId"`
 	ImageType            string           `position:"Query" name:"ImageType"`
 	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ImageExt             string           `position:"Query" name:"ImageExt"`
-	Description          string           `position:"Query" name:"Description"`
 	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	Title                string           `position:"Query" name:"Title"`
 	Tags                 string           `position:"Query" name:"Tags"`
-	StorageLocation      string           `position:"Query" name:"StorageLocation"`
-	UserData             string           `position:"Query" name:"UserData"`
 	OriginalFileName     string           `position:"Query" name:"OriginalFileName"`
-	CateId               requests.Integer `position:"Query" name:"CateId"`
 	AppId                string           `position:"Query" name:"AppId"`
 }
 

+ 7 - 7
services/vod/create_upload_video.go

@@ -77,23 +77,23 @@ func (client *Client) CreateUploadVideoWithCallback(request *CreateUploadVideoRe
 type CreateUploadVideoRequest struct {
 	*requests.RpcRequest
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	TranscodeMode        string           `position:"Query" name:"TranscodeMode"`
-	IP                   string           `position:"Query" name:"IP"`
 	Description          string           `position:"Query" name:"Description"`
 	FileSize             requests.Integer `position:"Query" name:"FileSize"`
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 	Title                string           `position:"Query" name:"Title"`
-	Tags                 string           `position:"Query" name:"Tags"`
 	StorageLocation      string           `position:"Query" name:"StorageLocation"`
 	CoverURL             string           `position:"Query" name:"CoverURL"`
 	UserData             string           `position:"Query" name:"UserData"`
-	FileName             string           `position:"Query" name:"FileName"`
-	TemplateGroupId      string           `position:"Query" name:"TemplateGroupId"`
 	CateId               requests.Integer `position:"Query" name:"CateId"`
-	AppId                string           `position:"Query" name:"AppId"`
 	WorkflowId           string           `position:"Query" name:"WorkflowId"`
 	CustomMediaInfo      string           `position:"Query" name:"CustomMediaInfo"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	IP                   string           `position:"Query" name:"IP"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	Tags                 string           `position:"Query" name:"Tags"`
+	FileName             string           `position:"Query" name:"FileName"`
+	TemplateGroupId      string           `position:"Query" name:"TemplateGroupId"`
+	AppId                string           `position:"Query" name:"AppId"`
 }
 
 // CreateUploadVideoResponse is the response struct for api CreateUploadVideo

+ 1 - 1
services/vod/delete_app_info.go

@@ -78,9 +78,9 @@ type DeleteAppInfoRequest struct {
 	*requests.RpcRequest
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
-	AppId                string           `position:"Query" name:"AppId"`
 	ResourceRealOwnerId  requests.Integer `position:"Query" name:"ResourceRealOwnerId"`
 	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	AppId                string           `position:"Query" name:"AppId"`
 }
 
 // DeleteAppInfoResponse is the response struct for api DeleteAppInfo

+ 1 - 1
services/vod/delete_attached_media.go

@@ -78,8 +78,8 @@ type DeleteAttachedMediaRequest struct {
 	*requests.RpcRequest
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
-	MediaIds             string           `position:"Query" name:"MediaIds"`
 	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	MediaIds             string           `position:"Query" name:"MediaIds"`
 }
 
 // DeleteAttachedMediaResponse is the response struct for api DeleteAttachedMedia

+ 1 - 1
services/vod/delete_category.go

@@ -78,8 +78,8 @@ type DeleteCategoryRequest struct {
 	*requests.RpcRequest
 	ResourceOwnerId      string           `position:"Query" name:"ResourceOwnerId"`
 	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
-	CateId               requests.Integer `position:"Query" name:"CateId"`
 	OwnerId              string           `position:"Query" name:"OwnerId"`
+	CateId               requests.Integer `position:"Query" name:"CateId"`
 }
 
 // DeleteCategoryResponse is the response struct for api DeleteCategory

+ 1 - 1
services/vod/delete_image.go

@@ -77,9 +77,9 @@ func (client *Client) DeleteImageWithCallback(request *DeleteImageRequest, callb
 type DeleteImageRequest struct {
 	*requests.RpcRequest
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	ImageURLs            string           `position:"Query" name:"ImageURLs"`
 	ImageType            string           `position:"Query" name:"ImageType"`
 	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
-	ImageURLs            string           `position:"Query" name:"ImageURLs"`
 	VideoId              string           `position:"Query" name:"VideoId"`
 	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 	DeleteImageType      string           `position:"Query" name:"DeleteImageType"`

+ 2 - 2
services/vod/delete_message_callback.go

@@ -77,11 +77,11 @@ func (client *Client) DeleteMessageCallbackWithCallback(request *DeleteMessageCa
 type DeleteMessageCallbackRequest struct {
 	*requests.RpcRequest
 	ResourceOwnerId      string           `position:"Query" name:"ResourceOwnerId"`
+	ResourceRealOwnerId  requests.Integer `position:"Query" name:"ResourceRealOwnerId"`
 	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
-	AppId                string           `position:"Query" name:"AppId"`
-	ResourceRealOwnerId  requests.Integer `position:"Query" name:"ResourceRealOwnerId"`
 	OwnerId              string           `position:"Query" name:"OwnerId"`
+	AppId                string           `position:"Query" name:"AppId"`
 }
 
 // DeleteMessageCallbackResponse is the response struct for api DeleteMessageCallback

+ 1 - 1
services/vod/delete_mezzanines.go

@@ -78,8 +78,8 @@ type DeleteMezzaninesRequest struct {
 	*requests.RpcRequest
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
-	Force                requests.Boolean `position:"Query" name:"Force"`
 	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	Force                requests.Boolean `position:"Query" name:"Force"`
 	VideoIds             string           `position:"Query" name:"VideoIds"`
 }
 

+ 1 - 1
services/vod/delete_multipart_upload.go

@@ -77,9 +77,9 @@ func (client *Client) DeleteMultipartUploadWithCallback(request *DeleteMultipart
 type DeleteMultipartUploadRequest struct {
 	*requests.RpcRequest
 	ResourceOwnerId      string           `position:"Query" name:"ResourceOwnerId"`
+	ResourceRealOwnerId  requests.Integer `position:"Query" name:"ResourceRealOwnerId"`
 	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
-	ResourceRealOwnerId  requests.Integer `position:"Query" name:"ResourceRealOwnerId"`
 	OwnerId              string           `position:"Query" name:"OwnerId"`
 	MediaId              string           `position:"Query" name:"MediaId"`
 	MediaType            string           `position:"Query" name:"MediaType"`

+ 1 - 1
services/vod/delete_stream.go

@@ -78,9 +78,9 @@ type DeleteStreamRequest struct {
 	*requests.RpcRequest
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
-	JobIds               string           `position:"Query" name:"JobIds"`
 	VideoId              string           `position:"Query" name:"VideoId"`
 	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	JobIds               string           `position:"Query" name:"JobIds"`
 }
 
 // DeleteStreamResponse is the response struct for api DeleteStream

+ 2 - 2
services/vod/delete_transcode_template_group.go

@@ -77,11 +77,11 @@ func (client *Client) DeleteTranscodeTemplateGroupWithCallback(request *DeleteTr
 type DeleteTranscodeTemplateGroupRequest struct {
 	*requests.RpcRequest
 	ResourceOwnerId          requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	ResourceOwnerAccount     string           `position:"Query" name:"ResourceOwnerAccount"`
 	TranscodeTemplateIds     string           `position:"Query" name:"TranscodeTemplateIds"`
+	ForceDelGroup            string           `position:"Query" name:"ForceDelGroup"`
+	ResourceOwnerAccount     string           `position:"Query" name:"ResourceOwnerAccount"`
 	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

+ 1 - 1
services/vod/delete_vod_domain.go

@@ -76,10 +76,10 @@ func (client *Client) DeleteVodDomainWithCallback(request *DeleteVodDomainReques
 // DeleteVodDomainRequest is the request struct for api DeleteVodDomain
 type DeleteVodDomainRequest struct {
 	*requests.RpcRequest
-	SecurityToken string           `position:"Query" name:"SecurityToken"`
 	OwnerAccount  string           `position:"Query" name:"OwnerAccount"`
 	DomainName    string           `position:"Query" name:"DomainName"`
 	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
+	SecurityToken string           `position:"Query" name:"SecurityToken"`
 }
 
 // DeleteVodDomainResponse is the response struct for api DeleteVodDomain

+ 2 - 2
services/vod/delete_vod_specific_config.go

@@ -76,10 +76,10 @@ func (client *Client) DeleteVodSpecificConfigWithCallback(request *DeleteVodSpec
 // DeleteVodSpecificConfigRequest is the request struct for api DeleteVodSpecificConfig
 type DeleteVodSpecificConfigRequest struct {
 	*requests.RpcRequest
-	SecurityToken string           `position:"Query" name:"SecurityToken"`
-	ConfigId      string           `position:"Query" name:"ConfigId"`
 	DomainName    string           `position:"Query" name:"DomainName"`
 	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
+	SecurityToken string           `position:"Query" name:"SecurityToken"`
+	ConfigId      string           `position:"Query" name:"ConfigId"`
 }
 
 // DeleteVodSpecificConfigResponse is the response struct for api DeleteVodSpecificConfig

+ 1 - 1
services/vod/delete_vod_template.go

@@ -78,8 +78,8 @@ type DeleteVodTemplateRequest struct {
 	*requests.RpcRequest
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
-	VodTemplateId        string           `position:"Query" name:"VodTemplateId"`
 	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	VodTemplateId        string           `position:"Query" name:"VodTemplateId"`
 }
 
 // DeleteVodTemplateResponse is the response struct for api DeleteVodTemplate

+ 1 - 1
services/vod/delete_watermark.go

@@ -76,10 +76,10 @@ func (client *Client) DeleteWatermarkWithCallback(request *DeleteWatermarkReques
 // DeleteWatermarkRequest is the request struct for api DeleteWatermark
 type DeleteWatermarkRequest struct {
 	*requests.RpcRequest
-	WatermarkId          string           `position:"Query" name:"WatermarkId"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	WatermarkId          string           `position:"Query" name:"WatermarkId"`
 }
 
 // DeleteWatermarkResponse is the response struct for api DeleteWatermark

+ 1 - 1
services/vod/describe_vod_certificate_list.go

@@ -76,9 +76,9 @@ func (client *Client) DescribeVodCertificateListWithCallback(request *DescribeVo
 // DescribeVodCertificateListRequest is the request struct for api DescribeVodCertificateList
 type DescribeVodCertificateListRequest struct {
 	*requests.RpcRequest
-	SecurityToken string           `position:"Query" name:"SecurityToken"`
 	DomainName    string           `position:"Query" name:"DomainName"`
 	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
+	SecurityToken string           `position:"Query" name:"SecurityToken"`
 }
 
 // DescribeVodCertificateListResponse is the response struct for api DescribeVodCertificateList

+ 1 - 1
services/vod/describe_vod_domain_configs.go

@@ -77,9 +77,9 @@ func (client *Client) DescribeVodDomainConfigsWithCallback(request *DescribeVodD
 type DescribeVodDomainConfigsRequest struct {
 	*requests.RpcRequest
 	FunctionNames string           `position:"Query" name:"FunctionNames"`
-	SecurityToken string           `position:"Query" name:"SecurityToken"`
 	DomainName    string           `position:"Query" name:"DomainName"`
 	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
+	SecurityToken string           `position:"Query" name:"SecurityToken"`
 }
 
 // DescribeVodDomainConfigsResponse is the response struct for api DescribeVodDomainConfigs

+ 1 - 1
services/vod/describe_vod_domain_detail.go

@@ -76,9 +76,9 @@ func (client *Client) DescribeVodDomainDetailWithCallback(request *DescribeVodDo
 // DescribeVodDomainDetailRequest is the request struct for api DescribeVodDomainDetail
 type DescribeVodDomainDetailRequest struct {
 	*requests.RpcRequest
-	SecurityToken string           `position:"Query" name:"SecurityToken"`
 	DomainName    string           `position:"Query" name:"DomainName"`
 	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
+	SecurityToken string           `position:"Query" name:"SecurityToken"`
 }
 
 // DescribeVodDomainDetailResponse is the response struct for api DescribeVodDomainDetail

+ 1 - 1
services/vod/describe_vod_refresh_quota.go

@@ -76,8 +76,8 @@ func (client *Client) DescribeVodRefreshQuotaWithCallback(request *DescribeVodRe
 // DescribeVodRefreshQuotaRequest is the request struct for api DescribeVodRefreshQuota
 type DescribeVodRefreshQuotaRequest struct {
 	*requests.RpcRequest
-	SecurityToken string           `position:"Query" name:"SecurityToken"`
 	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
+	SecurityToken string           `position:"Query" name:"SecurityToken"`
 }
 
 // DescribeVodRefreshQuotaResponse is the response struct for api DescribeVodRefreshQuota

+ 3 - 3
services/vod/describe_vod_refresh_tasks.go

@@ -77,16 +77,16 @@ func (client *Client) DescribeVodRefreshTasksWithCallback(request *DescribeVodRe
 type DescribeVodRefreshTasksRequest struct {
 	*requests.RpcRequest
 	ObjectPath      string           `position:"Query" name:"ObjectPath"`
-	DomainName      string           `position:"Query" name:"DomainName"`
-	EndTime         string           `position:"Query" name:"EndTime"`
 	StartTime       string           `position:"Query" name:"StartTime"`
-	OwnerId         requests.Integer `position:"Query" name:"OwnerId"`
 	PageNumber      requests.Integer `position:"Query" name:"PageNumber"`
 	ResourceGroupId string           `position:"Query" name:"ResourceGroupId"`
 	SecurityToken   string           `position:"Query" name:"SecurityToken"`
 	PageSize        requests.Integer `position:"Query" name:"PageSize"`
 	ObjectType      string           `position:"Query" name:"ObjectType"`
 	TaskId          string           `position:"Query" name:"TaskId"`
+	DomainName      string           `position:"Query" name:"DomainName"`
+	EndTime         string           `position:"Query" name:"EndTime"`
+	OwnerId         requests.Integer `position:"Query" name:"OwnerId"`
 	Status          string           `position:"Query" name:"Status"`
 }
 

+ 2 - 2
services/vod/describe_vod_user_domains.go

@@ -76,15 +76,15 @@ func (client *Client) DescribeVodUserDomainsWithCallback(request *DescribeVodUse
 // DescribeVodUserDomainsRequest is the request struct for api DescribeVodUserDomains
 type DescribeVodUserDomainsRequest struct {
 	*requests.RpcRequest
-	FuncFilter       string           `position:"Query" name:"FuncFilter"`
+	PageNumber       requests.Integer `position:"Query" name:"PageNumber"`
 	CheckDomainShow  requests.Boolean `position:"Query" name:"CheckDomainShow"`
 	SecurityToken    string           `position:"Query" name:"SecurityToken"`
 	CdnType          string           `position:"Query" name:"CdnType"`
 	PageSize         requests.Integer `position:"Query" name:"PageSize"`
+	FuncFilter       string           `position:"Query" name:"FuncFilter"`
 	DomainName       string           `position:"Query" name:"DomainName"`
 	OwnerId          requests.Integer `position:"Query" name:"OwnerId"`
 	FuncId           string           `position:"Query" name:"FuncId"`
-	PageNumber       requests.Integer `position:"Query" name:"PageNumber"`
 	DomainStatus     string           `position:"Query" name:"DomainStatus"`
 	DomainSearchType string           `position:"Query" name:"DomainSearchType"`
 }

+ 3 - 3
services/vod/detach_app_policy_from_identity.go

@@ -76,13 +76,13 @@ func (client *Client) DetachAppPolicyFromIdentityWithCallback(request *DetachApp
 // DetachAppPolicyFromIdentityRequest is the request struct for api DetachAppPolicyFromIdentity
 type DetachAppPolicyFromIdentityRequest struct {
 	*requests.RpcRequest
-	IdentityName         string           `position:"Query" name:"IdentityName"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	PolicyNames          string           `position:"Query" name:"PolicyNames"`
+	IdentityName         string           `position:"Query" name:"IdentityName"`
 	IdentityType         string           `position:"Query" name:"IdentityType"`
 	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
-	AppId                string           `position:"Query" name:"AppId"`
-	PolicyNames          string           `position:"Query" name:"PolicyNames"`
 	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	AppId                string           `position:"Query" name:"AppId"`
 }
 
 // DetachAppPolicyFromIdentityResponse is the response struct for api DetachAppPolicyFromIdentity

+ 64 - 0
services/vod/endpoint.go

@@ -0,0 +1,64 @@
+package vod
+
+// EndpointMap Endpoint Data
+var EndpointMap map[string]string
+
+// EndpointType regional or central
+var EndpointType = "regional"
+
+// GetEndpointMap Get Endpoint Data Map
+func GetEndpointMap() map[string]string {
+	if EndpointMap == nil {
+		EndpointMap = map[string]string{
+			"cn-shanghai-internal-test-1": "vod.aliyuncs.com",
+			"cn-beijing-gov-1":            "vod.aliyuncs.com",
+			"cn-shenzhen-su18-b01":        "vod.aliyuncs.com",
+			"cn-beijing":                  "vod.cn-shanghai.aliyuncs.com",
+			"cn-shanghai-inner":           "vod.aliyuncs.com",
+			"cn-shenzhen-st4-d01":         "vod.aliyuncs.com",
+			"cn-haidian-cm12-c01":         "vod.aliyuncs.com",
+			"cn-hangzhou-internal-prod-1": "vod.aliyuncs.com",
+			"cn-yushanfang":               "vod.aliyuncs.com",
+			"cn-qingdao":                  "vod.aliyuncs.com",
+			"cn-hongkong-finance-pop":     "vod.aliyuncs.com",
+			"cn-qingdao-nebula":           "vod.aliyuncs.com",
+			"cn-shanghai-finance-1":       "vod.aliyuncs.com",
+			"cn-beijing-finance-pop":      "vod.aliyuncs.com",
+			"cn-wuhan":                    "vod.aliyuncs.com",
+			"cn-shenzhen":                 "vod.cn-shanghai.aliyuncs.com",
+			"cn-zhengzhou-nebula-1":       "vod.aliyuncs.com",
+			"rus-west-1-pop":              "vod.ap-northeast-1.aliyuncs.com",
+			"cn-shanghai-et15-b01":        "vod.aliyuncs.com",
+			"cn-hangzhou-bj-b01":          "vod.aliyuncs.com",
+			"cn-hangzhou-internal-test-1": "vod.aliyuncs.com",
+			"eu-west-1-oxs":               "vod.ap-northeast-1.aliyuncs.com",
+			"cn-zhangbei-na61-b01":        "vod.aliyuncs.com",
+			"cn-beijing-finance-1":        "vod.aliyuncs.com",
+			"cn-hangzhou-internal-test-3": "vod.aliyuncs.com",
+			"cn-hangzhou-internal-test-2": "vod.aliyuncs.com",
+			"cn-shenzhen-finance-1":       "vod.aliyuncs.com",
+			"me-east-1":                   "vod.ap-northeast-1.aliyuncs.com",
+			"cn-chengdu":                  "vod.aliyuncs.com",
+			"cn-hangzhou-test-306":        "vod.aliyuncs.com",
+			"cn-shanghai-et2-b01":         "vod.aliyuncs.com",
+			"cn-hangzhou-finance":         "vod.aliyuncs.com",
+			"cn-beijing-nu16-b01":         "vod.aliyuncs.com",
+			"cn-edge-1":                   "vod.aliyuncs.com",
+			"ap-southeast-2":              "vod.ap-northeast-1.aliyuncs.com",
+			"ap-southeast-3":              "vod.ap-northeast-1.aliyuncs.com",
+			"cn-huhehaote":                "vod.aliyuncs.com",
+			"cn-fujian":                   "vod.aliyuncs.com",
+			"us-east-1":                   "vod.ap-northeast-1.aliyuncs.com",
+			"ap-northeast-2-pop":          "vod.ap-northeast-1.aliyuncs.com",
+			"cn-shenzhen-inner":           "vod.aliyuncs.com",
+			"cn-zhangjiakou-na62-a01":     "vod.aliyuncs.com",
+			"cn-hangzhou":                 "vod.cn-shanghai.aliyuncs.com",
+		}
+	}
+	return EndpointMap
+}
+
+// GetEndpointType Get Endpoint Type Value
+func GetEndpointType() string {
+	return EndpointType
+}

+ 1 - 1
services/vod/get_ai_media_audit_job.go

@@ -76,10 +76,10 @@ func (client *Client) GetAIMediaAuditJobWithCallback(request *GetAIMediaAuditJob
 // GetAIMediaAuditJobRequest is the request struct for api GetAIMediaAuditJob
 type GetAIMediaAuditJobRequest struct {
 	*requests.RpcRequest
-	JobId                string           `position:"Query" name:"JobId"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	OwnerId              string           `position:"Query" name:"OwnerId"`
+	JobId                string           `position:"Query" name:"JobId"`
 }
 
 // GetAIMediaAuditJobResponse is the response struct for api GetAIMediaAuditJob

+ 1 - 1
services/vod/get_app_infos.go

@@ -77,10 +77,10 @@ func (client *Client) GetAppInfosWithCallback(request *GetAppInfosRequest, callb
 type GetAppInfosRequest struct {
 	*requests.RpcRequest
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	AppIds               string           `position:"Query" name:"AppIds"`
 	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceRealOwnerId  requests.Integer `position:"Query" name:"ResourceRealOwnerId"`
 	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	AppIds               string           `position:"Query" name:"AppIds"`
 }
 
 // GetAppInfosResponse is the response struct for api GetAppInfos

+ 3 - 3
services/vod/get_attached_media_info.go

@@ -77,12 +77,12 @@ func (client *Client) GetAttachedMediaInfoWithCallback(request *GetAttachedMedia
 type GetAttachedMediaInfoRequest struct {
 	*requests.RpcRequest
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	ResourceRealOwnerId  requests.Integer `position:"Query" name:"ResourceRealOwnerId"`
 	OutputType           string           `position:"Query" name:"OutputType"`
 	MediaIds             string           `position:"Query" name:"MediaIds"`
-	ResourceRealOwnerId  requests.Integer `position:"Query" name:"ResourceRealOwnerId"`
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 	AuthTimeout          requests.Integer `position:"Query" name:"AuthTimeout"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 }
 
 // GetAttachedMediaInfoResponse is the response struct for api GetAttachedMediaInfo

+ 1 - 1
services/vod/get_audit_history.go

@@ -76,9 +76,9 @@ func (client *Client) GetAuditHistoryWithCallback(request *GetAuditHistoryReques
 // GetAuditHistoryRequest is the request struct for api GetAuditHistory
 type GetAuditHistoryRequest struct {
 	*requests.RpcRequest
-	PageNo   requests.Integer `position:"Query" name:"PageNo"`
 	PageSize requests.Integer `position:"Query" name:"PageSize"`
 	VideoId  string           `position:"Query" name:"VideoId"`
+	PageNo   requests.Integer `position:"Query" name:"PageNo"`
 	SortBy   string           `position:"Query" name:"SortBy"`
 }
 

+ 4 - 4
services/vod/get_categories.go

@@ -77,13 +77,13 @@ func (client *Client) GetCategoriesWithCallback(request *GetCategoriesRequest, c
 type GetCategoriesRequest struct {
 	*requests.RpcRequest
 	ResourceOwnerId      string           `position:"Query" name:"ResourceOwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	Type                 string           `position:"Query" name:"Type"`
 	CateId               requests.Integer `position:"Query" name:"CateId"`
-	PageNo               requests.Integer `position:"Query" name:"PageNo"`
 	PageSize             requests.Integer `position:"Query" name:"PageSize"`
-	SortBy               string           `position:"Query" name:"SortBy"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	OwnerId              string           `position:"Query" name:"OwnerId"`
-	Type                 string           `position:"Query" name:"Type"`
+	PageNo               requests.Integer `position:"Query" name:"PageNo"`
+	SortBy               string           `position:"Query" name:"SortBy"`
 }
 
 // GetCategoriesResponse is the response struct for api GetCategories

+ 1 - 1
services/vod/get_default_ai_template.go

@@ -78,8 +78,8 @@ type GetDefaultAITemplateRequest struct {
 	*requests.RpcRequest
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
-	TemplateType         string           `position:"Query" name:"TemplateType"`
 	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	TemplateType         string           `position:"Query" name:"TemplateType"`
 }
 
 // GetDefaultAITemplateResponse is the response struct for api GetDefaultAITemplate

+ 2 - 2
services/vod/get_editing_project_materials.go

@@ -77,12 +77,12 @@ func (client *Client) GetEditingProjectMaterialsWithCallback(request *GetEditing
 type GetEditingProjectMaterialsRequest struct {
 	*requests.RpcRequest
 	ResourceOwnerId      string `position:"Query" name:"ResourceOwnerId"`
+	Type                 string `position:"Query" name:"Type"`
 	MaterialType         string `position:"Query" name:"MaterialType"`
+	ProjectId            string `position:"Query" name:"ProjectId"`
 	ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"`
 	OwnerAccount         string `position:"Query" name:"OwnerAccount"`
 	OwnerId              string `position:"Query" name:"OwnerId"`
-	Type                 string `position:"Query" name:"Type"`
-	ProjectId            string `position:"Query" name:"ProjectId"`
 }
 
 // GetEditingProjectMaterialsResponse is the response struct for api GetEditingProjectMaterials

+ 2 - 2
services/vod/get_image_info.go

@@ -78,10 +78,10 @@ type GetImageInfoRequest struct {
 	*requests.RpcRequest
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	ImageId              string           `position:"Query" name:"ImageId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	OutputType           string           `position:"Query" name:"OutputType"`
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 	AuthTimeout          requests.Integer `position:"Query" name:"AuthTimeout"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 }
 
 // GetImageInfoResponse is the response struct for api GetImageInfo

+ 1 - 1
services/vod/get_media_audit_result_detail.go

@@ -78,9 +78,9 @@ type GetMediaAuditResultDetailRequest struct {
 	*requests.RpcRequest
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
-	PageNo               requests.Integer `position:"Query" name:"PageNo"`
 	OwnerId              string           `position:"Query" name:"OwnerId"`
 	MediaId              string           `position:"Query" name:"MediaId"`
+	PageNo               requests.Integer `position:"Query" name:"PageNo"`
 }
 
 // GetMediaAuditResultDetailResponse is the response struct for api GetMediaAuditResultDetail

+ 2 - 2
services/vod/get_message_callback.go

@@ -77,11 +77,11 @@ func (client *Client) GetMessageCallbackWithCallback(request *GetMessageCallback
 type GetMessageCallbackRequest struct {
 	*requests.RpcRequest
 	ResourceOwnerId      string           `position:"Query" name:"ResourceOwnerId"`
+	ResourceRealOwnerId  requests.Integer `position:"Query" name:"ResourceRealOwnerId"`
 	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
-	AppId                string           `position:"Query" name:"AppId"`
-	ResourceRealOwnerId  requests.Integer `position:"Query" name:"ResourceRealOwnerId"`
 	OwnerId              string           `position:"Query" name:"OwnerId"`
+	AppId                string           `position:"Query" name:"AppId"`
 }
 
 // GetMessageCallbackResponse is the response struct for api GetMessageCallback

+ 3 - 3
services/vod/get_mezzanine_info.go

@@ -77,13 +77,13 @@ func (client *Client) GetMezzanineInfoWithCallback(request *GetMezzanineInfoRequ
 type GetMezzanineInfoRequest struct {
 	*requests.RpcRequest
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	OutputType           string           `position:"Query" name:"OutputType"`
+	AuthTimeout          requests.Integer `position:"Query" name:"AuthTimeout"`
 	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	VideoId              string           `position:"Query" name:"VideoId"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 	PreviewSegment       requests.Boolean `position:"Query" name:"PreviewSegment"`
-	OutputType           string           `position:"Query" name:"OutputType"`
 	AdditionType         string           `position:"Query" name:"AdditionType"`
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	AuthTimeout          requests.Integer `position:"Query" name:"AuthTimeout"`
 }
 
 // GetMezzanineInfoResponse is the response struct for api GetMezzanineInfo

+ 5 - 5
services/vod/get_play_info.go

@@ -77,20 +77,20 @@ func (client *Client) GetPlayInfoWithCallback(request *GetPlayInfoRequest, callb
 type GetPlayInfoRequest struct {
 	*requests.RpcRequest
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	StreamType           string           `position:"Query" name:"StreamType"`
 	Formats              string           `position:"Query" name:"Formats"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	Channel              string           `position:"Query" name:"Channel"`
-	VideoId              string           `position:"Query" name:"VideoId"`
 	PlayerVersion        string           `position:"Query" name:"PlayerVersion"`
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	ResultType           string           `position:"Query" name:"ResultType"`
 	Rand                 string           `position:"Query" name:"Rand"`
 	ReAuthInfo           string           `position:"Query" name:"ReAuthInfo"`
 	PlayConfig           string           `position:"Query" name:"PlayConfig"`
 	OutputType           string           `position:"Query" name:"OutputType"`
 	Definition           string           `position:"Query" name:"Definition"`
 	AuthTimeout          requests.Integer `position:"Query" name:"AuthTimeout"`
+	StreamType           string           `position:"Query" name:"StreamType"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	VideoId              string           `position:"Query" name:"VideoId"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	ResultType           string           `position:"Query" name:"ResultType"`
 	AuthInfo             string           `position:"Query" name:"AuthInfo"`
 }
 

+ 1 - 1
services/vod/get_transcode_task.go

@@ -78,8 +78,8 @@ 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"`
+	TranscodeTaskId      string           `position:"Query" name:"TranscodeTaskId"`
 }
 
 // GetTranscodeTaskResponse is the response struct for api GetTranscodeTask

+ 1 - 1
services/vod/get_upload_details.go

@@ -77,9 +77,9 @@ func (client *Client) GetUploadDetailsWithCallback(request *GetUploadDetailsRequ
 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"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 	MediaType            string           `position:"Query" name:"MediaType"`
 }

+ 1 - 1
services/vod/get_url_upload_infos.go

@@ -78,9 +78,9 @@ type GetURLUploadInfosRequest struct {
 	*requests.RpcRequest
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 	JobIds               string           `position:"Query" name:"JobIds"`
 	UploadURLs           string           `position:"Query" name:"UploadURLs"`
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 }
 
 // GetURLUploadInfosResponse is the response struct for api GetURLUploadInfos

+ 2 - 2
services/vod/get_video_info.go

@@ -77,11 +77,11 @@ func (client *Client) GetVideoInfoWithCallback(request *GetVideoInfoRequest, cal
 type GetVideoInfoRequest struct {
 	*requests.RpcRequest
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	ResultTypes          string           `position:"Query" name:"ResultTypes"`
 	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	VideoId              string           `position:"Query" name:"VideoId"`
-	AdditionType         string           `position:"Query" name:"AdditionType"`
-	ResultTypes          string           `position:"Query" name:"ResultTypes"`
 	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	AdditionType         string           `position:"Query" name:"AdditionType"`
 }
 
 // GetVideoInfoResponse is the response struct for api GetVideoInfo

+ 1 - 1
services/vod/get_video_infos.go

@@ -78,8 +78,8 @@ type GetVideoInfosRequest struct {
 	*requests.RpcRequest
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
-	AdditionType         string           `position:"Query" name:"AdditionType"`
 	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	AdditionType         string           `position:"Query" name:"AdditionType"`
 	VideoIds             string           `position:"Query" name:"VideoIds"`
 }
 

+ 5 - 5
services/vod/get_video_list.go

@@ -77,16 +77,16 @@ func (client *Client) GetVideoListWithCallback(request *GetVideoListRequest, cal
 type GetVideoListRequest struct {
 	*requests.RpcRequest
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	StartTime            string           `position:"Query" name:"StartTime"`
+	StorageLocation      string           `position:"Query" name:"StorageLocation"`
 	CateId               requests.Integer `position:"Query" name:"CateId"`
-	PageNo               requests.Integer `position:"Query" name:"PageNo"`
 	PageSize             requests.Integer `position:"Query" name:"PageSize"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	EndTime              string           `position:"Query" name:"EndTime"`
-	SortBy               string           `position:"Query" name:"SortBy"`
-	StartTime            string           `position:"Query" name:"StartTime"`
 	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	PageNo               requests.Integer `position:"Query" name:"PageNo"`
+	SortBy               string           `position:"Query" name:"SortBy"`
 	Status               string           `position:"Query" name:"Status"`
-	StorageLocation      string           `position:"Query" name:"StorageLocation"`
 }
 
 // GetVideoListResponse is the response struct for api GetVideoList

+ 2 - 2
services/vod/get_video_play_auth.go

@@ -77,12 +77,12 @@ func (client *Client) GetVideoPlayAuthWithCallback(request *GetVideoPlayAuthRequ
 type GetVideoPlayAuthRequest struct {
 	*requests.RpcRequest
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ReAuthInfo           string           `position:"Query" name:"ReAuthInfo"`
 	PlayConfig           string           `position:"Query" name:"PlayConfig"`
-	AuthInfoTimeout      requests.Integer `position:"Query" name:"AuthInfoTimeout"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	VideoId              string           `position:"Query" name:"VideoId"`
 	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	AuthInfoTimeout      requests.Integer `position:"Query" name:"AuthInfoTimeout"`
 }
 
 // GetVideoPlayAuthResponse is the response struct for api GetVideoPlayAuth

+ 1 - 1
services/vod/get_vod_template.go

@@ -78,8 +78,8 @@ type GetVodTemplateRequest struct {
 	*requests.RpcRequest
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
-	VodTemplateId        string           `position:"Query" name:"VodTemplateId"`
 	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	VodTemplateId        string           `position:"Query" name:"VodTemplateId"`
 }
 
 // GetVodTemplateResponse is the response struct for api GetVodTemplate

+ 1 - 1
services/vod/get_watermark.go

@@ -76,10 +76,10 @@ func (client *Client) GetWatermarkWithCallback(request *GetWatermarkRequest, cal
 // GetWatermarkRequest is the request struct for api GetWatermark
 type GetWatermarkRequest struct {
 	*requests.RpcRequest
-	WatermarkId          string           `position:"Query" name:"WatermarkId"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	WatermarkId          string           `position:"Query" name:"WatermarkId"`
 }
 
 // GetWatermarkResponse is the response struct for api GetWatermark

+ 1 - 1
services/vod/list_ai_job.go

@@ -79,8 +79,8 @@ type ListAIJobRequest struct {
 	ResourceOwnerId      string `position:"Query" name:"ResourceOwnerId"`
 	ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"`
 	OwnerAccount         string `position:"Query" name:"OwnerAccount"`
-	JobIds               string `position:"Query" name:"JobIds"`
 	OwnerId              string `position:"Query" name:"OwnerId"`
+	JobIds               string `position:"Query" name:"JobIds"`
 }
 
 // ListAIJobResponse is the response struct for api ListAIJob

+ 1 - 1
services/vod/list_ai_template.go

@@ -78,8 +78,8 @@ type ListAITemplateRequest struct {
 	*requests.RpcRequest
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
-	TemplateType         string           `position:"Query" name:"TemplateType"`
 	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	TemplateType         string           `position:"Query" name:"TemplateType"`
 }
 
 // ListAITemplateResponse is the response struct for api ListAITemplate

+ 4 - 3
services/vod/list_app_info.go

@@ -77,11 +77,11 @@ func (client *Client) ListAppInfoWithCallback(request *ListAppInfoRequest, callb
 type ListAppInfoRequest 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"`
 	ResourceRealOwnerId  requests.Integer `position:"Query" name:"ResourceRealOwnerId"`
+	PageSize             requests.Integer `position:"Query" name:"PageSize"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	PageNo               requests.Integer `position:"Query" name:"PageNo"`
 	Status               string           `position:"Query" name:"Status"`
 }
 
@@ -89,6 +89,7 @@ type ListAppInfoRequest struct {
 type ListAppInfoResponse struct {
 	*responses.BaseResponse
 	RequestId   string    `json:"RequestId" xml:"RequestId"`
+	Total       int       `json:"Total" xml:"Total"`
 	AppInfoList []AppInfo `json:"AppInfoList" xml:"AppInfoList"`
 }
 

+ 2 - 2
services/vod/list_app_policies_for_identity.go

@@ -76,12 +76,12 @@ func (client *Client) ListAppPoliciesForIdentityWithCallback(request *ListAppPol
 // ListAppPoliciesForIdentityRequest is the request struct for api ListAppPoliciesForIdentity
 type ListAppPoliciesForIdentityRequest struct {
 	*requests.RpcRequest
-	IdentityName         string           `position:"Query" name:"IdentityName"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	IdentityName         string           `position:"Query" name:"IdentityName"`
 	IdentityType         string           `position:"Query" name:"IdentityType"`
 	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
-	AppId                string           `position:"Query" name:"AppId"`
 	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	AppId                string           `position:"Query" name:"AppId"`
 }
 
 // ListAppPoliciesForIdentityResponse is the response struct for api ListAppPoliciesForIdentity

+ 5 - 5
services/vod/list_live_record_video.go

@@ -77,17 +77,17 @@ func (client *Client) ListLiveRecordVideoWithCallback(request *ListLiveRecordVid
 type ListLiveRecordVideoRequest struct {
 	*requests.RpcRequest
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	StartTime            string           `position:"Query" name:"StartTime"`
+	AppName              string           `position:"Query" name:"AppName"`
+	PageSize             requests.Integer `position:"Query" name:"PageSize"`
+	StreamName           string           `position:"Query" name:"StreamName"`
+	QueryType            string           `position:"Query" name:"QueryType"`
 	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	DomainName           string           `position:"Query" name:"DomainName"`
 	EndTime              string           `position:"Query" name:"EndTime"`
-	StartTime            string           `position:"Query" name:"StartTime"`
 	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	AppName              string           `position:"Query" name:"AppName"`
 	PageNo               requests.Integer `position:"Query" name:"PageNo"`
-	PageSize             requests.Integer `position:"Query" name:"PageSize"`
 	SortBy               string           `position:"Query" name:"SortBy"`
-	StreamName           string           `position:"Query" name:"StreamName"`
-	QueryType            string           `position:"Query" name:"QueryType"`
 }
 
 // ListLiveRecordVideoResponse is the response struct for api ListLiveRecordVideo

+ 4 - 4
services/vod/list_snapshots.go

@@ -77,13 +77,13 @@ func (client *Client) ListSnapshotsWithCallback(request *ListSnapshotsRequest, c
 type ListSnapshotsRequest struct {
 	*requests.RpcRequest
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
-	SnapshotType         string           `position:"Query" name:"SnapshotType"`
-	PageNo               string           `position:"Query" name:"PageNo"`
 	PageSize             string           `position:"Query" name:"PageSize"`
+	AuthTimeout          string           `position:"Query" name:"AuthTimeout"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	VideoId              string           `position:"Query" name:"VideoId"`
 	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	AuthTimeout          string           `position:"Query" name:"AuthTimeout"`
+	SnapshotType         string           `position:"Query" name:"SnapshotType"`
+	PageNo               string           `position:"Query" name:"PageNo"`
 }
 
 // ListSnapshotsResponse is the response struct for api ListSnapshots

+ 3 - 3
services/vod/list_transcode_task.go

@@ -77,13 +77,13 @@ func (client *Client) ListTranscodeTaskWithCallback(request *ListTranscodeTaskRe
 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"`
+	StartTime            string           `position:"Query" name:"StartTime"`
 	PageSize             requests.Integer `position:"Query" name:"PageSize"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	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"`
+	PageNo               requests.Integer `position:"Query" name:"PageNo"`
 }
 
 // ListTranscodeTaskResponse is the response struct for api ListTranscodeTask

+ 2 - 2
services/vod/list_transcode_template_group.go

@@ -77,11 +77,11 @@ func (client *Client) ListTranscodeTemplateGroupWithCallback(request *ListTransc
 type ListTranscodeTemplateGroupRequest struct {
 	*requests.RpcRequest
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	PageSize             requests.Integer `position:"Query" name:"PageSize"`
 	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 	PageNo               requests.Integer `position:"Query" name:"PageNo"`
 	AppId                string           `position:"Query" name:"AppId"`
-	PageSize             requests.Integer `position:"Query" name:"PageSize"`
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 }
 
 // ListTranscodeTemplateGroupResponse is the response struct for api ListTranscodeTemplateGroup

+ 1 - 1
services/vod/list_vod_template.go

@@ -78,9 +78,9 @@ type ListVodTemplateRequest struct {
 	*requests.RpcRequest
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 	TemplateType         string           `position:"Query" name:"TemplateType"`
 	AppId                string           `position:"Query" name:"AppId"`
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 }
 
 // ListVodTemplateResponse is the response struct for api ListVodTemplate

+ 2 - 2
services/vod/list_watermark.go

@@ -77,11 +77,11 @@ func (client *Client) ListWatermarkWithCallback(request *ListWatermarkRequest, c
 type ListWatermarkRequest struct {
 	*requests.RpcRequest
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
+	PageSize             requests.Integer `position:"Query" name:"PageSize"`
 	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 	PageNo               requests.Integer `position:"Query" name:"PageNo"`
 	AppId                string           `position:"Query" name:"AppId"`
-	PageSize             requests.Integer `position:"Query" name:"PageSize"`
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 }
 
 // ListWatermarkResponse is the response struct for api ListWatermark

+ 2 - 2
services/vod/move_app_resource.go

@@ -76,10 +76,10 @@ func (client *Client) MoveAppResourceWithCallback(request *MoveAppResourceReques
 // MoveAppResourceRequest is the request struct for api MoveAppResource
 type MoveAppResourceRequest struct {
 	*requests.RpcRequest
-	TargetAppId          string           `position:"Query" name:"TargetAppId"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	ResourceRealOwnerId  requests.Integer `position:"Query" name:"ResourceRealOwnerId"`
+	TargetAppId          string           `position:"Query" name:"TargetAppId"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 	ResourceType         string           `position:"Query" name:"ResourceType"`
 	ResourceIds          string           `position:"Query" name:"ResourceIds"`

+ 1 - 1
services/vod/preload_vod_object_caches.go

@@ -76,9 +76,9 @@ func (client *Client) PreloadVodObjectCachesWithCallback(request *PreloadVodObje
 // PreloadVodObjectCachesRequest is the request struct for api PreloadVodObjectCaches
 type PreloadVodObjectCachesRequest struct {
 	*requests.RpcRequest
-	SecurityToken string           `position:"Query" name:"SecurityToken"`
 	ObjectPath    string           `position:"Query" name:"ObjectPath"`
 	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
+	SecurityToken string           `position:"Query" name:"SecurityToken"`
 }
 
 // PreloadVodObjectCachesResponse is the response struct for api PreloadVodObjectCaches

+ 4 - 4
services/vod/produce_editing_project_video.go

@@ -77,16 +77,16 @@ func (client *Client) ProduceEditingProjectVideoWithCallback(request *ProduceEdi
 type ProduceEditingProjectVideoRequest struct {
 	*requests.RpcRequest
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	MediaMetadata        string           `position:"Query" name:"MediaMetadata"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	Description          string           `position:"Query" name:"Description"`
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 	Title                string           `position:"Query" name:"Title"`
 	CoverURL             string           `position:"Query" name:"CoverURL"`
 	UserData             string           `position:"Query" name:"UserData"`
-	Timeline             string           `position:"Query" name:"Timeline"`
 	ProduceConfig        string           `position:"Query" name:"ProduceConfig"`
 	ProjectId            string           `position:"Query" name:"ProjectId"`
+	MediaMetadata        string           `position:"Query" name:"MediaMetadata"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	Timeline             string           `position:"Query" name:"Timeline"`
 }
 
 // ProduceEditingProjectVideoResponse is the response struct for api ProduceEditingProjectVideo

+ 1 - 1
services/vod/refresh_vod_object_caches.go

@@ -76,9 +76,9 @@ func (client *Client) RefreshVodObjectCachesWithCallback(request *RefreshVodObje
 // RefreshVodObjectCachesRequest is the request struct for api RefreshVodObjectCaches
 type RefreshVodObjectCachesRequest struct {
 	*requests.RpcRequest
-	SecurityToken string           `position:"Query" name:"SecurityToken"`
 	ObjectPath    string           `position:"Query" name:"ObjectPath"`
 	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
+	SecurityToken string           `position:"Query" name:"SecurityToken"`
 	ObjectType    string           `position:"Query" name:"ObjectType"`
 }
 

+ 4 - 4
services/vod/register_media.go

@@ -76,13 +76,13 @@ func (client *Client) RegisterMediaWithCallback(request *RegisterMediaRequest, c
 // RegisterMediaRequest is the request struct for api RegisterMedia
 type RegisterMediaRequest struct {
 	*requests.RpcRequest
-	UserData             string           `position:"Query" name:"UserData"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
-	TemplateGroupId      string           `position:"Query" name:"TemplateGroupId"`
-	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	UserData             string           `position:"Query" name:"UserData"`
 	RegisterMetadatas    string           `position:"Query" name:"RegisterMetadatas"`
 	WorkflowId           string           `position:"Query" name:"WorkflowId"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	TemplateGroupId      string           `position:"Query" name:"TemplateGroupId"`
 }
 
 // RegisterMediaResponse is the response struct for api RegisterMedia

+ 3 - 3
services/vod/search_editing_project.go

@@ -77,14 +77,14 @@ func (client *Client) SearchEditingProjectWithCallback(request *SearchEditingPro
 type SearchEditingProjectRequest struct {
 	*requests.RpcRequest
 	ResourceOwnerId      string           `position:"Query" name:"ResourceOwnerId"`
+	StartTime            string           `position:"Query" name:"StartTime"`
+	Title                string           `position:"Query" name:"Title"`
+	PageSize             requests.Integer `position:"Query" name:"PageSize"`
 	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
 	EndTime              string           `position:"Query" name:"EndTime"`
-	StartTime            string           `position:"Query" name:"StartTime"`
 	OwnerId              string           `position:"Query" name:"OwnerId"`
-	Title                string           `position:"Query" name:"Title"`
 	PageNo               requests.Integer `position:"Query" name:"PageNo"`
-	PageSize             requests.Integer `position:"Query" name:"PageSize"`
 	SortBy               string           `position:"Query" name:"SortBy"`
 	Status               string           `position:"Query" name:"Status"`
 }

+ 5 - 5
services/vod/search_media.go

@@ -77,16 +77,16 @@ func (client *Client) SearchMediaWithCallback(request *SearchMediaRequest, callb
 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"`
 	PageSize             requests.Integer `position:"Query" name:"PageSize"`
-	SortBy               string           `position:"Query" name:"SortBy"`
 	ResultTypes          string           `position:"Query" name:"ResultTypes"`
+	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
+	Match                string           `position:"Query" name:"Match"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	PageNo               requests.Integer `position:"Query" name:"PageNo"`
+	SortBy               string           `position:"Query" name:"SortBy"`
 	Fields               string           `position:"Query" name:"Fields"`
 }
 

+ 1 - 1
services/vod/set_audit_security_ip.go

@@ -76,8 +76,8 @@ func (client *Client) SetAuditSecurityIpWithCallback(request *SetAuditSecurityIp
 // SetAuditSecurityIpRequest is the request struct for api SetAuditSecurityIp
 type SetAuditSecurityIpRequest struct {
 	*requests.RpcRequest
-	OperateMode       string `position:"Query" name:"OperateMode"`
 	SecurityGroupName string `position:"Query" name:"SecurityGroupName"`
+	OperateMode       string `position:"Query" name:"OperateMode"`
 	Ips               string `position:"Query" name:"Ips"`
 }
 

+ 1 - 1
services/vod/set_default_watermark.go

@@ -76,10 +76,10 @@ func (client *Client) SetDefaultWatermarkWithCallback(request *SetDefaultWaterma
 // SetDefaultWatermarkRequest is the request struct for api SetDefaultWatermark
 type SetDefaultWatermarkRequest struct {
 	*requests.RpcRequest
-	WatermarkId          string           `position:"Query" name:"WatermarkId"`
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+	WatermarkId          string           `position:"Query" name:"WatermarkId"`
 }
 
 // SetDefaultWatermarkResponse is the response struct for api SetDefaultWatermark

+ 2 - 2
services/vod/set_editing_project_materials.go

@@ -77,11 +77,11 @@ func (client *Client) SetEditingProjectMaterialsWithCallback(request *SetEditing
 type SetEditingProjectMaterialsRequest struct {
 	*requests.RpcRequest
 	ResourceOwnerId      string `position:"Query" name:"ResourceOwnerId"`
+	ProjectId            string `position:"Query" name:"ProjectId"`
 	ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"`
 	OwnerAccount         string `position:"Query" name:"OwnerAccount"`
-	MaterialIds          string `position:"Query" name:"MaterialIds"`
 	OwnerId              string `position:"Query" name:"OwnerId"`
-	ProjectId            string `position:"Query" name:"ProjectId"`
+	MaterialIds          string `position:"Query" name:"MaterialIds"`
 }
 
 // SetEditingProjectMaterialsResponse is the response struct for api SetEditingProjectMaterials

+ 3 - 3
services/vod/set_message_callback.go

@@ -78,14 +78,14 @@ type SetMessageCallbackRequest struct {
 	*requests.RpcRequest
 	AuthKey              string           `position:"Query" name:"AuthKey"`
 	ResourceOwnerId      string           `position:"Query" name:"ResourceOwnerId"`
+	ResourceRealOwnerId  requests.Integer `position:"Query" name:"ResourceRealOwnerId"`
+	CallbackType         string           `position:"Query" name:"CallbackType"`
+	CallbackSwitch       string           `position:"Query" name:"CallbackSwitch"`
 	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
 	OwnerAccount         string           `position:"Query" name:"OwnerAccount"`
 	EventTypeList        string           `position:"Query" name:"EventTypeList"`
 	MnsQueueName         string           `position:"Query" name:"MnsQueueName"`
-	ResourceRealOwnerId  requests.Integer `position:"Query" name:"ResourceRealOwnerId"`
 	OwnerId              string           `position:"Query" name:"OwnerId"`
-	CallbackType         string           `position:"Query" name:"CallbackType"`
-	CallbackSwitch       string           `position:"Query" name:"CallbackSwitch"`
 	MnsEndpoint          string           `position:"Query" name:"MnsEndpoint"`
 	AppId                string           `position:"Query" name:"AppId"`
 	AuthSwitch           string           `position:"Query" name:"AuthSwitch"`

+ 3 - 3
services/vod/set_vod_domain_certificate.go

@@ -76,14 +76,14 @@ func (client *Client) SetVodDomainCertificateWithCallback(request *SetVodDomainC
 // SetVodDomainCertificateRequest is the request struct for api SetVodDomainCertificate
 type SetVodDomainCertificateRequest struct {
 	*requests.RpcRequest
+	SSLProtocol   string           `position:"Query" name:"SSLProtocol"`
 	SecurityToken string           `position:"Query" name:"SecurityToken"`
-	SSLPub        string           `position:"Query" name:"SSLPub"`
+	SSLPri        string           `position:"Query" name:"SSLPri"`
 	CertName      string           `position:"Query" name:"CertName"`
-	SSLProtocol   string           `position:"Query" name:"SSLProtocol"`
 	DomainName    string           `position:"Query" name:"DomainName"`
 	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
+	SSLPub        string           `position:"Query" name:"SSLPub"`
 	Region        string           `position:"Query" name:"Region"`
-	SSLPri        string           `position:"Query" name:"SSLPri"`
 }
 
 // SetVodDomainCertificateResponse is the response struct for api SetVodDomainCertificate

+ 26 - 0
services/vod/struct_ad_result.go

@@ -0,0 +1,26 @@
+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.
+
+// AdResult is a nested struct in vod response
+type AdResult struct {
+	Suggestion   string            `json:"Suggestion" xml:"Suggestion"`
+	Label        string            `json:"Label" xml:"Label"`
+	MaxScore     string            `json:"MaxScore" xml:"MaxScore"`
+	AverageScore string            `json:"AverageScore" xml:"AverageScore"`
+	CounterList  []CounterListItem `json:"CounterList" xml:"CounterList"`
+	TopList      []TopListItem     `json:"TopList" xml:"TopList"`
+}

+ 3 - 1
services/vod/struct_attached_media.go

@@ -17,19 +17,21 @@ package vod
 
 // AttachedMedia is a nested struct in vod response
 type AttachedMedia struct {
+	BusinessType     string     `json:"BusinessType" xml:"BusinessType"`
 	Tags             string     `json:"Tags" xml:"Tags"`
 	Title            string     `json:"Title" xml:"Title"`
 	ModificationTime string     `json:"ModificationTime" xml:"ModificationTime"`
+	StorageLocation  string     `json:"StorageLocation" xml:"StorageLocation"`
 	CreationTime     string     `json:"CreationTime" xml:"CreationTime"`
 	Icon             string     `json:"Icon" xml:"Icon"`
 	URL              string     `json:"URL" xml:"URL"`
 	AppId            string     `json:"AppId" xml:"AppId"`
 	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"`
+	Ext              string     `json:"Ext" xml:"Ext"`
 	OnlineStatus     string     `json:"OnlineStatus" xml:"OnlineStatus"`
 	Type             string     `json:"Type" xml:"Type"`
 	Categories       []Category `json:"Categories" xml:"Categories"`

+ 0 - 36
services/vod/struct_attached_media_in_search_media.go

@@ -1,36 +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.
-
-// AttachedMediaInSearchMedia is a nested struct in vod response
-type AttachedMediaInSearchMedia struct {
-	Title            string     `json:"Title" xml:"Title"`
-	MediaId          string     `json:"MediaId" xml:"MediaId"`
-	Ext              string     `json:"Ext" xml:"Ext"`
-	CreationTime     string     `json:"CreationTime" xml:"CreationTime"`
-	ModificationTime string     `json:"ModificationTime" xml:"ModificationTime"`
-	Tags             string     `json:"Tags" xml:"Tags"`
-	BusinessType     string     `json:"BusinessType" xml:"BusinessType"`
-	URL              string     `json:"URL" xml:"URL"`
-	Status           string     `json:"Status" xml:"Status"`
-	Description      string     `json:"Description" xml:"Description"`
-	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"`
-}

+ 28 - 28
services/vod/struct_audio.go

@@ -17,32 +17,32 @@ 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              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            int64      `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"`
-	AppId             string     `json:"AppId" xml:"AppId"`
-	Snapshots         []string   `json:"Snapshots" xml:"Snapshots"`
-	SpriteSnapshots   []string   `json:"SpriteSnapshots" xml:"SpriteSnapshots"`
-	PlayInfoList      []PlayInfo `json:"PlayInfoList" xml:"PlayInfoList"`
+	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              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            int64                   `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"`
+	AppId             string                  `json:"AppId" xml:"AppId"`
+	Snapshots         []string                `json:"Snapshots" xml:"Snapshots"`
+	SpriteSnapshots   []string                `json:"SpriteSnapshots" xml:"SpriteSnapshots"`
+	PlayInfoList      []PlayInfoInSearchMedia `json:"PlayInfoList" xml:"PlayInfoList"`
 }

+ 1 - 1
services/vod/struct_category_in_get_ai_video_tag_result.go

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

+ 1 - 1
services/vod/struct_counter_list_in_get_ai_media_audit_job.go

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

+ 1 - 1
services/vod/struct_counter_list_in_get_media_audit_result.go

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

+ 1 - 1
services/vod/struct_detail.go

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

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

+ 1 - 0
services/vod/struct_image_info.go

@@ -30,5 +30,6 @@ type ImageInfo struct {
 	Status          string    `json:"Status" xml:"Status"`
 	AppId           string    `json:"AppId" xml:"AppId"`
 	RegionId        string    `json:"RegionId" xml:"RegionId"`
+	AuditStatus     string    `json:"AuditStatus" xml:"AuditStatus"`
 	Mezzanine       Mezzanine `json:"Mezzanine" xml:"Mezzanine"`
 }

+ 1 - 1
services/vod/struct_image_result_in_get_ai_media_audit_job.go

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

+ 1 - 1
services/vod/struct_image_result_in_get_media_audit_result.go

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

+ 1 - 1
services/vod/struct_keyword.go

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

+ 1 - 1
services/vod/struct_list.go

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

+ 26 - 0
services/vod/struct_live_result.go

@@ -0,0 +1,26 @@
+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.
+
+// LiveResult is a nested struct in vod response
+type LiveResult struct {
+	Suggestion   string            `json:"Suggestion" xml:"Suggestion"`
+	Label        string            `json:"Label" xml:"Label"`
+	MaxScore     string            `json:"MaxScore" xml:"MaxScore"`
+	AverageScore string            `json:"AverageScore" xml:"AverageScore"`
+	CounterList  []CounterListItem `json:"CounterList" xml:"CounterList"`
+	TopList      []TopListItem     `json:"TopList" xml:"TopList"`
+}

+ 1 - 1
services/vod/struct_location.go

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

+ 26 - 0
services/vod/struct_logo_result.go

@@ -0,0 +1,26 @@
+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.
+
+// LogoResult is a nested struct in vod response
+type LogoResult struct {
+	Suggestion   string            `json:"Suggestion" xml:"Suggestion"`
+	Label        string            `json:"Label" xml:"Label"`
+	MaxScore     string            `json:"MaxScore" xml:"MaxScore"`
+	AverageScore string            `json:"AverageScore" xml:"AverageScore"`
+	CounterList  []CounterListItem `json:"CounterList" xml:"CounterList"`
+	TopList      []TopListItem     `json:"TopList" xml:"TopList"`
+}

+ 7 - 7
services/vod/struct_media.go

@@ -17,11 +17,11 @@ package vod
 
 // Media is a nested struct in vod response
 type Media struct {
-	MediaType     string                     `json:"MediaType" xml:"MediaType"`
-	CreationTime  string                     `json:"CreationTime" xml:"CreationTime"`
-	MediaId       string                     `json:"MediaId" xml:"MediaId"`
-	Video         Video                      `json:"Video" xml:"Video"`
-	Audio         Audio                      `json:"Audio" xml:"Audio"`
-	Image         Image                      `json:"Image" xml:"Image"`
-	AttachedMedia AttachedMediaInSearchMedia `json:"AttachedMedia" xml:"AttachedMedia"`
+	MediaType     string        `json:"MediaType" xml:"MediaType"`
+	CreationTime  string        `json:"CreationTime" xml:"CreationTime"`
+	MediaId       string        `json:"MediaId" xml:"MediaId"`
+	Video         Video         `json:"Video" xml:"Video"`
+	Audio         Audio         `json:"Audio" xml:"Audio"`
+	Image         Image         `json:"Image" xml:"Image"`
+	AttachedMedia AttachedMedia `json:"AttachedMedia" xml:"AttachedMedia"`
 }

+ 1 - 1
services/vod/struct_person.go

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

Some files were not shown because too many files changed in this diff