Selaa lähdekoodia

VOD SDK Auto Released By guzhaoyuan,Version:1.51.22

Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
haowei.yao 6 vuotta sitten
vanhempi
commit
97fb8dcd4a
100 muutettua tiedostoa jossa 457 lisäystä ja 7810 poistoa
  1. 7 0
      ChangeLog.txt
  2. 0 110
      services/vod/add_media_sequences.go
  3. 0 1
      services/vod/add_transcode_template_group.go
  4. 0 109
      services/vod/add_vod_domain.go
  5. 0 108
      services/vod/add_workflow.go
  6. 0 1
      services/vod/delete_transcode_template_group.go
  7. 2 2
      services/vod/delete_transcode_templates.go
  8. 0 107
      services/vod/delete_vod_domain.go
  9. 0 107
      services/vod/delete_workflow.go
  10. 0 116
      services/vod/describe_cdn_domain_logs.go
  11. 0 119
      services/vod/describe_domain_bps_data.go
  12. 0 118
      services/vod/describe_domain_flow_data.go
  13. 110 0
      services/vod/describe_play_top_videos.go
  14. 106 0
      services/vod/describe_play_user_avg.go
  15. 106 0
      services/vod/describe_play_user_total.go
  16. 0 107
      services/vod/describe_refresh_quota.go
  17. 0 119
      services/vod/describe_refresh_tasks.go
  18. 0 108
      services/vod/describe_user_avg_count_by_day.go
  19. 0 108
      services/vod/describe_user_avg_time_by_day.go
  20. 0 108
      services/vod/describe_user_time_range_by_day.go
  21. 0 108
      services/vod/describe_user_uv_by_day.go
  22. 0 108
      services/vod/describe_user_vod_status.go
  23. 0 108
      services/vod/describe_user_vv_by_day.go
  24. 0 108
      services/vod/describe_user_vv_by_videoid.go
  25. 0 107
      services/vod/describe_user_vv_top_by_day.go
  26. 0 109
      services/vod/describe_vod_certificate_detail.go
  27. 0 106
      services/vod/describe_vod_certificate_list.go
  28. 8 8
      services/vod/describe_vod_domain_bps_data.go
  29. 0 105
      services/vod/describe_vod_domain_certificate_info.go
  30. 0 105
      services/vod/describe_vod_domain_cname.go
  31. 0 107
      services/vod/describe_vod_domain_configs.go
  32. 0 106
      services/vod/describe_vod_domain_detail.go
  33. 0 114
      services/vod/describe_vod_domain_hit_rate_data.go
  34. 0 112
      services/vod/describe_vod_domain_http_code_data.go
  35. 2 2
      services/vod/describe_vod_domain_log.go
  36. 0 114
      services/vod/describe_vod_domain_qps_data.go
  37. 0 109
      services/vod/describe_vod_domain_real_time_bps_data.go
  38. 0 107
      services/vod/describe_vod_domain_real_time_byte_hit_rate_data.go
  39. 0 113
      services/vod/describe_vod_domain_real_time_http_code_data.go
  40. 0 109
      services/vod/describe_vod_domain_real_time_qps_data.go
  41. 0 107
      services/vod/describe_vod_domain_real_time_req_hit_rate_data.go
  42. 0 111
      services/vod/describe_vod_domain_real_time_src_bps_data.go
  43. 0 111
      services/vod/describe_vod_domain_real_time_src_traffic_data.go
  44. 0 111
      services/vod/describe_vod_domain_real_time_traffic_data.go
  45. 0 112
      services/vod/describe_vod_domain_src_bps_data.go
  46. 0 112
      services/vod/describe_vod_domain_src_traffic_data.go
  47. 0 116
      services/vod/describe_vod_domain_usage_data.go
  48. 0 112
      services/vod/describe_vod_domains_usage_by_day.go
  49. 5 5
      services/vod/describe_vod_refresh_tasks.go
  50. 0 110
      services/vod/describe_vod_service.go
  51. 0 118
      services/vod/describe_vod_user_domains.go
  52. 0 113
      services/vod/describe_vod_user_quota.go
  53. 0 105
      services/vod/describe_vod_user_resource_package.go
  54. 0 104
      services/vod/display_ai_audit_switch.go
  55. 0 109
      services/vod/get_audit_result.go
  56. 0 112
      services/vod/get_cdn_statis_sum.go
  57. 0 108
      services/vod/get_message_callback.go
  58. 0 111
      services/vod/get_oss_statis.go
  59. 0 1
      services/vod/get_transcode_template_group.go
  60. 109 0
      services/vod/get_url_upload_infos.go
  61. 0 108
      services/vod/get_video_config.go
  62. 0 113
      services/vod/get_video_play_info.go
  63. 0 107
      services/vod/get_workflow.go
  64. 0 109
      services/vod/list_ai_video_category_job.go
  65. 0 109
      services/vod/list_ai_video_censor_job.go
  66. 0 109
      services/vod/list_ai_video_cover_job.go
  67. 0 109
      services/vod/list_ai_video_porn_recog_job.go
  68. 0 109
      services/vod/list_ai_video_summary_job.go
  69. 0 109
      services/vod/list_ai_video_terrorism_recog_job.go
  70. 0 109
      services/vod/list_aiasr_job.go
  71. 0 1
      services/vod/list_transcode_template_group.go
  72. 0 106
      services/vod/list_workflow.go
  73. 0 109
      services/vod/open_vod_service.go
  74. 0 108
      services/vod/push_object_cache.go
  75. 0 109
      services/vod/refresh_object_caches.go
  76. 0 1
      services/vod/set_default_transcode_template_group.go
  77. 0 107
      services/vod/set_default_vod_template.go
  78. 0 115
      services/vod/set_message_callback.go
  79. 0 110
      services/vod/set_vod_domain_certificate.go
  80. 0 105
      services/vod/start_vod_domain.go
  81. 0 105
      services/vod/stop_vod_domain.go
  82. 0 26
      services/vod/struct_ai_audit_result.go
  83. 0 27
      services/vod/struct_ai_video_category_job.go
  84. 0 27
      services/vod/struct_ai_video_censor_job.go
  85. 0 27
      services/vod/struct_ai_video_porn_recog_job.go
  86. 0 27
      services/vod/struct_ai_video_summary_job.go
  87. 0 27
      services/vod/struct_ai_video_terrorism_recog_job.go
  88. 0 21
      services/vod/struct_ai_video_terrorism_recog_job_list.go
  89. 0 27
      services/vod/struct_aiasr_job.go
  90. 0 21
      services/vod/struct_aiasr_job_list.go
  91. 2 2
      services/vod/struct_bps_data_per_interval.go
  92. 0 21
      services/vod/struct_bps_data_per_interval_in_describe_domain_bps_data.go
  93. 0 21
      services/vod/struct_bps_data_per_interval_in_describe_vod_domain_bps_data.go
  94. 0 22
      services/vod/struct_bps_model.go
  95. 0 22
      services/vod/struct_byte_hit_rate_data_model.go
  96. 0 27
      services/vod/struct_cdn_metric.go
  97. 0 26
      services/vod/struct_cert.go
  98. 0 29
      services/vod/struct_cert_info.go
  99. 0 21
      services/vod/struct_cert_infos.go
  100. 0 21
      services/vod/struct_cert_list.go

+ 7 - 0
ChangeLog.txt

@@ -1,3 +1,10 @@
+2019-01-30 Version: 1.51.22
+1, Add a new api called GetURLUploadInfos to query the upload task of UploadMediaByURL.
+2, Clean up the old api related to the CDN of VoD that is going offline, such as DescribeDomainBpsData, is replaced with the new CDN api.
+3, Clean up the old AI related apis of VoD, such as SubmitAIASRJob, is replaced with the new AI api.
+4, Clean up an api called GetVideoPlayInfo, which is used by the old player SDKs that are no longer supported.
+5, Clean up some apis that used only by the VoD console to avoid misuse, such as OpenVodService.
+
 2019-01-30 Version: 1.51.21
 1, Add a new pop interface to support deleting item by skuId which is defined by users to distinguish items
 

+ 0 - 110
services/vod/add_media_sequences.go

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

+ 0 - 1
services/vod/add_transcode_template_group.go

@@ -80,7 +80,6 @@ type AddTranscodeTemplateGroupRequest struct {
 	ResourceOwnerId          requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	ResourceOwnerAccount     string           `position:"Query" name:"ResourceOwnerAccount"`
 	Name                     string           `position:"Query" name:"Name"`
-	ResourceRealOwnerId      requests.Integer `position:"Query" name:"ResourceRealOwnerId"`
 	OwnerId                  requests.Integer `position:"Query" name:"OwnerId"`
 	TranscodeTemplateGroupId string           `position:"Query" name:"TranscodeTemplateGroupId"`
 }

+ 0 - 109
services/vod/add_vod_domain.go

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

+ 0 - 108
services/vod/add_workflow.go

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

+ 0 - 1
services/vod/delete_transcode_template_group.go

@@ -78,7 +78,6 @@ type DeleteTranscodeTemplateGroupRequest struct {
 	*requests.RpcRequest
 	ResourceOwnerId          requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	ResourceOwnerAccount     string           `position:"Query" name:"ResourceOwnerAccount"`
-	ResourceRealOwnerId      requests.Integer `position:"Query" name:"ResourceRealOwnerId"`
 	OwnerId                  requests.Integer `position:"Query" name:"OwnerId"`
 	TranscodeTemplateGroupId string           `position:"Query" name:"TranscodeTemplateGroupId"`
 }

+ 2 - 2
services/vod/delete_transcode_templates.go

@@ -78,7 +78,6 @@ type DeleteTranscodeTemplatesRequest struct {
 	*requests.RpcRequest
 	ResourceOwnerId          requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	ResourceOwnerAccount     string           `position:"Query" name:"ResourceOwnerAccount"`
-	ResourceRealOwnerId      requests.Integer `position:"Query" name:"ResourceRealOwnerId"`
 	OwnerId                  requests.Integer `position:"Query" name:"OwnerId"`
 	TranscodeTemplateGroupId string           `position:"Query" name:"TranscodeTemplateGroupId"`
 	TranscodeTemplateIdList  string           `position:"Query" name:"TranscodeTemplateIdList"`
@@ -87,7 +86,8 @@ type DeleteTranscodeTemplatesRequest struct {
 // DeleteTranscodeTemplatesResponse is the response struct for api DeleteTranscodeTemplates
 type DeleteTranscodeTemplatesResponse struct {
 	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
+	RequestId                    string   `json:"RequestId" xml:"RequestId"`
+	NonExistTranscodeTemplateIds []string `json:"NonExistTranscodeTemplateIds" xml:"NonExistTranscodeTemplateIds"`
 }
 
 // CreateDeleteTranscodeTemplatesRequest creates a request to invoke DeleteTranscodeTemplates API

+ 0 - 107
services/vod/delete_vod_domain.go

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

+ 0 - 107
services/vod/delete_workflow.go

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

+ 0 - 116
services/vod/describe_cdn_domain_logs.go

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

+ 0 - 119
services/vod/describe_domain_bps_data.go

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

+ 0 - 118
services/vod/describe_domain_flow_data.go

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

+ 110 - 0
services/vod/describe_play_top_videos.go

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

+ 106 - 0
services/vod/describe_play_user_avg.go

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

+ 106 - 0
services/vod/describe_play_user_total.go

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

+ 0 - 107
services/vod/describe_refresh_quota.go

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

+ 0 - 119
services/vod/describe_refresh_tasks.go

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

+ 0 - 108
services/vod/describe_user_avg_count_by_day.go

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

+ 0 - 108
services/vod/describe_user_avg_time_by_day.go

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

+ 0 - 108
services/vod/describe_user_time_range_by_day.go

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

+ 0 - 108
services/vod/describe_user_uv_by_day.go

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

+ 0 - 108
services/vod/describe_user_vod_status.go

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

+ 0 - 108
services/vod/describe_user_vv_by_day.go

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

+ 0 - 108
services/vod/describe_user_vv_by_videoid.go

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

+ 0 - 107
services/vod/describe_user_vv_top_by_day.go

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

+ 0 - 109
services/vod/describe_vod_certificate_detail.go

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

+ 0 - 106
services/vod/describe_vod_certificate_list.go

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

+ 8 - 8
services/vod/describe_vod_domain_bps_data.go

@@ -88,14 +88,14 @@ type DescribeVodDomainBpsDataRequest struct {
 // DescribeVodDomainBpsDataResponse is the response struct for api DescribeVodDomainBpsData
 type DescribeVodDomainBpsDataResponse struct {
 	*responses.BaseResponse
-	RequestId          string                                       `json:"RequestId" xml:"RequestId"`
-	DomainName         string                                       `json:"DomainName" xml:"DomainName"`
-	StartTime          string                                       `json:"StartTime" xml:"StartTime"`
-	EndTime            string                                       `json:"EndTime" xml:"EndTime"`
-	LocationNameEn     string                                       `json:"LocationNameEn" xml:"LocationNameEn"`
-	IspNameEn          string                                       `json:"IspNameEn" xml:"IspNameEn"`
-	DataInterval       string                                       `json:"DataInterval" xml:"DataInterval"`
-	BpsDataPerInterval BpsDataPerIntervalInDescribeVodDomainBpsData `json:"BpsDataPerInterval" xml:"BpsDataPerInterval"`
+	RequestId          string             `json:"RequestId" xml:"RequestId"`
+	DomainName         string             `json:"DomainName" xml:"DomainName"`
+	StartTime          string             `json:"StartTime" xml:"StartTime"`
+	EndTime            string             `json:"EndTime" xml:"EndTime"`
+	LocationNameEn     string             `json:"LocationNameEn" xml:"LocationNameEn"`
+	IspNameEn          string             `json:"IspNameEn" xml:"IspNameEn"`
+	DataInterval       string             `json:"DataInterval" xml:"DataInterval"`
+	BpsDataPerInterval BpsDataPerInterval `json:"BpsDataPerInterval" xml:"BpsDataPerInterval"`
 }
 
 // CreateDescribeVodDomainBpsDataRequest creates a request to invoke DescribeVodDomainBpsData API

+ 0 - 105
services/vod/describe_vod_domain_certificate_info.go

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

+ 0 - 105
services/vod/describe_vod_domain_cname.go

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

+ 0 - 107
services/vod/describe_vod_domain_configs.go

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

+ 0 - 106
services/vod/describe_vod_domain_detail.go

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

+ 0 - 114
services/vod/describe_vod_domain_hit_rate_data.go

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

+ 0 - 112
services/vod/describe_vod_domain_http_code_data.go

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

+ 2 - 2
services/vod/describe_vod_domain_log.go

@@ -87,8 +87,8 @@ type DescribeVodDomainLogRequest struct {
 // DescribeVodDomainLogResponse is the response struct for api DescribeVodDomainLog
 type DescribeVodDomainLogResponse struct {
 	*responses.BaseResponse
-	RequestId        string                                 `json:"RequestId" xml:"RequestId"`
-	DomainLogDetails DomainLogDetailsInDescribeVodDomainLog `json:"DomainLogDetails" xml:"DomainLogDetails"`
+	RequestId        string           `json:"RequestId" xml:"RequestId"`
+	DomainLogDetails DomainLogDetails `json:"DomainLogDetails" xml:"DomainLogDetails"`
 }
 
 // CreateDescribeVodDomainLogRequest creates a request to invoke DescribeVodDomainLog API

+ 0 - 114
services/vod/describe_vod_domain_qps_data.go

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

+ 0 - 109
services/vod/describe_vod_domain_real_time_bps_data.go

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

+ 0 - 107
services/vod/describe_vod_domain_real_time_byte_hit_rate_data.go

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

+ 0 - 113
services/vod/describe_vod_domain_real_time_http_code_data.go

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

+ 0 - 109
services/vod/describe_vod_domain_real_time_qps_data.go

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

+ 0 - 107
services/vod/describe_vod_domain_real_time_req_hit_rate_data.go

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

+ 0 - 111
services/vod/describe_vod_domain_real_time_src_bps_data.go

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

+ 0 - 111
services/vod/describe_vod_domain_real_time_src_traffic_data.go

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

+ 0 - 111
services/vod/describe_vod_domain_real_time_traffic_data.go

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

+ 0 - 112
services/vod/describe_vod_domain_src_bps_data.go

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

+ 0 - 112
services/vod/describe_vod_domain_src_traffic_data.go

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

+ 0 - 116
services/vod/describe_vod_domain_usage_data.go

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

+ 0 - 112
services/vod/describe_vod_domains_usage_by_day.go

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

+ 5 - 5
services/vod/describe_vod_refresh_tasks.go

@@ -93,11 +93,11 @@ type DescribeVodRefreshTasksRequest struct {
 // DescribeVodRefreshTasksResponse is the response struct for api DescribeVodRefreshTasks
 type DescribeVodRefreshTasksResponse struct {
 	*responses.BaseResponse
-	RequestId  string                         `json:"RequestId" xml:"RequestId"`
-	PageNumber int                            `json:"PageNumber" xml:"PageNumber"`
-	PageSize   int                            `json:"PageSize" xml:"PageSize"`
-	TotalCount int                            `json:"TotalCount" xml:"TotalCount"`
-	Tasks      TasksInDescribeVodRefreshTasks `json:"Tasks" xml:"Tasks"`
+	RequestId  string `json:"RequestId" xml:"RequestId"`
+	PageNumber int    `json:"PageNumber" xml:"PageNumber"`
+	PageSize   int    `json:"PageSize" xml:"PageSize"`
+	TotalCount int    `json:"TotalCount" xml:"TotalCount"`
+	Tasks      Tasks  `json:"Tasks" xml:"Tasks"`
 }
 
 // CreateDescribeVodRefreshTasksRequest creates a request to invoke DescribeVodRefreshTasks API

+ 0 - 110
services/vod/describe_vod_service.go

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

+ 0 - 118
services/vod/describe_vod_user_domains.go

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

+ 0 - 113
services/vod/describe_vod_user_quota.go

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

+ 0 - 105
services/vod/describe_vod_user_resource_package.go

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

+ 0 - 104
services/vod/display_ai_audit_switch.go

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

+ 0 - 109
services/vod/get_audit_result.go

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

+ 0 - 112
services/vod/get_cdn_statis_sum.go

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

+ 0 - 108
services/vod/get_message_callback.go

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

+ 0 - 111
services/vod/get_oss_statis.go

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

+ 0 - 1
services/vod/get_transcode_template_group.go

@@ -78,7 +78,6 @@ type GetTranscodeTemplateGroupRequest struct {
 	*requests.RpcRequest
 	ResourceOwnerId          requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	ResourceOwnerAccount     string           `position:"Query" name:"ResourceOwnerAccount"`
-	ResourceRealOwnerId      requests.Integer `position:"Query" name:"ResourceRealOwnerId"`
 	OwnerId                  requests.Integer `position:"Query" name:"OwnerId"`
 	TranscodeTemplateGroupId string           `position:"Query" name:"TranscodeTemplateGroupId"`
 }

+ 109 - 0
services/vod/get_url_upload_infos.go

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

+ 0 - 108
services/vod/get_video_config.go

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

+ 0 - 113
services/vod/get_video_play_info.go

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

+ 0 - 107
services/vod/get_workflow.go

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

+ 0 - 109
services/vod/list_ai_video_category_job.go

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

+ 0 - 109
services/vod/list_ai_video_censor_job.go

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

+ 0 - 109
services/vod/list_ai_video_cover_job.go

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

+ 0 - 109
services/vod/list_ai_video_porn_recog_job.go

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

+ 0 - 109
services/vod/list_ai_video_summary_job.go

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

+ 0 - 109
services/vod/list_ai_video_terrorism_recog_job.go

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

+ 0 - 109
services/vod/list_aiasr_job.go

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

+ 0 - 1
services/vod/list_transcode_template_group.go

@@ -78,7 +78,6 @@ type ListTranscodeTemplateGroupRequest struct {
 	*requests.RpcRequest
 	ResourceOwnerId      requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	ResourceOwnerAccount string           `position:"Query" name:"ResourceOwnerAccount"`
-	ResourceRealOwnerId  requests.Integer `position:"Query" name:"ResourceRealOwnerId"`
 	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
 }
 

+ 0 - 106
services/vod/list_workflow.go

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

+ 0 - 109
services/vod/open_vod_service.go

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

+ 0 - 108
services/vod/push_object_cache.go

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

+ 0 - 109
services/vod/refresh_object_caches.go

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

+ 0 - 1
services/vod/set_default_transcode_template_group.go

@@ -78,7 +78,6 @@ type SetDefaultTranscodeTemplateGroupRequest struct {
 	*requests.RpcRequest
 	ResourceOwnerId          requests.Integer `position:"Query" name:"ResourceOwnerId"`
 	ResourceOwnerAccount     string           `position:"Query" name:"ResourceOwnerAccount"`
-	ResourceRealOwnerId      requests.Integer `position:"Query" name:"ResourceRealOwnerId"`
 	OwnerId                  requests.Integer `position:"Query" name:"OwnerId"`
 	TranscodeTemplateGroupId string           `position:"Query" name:"TranscodeTemplateGroupId"`
 }

+ 0 - 107
services/vod/set_default_vod_template.go

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

+ 0 - 115
services/vod/set_message_callback.go

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

+ 0 - 110
services/vod/set_vod_domain_certificate.go

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

+ 0 - 105
services/vod/start_vod_domain.go

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

+ 0 - 105
services/vod/stop_vod_domain.go

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

+ 0 - 26
services/vod/struct_ai_audit_result.go

@@ -1,26 +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.
-
-// AIAuditResult is a nested struct in vod response
-type AIAuditResult struct {
-	AbnormalModules string `json:"AbnormalModules" xml:"AbnormalModules"`
-	Label           string `json:"Label" xml:"Label"`
-	PornResult      string `json:"PornResult" xml:"PornResult"`
-	TerrorismResult string `json:"TerrorismResult" xml:"TerrorismResult"`
-	TitleResult     string `json:"TitleResult" xml:"TitleResult"`
-	CoverResult     string `json:"CoverResult" xml:"CoverResult"`
-}

+ 0 - 27
services/vod/struct_ai_video_category_job.go

@@ -1,27 +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.
-
-// AIVideoCategoryJob is a nested struct in vod response
-type AIVideoCategoryJob struct {
-	JobId        string `json:"JobId" xml:"JobId"`
-	Message      string `json:"Message" xml:"Message"`
-	Code         string `json:"Code" xml:"Code"`
-	Data         string `json:"Data" xml:"Data"`
-	CreationTime string `json:"CreationTime" xml:"CreationTime"`
-	Status       string `json:"Status" xml:"Status"`
-	MediaId      string `json:"MediaId" xml:"MediaId"`
-}

+ 0 - 27
services/vod/struct_ai_video_censor_job.go

@@ -1,27 +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.
-
-// AIVideoCensorJob is a nested struct in vod response
-type AIVideoCensorJob struct {
-	JobId        string `json:"JobId" xml:"JobId"`
-	Message      string `json:"Message" xml:"Message"`
-	Code         string `json:"Code" xml:"Code"`
-	Data         string `json:"Data" xml:"Data"`
-	CreationTime string `json:"CreationTime" xml:"CreationTime"`
-	Status       string `json:"Status" xml:"Status"`
-	MediaId      string `json:"MediaId" xml:"MediaId"`
-}

+ 0 - 27
services/vod/struct_ai_video_porn_recog_job.go

@@ -1,27 +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.
-
-// AIVideoPornRecogJob is a nested struct in vod response
-type AIVideoPornRecogJob struct {
-	JobId        string `json:"JobId" xml:"JobId"`
-	Message      string `json:"Message" xml:"Message"`
-	Code         string `json:"Code" xml:"Code"`
-	Data         string `json:"Data" xml:"Data"`
-	CreationTime string `json:"CreationTime" xml:"CreationTime"`
-	Status       string `json:"Status" xml:"Status"`
-	MediaId      string `json:"MediaId" xml:"MediaId"`
-}

+ 0 - 27
services/vod/struct_ai_video_summary_job.go

@@ -1,27 +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.
-
-// AIVideoSummaryJob is a nested struct in vod response
-type AIVideoSummaryJob struct {
-	JobId        string `json:"JobId" xml:"JobId"`
-	Message      string `json:"Message" xml:"Message"`
-	Code         string `json:"Code" xml:"Code"`
-	Data         string `json:"Data" xml:"Data"`
-	CreationTime string `json:"CreationTime" xml:"CreationTime"`
-	Status       string `json:"Status" xml:"Status"`
-	MediaId      string `json:"MediaId" xml:"MediaId"`
-}

+ 0 - 27
services/vod/struct_ai_video_terrorism_recog_job.go

@@ -1,27 +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.
-
-// AIVideoTerrorismRecogJob is a nested struct in vod response
-type AIVideoTerrorismRecogJob struct {
-	JobId        string `json:"JobId" xml:"JobId"`
-	Message      string `json:"Message" xml:"Message"`
-	Code         string `json:"Code" xml:"Code"`
-	Data         string `json:"Data" xml:"Data"`
-	CreationTime string `json:"CreationTime" xml:"CreationTime"`
-	Status       string `json:"Status" xml:"Status"`
-	MediaId      string `json:"MediaId" xml:"MediaId"`
-}

+ 0 - 21
services/vod/struct_ai_video_terrorism_recog_job_list.go

@@ -1,21 +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.
-
-// AIVideoTerrorismRecogJobList is a nested struct in vod response
-type AIVideoTerrorismRecogJobList struct {
-	AIVideoTerrorismRecogJob []AIVideoTerrorismRecogJob `json:"AIVideoTerrorismRecogJob" xml:"AIVideoTerrorismRecogJob"`
-}

+ 0 - 27
services/vod/struct_aiasr_job.go

@@ -1,27 +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.
-
-// AIASRJob is a nested struct in vod response
-type AIASRJob struct {
-	JobId        string `json:"JobId" xml:"JobId"`
-	Message      string `json:"Message" xml:"Message"`
-	Code         string `json:"Code" xml:"Code"`
-	Data         string `json:"Data" xml:"Data"`
-	CreationTime string `json:"CreationTime" xml:"CreationTime"`
-	Status       string `json:"Status" xml:"Status"`
-	MediaId      string `json:"MediaId" xml:"MediaId"`
-}

+ 0 - 21
services/vod/struct_aiasr_job_list.go

@@ -1,21 +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.
-
-// AIASRJobList is a nested struct in vod response
-type AIASRJobList struct {
-	AIASRJob []AIASRJob `json:"AIASRJob" xml:"AIASRJob"`
-}

+ 2 - 2
services/vod/struct_supply_bps_datas.go → services/vod/struct_bps_data_per_interval.go

@@ -15,7 +15,7 @@ package vod
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
-// SupplyBpsDatas is a nested struct in vod response
-type SupplyBpsDatas struct {
+// BpsDataPerInterval is a nested struct in vod response
+type BpsDataPerInterval struct {
 	DataModule []DataModule `json:"DataModule" xml:"DataModule"`
 }

+ 0 - 21
services/vod/struct_bps_data_per_interval_in_describe_domain_bps_data.go

@@ -1,21 +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.
-
-// BpsDataPerIntervalInDescribeDomainBpsData is a nested struct in vod response
-type BpsDataPerIntervalInDescribeDomainBpsData struct {
-	DataModule []DataModuleInDescribeDomainBpsData `json:"DataModule" xml:"DataModule"`
-}

+ 0 - 21
services/vod/struct_bps_data_per_interval_in_describe_vod_domain_bps_data.go

@@ -1,21 +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.
-
-// BpsDataPerIntervalInDescribeVodDomainBpsData is a nested struct in vod response
-type BpsDataPerIntervalInDescribeVodDomainBpsData struct {
-	DataModule []DataModule `json:"DataModule" xml:"DataModule"`
-}

+ 0 - 22
services/vod/struct_bps_model.go

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

+ 0 - 22
services/vod/struct_byte_hit_rate_data_model.go

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

+ 0 - 27
services/vod/struct_cdn_metric.go

@@ -1,27 +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.
-
-// CDNMetric is a nested struct in vod response
-type CDNMetric struct {
-	StatTime              string `json:"StatTime" xml:"StatTime"`
-	FlowDataDomesticValue int    `json:"FlowDataDomesticValue" xml:"FlowDataDomesticValue"`
-	FlowDataOverseasValue int    `json:"FlowDataOverseasValue" xml:"FlowDataOverseasValue"`
-	FlowDataValue         int    `json:"FlowDataValue" xml:"FlowDataValue"`
-	BpsDataDomesticValue  int    `json:"BpsDataDomesticValue" xml:"BpsDataDomesticValue"`
-	BpsDataOverseasValue  int    `json:"BpsDataOverseasValue" xml:"BpsDataOverseasValue"`
-	BpsDataValue          int    `json:"BpsDataValue" xml:"BpsDataValue"`
-}

+ 0 - 26
services/vod/struct_cert.go

@@ -1,26 +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.
-
-// Cert is a nested struct in vod response
-type Cert struct {
-	CertName    string `json:"CertName" xml:"CertName"`
-	CertId      int    `json:"CertId" xml:"CertId"`
-	Fingerprint string `json:"Fingerprint" xml:"Fingerprint"`
-	Common      string `json:"Common" xml:"Common"`
-	Issuer      string `json:"Issuer" xml:"Issuer"`
-	LastTime    int    `json:"LastTime" xml:"LastTime"`
-}

+ 0 - 29
services/vod/struct_cert_info.go

@@ -1,29 +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.
-
-// CertInfo is a nested struct in vod response
-type CertInfo struct {
-	DomainName              string `json:"DomainName" xml:"DomainName"`
-	CertName                string `json:"CertName" xml:"CertName"`
-	CertDomainName          string `json:"CertDomainName" xml:"CertDomainName"`
-	CertExpireTime          string `json:"CertExpireTime" xml:"CertExpireTime"`
-	CertLife                string `json:"CertLife" xml:"CertLife"`
-	CertOrg                 string `json:"CertOrg" xml:"CertOrg"`
-	CertType                string `json:"CertType" xml:"CertType"`
-	ServerCertificateStatus string `json:"ServerCertificateStatus" xml:"ServerCertificateStatus"`
-	Status                  string `json:"Status" xml:"Status"`
-}

+ 0 - 21
services/vod/struct_cert_infos.go

@@ -1,21 +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.
-
-// CertInfos is a nested struct in vod response
-type CertInfos struct {
-	CertInfo []CertInfo `json:"CertInfo" xml:"CertInfo"`
-}

+ 0 - 21
services/vod/struct_cert_list.go

@@ -1,21 +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.
-
-// CertList is a nested struct in vod response
-type CertList struct {
-	Cert []Cert `json:"Cert" xml:"Cert"`
-}

Kaikkia tiedostoja ei voida näyttää, sillä liian monta tiedostoa muuttui tässä diffissä