Browse Source

Supported ExternalId IMM.

sdk-team 6 years ago
parent
commit
62f900486c
82 changed files with 154 additions and 4566 deletions
  1. 3 0
      ChangeLog.txt
  2. 0 109
      services/imm/create_face_set.go
  3. 0 113
      services/imm/create_porn_batch_detect_job.go
  4. 0 114
      services/imm/create_tag_job.go
  5. 0 108
      services/imm/create_tag_set.go
  6. 0 105
      services/imm/delete_face_job.go
  7. 0 104
      services/imm/delete_face_search_group.go
  8. 0 107
      services/imm/delete_face_search_image_by_id.go
  9. 0 105
      services/imm/delete_face_search_user.go
  10. 0 104
      services/imm/delete_photo_process_task.go
  11. 0 104
      services/imm/delete_porn_batch_detect_job.go
  12. 0 106
      services/imm/delete_tag_by_name.go
  13. 0 105
      services/imm/delete_tag_by_url.go
  14. 0 105
      services/imm/delete_tag_job.go
  15. 0 106
      services/imm/delete_tag_set.go
  16. 106 0
      services/imm/detect_image_qr_codes.go
  17. 0 107
      services/imm/detect_logo.go
  18. 0 108
      services/imm/detect_tag.go
  19. 0 110
      services/imm/get_face_search_group.go
  20. 0 123
      services/imm/get_face_search_image.go
  21. 0 112
      services/imm/get_face_search_user.go
  22. 0 115
      services/imm/get_photo_process_task.go
  23. 0 114
      services/imm/get_porn_batch_detect_job.go
  24. 0 111
      services/imm/get_tag_job.go
  25. 0 109
      services/imm/get_tag_set.go
  26. 0 111
      services/imm/index_tag.go
  27. 0 111
      services/imm/list_face_search_group_images.go
  28. 0 110
      services/imm/list_face_search_group_users.go
  29. 0 107
      services/imm/list_face_search_groups.go
  30. 0 107
      services/imm/list_photo_process_tasks.go
  31. 0 107
      services/imm/list_porn_batch_detect_jobs.go
  32. 0 108
      services/imm/list_tag_jobs.go
  33. 0 109
      services/imm/list_tag_photos.go
  34. 0 107
      services/imm/list_tag_sets.go
  35. 0 114
      services/imm/photo_process.go
  36. 0 125
      services/imm/regist_face.go
  37. 0 115
      services/imm/search_face.go
  38. 0 21
      services/imm/struct_axis_in_regist_face.go
  39. 0 21
      services/imm/struct_axis_in_search_face.go
  40. 2 2
      services/imm/struct_box.go
  41. 0 21
      services/imm/struct_box_in_detect_clothes.go
  42. 1 0
      services/imm/struct_faces_item.go
  43. 0 21
      services/imm/struct_fail_details_in_detect_logo.go
  44. 0 21
      services/imm/struct_fail_details_in_detect_tag.go
  45. 0 21
      services/imm/struct_fail_details_in_index_tag.go
  46. 0 21
      services/imm/struct_groups.go
  47. 0 26
      services/imm/struct_groups_item.go
  48. 0 21
      services/imm/struct_images_in_list_face_search_group_images.go
  49. 14 27
      services/imm/struct_images_item.go
  50. 2 2
      services/imm/struct_jobs.go
  51. 0 21
      services/imm/struct_jobs_in_list_image_jobs.go
  52. 0 21
      services/imm/struct_jobs_in_list_porn_batch_detect_jobs.go
  53. 5 10
      services/imm/struct_jobs_item.go
  54. 0 30
      services/imm/struct_jobs_item_in_list_porn_batch_detect_jobs.go
  55. 0 21
      services/imm/struct_logo_box_detail.go
  56. 0 24
      services/imm/struct_logo_box_detail_item.go
  57. 0 21
      services/imm/struct_photos.go
  58. 0 22
      services/imm/struct_photos_item.go
  59. 6 3
      services/imm/struct_qr_code_boundary.go
  60. 3 3
      services/imm/struct_qr_codes_in_detect_image_qr_codes.go
  61. 2 2
      services/imm/struct_qr_codes_in_detect_qr_codes.go
  62. 1 0
      services/imm/struct_qr_codes_item.go
  63. 0 21
      services/imm/struct_result_faces.go
  64. 0 28
      services/imm/struct_result_faces_item.go
  65. 2 2
      services/imm/struct_sets.go
  66. 0 21
      services/imm/struct_sets_in_list_tag_sets.go
  67. 4 6
      services/imm/struct_sets_item.go
  68. 1 0
      services/imm/struct_similar_faces_item.go
  69. 2 2
      services/imm/struct_src_uris.go
  70. 0 21
      services/imm/struct_src_uris_in_detect_clothes.go
  71. 0 21
      services/imm/struct_success_details_in_detect_logo.go
  72. 0 21
      services/imm/struct_success_details_in_detect_tag.go
  73. 0 21
      services/imm/struct_success_details_in_index_tag.go
  74. 0 2
      services/imm/struct_success_details_item.go
  75. 0 21
      services/imm/struct_tags_in_detect_tag.go
  76. 0 21
      services/imm/struct_tags_in_index_tag.go
  77. 0 26
      services/imm/struct_tags_item_in_detect_tag.go
  78. 0 26
      services/imm/struct_tags_item_in_index_tag.go
  79. 0 21
      services/imm/struct_tasks_in_list_photo_process_tasks.go
  80. 0 1
      services/imm/struct_tasks_item.go
  81. 0 21
      services/imm/struct_users.go
  82. 0 25
      services/imm/struct_users_item.go

+ 3 - 0
ChangeLog.txt

@@ -1,3 +1,6 @@
+2019-10-22 Version: 1.60.205
+- Supported ExternalId IMM.
+
 2019-10-21 Version: 1.60.204
 2019-10-21 Version: 1.60.204
 - Release first version.
 - Release first version.
 
 

+ 0 - 109
services/imm/create_face_set.go

@@ -1,109 +0,0 @@
-package imm
-
-//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"
-)
-
-// CreateFaceSet invokes the imm.CreateFaceSet API synchronously
-// api document: https://help.aliyun.com/api/imm/createfaceset.html
-func (client *Client) CreateFaceSet(request *CreateFaceSetRequest) (response *CreateFaceSetResponse, err error) {
-	response = CreateCreateFaceSetResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// CreateFaceSetWithChan invokes the imm.CreateFaceSet API asynchronously
-// api document: https://help.aliyun.com/api/imm/createfaceset.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateFaceSetWithChan(request *CreateFaceSetRequest) (<-chan *CreateFaceSetResponse, <-chan error) {
-	responseChan := make(chan *CreateFaceSetResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.CreateFaceSet(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// CreateFaceSetWithCallback invokes the imm.CreateFaceSet API asynchronously
-// api document: https://help.aliyun.com/api/imm/createfaceset.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateFaceSetWithCallback(request *CreateFaceSetRequest, callback func(response *CreateFaceSetResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *CreateFaceSetResponse
-		var err error
-		defer close(result)
-		response, err = client.CreateFaceSet(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// CreateFaceSetRequest is the request struct for api CreateFaceSet
-type CreateFaceSetRequest struct {
-	*requests.RpcRequest
-	Project string `position:"Query" name:"Project"`
-}
-
-// CreateFaceSetResponse is the response struct for api CreateFaceSet
-type CreateFaceSetResponse struct {
-	*responses.BaseResponse
-	RequestId  string `json:"RequestId" xml:"RequestId"`
-	SetId      string `json:"SetId" xml:"SetId"`
-	Status     string `json:"Status" xml:"Status"`
-	Photos     int64  `json:"Photos" xml:"Photos"`
-	CreateTime string `json:"CreateTime" xml:"CreateTime"`
-	ModifyTime string `json:"ModifyTime" xml:"ModifyTime"`
-	Faces      int64  `json:"Faces" xml:"Faces"`
-}
-
-// CreateCreateFaceSetRequest creates a request to invoke CreateFaceSet API
-func CreateCreateFaceSetRequest() (request *CreateFaceSetRequest) {
-	request = &CreateFaceSetRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("imm", "2017-09-06", "CreateFaceSet", "imm", "openAPI")
-	return
-}
-
-// CreateCreateFaceSetResponse creates a response to parse from CreateFaceSet response
-func CreateCreateFaceSetResponse() (response *CreateFaceSetResponse) {
-	response = &CreateFaceSetResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 113
services/imm/create_porn_batch_detect_job.go

@@ -1,113 +0,0 @@
-package imm
-
-//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"
-)
-
-// CreatePornBatchDetectJob invokes the imm.CreatePornBatchDetectJob API synchronously
-// api document: https://help.aliyun.com/api/imm/createpornbatchdetectjob.html
-func (client *Client) CreatePornBatchDetectJob(request *CreatePornBatchDetectJobRequest) (response *CreatePornBatchDetectJobResponse, err error) {
-	response = CreateCreatePornBatchDetectJobResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// CreatePornBatchDetectJobWithChan invokes the imm.CreatePornBatchDetectJob API asynchronously
-// api document: https://help.aliyun.com/api/imm/createpornbatchdetectjob.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreatePornBatchDetectJobWithChan(request *CreatePornBatchDetectJobRequest) (<-chan *CreatePornBatchDetectJobResponse, <-chan error) {
-	responseChan := make(chan *CreatePornBatchDetectJobResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.CreatePornBatchDetectJob(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// CreatePornBatchDetectJobWithCallback invokes the imm.CreatePornBatchDetectJob API asynchronously
-// api document: https://help.aliyun.com/api/imm/createpornbatchdetectjob.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreatePornBatchDetectJobWithCallback(request *CreatePornBatchDetectJobRequest, callback func(response *CreatePornBatchDetectJobResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *CreatePornBatchDetectJobResponse
-		var err error
-		defer close(result)
-		response, err = client.CreatePornBatchDetectJob(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// CreatePornBatchDetectJobRequest is the request struct for api CreatePornBatchDetectJob
-type CreatePornBatchDetectJobRequest struct {
-	*requests.RpcRequest
-	Project         string `position:"Query" name:"Project"`
-	ExternalID      string `position:"Query" name:"ExternalID"`
-	NotifyEndpoint  string `position:"Query" name:"NotifyEndpoint"`
-	NotifyTopicName string `position:"Query" name:"NotifyTopicName"`
-	SrcUri          string `position:"Query" name:"SrcUri"`
-	TgtUri          string `position:"Query" name:"TgtUri"`
-}
-
-// CreatePornBatchDetectJobResponse is the response struct for api CreatePornBatchDetectJob
-type CreatePornBatchDetectJobResponse struct {
-	*responses.BaseResponse
-	RequestId  string `json:"RequestId" xml:"RequestId"`
-	JobId      string `json:"JobId" xml:"JobId"`
-	TgtLoc     string `json:"TgtLoc" xml:"TgtLoc"`
-	Status     string `json:"Status" xml:"Status"`
-	CreateTime string `json:"CreateTime" xml:"CreateTime"`
-	Percent    int    `json:"Percent" xml:"Percent"`
-}
-
-// CreateCreatePornBatchDetectJobRequest creates a request to invoke CreatePornBatchDetectJob API
-func CreateCreatePornBatchDetectJobRequest() (request *CreatePornBatchDetectJobRequest) {
-	request = &CreatePornBatchDetectJobRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("imm", "2017-09-06", "CreatePornBatchDetectJob", "imm", "openAPI")
-	return
-}
-
-// CreateCreatePornBatchDetectJobResponse creates a response to parse from CreatePornBatchDetectJob response
-func CreateCreatePornBatchDetectJobResponse() (response *CreatePornBatchDetectJobResponse) {
-	response = &CreatePornBatchDetectJobResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 114
services/imm/create_tag_job.go

@@ -1,114 +0,0 @@
-package imm
-
-//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"
-)
-
-// CreateTagJob invokes the imm.CreateTagJob API synchronously
-// api document: https://help.aliyun.com/api/imm/createtagjob.html
-func (client *Client) CreateTagJob(request *CreateTagJobRequest) (response *CreateTagJobResponse, err error) {
-	response = CreateCreateTagJobResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// CreateTagJobWithChan invokes the imm.CreateTagJob API asynchronously
-// api document: https://help.aliyun.com/api/imm/createtagjob.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateTagJobWithChan(request *CreateTagJobRequest) (<-chan *CreateTagJobResponse, <-chan error) {
-	responseChan := make(chan *CreateTagJobResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.CreateTagJob(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// CreateTagJobWithCallback invokes the imm.CreateTagJob API asynchronously
-// api document: https://help.aliyun.com/api/imm/createtagjob.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateTagJobWithCallback(request *CreateTagJobRequest, callback func(response *CreateTagJobResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *CreateTagJobResponse
-		var err error
-		defer close(result)
-		response, err = client.CreateTagJob(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// CreateTagJobRequest is the request struct for api CreateTagJob
-type CreateTagJobRequest struct {
-	*requests.RpcRequest
-	Project         string `position:"Query" name:"Project"`
-	ExternalID      string `position:"Query" name:"ExternalID"`
-	NotifyEndpoint  string `position:"Query" name:"NotifyEndpoint"`
-	NotifyTopicName string `position:"Query" name:"NotifyTopicName"`
-	SrcUri          string `position:"Query" name:"SrcUri"`
-}
-
-// CreateTagJobResponse is the response struct for api CreateTagJob
-type CreateTagJobResponse struct {
-	*responses.BaseResponse
-	RequestId  string `json:"RequestId" xml:"RequestId"`
-	JobId      string `json:"JobId" xml:"JobId"`
-	SetId      string `json:"SetId" xml:"SetId"`
-	SrcUri     string `json:"SrcUri" xml:"SrcUri"`
-	Status     string `json:"Status" xml:"Status"`
-	Percent    int    `json:"Percent" xml:"Percent"`
-	CreateTime string `json:"CreateTime" xml:"CreateTime"`
-	FinishTime string `json:"FinishTime" xml:"FinishTime"`
-}
-
-// CreateCreateTagJobRequest creates a request to invoke CreateTagJob API
-func CreateCreateTagJobRequest() (request *CreateTagJobRequest) {
-	request = &CreateTagJobRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("imm", "2017-09-06", "CreateTagJob", "imm", "openAPI")
-	return
-}
-
-// CreateCreateTagJobResponse creates a response to parse from CreateTagJob response
-func CreateCreateTagJobResponse() (response *CreateTagJobResponse) {
-	response = &CreateTagJobResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 108
services/imm/create_tag_set.go

@@ -1,108 +0,0 @@
-package imm
-
-//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"
-)
-
-// CreateTagSet invokes the imm.CreateTagSet API synchronously
-// api document: https://help.aliyun.com/api/imm/createtagset.html
-func (client *Client) CreateTagSet(request *CreateTagSetRequest) (response *CreateTagSetResponse, err error) {
-	response = CreateCreateTagSetResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// CreateTagSetWithChan invokes the imm.CreateTagSet API asynchronously
-// api document: https://help.aliyun.com/api/imm/createtagset.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateTagSetWithChan(request *CreateTagSetRequest) (<-chan *CreateTagSetResponse, <-chan error) {
-	responseChan := make(chan *CreateTagSetResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.CreateTagSet(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// CreateTagSetWithCallback invokes the imm.CreateTagSet API asynchronously
-// api document: https://help.aliyun.com/api/imm/createtagset.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateTagSetWithCallback(request *CreateTagSetRequest, callback func(response *CreateTagSetResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *CreateTagSetResponse
-		var err error
-		defer close(result)
-		response, err = client.CreateTagSet(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// CreateTagSetRequest is the request struct for api CreateTagSet
-type CreateTagSetRequest struct {
-	*requests.RpcRequest
-	Project string `position:"Query" name:"Project"`
-}
-
-// CreateTagSetResponse is the response struct for api CreateTagSet
-type CreateTagSetResponse struct {
-	*responses.BaseResponse
-	RequestId  string `json:"RequestId" xml:"RequestId"`
-	SetId      string `json:"SetId" xml:"SetId"`
-	Status     string `json:"Status" xml:"Status"`
-	Photos     int64  `json:"Photos" xml:"Photos"`
-	CreateTime string `json:"CreateTime" xml:"CreateTime"`
-	ModifyTime string `json:"ModifyTime" xml:"ModifyTime"`
-}
-
-// CreateCreateTagSetRequest creates a request to invoke CreateTagSet API
-func CreateCreateTagSetRequest() (request *CreateTagSetRequest) {
-	request = &CreateTagSetRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("imm", "2017-09-06", "CreateTagSet", "imm", "openAPI")
-	return
-}
-
-// CreateCreateTagSetResponse creates a response to parse from CreateTagSet response
-func CreateCreateTagSetResponse() (response *CreateTagSetResponse) {
-	response = &CreateTagSetResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 105
services/imm/delete_face_job.go

@@ -1,105 +0,0 @@
-package imm
-
-//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"
-)
-
-// DeleteFaceJob invokes the imm.DeleteFaceJob API synchronously
-// api document: https://help.aliyun.com/api/imm/deletefacejob.html
-func (client *Client) DeleteFaceJob(request *DeleteFaceJobRequest) (response *DeleteFaceJobResponse, err error) {
-	response = CreateDeleteFaceJobResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DeleteFaceJobWithChan invokes the imm.DeleteFaceJob API asynchronously
-// api document: https://help.aliyun.com/api/imm/deletefacejob.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeleteFaceJobWithChan(request *DeleteFaceJobRequest) (<-chan *DeleteFaceJobResponse, <-chan error) {
-	responseChan := make(chan *DeleteFaceJobResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DeleteFaceJob(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DeleteFaceJobWithCallback invokes the imm.DeleteFaceJob API asynchronously
-// api document: https://help.aliyun.com/api/imm/deletefacejob.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeleteFaceJobWithCallback(request *DeleteFaceJobRequest, callback func(response *DeleteFaceJobResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DeleteFaceJobResponse
-		var err error
-		defer close(result)
-		response, err = client.DeleteFaceJob(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DeleteFaceJobRequest is the request struct for api DeleteFaceJob
-type DeleteFaceJobRequest struct {
-	*requests.RpcRequest
-	Project        string `position:"Query" name:"Project"`
-	JobId          string `position:"Query" name:"JobId"`
-	ClearIndexData string `position:"Query" name:"ClearIndexData"`
-}
-
-// DeleteFaceJobResponse is the response struct for api DeleteFaceJob
-type DeleteFaceJobResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-}
-
-// CreateDeleteFaceJobRequest creates a request to invoke DeleteFaceJob API
-func CreateDeleteFaceJobRequest() (request *DeleteFaceJobRequest) {
-	request = &DeleteFaceJobRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("imm", "2017-09-06", "DeleteFaceJob", "imm", "openAPI")
-	return
-}
-
-// CreateDeleteFaceJobResponse creates a response to parse from DeleteFaceJob response
-func CreateDeleteFaceJobResponse() (response *DeleteFaceJobResponse) {
-	response = &DeleteFaceJobResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 104
services/imm/delete_face_search_group.go

@@ -1,104 +0,0 @@
-package imm
-
-//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"
-)
-
-// DeleteFaceSearchGroup invokes the imm.DeleteFaceSearchGroup API synchronously
-// api document: https://help.aliyun.com/api/imm/deletefacesearchgroup.html
-func (client *Client) DeleteFaceSearchGroup(request *DeleteFaceSearchGroupRequest) (response *DeleteFaceSearchGroupResponse, err error) {
-	response = CreateDeleteFaceSearchGroupResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DeleteFaceSearchGroupWithChan invokes the imm.DeleteFaceSearchGroup API asynchronously
-// api document: https://help.aliyun.com/api/imm/deletefacesearchgroup.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeleteFaceSearchGroupWithChan(request *DeleteFaceSearchGroupRequest) (<-chan *DeleteFaceSearchGroupResponse, <-chan error) {
-	responseChan := make(chan *DeleteFaceSearchGroupResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DeleteFaceSearchGroup(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DeleteFaceSearchGroupWithCallback invokes the imm.DeleteFaceSearchGroup API asynchronously
-// api document: https://help.aliyun.com/api/imm/deletefacesearchgroup.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeleteFaceSearchGroupWithCallback(request *DeleteFaceSearchGroupRequest, callback func(response *DeleteFaceSearchGroupResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DeleteFaceSearchGroupResponse
-		var err error
-		defer close(result)
-		response, err = client.DeleteFaceSearchGroup(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DeleteFaceSearchGroupRequest is the request struct for api DeleteFaceSearchGroup
-type DeleteFaceSearchGroupRequest struct {
-	*requests.RpcRequest
-	Project   string `position:"Query" name:"Project"`
-	GroupName string `position:"Query" name:"GroupName"`
-}
-
-// DeleteFaceSearchGroupResponse is the response struct for api DeleteFaceSearchGroup
-type DeleteFaceSearchGroupResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-}
-
-// CreateDeleteFaceSearchGroupRequest creates a request to invoke DeleteFaceSearchGroup API
-func CreateDeleteFaceSearchGroupRequest() (request *DeleteFaceSearchGroupRequest) {
-	request = &DeleteFaceSearchGroupRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("imm", "2017-09-06", "DeleteFaceSearchGroup", "imm", "openAPI")
-	return
-}
-
-// CreateDeleteFaceSearchGroupResponse creates a response to parse from DeleteFaceSearchGroup response
-func CreateDeleteFaceSearchGroupResponse() (response *DeleteFaceSearchGroupResponse) {
-	response = &DeleteFaceSearchGroupResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 107
services/imm/delete_face_search_image_by_id.go

@@ -1,107 +0,0 @@
-package imm
-
-//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"
-)
-
-// DeleteFaceSearchImageById invokes the imm.DeleteFaceSearchImageById API synchronously
-// api document: https://help.aliyun.com/api/imm/deletefacesearchimagebyid.html
-func (client *Client) DeleteFaceSearchImageById(request *DeleteFaceSearchImageByIdRequest) (response *DeleteFaceSearchImageByIdResponse, err error) {
-	response = CreateDeleteFaceSearchImageByIdResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DeleteFaceSearchImageByIdWithChan invokes the imm.DeleteFaceSearchImageById API asynchronously
-// api document: https://help.aliyun.com/api/imm/deletefacesearchimagebyid.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeleteFaceSearchImageByIdWithChan(request *DeleteFaceSearchImageByIdRequest) (<-chan *DeleteFaceSearchImageByIdResponse, <-chan error) {
-	responseChan := make(chan *DeleteFaceSearchImageByIdResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DeleteFaceSearchImageById(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DeleteFaceSearchImageByIdWithCallback invokes the imm.DeleteFaceSearchImageById API asynchronously
-// api document: https://help.aliyun.com/api/imm/deletefacesearchimagebyid.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeleteFaceSearchImageByIdWithCallback(request *DeleteFaceSearchImageByIdRequest, callback func(response *DeleteFaceSearchImageByIdResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DeleteFaceSearchImageByIdResponse
-		var err error
-		defer close(result)
-		response, err = client.DeleteFaceSearchImageById(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DeleteFaceSearchImageByIdRequest is the request struct for api DeleteFaceSearchImageById
-type DeleteFaceSearchImageByIdRequest struct {
-	*requests.RpcRequest
-	ImageId   string `position:"Query" name:"ImageId"`
-	Project   string `position:"Query" name:"Project"`
-	GroupName string `position:"Query" name:"GroupName"`
-	SrcUri    string `position:"Query" name:"SrcUri"`
-	User      string `position:"Query" name:"User"`
-}
-
-// DeleteFaceSearchImageByIdResponse is the response struct for api DeleteFaceSearchImageById
-type DeleteFaceSearchImageByIdResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-}
-
-// CreateDeleteFaceSearchImageByIdRequest creates a request to invoke DeleteFaceSearchImageById API
-func CreateDeleteFaceSearchImageByIdRequest() (request *DeleteFaceSearchImageByIdRequest) {
-	request = &DeleteFaceSearchImageByIdRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("imm", "2017-09-06", "DeleteFaceSearchImageById", "imm", "openAPI")
-	return
-}
-
-// CreateDeleteFaceSearchImageByIdResponse creates a response to parse from DeleteFaceSearchImageById response
-func CreateDeleteFaceSearchImageByIdResponse() (response *DeleteFaceSearchImageByIdResponse) {
-	response = &DeleteFaceSearchImageByIdResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 105
services/imm/delete_face_search_user.go

@@ -1,105 +0,0 @@
-package imm
-
-//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"
-)
-
-// DeleteFaceSearchUser invokes the imm.DeleteFaceSearchUser API synchronously
-// api document: https://help.aliyun.com/api/imm/deletefacesearchuser.html
-func (client *Client) DeleteFaceSearchUser(request *DeleteFaceSearchUserRequest) (response *DeleteFaceSearchUserResponse, err error) {
-	response = CreateDeleteFaceSearchUserResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DeleteFaceSearchUserWithChan invokes the imm.DeleteFaceSearchUser API asynchronously
-// api document: https://help.aliyun.com/api/imm/deletefacesearchuser.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeleteFaceSearchUserWithChan(request *DeleteFaceSearchUserRequest) (<-chan *DeleteFaceSearchUserResponse, <-chan error) {
-	responseChan := make(chan *DeleteFaceSearchUserResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DeleteFaceSearchUser(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DeleteFaceSearchUserWithCallback invokes the imm.DeleteFaceSearchUser API asynchronously
-// api document: https://help.aliyun.com/api/imm/deletefacesearchuser.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeleteFaceSearchUserWithCallback(request *DeleteFaceSearchUserRequest, callback func(response *DeleteFaceSearchUserResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DeleteFaceSearchUserResponse
-		var err error
-		defer close(result)
-		response, err = client.DeleteFaceSearchUser(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DeleteFaceSearchUserRequest is the request struct for api DeleteFaceSearchUser
-type DeleteFaceSearchUserRequest struct {
-	*requests.RpcRequest
-	Project   string `position:"Query" name:"Project"`
-	GroupName string `position:"Query" name:"GroupName"`
-	User      string `position:"Query" name:"User"`
-}
-
-// DeleteFaceSearchUserResponse is the response struct for api DeleteFaceSearchUser
-type DeleteFaceSearchUserResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-}
-
-// CreateDeleteFaceSearchUserRequest creates a request to invoke DeleteFaceSearchUser API
-func CreateDeleteFaceSearchUserRequest() (request *DeleteFaceSearchUserRequest) {
-	request = &DeleteFaceSearchUserRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("imm", "2017-09-06", "DeleteFaceSearchUser", "imm", "openAPI")
-	return
-}
-
-// CreateDeleteFaceSearchUserResponse creates a response to parse from DeleteFaceSearchUser response
-func CreateDeleteFaceSearchUserResponse() (response *DeleteFaceSearchUserResponse) {
-	response = &DeleteFaceSearchUserResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 104
services/imm/delete_photo_process_task.go

@@ -1,104 +0,0 @@
-package imm
-
-//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"
-)
-
-// DeletePhotoProcessTask invokes the imm.DeletePhotoProcessTask API synchronously
-// api document: https://help.aliyun.com/api/imm/deletephotoprocesstask.html
-func (client *Client) DeletePhotoProcessTask(request *DeletePhotoProcessTaskRequest) (response *DeletePhotoProcessTaskResponse, err error) {
-	response = CreateDeletePhotoProcessTaskResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DeletePhotoProcessTaskWithChan invokes the imm.DeletePhotoProcessTask API asynchronously
-// api document: https://help.aliyun.com/api/imm/deletephotoprocesstask.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeletePhotoProcessTaskWithChan(request *DeletePhotoProcessTaskRequest) (<-chan *DeletePhotoProcessTaskResponse, <-chan error) {
-	responseChan := make(chan *DeletePhotoProcessTaskResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DeletePhotoProcessTask(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DeletePhotoProcessTaskWithCallback invokes the imm.DeletePhotoProcessTask API asynchronously
-// api document: https://help.aliyun.com/api/imm/deletephotoprocesstask.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeletePhotoProcessTaskWithCallback(request *DeletePhotoProcessTaskRequest, callback func(response *DeletePhotoProcessTaskResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DeletePhotoProcessTaskResponse
-		var err error
-		defer close(result)
-		response, err = client.DeletePhotoProcessTask(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DeletePhotoProcessTaskRequest is the request struct for api DeletePhotoProcessTask
-type DeletePhotoProcessTaskRequest struct {
-	*requests.RpcRequest
-	Project string `position:"Query" name:"Project"`
-	TaskId  string `position:"Query" name:"TaskId"`
-}
-
-// DeletePhotoProcessTaskResponse is the response struct for api DeletePhotoProcessTask
-type DeletePhotoProcessTaskResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-}
-
-// CreateDeletePhotoProcessTaskRequest creates a request to invoke DeletePhotoProcessTask API
-func CreateDeletePhotoProcessTaskRequest() (request *DeletePhotoProcessTaskRequest) {
-	request = &DeletePhotoProcessTaskRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("imm", "2017-09-06", "DeletePhotoProcessTask", "imm", "openAPI")
-	return
-}
-
-// CreateDeletePhotoProcessTaskResponse creates a response to parse from DeletePhotoProcessTask response
-func CreateDeletePhotoProcessTaskResponse() (response *DeletePhotoProcessTaskResponse) {
-	response = &DeletePhotoProcessTaskResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 104
services/imm/delete_porn_batch_detect_job.go

@@ -1,104 +0,0 @@
-package imm
-
-//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"
-)
-
-// DeletePornBatchDetectJob invokes the imm.DeletePornBatchDetectJob API synchronously
-// api document: https://help.aliyun.com/api/imm/deletepornbatchdetectjob.html
-func (client *Client) DeletePornBatchDetectJob(request *DeletePornBatchDetectJobRequest) (response *DeletePornBatchDetectJobResponse, err error) {
-	response = CreateDeletePornBatchDetectJobResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DeletePornBatchDetectJobWithChan invokes the imm.DeletePornBatchDetectJob API asynchronously
-// api document: https://help.aliyun.com/api/imm/deletepornbatchdetectjob.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeletePornBatchDetectJobWithChan(request *DeletePornBatchDetectJobRequest) (<-chan *DeletePornBatchDetectJobResponse, <-chan error) {
-	responseChan := make(chan *DeletePornBatchDetectJobResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DeletePornBatchDetectJob(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DeletePornBatchDetectJobWithCallback invokes the imm.DeletePornBatchDetectJob API asynchronously
-// api document: https://help.aliyun.com/api/imm/deletepornbatchdetectjob.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeletePornBatchDetectJobWithCallback(request *DeletePornBatchDetectJobRequest, callback func(response *DeletePornBatchDetectJobResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DeletePornBatchDetectJobResponse
-		var err error
-		defer close(result)
-		response, err = client.DeletePornBatchDetectJob(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DeletePornBatchDetectJobRequest is the request struct for api DeletePornBatchDetectJob
-type DeletePornBatchDetectJobRequest struct {
-	*requests.RpcRequest
-	Project string `position:"Query" name:"Project"`
-	JobId   string `position:"Query" name:"JobId"`
-}
-
-// DeletePornBatchDetectJobResponse is the response struct for api DeletePornBatchDetectJob
-type DeletePornBatchDetectJobResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-}
-
-// CreateDeletePornBatchDetectJobRequest creates a request to invoke DeletePornBatchDetectJob API
-func CreateDeletePornBatchDetectJobRequest() (request *DeletePornBatchDetectJobRequest) {
-	request = &DeletePornBatchDetectJobRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("imm", "2017-09-06", "DeletePornBatchDetectJob", "imm", "openAPI")
-	return
-}
-
-// CreateDeletePornBatchDetectJobResponse creates a response to parse from DeletePornBatchDetectJob response
-func CreateDeletePornBatchDetectJobResponse() (response *DeletePornBatchDetectJobResponse) {
-	response = &DeletePornBatchDetectJobResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 106
services/imm/delete_tag_by_name.go

@@ -1,106 +0,0 @@
-package imm
-
-//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"
-)
-
-// DeleteTagByName invokes the imm.DeleteTagByName API synchronously
-// api document: https://help.aliyun.com/api/imm/deletetagbyname.html
-func (client *Client) DeleteTagByName(request *DeleteTagByNameRequest) (response *DeleteTagByNameResponse, err error) {
-	response = CreateDeleteTagByNameResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DeleteTagByNameWithChan invokes the imm.DeleteTagByName API asynchronously
-// api document: https://help.aliyun.com/api/imm/deletetagbyname.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeleteTagByNameWithChan(request *DeleteTagByNameRequest) (<-chan *DeleteTagByNameResponse, <-chan error) {
-	responseChan := make(chan *DeleteTagByNameResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DeleteTagByName(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DeleteTagByNameWithCallback invokes the imm.DeleteTagByName API asynchronously
-// api document: https://help.aliyun.com/api/imm/deletetagbyname.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeleteTagByNameWithCallback(request *DeleteTagByNameRequest, callback func(response *DeleteTagByNameResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DeleteTagByNameResponse
-		var err error
-		defer close(result)
-		response, err = client.DeleteTagByName(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DeleteTagByNameRequest is the request struct for api DeleteTagByName
-type DeleteTagByNameRequest struct {
-	*requests.RpcRequest
-	Project string `position:"Query" name:"Project"`
-	TagName string `position:"Query" name:"TagName"`
-	SetId   string `position:"Query" name:"SetId"`
-	SrcUri  string `position:"Query" name:"SrcUri"`
-}
-
-// DeleteTagByNameResponse is the response struct for api DeleteTagByName
-type DeleteTagByNameResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-}
-
-// CreateDeleteTagByNameRequest creates a request to invoke DeleteTagByName API
-func CreateDeleteTagByNameRequest() (request *DeleteTagByNameRequest) {
-	request = &DeleteTagByNameRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("imm", "2017-09-06", "DeleteTagByName", "imm", "openAPI")
-	return
-}
-
-// CreateDeleteTagByNameResponse creates a response to parse from DeleteTagByName response
-func CreateDeleteTagByNameResponse() (response *DeleteTagByNameResponse) {
-	response = &DeleteTagByNameResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 105
services/imm/delete_tag_by_url.go

@@ -1,105 +0,0 @@
-package imm
-
-//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"
-)
-
-// DeleteTagByUrl invokes the imm.DeleteTagByUrl API synchronously
-// api document: https://help.aliyun.com/api/imm/deletetagbyurl.html
-func (client *Client) DeleteTagByUrl(request *DeleteTagByUrlRequest) (response *DeleteTagByUrlResponse, err error) {
-	response = CreateDeleteTagByUrlResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DeleteTagByUrlWithChan invokes the imm.DeleteTagByUrl API asynchronously
-// api document: https://help.aliyun.com/api/imm/deletetagbyurl.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeleteTagByUrlWithChan(request *DeleteTagByUrlRequest) (<-chan *DeleteTagByUrlResponse, <-chan error) {
-	responseChan := make(chan *DeleteTagByUrlResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DeleteTagByUrl(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DeleteTagByUrlWithCallback invokes the imm.DeleteTagByUrl API asynchronously
-// api document: https://help.aliyun.com/api/imm/deletetagbyurl.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeleteTagByUrlWithCallback(request *DeleteTagByUrlRequest, callback func(response *DeleteTagByUrlResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DeleteTagByUrlResponse
-		var err error
-		defer close(result)
-		response, err = client.DeleteTagByUrl(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DeleteTagByUrlRequest is the request struct for api DeleteTagByUrl
-type DeleteTagByUrlRequest struct {
-	*requests.RpcRequest
-	Project string `position:"Query" name:"Project"`
-	SetId   string `position:"Query" name:"SetId"`
-	SrcUri  string `position:"Query" name:"SrcUri"`
-}
-
-// DeleteTagByUrlResponse is the response struct for api DeleteTagByUrl
-type DeleteTagByUrlResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-}
-
-// CreateDeleteTagByUrlRequest creates a request to invoke DeleteTagByUrl API
-func CreateDeleteTagByUrlRequest() (request *DeleteTagByUrlRequest) {
-	request = &DeleteTagByUrlRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("imm", "2017-09-06", "DeleteTagByUrl", "imm", "openAPI")
-	return
-}
-
-// CreateDeleteTagByUrlResponse creates a response to parse from DeleteTagByUrl response
-func CreateDeleteTagByUrlResponse() (response *DeleteTagByUrlResponse) {
-	response = &DeleteTagByUrlResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 105
services/imm/delete_tag_job.go

@@ -1,105 +0,0 @@
-package imm
-
-//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"
-)
-
-// DeleteTagJob invokes the imm.DeleteTagJob API synchronously
-// api document: https://help.aliyun.com/api/imm/deletetagjob.html
-func (client *Client) DeleteTagJob(request *DeleteTagJobRequest) (response *DeleteTagJobResponse, err error) {
-	response = CreateDeleteTagJobResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DeleteTagJobWithChan invokes the imm.DeleteTagJob API asynchronously
-// api document: https://help.aliyun.com/api/imm/deletetagjob.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeleteTagJobWithChan(request *DeleteTagJobRequest) (<-chan *DeleteTagJobResponse, <-chan error) {
-	responseChan := make(chan *DeleteTagJobResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DeleteTagJob(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DeleteTagJobWithCallback invokes the imm.DeleteTagJob API asynchronously
-// api document: https://help.aliyun.com/api/imm/deletetagjob.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeleteTagJobWithCallback(request *DeleteTagJobRequest, callback func(response *DeleteTagJobResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DeleteTagJobResponse
-		var err error
-		defer close(result)
-		response, err = client.DeleteTagJob(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DeleteTagJobRequest is the request struct for api DeleteTagJob
-type DeleteTagJobRequest struct {
-	*requests.RpcRequest
-	Project        string `position:"Query" name:"Project"`
-	JobId          string `position:"Query" name:"JobId"`
-	ClearIndexData string `position:"Query" name:"ClearIndexData"`
-}
-
-// DeleteTagJobResponse is the response struct for api DeleteTagJob
-type DeleteTagJobResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-}
-
-// CreateDeleteTagJobRequest creates a request to invoke DeleteTagJob API
-func CreateDeleteTagJobRequest() (request *DeleteTagJobRequest) {
-	request = &DeleteTagJobRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("imm", "2017-09-06", "DeleteTagJob", "imm", "openAPI")
-	return
-}
-
-// CreateDeleteTagJobResponse creates a response to parse from DeleteTagJob response
-func CreateDeleteTagJobResponse() (response *DeleteTagJobResponse) {
-	response = &DeleteTagJobResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 106
services/imm/delete_tag_set.go

@@ -1,106 +0,0 @@
-package imm
-
-//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"
-)
-
-// DeleteTagSet invokes the imm.DeleteTagSet API synchronously
-// api document: https://help.aliyun.com/api/imm/deletetagset.html
-func (client *Client) DeleteTagSet(request *DeleteTagSetRequest) (response *DeleteTagSetResponse, err error) {
-	response = CreateDeleteTagSetResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DeleteTagSetWithChan invokes the imm.DeleteTagSet API asynchronously
-// api document: https://help.aliyun.com/api/imm/deletetagset.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeleteTagSetWithChan(request *DeleteTagSetRequest) (<-chan *DeleteTagSetResponse, <-chan error) {
-	responseChan := make(chan *DeleteTagSetResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DeleteTagSet(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DeleteTagSetWithCallback invokes the imm.DeleteTagSet API asynchronously
-// api document: https://help.aliyun.com/api/imm/deletetagset.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeleteTagSetWithCallback(request *DeleteTagSetRequest, callback func(response *DeleteTagSetResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DeleteTagSetResponse
-		var err error
-		defer close(result)
-		response, err = client.DeleteTagSet(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DeleteTagSetRequest is the request struct for api DeleteTagSet
-type DeleteTagSetRequest struct {
-	*requests.RpcRequest
-	Project    string `position:"Query" name:"Project"`
-	LazyMode   string `position:"Query" name:"LazyMode"`
-	CheckEmpty string `position:"Query" name:"CheckEmpty"`
-	SetId      string `position:"Query" name:"SetId"`
-}
-
-// DeleteTagSetResponse is the response struct for api DeleteTagSet
-type DeleteTagSetResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-}
-
-// CreateDeleteTagSetRequest creates a request to invoke DeleteTagSet API
-func CreateDeleteTagSetRequest() (request *DeleteTagSetRequest) {
-	request = &DeleteTagSetRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("imm", "2017-09-06", "DeleteTagSet", "imm", "openAPI")
-	return
-}
-
-// CreateDeleteTagSetResponse creates a response to parse from DeleteTagSet response
-func CreateDeleteTagSetResponse() (response *DeleteTagSetResponse) {
-	response = &DeleteTagSetResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 106 - 0
services/imm/detect_image_qr_codes.go

@@ -0,0 +1,106 @@
+package imm
+
+//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"
+)
+
+// DetectImageQRCodes invokes the imm.DetectImageQRCodes API synchronously
+// api document: https://help.aliyun.com/api/imm/detectimageqrcodes.html
+func (client *Client) DetectImageQRCodes(request *DetectImageQRCodesRequest) (response *DetectImageQRCodesResponse, err error) {
+	response = CreateDetectImageQRCodesResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DetectImageQRCodesWithChan invokes the imm.DetectImageQRCodes API asynchronously
+// api document: https://help.aliyun.com/api/imm/detectimageqrcodes.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DetectImageQRCodesWithChan(request *DetectImageQRCodesRequest) (<-chan *DetectImageQRCodesResponse, <-chan error) {
+	responseChan := make(chan *DetectImageQRCodesResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DetectImageQRCodes(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DetectImageQRCodesWithCallback invokes the imm.DetectImageQRCodes API asynchronously
+// api document: https://help.aliyun.com/api/imm/detectimageqrcodes.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DetectImageQRCodesWithCallback(request *DetectImageQRCodesRequest, callback func(response *DetectImageQRCodesResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DetectImageQRCodesResponse
+		var err error
+		defer close(result)
+		response, err = client.DetectImageQRCodes(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DetectImageQRCodesRequest is the request struct for api DetectImageQRCodes
+type DetectImageQRCodesRequest struct {
+	*requests.RpcRequest
+	Project  string `position:"Query" name:"Project"`
+	ImageUri string `position:"Query" name:"ImageUri"`
+}
+
+// DetectImageQRCodesResponse is the response struct for api DetectImageQRCodes
+type DetectImageQRCodesResponse struct {
+	*responses.BaseResponse
+	RequestId string        `json:"RequestId" xml:"RequestId"`
+	ImageUri  string        `json:"ImageUri" xml:"ImageUri"`
+	QRCodes   []QRCodesItem `json:"QRCodes" xml:"QRCodes"`
+}
+
+// CreateDetectImageQRCodesRequest creates a request to invoke DetectImageQRCodes API
+func CreateDetectImageQRCodesRequest() (request *DetectImageQRCodesRequest) {
+	request = &DetectImageQRCodesRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("imm", "2017-09-06", "DetectImageQRCodes", "imm", "openAPI")
+	return
+}
+
+// CreateDetectImageQRCodesResponse creates a response to parse from DetectImageQRCodes response
+func CreateDetectImageQRCodesResponse() (response *DetectImageQRCodesResponse) {
+	response = &DetectImageQRCodesResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 0 - 107
services/imm/detect_logo.go

@@ -1,107 +0,0 @@
-package imm
-
-//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"
-)
-
-// DetectLogo invokes the imm.DetectLogo API synchronously
-// api document: https://help.aliyun.com/api/imm/detectlogo.html
-func (client *Client) DetectLogo(request *DetectLogoRequest) (response *DetectLogoResponse, err error) {
-	response = CreateDetectLogoResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DetectLogoWithChan invokes the imm.DetectLogo API asynchronously
-// api document: https://help.aliyun.com/api/imm/detectlogo.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DetectLogoWithChan(request *DetectLogoRequest) (<-chan *DetectLogoResponse, <-chan error) {
-	responseChan := make(chan *DetectLogoResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DetectLogo(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DetectLogoWithCallback invokes the imm.DetectLogo API asynchronously
-// api document: https://help.aliyun.com/api/imm/detectlogo.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DetectLogoWithCallback(request *DetectLogoRequest, callback func(response *DetectLogoResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DetectLogoResponse
-		var err error
-		defer close(result)
-		response, err = client.DetectLogo(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DetectLogoRequest is the request struct for api DetectLogo
-type DetectLogoRequest struct {
-	*requests.RpcRequest
-	Project string `position:"Query" name:"Project"`
-	SrcUris string `position:"Query" name:"SrcUris"`
-}
-
-// DetectLogoResponse is the response struct for api DetectLogo
-type DetectLogoResponse struct {
-	*responses.BaseResponse
-	RequestId      string               `json:"RequestId" xml:"RequestId"`
-	SrcUris        []string             `json:"SrcUris" xml:"SrcUris"`
-	SuccessDetails []SuccessDetailsItem `json:"SuccessDetails" xml:"SuccessDetails"`
-	FailDetails    []FailDetailsItem    `json:"FailDetails" xml:"FailDetails"`
-}
-
-// CreateDetectLogoRequest creates a request to invoke DetectLogo API
-func CreateDetectLogoRequest() (request *DetectLogoRequest) {
-	request = &DetectLogoRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("imm", "2017-09-06", "DetectLogo", "imm", "openAPI")
-	return
-}
-
-// CreateDetectLogoResponse creates a response to parse from DetectLogo response
-func CreateDetectLogoResponse() (response *DetectLogoResponse) {
-	response = &DetectLogoResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 108
services/imm/detect_tag.go

@@ -1,108 +0,0 @@
-package imm
-
-//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"
-)
-
-// DetectTag invokes the imm.DetectTag API synchronously
-// api document: https://help.aliyun.com/api/imm/detecttag.html
-func (client *Client) DetectTag(request *DetectTagRequest) (response *DetectTagResponse, err error) {
-	response = CreateDetectTagResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DetectTagWithChan invokes the imm.DetectTag API asynchronously
-// api document: https://help.aliyun.com/api/imm/detecttag.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DetectTagWithChan(request *DetectTagRequest) (<-chan *DetectTagResponse, <-chan error) {
-	responseChan := make(chan *DetectTagResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DetectTag(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DetectTagWithCallback invokes the imm.DetectTag API asynchronously
-// api document: https://help.aliyun.com/api/imm/detecttag.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DetectTagWithCallback(request *DetectTagRequest, callback func(response *DetectTagResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DetectTagResponse
-		var err error
-		defer close(result)
-		response, err = client.DetectTag(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DetectTagRequest is the request struct for api DetectTag
-type DetectTagRequest struct {
-	*requests.RpcRequest
-	Project string `position:"Query" name:"Project"`
-	ModelId string `position:"Query" name:"ModelId"`
-	SrcUris string `position:"Query" name:"SrcUris"`
-}
-
-// DetectTagResponse is the response struct for api DetectTag
-type DetectTagResponse struct {
-	*responses.BaseResponse
-	RequestId      string               `json:"RequestId" xml:"RequestId"`
-	SuccessNum     string               `json:"SuccessNum" xml:"SuccessNum"`
-	SuccessDetails []SuccessDetailsItem `json:"SuccessDetails" xml:"SuccessDetails"`
-	FailDetails    []FailDetailsItem    `json:"FailDetails" xml:"FailDetails"`
-}
-
-// CreateDetectTagRequest creates a request to invoke DetectTag API
-func CreateDetectTagRequest() (request *DetectTagRequest) {
-	request = &DetectTagRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("imm", "2017-09-06", "DetectTag", "imm", "openAPI")
-	return
-}
-
-// CreateDetectTagResponse creates a response to parse from DetectTag response
-func CreateDetectTagResponse() (response *DetectTagResponse) {
-	response = &DetectTagResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 110
services/imm/get_face_search_group.go

@@ -1,110 +0,0 @@
-package imm
-
-//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"
-)
-
-// GetFaceSearchGroup invokes the imm.GetFaceSearchGroup API synchronously
-// api document: https://help.aliyun.com/api/imm/getfacesearchgroup.html
-func (client *Client) GetFaceSearchGroup(request *GetFaceSearchGroupRequest) (response *GetFaceSearchGroupResponse, err error) {
-	response = CreateGetFaceSearchGroupResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// GetFaceSearchGroupWithChan invokes the imm.GetFaceSearchGroup API asynchronously
-// api document: https://help.aliyun.com/api/imm/getfacesearchgroup.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) GetFaceSearchGroupWithChan(request *GetFaceSearchGroupRequest) (<-chan *GetFaceSearchGroupResponse, <-chan error) {
-	responseChan := make(chan *GetFaceSearchGroupResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.GetFaceSearchGroup(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// GetFaceSearchGroupWithCallback invokes the imm.GetFaceSearchGroup API asynchronously
-// api document: https://help.aliyun.com/api/imm/getfacesearchgroup.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) GetFaceSearchGroupWithCallback(request *GetFaceSearchGroupRequest, callback func(response *GetFaceSearchGroupResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *GetFaceSearchGroupResponse
-		var err error
-		defer close(result)
-		response, err = client.GetFaceSearchGroup(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// GetFaceSearchGroupRequest is the request struct for api GetFaceSearchGroup
-type GetFaceSearchGroupRequest struct {
-	*requests.RpcRequest
-	Project   string `position:"Query" name:"Project"`
-	GroupName string `position:"Query" name:"GroupName"`
-}
-
-// GetFaceSearchGroupResponse is the response struct for api GetFaceSearchGroup
-type GetFaceSearchGroupResponse struct {
-	*responses.BaseResponse
-	RequestId  string `json:"RequestId" xml:"RequestId"`
-	GroupName  string `json:"GroupName" xml:"GroupName"`
-	Count      int    `json:"Count" xml:"Count"`
-	Status     string `json:"Status" xml:"Status"`
-	CreateTime string `json:"CreateTime" xml:"CreateTime"`
-	ModifyTime string `json:"ModifyTime" xml:"ModifyTime"`
-	GroupId    string `json:"GroupId" xml:"GroupId"`
-}
-
-// CreateGetFaceSearchGroupRequest creates a request to invoke GetFaceSearchGroup API
-func CreateGetFaceSearchGroupRequest() (request *GetFaceSearchGroupRequest) {
-	request = &GetFaceSearchGroupRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("imm", "2017-09-06", "GetFaceSearchGroup", "imm", "openAPI")
-	return
-}
-
-// CreateGetFaceSearchGroupResponse creates a response to parse from GetFaceSearchGroup response
-func CreateGetFaceSearchGroupResponse() (response *GetFaceSearchGroupResponse) {
-	response = &GetFaceSearchGroupResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 123
services/imm/get_face_search_image.go

@@ -1,123 +0,0 @@
-package imm
-
-//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"
-)
-
-// GetFaceSearchImage invokes the imm.GetFaceSearchImage API synchronously
-// api document: https://help.aliyun.com/api/imm/getfacesearchimage.html
-func (client *Client) GetFaceSearchImage(request *GetFaceSearchImageRequest) (response *GetFaceSearchImageResponse, err error) {
-	response = CreateGetFaceSearchImageResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// GetFaceSearchImageWithChan invokes the imm.GetFaceSearchImage API asynchronously
-// api document: https://help.aliyun.com/api/imm/getfacesearchimage.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) GetFaceSearchImageWithChan(request *GetFaceSearchImageRequest) (<-chan *GetFaceSearchImageResponse, <-chan error) {
-	responseChan := make(chan *GetFaceSearchImageResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.GetFaceSearchImage(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// GetFaceSearchImageWithCallback invokes the imm.GetFaceSearchImage API asynchronously
-// api document: https://help.aliyun.com/api/imm/getfacesearchimage.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) GetFaceSearchImageWithCallback(request *GetFaceSearchImageRequest, callback func(response *GetFaceSearchImageResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *GetFaceSearchImageResponse
-		var err error
-		defer close(result)
-		response, err = client.GetFaceSearchImage(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// GetFaceSearchImageRequest is the request struct for api GetFaceSearchImage
-type GetFaceSearchImageRequest struct {
-	*requests.RpcRequest
-	ImageId   string `position:"Query" name:"ImageId"`
-	Project   string `position:"Query" name:"Project"`
-	GroupName string `position:"Query" name:"GroupName"`
-	SrcUri    string `position:"Query" name:"SrcUri"`
-	User      string `position:"Query" name:"User"`
-}
-
-// GetFaceSearchImageResponse is the response struct for api GetFaceSearchImage
-type GetFaceSearchImageResponse struct {
-	*responses.BaseResponse
-	RequestId string   `json:"RequestId" xml:"RequestId"`
-	GroupName string   `json:"GroupName" xml:"GroupName"`
-	GroupId   string   `json:"GroupId" xml:"GroupId"`
-	Gender    string   `json:"Gender" xml:"Gender"`
-	Age       int      `json:"Age" xml:"Age"`
-	Pitch     float64  `json:"Pitch" xml:"Pitch"`
-	ImageUri  string   `json:"ImageUri" xml:"ImageUri"`
-	ImageMd5  string   `json:"ImageMd5" xml:"ImageMd5"`
-	Roll      float64  `json:"Roll" xml:"Roll"`
-	FaceId    string   `json:"FaceId" xml:"FaceId"`
-	Yaw       float64  `json:"Yaw" xml:"Yaw"`
-	Quality   float64  `json:"Quality" xml:"Quality"`
-	Hat       int      `json:"Hat" xml:"Hat"`
-	Glasses   int      `json:"Glasses" xml:"Glasses"`
-	ImageId   string   `json:"ImageId" xml:"ImageId"`
-	User      string   `json:"User" xml:"User"`
-	Axis      []string `json:"Axis" xml:"Axis"`
-}
-
-// CreateGetFaceSearchImageRequest creates a request to invoke GetFaceSearchImage API
-func CreateGetFaceSearchImageRequest() (request *GetFaceSearchImageRequest) {
-	request = &GetFaceSearchImageRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("imm", "2017-09-06", "GetFaceSearchImage", "imm", "openAPI")
-	return
-}
-
-// CreateGetFaceSearchImageResponse creates a response to parse from GetFaceSearchImage response
-func CreateGetFaceSearchImageResponse() (response *GetFaceSearchImageResponse) {
-	response = &GetFaceSearchImageResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 112
services/imm/get_face_search_user.go

@@ -1,112 +0,0 @@
-package imm
-
-//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"
-)
-
-// GetFaceSearchUser invokes the imm.GetFaceSearchUser API synchronously
-// api document: https://help.aliyun.com/api/imm/getfacesearchuser.html
-func (client *Client) GetFaceSearchUser(request *GetFaceSearchUserRequest) (response *GetFaceSearchUserResponse, err error) {
-	response = CreateGetFaceSearchUserResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// GetFaceSearchUserWithChan invokes the imm.GetFaceSearchUser API asynchronously
-// api document: https://help.aliyun.com/api/imm/getfacesearchuser.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) GetFaceSearchUserWithChan(request *GetFaceSearchUserRequest) (<-chan *GetFaceSearchUserResponse, <-chan error) {
-	responseChan := make(chan *GetFaceSearchUserResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.GetFaceSearchUser(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// GetFaceSearchUserWithCallback invokes the imm.GetFaceSearchUser API asynchronously
-// api document: https://help.aliyun.com/api/imm/getfacesearchuser.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) GetFaceSearchUserWithCallback(request *GetFaceSearchUserRequest, callback func(response *GetFaceSearchUserResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *GetFaceSearchUserResponse
-		var err error
-		defer close(result)
-		response, err = client.GetFaceSearchUser(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// GetFaceSearchUserRequest is the request struct for api GetFaceSearchUser
-type GetFaceSearchUserRequest struct {
-	*requests.RpcRequest
-	Project   string `position:"Query" name:"Project"`
-	GroupName string `position:"Query" name:"GroupName"`
-	User      string `position:"Query" name:"User"`
-}
-
-// GetFaceSearchUserResponse is the response struct for api GetFaceSearchUser
-type GetFaceSearchUserResponse struct {
-	*responses.BaseResponse
-	RequestId  string `json:"RequestId" xml:"RequestId"`
-	GroupName  string `json:"GroupName" xml:"GroupName"`
-	Count      int    `json:"Count" xml:"Count"`
-	Status     string `json:"Status" xml:"Status"`
-	CreateTime string `json:"CreateTime" xml:"CreateTime"`
-	ModifyTime string `json:"ModifyTime" xml:"ModifyTime"`
-	GroupId    string `json:"GroupId" xml:"GroupId"`
-	User       string `json:"User" xml:"User"`
-}
-
-// CreateGetFaceSearchUserRequest creates a request to invoke GetFaceSearchUser API
-func CreateGetFaceSearchUserRequest() (request *GetFaceSearchUserRequest) {
-	request = &GetFaceSearchUserRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("imm", "2017-09-06", "GetFaceSearchUser", "imm", "openAPI")
-	return
-}
-
-// CreateGetFaceSearchUserResponse creates a response to parse from GetFaceSearchUser response
-func CreateGetFaceSearchUserResponse() (response *GetFaceSearchUserResponse) {
-	response = &GetFaceSearchUserResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 115
services/imm/get_photo_process_task.go

@@ -1,115 +0,0 @@
-package imm
-
-//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"
-)
-
-// GetPhotoProcessTask invokes the imm.GetPhotoProcessTask API synchronously
-// api document: https://help.aliyun.com/api/imm/getphotoprocesstask.html
-func (client *Client) GetPhotoProcessTask(request *GetPhotoProcessTaskRequest) (response *GetPhotoProcessTaskResponse, err error) {
-	response = CreateGetPhotoProcessTaskResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// GetPhotoProcessTaskWithChan invokes the imm.GetPhotoProcessTask API asynchronously
-// api document: https://help.aliyun.com/api/imm/getphotoprocesstask.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) GetPhotoProcessTaskWithChan(request *GetPhotoProcessTaskRequest) (<-chan *GetPhotoProcessTaskResponse, <-chan error) {
-	responseChan := make(chan *GetPhotoProcessTaskResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.GetPhotoProcessTask(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// GetPhotoProcessTaskWithCallback invokes the imm.GetPhotoProcessTask API asynchronously
-// api document: https://help.aliyun.com/api/imm/getphotoprocesstask.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) GetPhotoProcessTaskWithCallback(request *GetPhotoProcessTaskRequest, callback func(response *GetPhotoProcessTaskResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *GetPhotoProcessTaskResponse
-		var err error
-		defer close(result)
-		response, err = client.GetPhotoProcessTask(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// GetPhotoProcessTaskRequest is the request struct for api GetPhotoProcessTask
-type GetPhotoProcessTaskRequest struct {
-	*requests.RpcRequest
-	Project string `position:"Query" name:"Project"`
-	TaskId  string `position:"Query" name:"TaskId"`
-}
-
-// GetPhotoProcessTaskResponse is the response struct for api GetPhotoProcessTask
-type GetPhotoProcessTaskResponse struct {
-	*responses.BaseResponse
-	RequestId       string `json:"RequestId" xml:"RequestId"`
-	TaskId          string `json:"TaskId" xml:"TaskId"`
-	Status          string `json:"Status" xml:"Status"`
-	SrcUri          string `json:"SrcUri" xml:"SrcUri"`
-	TgtUri          string `json:"TgtUri" xml:"TgtUri"`
-	Style           string `json:"Style" xml:"Style"`
-	NotifyTopicName string `json:"NotifyTopicName" xml:"NotifyTopicName"`
-	NotifyEndpoint  string `json:"NotifyEndpoint" xml:"NotifyEndpoint"`
-	ExternalID      string `json:"ExternalID" xml:"ExternalID"`
-	CreateTime      string `json:"CreateTime" xml:"CreateTime"`
-	FinishTime      string `json:"FinishTime" xml:"FinishTime"`
-	Percent         int    `json:"Percent" xml:"Percent"`
-}
-
-// CreateGetPhotoProcessTaskRequest creates a request to invoke GetPhotoProcessTask API
-func CreateGetPhotoProcessTaskRequest() (request *GetPhotoProcessTaskRequest) {
-	request = &GetPhotoProcessTaskRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("imm", "2017-09-06", "GetPhotoProcessTask", "imm", "openAPI")
-	return
-}
-
-// CreateGetPhotoProcessTaskResponse creates a response to parse from GetPhotoProcessTask response
-func CreateGetPhotoProcessTaskResponse() (response *GetPhotoProcessTaskResponse) {
-	response = &GetPhotoProcessTaskResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 114
services/imm/get_porn_batch_detect_job.go

@@ -1,114 +0,0 @@
-package imm
-
-//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"
-)
-
-// GetPornBatchDetectJob invokes the imm.GetPornBatchDetectJob API synchronously
-// api document: https://help.aliyun.com/api/imm/getpornbatchdetectjob.html
-func (client *Client) GetPornBatchDetectJob(request *GetPornBatchDetectJobRequest) (response *GetPornBatchDetectJobResponse, err error) {
-	response = CreateGetPornBatchDetectJobResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// GetPornBatchDetectJobWithChan invokes the imm.GetPornBatchDetectJob API asynchronously
-// api document: https://help.aliyun.com/api/imm/getpornbatchdetectjob.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) GetPornBatchDetectJobWithChan(request *GetPornBatchDetectJobRequest) (<-chan *GetPornBatchDetectJobResponse, <-chan error) {
-	responseChan := make(chan *GetPornBatchDetectJobResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.GetPornBatchDetectJob(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// GetPornBatchDetectJobWithCallback invokes the imm.GetPornBatchDetectJob API asynchronously
-// api document: https://help.aliyun.com/api/imm/getpornbatchdetectjob.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) GetPornBatchDetectJobWithCallback(request *GetPornBatchDetectJobRequest, callback func(response *GetPornBatchDetectJobResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *GetPornBatchDetectJobResponse
-		var err error
-		defer close(result)
-		response, err = client.GetPornBatchDetectJob(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// GetPornBatchDetectJobRequest is the request struct for api GetPornBatchDetectJob
-type GetPornBatchDetectJobRequest struct {
-	*requests.RpcRequest
-	Project string `position:"Query" name:"Project"`
-	JobId   string `position:"Query" name:"JobId"`
-}
-
-// GetPornBatchDetectJobResponse is the response struct for api GetPornBatchDetectJob
-type GetPornBatchDetectJobResponse struct {
-	*responses.BaseResponse
-	RequestId       string `json:"RequestId" xml:"RequestId"`
-	JobId           string `json:"JobId" xml:"JobId"`
-	SrcUri          string `json:"SrcUri" xml:"SrcUri"`
-	TgtUri          string `json:"TgtUri" xml:"TgtUri"`
-	NotifyTopicName string `json:"NotifyTopicName" xml:"NotifyTopicName"`
-	NotifyEndpoint  string `json:"NotifyEndpoint" xml:"NotifyEndpoint"`
-	ExternalID      string `json:"ExternalID" xml:"ExternalID"`
-	Status          string `json:"Status" xml:"Status"`
-	CreateTime      string `json:"CreateTime" xml:"CreateTime"`
-	FinishTime      string `json:"FinishTime" xml:"FinishTime"`
-	Percent         int    `json:"Percent" xml:"Percent"`
-}
-
-// CreateGetPornBatchDetectJobRequest creates a request to invoke GetPornBatchDetectJob API
-func CreateGetPornBatchDetectJobRequest() (request *GetPornBatchDetectJobRequest) {
-	request = &GetPornBatchDetectJobRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("imm", "2017-09-06", "GetPornBatchDetectJob", "imm", "openAPI")
-	return
-}
-
-// CreateGetPornBatchDetectJobResponse creates a response to parse from GetPornBatchDetectJob response
-func CreateGetPornBatchDetectJobResponse() (response *GetPornBatchDetectJobResponse) {
-	response = &GetPornBatchDetectJobResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 111
services/imm/get_tag_job.go

@@ -1,111 +0,0 @@
-package imm
-
-//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"
-)
-
-// GetTagJob invokes the imm.GetTagJob API synchronously
-// api document: https://help.aliyun.com/api/imm/gettagjob.html
-func (client *Client) GetTagJob(request *GetTagJobRequest) (response *GetTagJobResponse, err error) {
-	response = CreateGetTagJobResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// GetTagJobWithChan invokes the imm.GetTagJob API asynchronously
-// api document: https://help.aliyun.com/api/imm/gettagjob.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) GetTagJobWithChan(request *GetTagJobRequest) (<-chan *GetTagJobResponse, <-chan error) {
-	responseChan := make(chan *GetTagJobResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.GetTagJob(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// GetTagJobWithCallback invokes the imm.GetTagJob API asynchronously
-// api document: https://help.aliyun.com/api/imm/gettagjob.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) GetTagJobWithCallback(request *GetTagJobRequest, callback func(response *GetTagJobResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *GetTagJobResponse
-		var err error
-		defer close(result)
-		response, err = client.GetTagJob(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// GetTagJobRequest is the request struct for api GetTagJob
-type GetTagJobRequest struct {
-	*requests.RpcRequest
-	Project string `position:"Query" name:"Project"`
-	JobId   string `position:"Query" name:"JobId"`
-}
-
-// GetTagJobResponse is the response struct for api GetTagJob
-type GetTagJobResponse struct {
-	*responses.BaseResponse
-	RequestId  string `json:"RequestId" xml:"RequestId"`
-	JobId      string `json:"JobId" xml:"JobId"`
-	SetId      string `json:"SetId" xml:"SetId"`
-	SrcUri     string `json:"SrcUri" xml:"SrcUri"`
-	Status     string `json:"Status" xml:"Status"`
-	Percent    int    `json:"Percent" xml:"Percent"`
-	CreateTime string `json:"CreateTime" xml:"CreateTime"`
-	FinishTime string `json:"FinishTime" xml:"FinishTime"`
-}
-
-// CreateGetTagJobRequest creates a request to invoke GetTagJob API
-func CreateGetTagJobRequest() (request *GetTagJobRequest) {
-	request = &GetTagJobRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("imm", "2017-09-06", "GetTagJob", "imm", "openAPI")
-	return
-}
-
-// CreateGetTagJobResponse creates a response to parse from GetTagJob response
-func CreateGetTagJobResponse() (response *GetTagJobResponse) {
-	response = &GetTagJobResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 109
services/imm/get_tag_set.go

@@ -1,109 +0,0 @@
-package imm
-
-//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"
-)
-
-// GetTagSet invokes the imm.GetTagSet API synchronously
-// api document: https://help.aliyun.com/api/imm/gettagset.html
-func (client *Client) GetTagSet(request *GetTagSetRequest) (response *GetTagSetResponse, err error) {
-	response = CreateGetTagSetResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// GetTagSetWithChan invokes the imm.GetTagSet API asynchronously
-// api document: https://help.aliyun.com/api/imm/gettagset.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) GetTagSetWithChan(request *GetTagSetRequest) (<-chan *GetTagSetResponse, <-chan error) {
-	responseChan := make(chan *GetTagSetResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.GetTagSet(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// GetTagSetWithCallback invokes the imm.GetTagSet API asynchronously
-// api document: https://help.aliyun.com/api/imm/gettagset.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) GetTagSetWithCallback(request *GetTagSetRequest, callback func(response *GetTagSetResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *GetTagSetResponse
-		var err error
-		defer close(result)
-		response, err = client.GetTagSet(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// GetTagSetRequest is the request struct for api GetTagSet
-type GetTagSetRequest struct {
-	*requests.RpcRequest
-	Project string `position:"Query" name:"Project"`
-	SetId   string `position:"Query" name:"SetId"`
-}
-
-// GetTagSetResponse is the response struct for api GetTagSet
-type GetTagSetResponse struct {
-	*responses.BaseResponse
-	RequestId  string `json:"RequestId" xml:"RequestId"`
-	SetId      string `json:"SetId" xml:"SetId"`
-	Status     string `json:"Status" xml:"Status"`
-	CreateTime string `json:"CreateTime" xml:"CreateTime"`
-	ModifyTime string `json:"ModifyTime" xml:"ModifyTime"`
-	Photos     int64  `json:"Photos" xml:"Photos"`
-}
-
-// CreateGetTagSetRequest creates a request to invoke GetTagSet API
-func CreateGetTagSetRequest() (request *GetTagSetRequest) {
-	request = &GetTagSetRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("imm", "2017-09-06", "GetTagSet", "imm", "openAPI")
-	return
-}
-
-// CreateGetTagSetResponse creates a response to parse from GetTagSet response
-func CreateGetTagSetResponse() (response *GetTagSetResponse) {
-	response = &GetTagSetResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 111
services/imm/index_tag.go

@@ -1,111 +0,0 @@
-package imm
-
-//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"
-)
-
-// IndexTag invokes the imm.IndexTag API synchronously
-// api document: https://help.aliyun.com/api/imm/indextag.html
-func (client *Client) IndexTag(request *IndexTagRequest) (response *IndexTagResponse, err error) {
-	response = CreateIndexTagResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// IndexTagWithChan invokes the imm.IndexTag API asynchronously
-// api document: https://help.aliyun.com/api/imm/indextag.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) IndexTagWithChan(request *IndexTagRequest) (<-chan *IndexTagResponse, <-chan error) {
-	responseChan := make(chan *IndexTagResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.IndexTag(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// IndexTagWithCallback invokes the imm.IndexTag API asynchronously
-// api document: https://help.aliyun.com/api/imm/indextag.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) IndexTagWithCallback(request *IndexTagRequest, callback func(response *IndexTagResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *IndexTagResponse
-		var err error
-		defer close(result)
-		response, err = client.IndexTag(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// IndexTagRequest is the request struct for api IndexTag
-type IndexTagRequest struct {
-	*requests.RpcRequest
-	Project string `position:"Query" name:"Project"`
-	ModelId string `position:"Query" name:"ModelId"`
-	SrcUris string `position:"Query" name:"SrcUris"`
-	SetId   string `position:"Query" name:"SetId"`
-	Force   string `position:"Query" name:"Force"`
-}
-
-// IndexTagResponse is the response struct for api IndexTag
-type IndexTagResponse struct {
-	*responses.BaseResponse
-	RequestId       string               `json:"RequestId" xml:"RequestId"`
-	SetId           string               `json:"SetId" xml:"SetId"`
-	SuccessIndexNum string               `json:"SuccessIndexNum" xml:"SuccessIndexNum"`
-	FailDetails     []FailDetailsItem    `json:"FailDetails" xml:"FailDetails"`
-	SuccessDetails  []SuccessDetailsItem `json:"SuccessDetails" xml:"SuccessDetails"`
-}
-
-// CreateIndexTagRequest creates a request to invoke IndexTag API
-func CreateIndexTagRequest() (request *IndexTagRequest) {
-	request = &IndexTagRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("imm", "2017-09-06", "IndexTag", "imm", "openAPI")
-	return
-}
-
-// CreateIndexTagResponse creates a response to parse from IndexTag response
-func CreateIndexTagResponse() (response *IndexTagResponse) {
-	response = &IndexTagResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 111
services/imm/list_face_search_group_images.go

@@ -1,111 +0,0 @@
-package imm
-
-//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"
-)
-
-// ListFaceSearchGroupImages invokes the imm.ListFaceSearchGroupImages API synchronously
-// api document: https://help.aliyun.com/api/imm/listfacesearchgroupimages.html
-func (client *Client) ListFaceSearchGroupImages(request *ListFaceSearchGroupImagesRequest) (response *ListFaceSearchGroupImagesResponse, err error) {
-	response = CreateListFaceSearchGroupImagesResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// ListFaceSearchGroupImagesWithChan invokes the imm.ListFaceSearchGroupImages API asynchronously
-// api document: https://help.aliyun.com/api/imm/listfacesearchgroupimages.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) ListFaceSearchGroupImagesWithChan(request *ListFaceSearchGroupImagesRequest) (<-chan *ListFaceSearchGroupImagesResponse, <-chan error) {
-	responseChan := make(chan *ListFaceSearchGroupImagesResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.ListFaceSearchGroupImages(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// ListFaceSearchGroupImagesWithCallback invokes the imm.ListFaceSearchGroupImages API asynchronously
-// api document: https://help.aliyun.com/api/imm/listfacesearchgroupimages.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) ListFaceSearchGroupImagesWithCallback(request *ListFaceSearchGroupImagesRequest, callback func(response *ListFaceSearchGroupImagesResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *ListFaceSearchGroupImagesResponse
-		var err error
-		defer close(result)
-		response, err = client.ListFaceSearchGroupImages(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// ListFaceSearchGroupImagesRequest is the request struct for api ListFaceSearchGroupImages
-type ListFaceSearchGroupImagesRequest struct {
-	*requests.RpcRequest
-	MaxKeys   requests.Integer `position:"Query" name:"MaxKeys"`
-	Project   string           `position:"Query" name:"Project"`
-	GroupName string           `position:"Query" name:"GroupName"`
-	Marker    string           `position:"Query" name:"Marker"`
-	User      string           `position:"Query" name:"User"`
-}
-
-// ListFaceSearchGroupImagesResponse is the response struct for api ListFaceSearchGroupImages
-type ListFaceSearchGroupImagesResponse struct {
-	*responses.BaseResponse
-	RequestId  string       `json:"RequestId" xml:"RequestId"`
-	NextMarker string       `json:"NextMarker" xml:"NextMarker"`
-	GroupName  string       `json:"GroupName" xml:"GroupName"`
-	GroupId    string       `json:"GroupId" xml:"GroupId"`
-	Images     []ImagesItem `json:"Images" xml:"Images"`
-}
-
-// CreateListFaceSearchGroupImagesRequest creates a request to invoke ListFaceSearchGroupImages API
-func CreateListFaceSearchGroupImagesRequest() (request *ListFaceSearchGroupImagesRequest) {
-	request = &ListFaceSearchGroupImagesRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("imm", "2017-09-06", "ListFaceSearchGroupImages", "imm", "openAPI")
-	return
-}
-
-// CreateListFaceSearchGroupImagesResponse creates a response to parse from ListFaceSearchGroupImages response
-func CreateListFaceSearchGroupImagesResponse() (response *ListFaceSearchGroupImagesResponse) {
-	response = &ListFaceSearchGroupImagesResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 110
services/imm/list_face_search_group_users.go

@@ -1,110 +0,0 @@
-package imm
-
-//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"
-)
-
-// ListFaceSearchGroupUsers invokes the imm.ListFaceSearchGroupUsers API synchronously
-// api document: https://help.aliyun.com/api/imm/listfacesearchgroupusers.html
-func (client *Client) ListFaceSearchGroupUsers(request *ListFaceSearchGroupUsersRequest) (response *ListFaceSearchGroupUsersResponse, err error) {
-	response = CreateListFaceSearchGroupUsersResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// ListFaceSearchGroupUsersWithChan invokes the imm.ListFaceSearchGroupUsers API asynchronously
-// api document: https://help.aliyun.com/api/imm/listfacesearchgroupusers.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) ListFaceSearchGroupUsersWithChan(request *ListFaceSearchGroupUsersRequest) (<-chan *ListFaceSearchGroupUsersResponse, <-chan error) {
-	responseChan := make(chan *ListFaceSearchGroupUsersResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.ListFaceSearchGroupUsers(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// ListFaceSearchGroupUsersWithCallback invokes the imm.ListFaceSearchGroupUsers API asynchronously
-// api document: https://help.aliyun.com/api/imm/listfacesearchgroupusers.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) ListFaceSearchGroupUsersWithCallback(request *ListFaceSearchGroupUsersRequest, callback func(response *ListFaceSearchGroupUsersResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *ListFaceSearchGroupUsersResponse
-		var err error
-		defer close(result)
-		response, err = client.ListFaceSearchGroupUsers(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// ListFaceSearchGroupUsersRequest is the request struct for api ListFaceSearchGroupUsers
-type ListFaceSearchGroupUsersRequest struct {
-	*requests.RpcRequest
-	MaxKeys   requests.Integer `position:"Query" name:"MaxKeys"`
-	Project   string           `position:"Query" name:"Project"`
-	GroupName string           `position:"Query" name:"GroupName"`
-	Marker    string           `position:"Query" name:"Marker"`
-}
-
-// ListFaceSearchGroupUsersResponse is the response struct for api ListFaceSearchGroupUsers
-type ListFaceSearchGroupUsersResponse struct {
-	*responses.BaseResponse
-	RequestId  string      `json:"RequestId" xml:"RequestId"`
-	NextMarker string      `json:"NextMarker" xml:"NextMarker"`
-	GroupName  string      `json:"GroupName" xml:"GroupName"`
-	GroupId    string      `json:"GroupId" xml:"GroupId"`
-	Users      []UsersItem `json:"Users" xml:"Users"`
-}
-
-// CreateListFaceSearchGroupUsersRequest creates a request to invoke ListFaceSearchGroupUsers API
-func CreateListFaceSearchGroupUsersRequest() (request *ListFaceSearchGroupUsersRequest) {
-	request = &ListFaceSearchGroupUsersRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("imm", "2017-09-06", "ListFaceSearchGroupUsers", "imm", "openAPI")
-	return
-}
-
-// CreateListFaceSearchGroupUsersResponse creates a response to parse from ListFaceSearchGroupUsers response
-func CreateListFaceSearchGroupUsersResponse() (response *ListFaceSearchGroupUsersResponse) {
-	response = &ListFaceSearchGroupUsersResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 107
services/imm/list_face_search_groups.go

@@ -1,107 +0,0 @@
-package imm
-
-//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"
-)
-
-// ListFaceSearchGroups invokes the imm.ListFaceSearchGroups API synchronously
-// api document: https://help.aliyun.com/api/imm/listfacesearchgroups.html
-func (client *Client) ListFaceSearchGroups(request *ListFaceSearchGroupsRequest) (response *ListFaceSearchGroupsResponse, err error) {
-	response = CreateListFaceSearchGroupsResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// ListFaceSearchGroupsWithChan invokes the imm.ListFaceSearchGroups API asynchronously
-// api document: https://help.aliyun.com/api/imm/listfacesearchgroups.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) ListFaceSearchGroupsWithChan(request *ListFaceSearchGroupsRequest) (<-chan *ListFaceSearchGroupsResponse, <-chan error) {
-	responseChan := make(chan *ListFaceSearchGroupsResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.ListFaceSearchGroups(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// ListFaceSearchGroupsWithCallback invokes the imm.ListFaceSearchGroups API asynchronously
-// api document: https://help.aliyun.com/api/imm/listfacesearchgroups.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) ListFaceSearchGroupsWithCallback(request *ListFaceSearchGroupsRequest, callback func(response *ListFaceSearchGroupsResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *ListFaceSearchGroupsResponse
-		var err error
-		defer close(result)
-		response, err = client.ListFaceSearchGroups(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// ListFaceSearchGroupsRequest is the request struct for api ListFaceSearchGroups
-type ListFaceSearchGroupsRequest struct {
-	*requests.RpcRequest
-	MaxKeys requests.Integer `position:"Query" name:"MaxKeys"`
-	Project string           `position:"Query" name:"Project"`
-	Marker  string           `position:"Query" name:"Marker"`
-}
-
-// ListFaceSearchGroupsResponse is the response struct for api ListFaceSearchGroups
-type ListFaceSearchGroupsResponse struct {
-	*responses.BaseResponse
-	RequestId  string       `json:"RequestId" xml:"RequestId"`
-	NextMarker string       `json:"NextMarker" xml:"NextMarker"`
-	Groups     []GroupsItem `json:"Groups" xml:"Groups"`
-}
-
-// CreateListFaceSearchGroupsRequest creates a request to invoke ListFaceSearchGroups API
-func CreateListFaceSearchGroupsRequest() (request *ListFaceSearchGroupsRequest) {
-	request = &ListFaceSearchGroupsRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("imm", "2017-09-06", "ListFaceSearchGroups", "imm", "openAPI")
-	return
-}
-
-// CreateListFaceSearchGroupsResponse creates a response to parse from ListFaceSearchGroups response
-func CreateListFaceSearchGroupsResponse() (response *ListFaceSearchGroupsResponse) {
-	response = &ListFaceSearchGroupsResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 107
services/imm/list_photo_process_tasks.go

@@ -1,107 +0,0 @@
-package imm
-
-//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"
-)
-
-// ListPhotoProcessTasks invokes the imm.ListPhotoProcessTasks API synchronously
-// api document: https://help.aliyun.com/api/imm/listphotoprocesstasks.html
-func (client *Client) ListPhotoProcessTasks(request *ListPhotoProcessTasksRequest) (response *ListPhotoProcessTasksResponse, err error) {
-	response = CreateListPhotoProcessTasksResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// ListPhotoProcessTasksWithChan invokes the imm.ListPhotoProcessTasks API asynchronously
-// api document: https://help.aliyun.com/api/imm/listphotoprocesstasks.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) ListPhotoProcessTasksWithChan(request *ListPhotoProcessTasksRequest) (<-chan *ListPhotoProcessTasksResponse, <-chan error) {
-	responseChan := make(chan *ListPhotoProcessTasksResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.ListPhotoProcessTasks(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// ListPhotoProcessTasksWithCallback invokes the imm.ListPhotoProcessTasks API asynchronously
-// api document: https://help.aliyun.com/api/imm/listphotoprocesstasks.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) ListPhotoProcessTasksWithCallback(request *ListPhotoProcessTasksRequest, callback func(response *ListPhotoProcessTasksResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *ListPhotoProcessTasksResponse
-		var err error
-		defer close(result)
-		response, err = client.ListPhotoProcessTasks(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// ListPhotoProcessTasksRequest is the request struct for api ListPhotoProcessTasks
-type ListPhotoProcessTasksRequest struct {
-	*requests.RpcRequest
-	MaxKeys requests.Integer `position:"Query" name:"MaxKeys"`
-	Project string           `position:"Query" name:"Project"`
-	Marker  string           `position:"Query" name:"Marker"`
-}
-
-// ListPhotoProcessTasksResponse is the response struct for api ListPhotoProcessTasks
-type ListPhotoProcessTasksResponse struct {
-	*responses.BaseResponse
-	RequestId  string      `json:"RequestId" xml:"RequestId"`
-	NextMarker string      `json:"NextMarker" xml:"NextMarker"`
-	Tasks      []TasksItem `json:"Tasks" xml:"Tasks"`
-}
-
-// CreateListPhotoProcessTasksRequest creates a request to invoke ListPhotoProcessTasks API
-func CreateListPhotoProcessTasksRequest() (request *ListPhotoProcessTasksRequest) {
-	request = &ListPhotoProcessTasksRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("imm", "2017-09-06", "ListPhotoProcessTasks", "imm", "openAPI")
-	return
-}
-
-// CreateListPhotoProcessTasksResponse creates a response to parse from ListPhotoProcessTasks response
-func CreateListPhotoProcessTasksResponse() (response *ListPhotoProcessTasksResponse) {
-	response = &ListPhotoProcessTasksResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 107
services/imm/list_porn_batch_detect_jobs.go

@@ -1,107 +0,0 @@
-package imm
-
-//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"
-)
-
-// ListPornBatchDetectJobs invokes the imm.ListPornBatchDetectJobs API synchronously
-// api document: https://help.aliyun.com/api/imm/listpornbatchdetectjobs.html
-func (client *Client) ListPornBatchDetectJobs(request *ListPornBatchDetectJobsRequest) (response *ListPornBatchDetectJobsResponse, err error) {
-	response = CreateListPornBatchDetectJobsResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// ListPornBatchDetectJobsWithChan invokes the imm.ListPornBatchDetectJobs API asynchronously
-// api document: https://help.aliyun.com/api/imm/listpornbatchdetectjobs.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) ListPornBatchDetectJobsWithChan(request *ListPornBatchDetectJobsRequest) (<-chan *ListPornBatchDetectJobsResponse, <-chan error) {
-	responseChan := make(chan *ListPornBatchDetectJobsResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.ListPornBatchDetectJobs(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// ListPornBatchDetectJobsWithCallback invokes the imm.ListPornBatchDetectJobs API asynchronously
-// api document: https://help.aliyun.com/api/imm/listpornbatchdetectjobs.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) ListPornBatchDetectJobsWithCallback(request *ListPornBatchDetectJobsRequest, callback func(response *ListPornBatchDetectJobsResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *ListPornBatchDetectJobsResponse
-		var err error
-		defer close(result)
-		response, err = client.ListPornBatchDetectJobs(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// ListPornBatchDetectJobsRequest is the request struct for api ListPornBatchDetectJobs
-type ListPornBatchDetectJobsRequest struct {
-	*requests.RpcRequest
-	MaxKeys requests.Integer `position:"Query" name:"MaxKeys"`
-	Project string           `position:"Query" name:"Project"`
-	Marker  string           `position:"Query" name:"Marker"`
-}
-
-// ListPornBatchDetectJobsResponse is the response struct for api ListPornBatchDetectJobs
-type ListPornBatchDetectJobsResponse struct {
-	*responses.BaseResponse
-	RequestId  string                              `json:"RequestId" xml:"RequestId"`
-	NextMarker string                              `json:"NextMarker" xml:"NextMarker"`
-	Jobs       []JobsItemInListPornBatchDetectJobs `json:"Jobs" xml:"Jobs"`
-}
-
-// CreateListPornBatchDetectJobsRequest creates a request to invoke ListPornBatchDetectJobs API
-func CreateListPornBatchDetectJobsRequest() (request *ListPornBatchDetectJobsRequest) {
-	request = &ListPornBatchDetectJobsRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("imm", "2017-09-06", "ListPornBatchDetectJobs", "imm", "openAPI")
-	return
-}
-
-// CreateListPornBatchDetectJobsResponse creates a response to parse from ListPornBatchDetectJobs response
-func CreateListPornBatchDetectJobsResponse() (response *ListPornBatchDetectJobsResponse) {
-	response = &ListPornBatchDetectJobsResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 108
services/imm/list_tag_jobs.go

@@ -1,108 +0,0 @@
-package imm
-
-//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"
-)
-
-// ListTagJobs invokes the imm.ListTagJobs API synchronously
-// api document: https://help.aliyun.com/api/imm/listtagjobs.html
-func (client *Client) ListTagJobs(request *ListTagJobsRequest) (response *ListTagJobsResponse, err error) {
-	response = CreateListTagJobsResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// ListTagJobsWithChan invokes the imm.ListTagJobs API asynchronously
-// api document: https://help.aliyun.com/api/imm/listtagjobs.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) ListTagJobsWithChan(request *ListTagJobsRequest) (<-chan *ListTagJobsResponse, <-chan error) {
-	responseChan := make(chan *ListTagJobsResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.ListTagJobs(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// ListTagJobsWithCallback invokes the imm.ListTagJobs API asynchronously
-// api document: https://help.aliyun.com/api/imm/listtagjobs.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) ListTagJobsWithCallback(request *ListTagJobsRequest, callback func(response *ListTagJobsResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *ListTagJobsResponse
-		var err error
-		defer close(result)
-		response, err = client.ListTagJobs(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// ListTagJobsRequest is the request struct for api ListTagJobs
-type ListTagJobsRequest struct {
-	*requests.RpcRequest
-	MaxKeys   requests.Integer `position:"Query" name:"MaxKeys"`
-	Project   string           `position:"Query" name:"Project"`
-	Condition string           `position:"Query" name:"Condition"`
-	Marker    string           `position:"Query" name:"Marker"`
-}
-
-// ListTagJobsResponse is the response struct for api ListTagJobs
-type ListTagJobsResponse struct {
-	*responses.BaseResponse
-	RequestId  string     `json:"RequestId" xml:"RequestId"`
-	NextMarker string     `json:"NextMarker" xml:"NextMarker"`
-	Jobs       []JobsItem `json:"Jobs" xml:"Jobs"`
-}
-
-// CreateListTagJobsRequest creates a request to invoke ListTagJobs API
-func CreateListTagJobsRequest() (request *ListTagJobsRequest) {
-	request = &ListTagJobsRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("imm", "2017-09-06", "ListTagJobs", "imm", "openAPI")
-	return
-}
-
-// CreateListTagJobsResponse creates a response to parse from ListTagJobs response
-func CreateListTagJobsResponse() (response *ListTagJobsResponse) {
-	response = &ListTagJobsResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 109
services/imm/list_tag_photos.go

@@ -1,109 +0,0 @@
-package imm
-
-//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"
-)
-
-// ListTagPhotos invokes the imm.ListTagPhotos API synchronously
-// api document: https://help.aliyun.com/api/imm/listtagphotos.html
-func (client *Client) ListTagPhotos(request *ListTagPhotosRequest) (response *ListTagPhotosResponse, err error) {
-	response = CreateListTagPhotosResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// ListTagPhotosWithChan invokes the imm.ListTagPhotos API asynchronously
-// api document: https://help.aliyun.com/api/imm/listtagphotos.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) ListTagPhotosWithChan(request *ListTagPhotosRequest) (<-chan *ListTagPhotosResponse, <-chan error) {
-	responseChan := make(chan *ListTagPhotosResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.ListTagPhotos(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// ListTagPhotosWithCallback invokes the imm.ListTagPhotos API asynchronously
-// api document: https://help.aliyun.com/api/imm/listtagphotos.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) ListTagPhotosWithCallback(request *ListTagPhotosRequest, callback func(response *ListTagPhotosResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *ListTagPhotosResponse
-		var err error
-		defer close(result)
-		response, err = client.ListTagPhotos(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// ListTagPhotosRequest is the request struct for api ListTagPhotos
-type ListTagPhotosRequest struct {
-	*requests.RpcRequest
-	MaxKeys string `position:"Query" name:"MaxKeys"`
-	Project string `position:"Query" name:"Project"`
-	TagName string `position:"Query" name:"TagName"`
-	Marker  string `position:"Query" name:"Marker"`
-	SetId   string `position:"Query" name:"SetId"`
-}
-
-// ListTagPhotosResponse is the response struct for api ListTagPhotos
-type ListTagPhotosResponse struct {
-	*responses.BaseResponse
-	RequestId  string       `json:"RequestId" xml:"RequestId"`
-	NextMarker string       `json:"NextMarker" xml:"NextMarker"`
-	Photos     []PhotosItem `json:"Photos" xml:"Photos"`
-}
-
-// CreateListTagPhotosRequest creates a request to invoke ListTagPhotos API
-func CreateListTagPhotosRequest() (request *ListTagPhotosRequest) {
-	request = &ListTagPhotosRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("imm", "2017-09-06", "ListTagPhotos", "imm", "openAPI")
-	return
-}
-
-// CreateListTagPhotosResponse creates a response to parse from ListTagPhotos response
-func CreateListTagPhotosResponse() (response *ListTagPhotosResponse) {
-	response = &ListTagPhotosResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 107
services/imm/list_tag_sets.go

@@ -1,107 +0,0 @@
-package imm
-
-//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"
-)
-
-// ListTagSets invokes the imm.ListTagSets API synchronously
-// api document: https://help.aliyun.com/api/imm/listtagsets.html
-func (client *Client) ListTagSets(request *ListTagSetsRequest) (response *ListTagSetsResponse, err error) {
-	response = CreateListTagSetsResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// ListTagSetsWithChan invokes the imm.ListTagSets API asynchronously
-// api document: https://help.aliyun.com/api/imm/listtagsets.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) ListTagSetsWithChan(request *ListTagSetsRequest) (<-chan *ListTagSetsResponse, <-chan error) {
-	responseChan := make(chan *ListTagSetsResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.ListTagSets(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// ListTagSetsWithCallback invokes the imm.ListTagSets API asynchronously
-// api document: https://help.aliyun.com/api/imm/listtagsets.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) ListTagSetsWithCallback(request *ListTagSetsRequest, callback func(response *ListTagSetsResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *ListTagSetsResponse
-		var err error
-		defer close(result)
-		response, err = client.ListTagSets(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// ListTagSetsRequest is the request struct for api ListTagSets
-type ListTagSetsRequest struct {
-	*requests.RpcRequest
-	MaxKeys requests.Integer `position:"Query" name:"MaxKeys"`
-	Project string           `position:"Query" name:"Project"`
-	Marker  string           `position:"Query" name:"Marker"`
-}
-
-// ListTagSetsResponse is the response struct for api ListTagSets
-type ListTagSetsResponse struct {
-	*responses.BaseResponse
-	RequestId  string     `json:"RequestId" xml:"RequestId"`
-	NextMarker string     `json:"NextMarker" xml:"NextMarker"`
-	Sets       []SetsItem `json:"Sets" xml:"Sets"`
-}
-
-// CreateListTagSetsRequest creates a request to invoke ListTagSets API
-func CreateListTagSetsRequest() (request *ListTagSetsRequest) {
-	request = &ListTagSetsRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("imm", "2017-09-06", "ListTagSets", "imm", "openAPI")
-	return
-}
-
-// CreateListTagSetsResponse creates a response to parse from ListTagSets response
-func CreateListTagSetsResponse() (response *ListTagSetsResponse) {
-	response = &ListTagSetsResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 114
services/imm/photo_process.go

@@ -1,114 +0,0 @@
-package imm
-
-//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"
-)
-
-// PhotoProcess invokes the imm.PhotoProcess API synchronously
-// api document: https://help.aliyun.com/api/imm/photoprocess.html
-func (client *Client) PhotoProcess(request *PhotoProcessRequest) (response *PhotoProcessResponse, err error) {
-	response = CreatePhotoProcessResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// PhotoProcessWithChan invokes the imm.PhotoProcess API asynchronously
-// api document: https://help.aliyun.com/api/imm/photoprocess.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) PhotoProcessWithChan(request *PhotoProcessRequest) (<-chan *PhotoProcessResponse, <-chan error) {
-	responseChan := make(chan *PhotoProcessResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.PhotoProcess(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// PhotoProcessWithCallback invokes the imm.PhotoProcess API asynchronously
-// api document: https://help.aliyun.com/api/imm/photoprocess.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) PhotoProcessWithCallback(request *PhotoProcessRequest, callback func(response *PhotoProcessResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *PhotoProcessResponse
-		var err error
-		defer close(result)
-		response, err = client.PhotoProcess(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// PhotoProcessRequest is the request struct for api PhotoProcess
-type PhotoProcessRequest struct {
-	*requests.RpcRequest
-	Project         string `position:"Query" name:"Project"`
-	ExternalID      string `position:"Query" name:"ExternalID"`
-	NotifyEndpoint  string `position:"Query" name:"NotifyEndpoint"`
-	NotifyTopicName string `position:"Query" name:"NotifyTopicName"`
-	SrcUri          string `position:"Query" name:"SrcUri"`
-	Style           string `position:"Query" name:"Style"`
-	TgtUri          string `position:"Query" name:"TgtUri"`
-}
-
-// PhotoProcessResponse is the response struct for api PhotoProcess
-type PhotoProcessResponse struct {
-	*responses.BaseResponse
-	RequestId  string `json:"RequestId" xml:"RequestId"`
-	TaskId     string `json:"TaskId" xml:"TaskId"`
-	TgtLoc     string `json:"TgtLoc" xml:"TgtLoc"`
-	Status     string `json:"Status" xml:"Status"`
-	CreateTime string `json:"CreateTime" xml:"CreateTime"`
-	Percent    int    `json:"Percent" xml:"Percent"`
-}
-
-// CreatePhotoProcessRequest creates a request to invoke PhotoProcess API
-func CreatePhotoProcessRequest() (request *PhotoProcessRequest) {
-	request = &PhotoProcessRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("imm", "2017-09-06", "PhotoProcess", "imm", "openAPI")
-	return
-}
-
-// CreatePhotoProcessResponse creates a response to parse from PhotoProcess response
-func CreatePhotoProcessResponse() (response *PhotoProcessResponse) {
-	response = &PhotoProcessResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 125
services/imm/regist_face.go

@@ -1,125 +0,0 @@
-package imm
-
-//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"
-)
-
-// RegistFace invokes the imm.RegistFace API synchronously
-// api document: https://help.aliyun.com/api/imm/registface.html
-func (client *Client) RegistFace(request *RegistFaceRequest) (response *RegistFaceResponse, err error) {
-	response = CreateRegistFaceResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// RegistFaceWithChan invokes the imm.RegistFace API asynchronously
-// api document: https://help.aliyun.com/api/imm/registface.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) RegistFaceWithChan(request *RegistFaceRequest) (<-chan *RegistFaceResponse, <-chan error) {
-	responseChan := make(chan *RegistFaceResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.RegistFace(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// RegistFaceWithCallback invokes the imm.RegistFace API asynchronously
-// api document: https://help.aliyun.com/api/imm/registface.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) RegistFaceWithCallback(request *RegistFaceRequest, callback func(response *RegistFaceResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *RegistFaceResponse
-		var err error
-		defer close(result)
-		response, err = client.RegistFace(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// RegistFaceRequest is the request struct for api RegistFace
-type RegistFaceRequest struct {
-	*requests.RpcRequest
-	ChooseBiggestFace  requests.Boolean `position:"Query" name:"ChooseBiggestFace"`
-	IsQualityLimit     requests.Boolean `position:"Query" name:"IsQualityLimit"`
-	Project            string           `position:"Query" name:"Project"`
-	GroupName          string           `position:"Query" name:"GroupName"`
-	SrcUri             string           `position:"Query" name:"SrcUri"`
-	RegisterCheckLevel string           `position:"Query" name:"RegisterCheckLevel"`
-	User               string           `position:"Query" name:"User"`
-}
-
-// RegistFaceResponse is the response struct for api RegistFace
-type RegistFaceResponse struct {
-	*responses.BaseResponse
-	RequestId string   `json:"RequestId" xml:"RequestId"`
-	GroupId   string   `json:"GroupId" xml:"GroupId"`
-	ImageUri  string   `json:"ImageUri" xml:"ImageUri"`
-	ImageMd5  string   `json:"ImageMd5" xml:"ImageMd5"`
-	ImageId   string   `json:"ImageId" xml:"ImageId"`
-	GroupName string   `json:"GroupName" xml:"GroupName"`
-	User      string   `json:"User" xml:"User"`
-	Roll      float64  `json:"Roll" xml:"Roll"`
-	FaceId    string   `json:"FaceId" xml:"FaceId"`
-	Yaw       float64  `json:"Yaw" xml:"Yaw"`
-	Quality   float64  `json:"Quality" xml:"Quality"`
-	Glasses   int      `json:"Glasses" xml:"Glasses"`
-	Hat       int      `json:"Hat" xml:"Hat"`
-	Pitch     float64  `json:"Pitch" xml:"Pitch"`
-	Age       int      `json:"Age" xml:"Age"`
-	Gender    string   `json:"Gender" xml:"Gender"`
-	Axis      []string `json:"Axis" xml:"Axis"`
-}
-
-// CreateRegistFaceRequest creates a request to invoke RegistFace API
-func CreateRegistFaceRequest() (request *RegistFaceRequest) {
-	request = &RegistFaceRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("imm", "2017-09-06", "RegistFace", "imm", "openAPI")
-	return
-}
-
-// CreateRegistFaceResponse creates a response to parse from RegistFace response
-func CreateRegistFaceResponse() (response *RegistFaceResponse) {
-	response = &RegistFaceResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 115
services/imm/search_face.go

@@ -1,115 +0,0 @@
-package imm
-
-//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"
-)
-
-// SearchFace invokes the imm.SearchFace API synchronously
-// api document: https://help.aliyun.com/api/imm/searchface.html
-func (client *Client) SearchFace(request *SearchFaceRequest) (response *SearchFaceResponse, err error) {
-	response = CreateSearchFaceResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// SearchFaceWithChan invokes the imm.SearchFace API asynchronously
-// api document: https://help.aliyun.com/api/imm/searchface.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) SearchFaceWithChan(request *SearchFaceRequest) (<-chan *SearchFaceResponse, <-chan error) {
-	responseChan := make(chan *SearchFaceResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.SearchFace(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// SearchFaceWithCallback invokes the imm.SearchFace API asynchronously
-// api document: https://help.aliyun.com/api/imm/searchface.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) SearchFaceWithCallback(request *SearchFaceRequest, callback func(response *SearchFaceResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *SearchFaceResponse
-		var err error
-		defer close(result)
-		response, err = client.SearchFace(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// SearchFaceRequest is the request struct for api SearchFace
-type SearchFaceRequest struct {
-	*requests.RpcRequest
-	ResultNum            requests.Integer `position:"Query" name:"ResultNum"`
-	Project              string           `position:"Query" name:"Project"`
-	SearchThresholdLevel string           `position:"Query" name:"SearchThresholdLevel"`
-	IsThreshold          requests.Boolean `position:"Query" name:"IsThreshold"`
-	GroupName            string           `position:"Query" name:"GroupName"`
-	SrcUri               string           `position:"Query" name:"SrcUri"`
-}
-
-// SearchFaceResponse is the response struct for api SearchFace
-type SearchFaceResponse struct {
-	*responses.BaseResponse
-	RequestId   string            `json:"RequestId" xml:"RequestId"`
-	ImageUri    string            `json:"ImageUri" xml:"ImageUri"`
-	GroupName   string            `json:"GroupName" xml:"GroupName"`
-	Glasses     int               `json:"Glasses" xml:"Glasses"`
-	Hat         int               `json:"Hat" xml:"Hat"`
-	Score       float64           `json:"Score" xml:"Score"`
-	Axis        []string          `json:"Axis" xml:"Axis"`
-	ResultFaces []ResultFacesItem `json:"ResultFaces" xml:"ResultFaces"`
-}
-
-// CreateSearchFaceRequest creates a request to invoke SearchFace API
-func CreateSearchFaceRequest() (request *SearchFaceRequest) {
-	request = &SearchFaceRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("imm", "2017-09-06", "SearchFace", "imm", "openAPI")
-	return
-}
-
-// CreateSearchFaceResponse creates a response to parse from SearchFace response
-func CreateSearchFaceResponse() (response *SearchFaceResponse) {
-	response = &SearchFaceResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 21
services/imm/struct_axis_in_regist_face.go

@@ -1,21 +0,0 @@
-package imm
-
-//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.
-
-// AxisInRegistFace is a nested struct in imm response
-type AxisInRegistFace struct {
-	Axis []string `json:"Axis" xml:"Axis"`
-}

+ 0 - 21
services/imm/struct_axis_in_search_face.go

@@ -1,21 +0,0 @@
-package imm
-
-//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.
-
-// AxisInSearchFace is a nested struct in imm response
-type AxisInSearchFace struct {
-	Axis []string `json:"Axis" xml:"Axis"`
-}

+ 2 - 2
services/imm/struct_box_in_detect_logo.go → services/imm/struct_box.go

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

+ 0 - 21
services/imm/struct_box_in_detect_clothes.go

@@ -1,21 +0,0 @@
-package imm
-
-//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.
-
-// BoxInDetectClothes is a nested struct in imm response
-type BoxInDetectClothes struct {
-	Box []string `json:"Box" xml:"Box"`
-}

+ 1 - 0
services/imm/struct_faces_item.go

@@ -22,6 +22,7 @@ type FacesItem struct {
 	ImageUri             string             `json:"ImageUri" xml:"ImageUri"`
 	ImageUri             string             `json:"ImageUri" xml:"ImageUri"`
 	FaceQuality          float64            `json:"FaceQuality" xml:"FaceQuality"`
 	FaceQuality          float64            `json:"FaceQuality" xml:"FaceQuality"`
 	Similarity           float64            `json:"Similarity" xml:"Similarity"`
 	Similarity           float64            `json:"Similarity" xml:"Similarity"`
+	ExternalId           string             `json:"ExternalId" xml:"ExternalId"`
 	Attractive           float64            `json:"Attractive" xml:"Attractive"`
 	Attractive           float64            `json:"Attractive" xml:"Attractive"`
 	AttractiveConfidence float64            `json:"AttractiveConfidence" xml:"AttractiveConfidence"`
 	AttractiveConfidence float64            `json:"AttractiveConfidence" xml:"AttractiveConfidence"`
 	Age                  int                `json:"Age" xml:"Age"`
 	Age                  int                `json:"Age" xml:"Age"`

+ 0 - 21
services/imm/struct_fail_details_in_detect_logo.go

@@ -1,21 +0,0 @@
-package imm
-
-//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.
-
-// FailDetailsInDetectLogo is a nested struct in imm response
-type FailDetailsInDetectLogo struct {
-	FailDetailsItem []FailDetailsItem `json:"FailDetails" xml:"FailDetails"`
-}

+ 0 - 21
services/imm/struct_fail_details_in_detect_tag.go

@@ -1,21 +0,0 @@
-package imm
-
-//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.
-
-// FailDetailsInDetectTag is a nested struct in imm response
-type FailDetailsInDetectTag struct {
-	FailDetailsItem []FailDetailsItem `json:"FailDetails" xml:"FailDetails"`
-}

+ 0 - 21
services/imm/struct_fail_details_in_index_tag.go

@@ -1,21 +0,0 @@
-package imm
-
-//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.
-
-// FailDetailsInIndexTag is a nested struct in imm response
-type FailDetailsInIndexTag struct {
-	FailDetailsItem []FailDetailsItem `json:"FailDetails" xml:"FailDetails"`
-}

+ 0 - 21
services/imm/struct_groups.go

@@ -1,21 +0,0 @@
-package imm
-
-//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.
-
-// Groups is a nested struct in imm response
-type Groups struct {
-	GroupsItem []GroupsItem `json:"Groups" xml:"Groups"`
-}

+ 0 - 26
services/imm/struct_groups_item.go

@@ -1,26 +0,0 @@
-package imm
-
-//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.
-
-// GroupsItem is a nested struct in imm response
-type GroupsItem struct {
-	GroupName  string `json:"GroupName" xml:"GroupName"`
-	Count      string `json:"Count" xml:"Count"`
-	Status     string `json:"Status" xml:"Status"`
-	CreateTime string `json:"CreateTime" xml:"CreateTime"`
-	ModifyTime string `json:"ModifyTime" xml:"ModifyTime"`
-	GroupId    string `json:"GroupId" xml:"GroupId"`
-}

+ 0 - 21
services/imm/struct_images_in_list_face_search_group_images.go

@@ -1,21 +0,0 @@
-package imm
-
-//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.
-
-// ImagesInListFaceSearchGroupImages is a nested struct in imm response
-type ImagesInListFaceSearchGroupImages struct {
-	ImagesItem []ImagesItem `json:"Images" xml:"Images"`
-}

+ 14 - 27
services/imm/struct_images_item.go

@@ -18,52 +18,39 @@ package imm
 // ImagesItem is a nested struct in imm response
 // ImagesItem is a nested struct in imm response
 type ImagesItem struct {
 type ImagesItem struct {
 	FacesStatus         string          `json:"FacesStatus" xml:"FacesStatus"`
 	FacesStatus         string          `json:"FacesStatus" xml:"FacesStatus"`
-	User                string          `json:"User" xml:"User"`
-	ImageId             string          `json:"ImageId" xml:"ImageId"`
-	Quality             float64         `json:"Quality" xml:"Quality"`
+	AddressModifyTime   string          `json:"AddressModifyTime" xml:"AddressModifyTime"`
+	ModifyTime          string          `json:"ModifyTime" xml:"ModifyTime"`
+	AddressFailReason   string          `json:"AddressFailReason" xml:"AddressFailReason"`
+	CreateTime          string          `json:"CreateTime" xml:"CreateTime"`
 	CelebrityFailReason string          `json:"CelebrityFailReason" xml:"CelebrityFailReason"`
 	CelebrityFailReason string          `json:"CelebrityFailReason" xml:"CelebrityFailReason"`
+	OCRModifyTime       string          `json:"OCRModifyTime" xml:"OCRModifyTime"`
+	ImageFormat         string          `json:"ImageFormat" xml:"ImageFormat"`
 	FacesFailReason     string          `json:"FacesFailReason" xml:"FacesFailReason"`
 	FacesFailReason     string          `json:"FacesFailReason" xml:"FacesFailReason"`
 	AddressStatus       string          `json:"AddressStatus" xml:"AddressStatus"`
 	AddressStatus       string          `json:"AddressStatus" xml:"AddressStatus"`
 	Exif                string          `json:"Exif" xml:"Exif"`
 	Exif                string          `json:"Exif" xml:"Exif"`
 	ImageHeight         int             `json:"ImageHeight" xml:"ImageHeight"`
 	ImageHeight         int             `json:"ImageHeight" xml:"ImageHeight"`
+	SourceType          string          `json:"SourceType" xml:"SourceType"`
 	RemarksB            string          `json:"RemarksB" xml:"RemarksB"`
 	RemarksB            string          `json:"RemarksB" xml:"RemarksB"`
 	FileSize            int             `json:"FileSize" xml:"FileSize"`
 	FileSize            int             `json:"FileSize" xml:"FileSize"`
+	Orientation         string          `json:"Orientation" xml:"Orientation"`
+	TagsStatus          string          `json:"TagsStatus" xml:"TagsStatus"`
 	FacesModifyTime     string          `json:"FacesModifyTime" xml:"FacesModifyTime"`
 	FacesModifyTime     string          `json:"FacesModifyTime" xml:"FacesModifyTime"`
 	CelebrityModifyTime string          `json:"CelebrityModifyTime" xml:"CelebrityModifyTime"`
 	CelebrityModifyTime string          `json:"CelebrityModifyTime" xml:"CelebrityModifyTime"`
+	RemarksD            string          `json:"RemarksD" xml:"RemarksD"`
 	TagsFailReason      string          `json:"TagsFailReason" xml:"TagsFailReason"`
 	TagsFailReason      string          `json:"TagsFailReason" xml:"TagsFailReason"`
+	CelebrityStatus     string          `json:"CelebrityStatus" xml:"CelebrityStatus"`
+	OCRStatus           string          `json:"OCRStatus" xml:"OCRStatus"`
 	ImageUri            string          `json:"ImageUri" xml:"ImageUri"`
 	ImageUri            string          `json:"ImageUri" xml:"ImageUri"`
 	ExternalId          string          `json:"ExternalId" xml:"ExternalId"`
 	ExternalId          string          `json:"ExternalId" xml:"ExternalId"`
+	ImageTime           string          `json:"ImageTime" xml:"ImageTime"`
 	Location            string          `json:"Location" xml:"Location"`
 	Location            string          `json:"Location" xml:"Location"`
 	TagsModifyTime      string          `json:"TagsModifyTime" xml:"TagsModifyTime"`
 	TagsModifyTime      string          `json:"TagsModifyTime" xml:"TagsModifyTime"`
-	Yaw                 float64         `json:"Yaw" xml:"Yaw"`
-	Gender              string          `json:"Gender" xml:"Gender"`
+	RemarksA            string          `json:"RemarksA" xml:"RemarksA"`
 	SourcePosition      string          `json:"SourcePosition" xml:"SourcePosition"`
 	SourcePosition      string          `json:"SourcePosition" xml:"SourcePosition"`
 	OCRFailReason       string          `json:"OCRFailReason" xml:"OCRFailReason"`
 	OCRFailReason       string          `json:"OCRFailReason" xml:"OCRFailReason"`
-	Glasses             int             `json:"Glasses" xml:"Glasses"`
 	RemarksC            string          `json:"RemarksC" xml:"RemarksC"`
 	RemarksC            string          `json:"RemarksC" xml:"RemarksC"`
 	SourceUri           string          `json:"SourceUri" xml:"SourceUri"`
 	SourceUri           string          `json:"SourceUri" xml:"SourceUri"`
 	ImageWidth          int             `json:"ImageWidth" xml:"ImageWidth"`
 	ImageWidth          int             `json:"ImageWidth" xml:"ImageWidth"`
-	AddressModifyTime   string          `json:"AddressModifyTime" xml:"AddressModifyTime"`
-	ModifyTime          string          `json:"ModifyTime" xml:"ModifyTime"`
-	AddressFailReason   string          `json:"AddressFailReason" xml:"AddressFailReason"`
-	CreateTime          string          `json:"CreateTime" xml:"CreateTime"`
-	OCRModifyTime       string          `json:"OCRModifyTime" xml:"OCRModifyTime"`
-	ImageFormat         string          `json:"ImageFormat" xml:"ImageFormat"`
-	ImageMd5            string          `json:"ImageMd5" xml:"ImageMd5"`
-	Age                 int             `json:"Age" xml:"Age"`
-	SourceType          string          `json:"SourceType" xml:"SourceType"`
-	Orientation         string          `json:"Orientation" xml:"Orientation"`
-	FaceId              string          `json:"FaceId" xml:"FaceId"`
-	Hat                 int             `json:"Hat" xml:"Hat"`
-	TagsStatus          string          `json:"TagsStatus" xml:"TagsStatus"`
-	RemarksD            string          `json:"RemarksD" xml:"RemarksD"`
-	CelebrityStatus     string          `json:"CelebrityStatus" xml:"CelebrityStatus"`
-	OCRStatus           string          `json:"OCRStatus" xml:"OCRStatus"`
-	Pitch               float64         `json:"Pitch" xml:"Pitch"`
-	ImageTime           string          `json:"ImageTime" xml:"ImageTime"`
-	RemarksA            string          `json:"RemarksA" xml:"RemarksA"`
-	Roll                float64         `json:"Roll" xml:"Roll"`
-	Axis                []string        `json:"Axis" xml:"Axis"`
 	Address             Address         `json:"Address" xml:"Address"`
 	Address             Address         `json:"Address" xml:"Address"`
 	OCR                 []OCRItem       `json:"OCR" xml:"OCR"`
 	OCR                 []OCRItem       `json:"OCR" xml:"OCR"`
 	Faces               []FacesItem     `json:"Faces" xml:"Faces"`
 	Faces               []FacesItem     `json:"Faces" xml:"Faces"`

+ 2 - 2
services/imm/struct_jobs_in_list_tag_jobs.go → services/imm/struct_jobs.go

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

+ 0 - 21
services/imm/struct_jobs_in_list_image_jobs.go

@@ -1,21 +0,0 @@
-package imm
-
-//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.
-
-// JobsInListImageJobs is a nested struct in imm response
-type JobsInListImageJobs struct {
-	JobsItem []JobsItem `json:"Jobs" xml:"Jobs"`
-}

+ 0 - 21
services/imm/struct_jobs_in_list_porn_batch_detect_jobs.go

@@ -1,21 +0,0 @@
-package imm
-
-//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.
-
-// JobsInListPornBatchDetectJobs is a nested struct in imm response
-type JobsInListPornBatchDetectJobs struct {
-	JobsItem []JobsItemInListPornBatchDetectJobs `json:"Jobs" xml:"Jobs"`
-}

+ 5 - 10
services/imm/struct_jobs_item.go

@@ -17,20 +17,15 @@ package imm
 
 
 // JobsItem is a nested struct in imm response
 // JobsItem is a nested struct in imm response
 type JobsItem struct {
 type JobsItem struct {
+	Status          string `json:"Status" xml:"Status"`
 	JobId           string `json:"JobId" xml:"JobId"`
 	JobId           string `json:"JobId" xml:"JobId"`
-	SetId           string `json:"SetId" xml:"SetId"`
-	Result          string `json:"Result" xml:"Result"`
-	ErrorMessage    string `json:"ErrorMessage" xml:"ErrorMessage"`
-	CreateTime      string `json:"CreateTime" xml:"CreateTime"`
-	FinishTime      string `json:"FinishTime" xml:"FinishTime"`
-	SrcUri          string `json:"SrcUri" xml:"SrcUri"`
+	JobType         string `json:"JobType" xml:"JobType"`
 	Parameters      string `json:"Parameters" xml:"Parameters"`
 	Parameters      string `json:"Parameters" xml:"Parameters"`
-	Percent         int    `json:"Percent" xml:"Percent"`
+	Result          string `json:"Result" xml:"Result"`
 	StartTime       string `json:"StartTime" xml:"StartTime"`
 	StartTime       string `json:"StartTime" xml:"StartTime"`
 	EndTime         string `json:"EndTime" xml:"EndTime"`
 	EndTime         string `json:"EndTime" xml:"EndTime"`
-	Progress        int    `json:"Progress" xml:"Progress"`
+	ErrorMessage    string `json:"ErrorMessage" xml:"ErrorMessage"`
 	NotifyEndpoint  string `json:"NotifyEndpoint" xml:"NotifyEndpoint"`
 	NotifyEndpoint  string `json:"NotifyEndpoint" xml:"NotifyEndpoint"`
-	Status          string `json:"Status" xml:"Status"`
 	NotifyTopicName string `json:"NotifyTopicName" xml:"NotifyTopicName"`
 	NotifyTopicName string `json:"NotifyTopicName" xml:"NotifyTopicName"`
-	JobType         string `json:"JobType" xml:"JobType"`
+	Progress        int    `json:"Progress" xml:"Progress"`
 }
 }

+ 0 - 30
services/imm/struct_jobs_item_in_list_porn_batch_detect_jobs.go

@@ -1,30 +0,0 @@
-package imm
-
-//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.
-
-// JobsItemInListPornBatchDetectJobs is a nested struct in imm response
-type JobsItemInListPornBatchDetectJobs struct {
-	JobId           string `json:"JobId" xml:"JobId"`
-	SrcUri          string `json:"SrcUri" xml:"SrcUri"`
-	Status          string `json:"Status" xml:"Status"`
-	TgtUri          string `json:"TgtUri" xml:"TgtUri"`
-	NotifyTopicName int    `json:"NotifyTopicName" xml:"NotifyTopicName"`
-	NotifyEndpoint  string `json:"NotifyEndpoint" xml:"NotifyEndpoint"`
-	ExternalID      string `json:"ExternalID" xml:"ExternalID"`
-	CreateTime      string `json:"CreateTime" xml:"CreateTime"`
-	FinishTime      string `json:"FinishTime" xml:"FinishTime"`
-	Percent         int    `json:"Percent" xml:"Percent"`
-}

+ 0 - 21
services/imm/struct_logo_box_detail.go

@@ -1,21 +0,0 @@
-package imm
-
-//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.
-
-// LogoBoxDetail is a nested struct in imm response
-type LogoBoxDetail struct {
-	LogoBoxDetailItem []LogoBoxDetailItem `json:"LogoBoxDetail" xml:"LogoBoxDetail"`
-}

+ 0 - 24
services/imm/struct_logo_box_detail_item.go

@@ -1,24 +0,0 @@
-package imm
-
-//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.
-
-// LogoBoxDetailItem is a nested struct in imm response
-type LogoBoxDetailItem struct {
-	PUID  string   `json:"PUID" xml:"PUID"`
-	Type  string   `json:"Type" xml:"Type"`
-	Score float64  `json:"Score" xml:"Score"`
-	Box   []string `json:"Box" xml:"Box"`
-}

+ 0 - 21
services/imm/struct_photos.go

@@ -1,21 +0,0 @@
-package imm
-
-//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.
-
-// Photos is a nested struct in imm response
-type Photos struct {
-	PhotosItem []PhotosItem `json:"Photos" xml:"Photos"`
-}

+ 0 - 22
services/imm/struct_photos_item.go

@@ -1,22 +0,0 @@
-package imm
-
-//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.
-
-// PhotosItem is a nested struct in imm response
-type PhotosItem struct {
-	SrcUri   string  `json:"SrcUri" xml:"SrcUri"`
-	TagScore float64 `json:"TagScore" xml:"TagScore"`
-}

+ 6 - 3
services/imm/struct_axis_in_get_face_search_image.go → services/imm/struct_qr_code_boundary.go

@@ -15,7 +15,10 @@ package imm
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
 
-// AxisInGetFaceSearchImage is a nested struct in imm response
-type AxisInGetFaceSearchImage struct {
-	Axis []string `json:"Axis" xml:"Axis"`
+// QRCodeBoundary is a nested struct in imm response
+type QRCodeBoundary struct {
+	Top    int `json:"Top" xml:"Top"`
+	Left   int `json:"Left" xml:"Left"`
+	Width  int `json:"Width" xml:"Width"`
+	Height int `json:"Height" xml:"Height"`
 }
 }

+ 3 - 3
services/imm/struct_axis_in_list_face_search_group_images.go → services/imm/struct_qr_codes_in_detect_image_qr_codes.go

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

+ 2 - 2
services/imm/struct_qr_codes.go → services/imm/struct_qr_codes_in_detect_qr_codes.go

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

+ 1 - 0
services/imm/struct_qr_codes_item.go

@@ -18,5 +18,6 @@ package imm
 // QRCodesItem is a nested struct in imm response
 // QRCodesItem is a nested struct in imm response
 type QRCodesItem struct {
 type QRCodesItem struct {
 	Content          string           `json:"Content" xml:"Content"`
 	Content          string           `json:"Content" xml:"Content"`
+	QRCodeBoundary   QRCodeBoundary   `json:"QRCodeBoundary" xml:"QRCodeBoundary"`
 	QRCodesRectangle QRCodesRectangle `json:"QRCodesRectangle" xml:"QRCodesRectangle"`
 	QRCodesRectangle QRCodesRectangle `json:"QRCodesRectangle" xml:"QRCodesRectangle"`
 }
 }

+ 0 - 21
services/imm/struct_result_faces.go

@@ -1,21 +0,0 @@
-package imm
-
-//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.
-
-// ResultFaces is a nested struct in imm response
-type ResultFaces struct {
-	ResultFacesItem []ResultFacesItem `json:"ResultFaces" xml:"ResultFaces"`
-}

+ 0 - 28
services/imm/struct_result_faces_item.go

@@ -1,28 +0,0 @@
-package imm
-
-//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.
-
-// ResultFacesItem is a nested struct in imm response
-type ResultFacesItem struct {
-	GroupId  string   `json:"GroupId" xml:"GroupId"`
-	User     string   `json:"User" xml:"User"`
-	ImageId  string   `json:"ImageId" xml:"ImageId"`
-	Score    float64  `json:"Score" xml:"Score"`
-	ImageUri string   `json:"ImageUri" xml:"ImageUri"`
-	Glasses  int      `json:"Glasses" xml:"Glasses"`
-	Hat      int      `json:"Hat" xml:"Hat"`
-	Axis     []string `json:"Axis" xml:"Axis"`
-}

+ 2 - 2
services/imm/struct_sets_in_list_sets.go → services/imm/struct_sets.go

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

+ 0 - 21
services/imm/struct_sets_in_list_tag_sets.go

@@ -1,21 +0,0 @@
-package imm
-
-//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.
-
-// SetsInListTagSets is a nested struct in imm response
-type SetsInListTagSets struct {
-	SetsItem []SetsItem `json:"Sets" xml:"Sets"`
-}

+ 4 - 6
services/imm/struct_sets_item.go

@@ -17,14 +17,12 @@ package imm
 
 
 // SetsItem is a nested struct in imm response
 // SetsItem is a nested struct in imm response
 type SetsItem struct {
 type SetsItem struct {
-	Photos      int64  `json:"Photos" xml:"Photos"`
 	SetId       string `json:"SetId" xml:"SetId"`
 	SetId       string `json:"SetId" xml:"SetId"`
-	ModifyTime  string `json:"ModifyTime" xml:"ModifyTime"`
-	CreateTime  string `json:"CreateTime" xml:"CreateTime"`
 	SetName     string `json:"SetName" xml:"SetName"`
 	SetName     string `json:"SetName" xml:"SetName"`
-	VideoLength int    `json:"VideoLength" xml:"VideoLength"`
-	Status      string `json:"Status" xml:"Status"`
+	CreateTime  string `json:"CreateTime" xml:"CreateTime"`
+	ModifyTime  string `json:"ModifyTime" xml:"ModifyTime"`
 	FaceCount   int    `json:"FaceCount" xml:"FaceCount"`
 	FaceCount   int    `json:"FaceCount" xml:"FaceCount"`
-	VideoCount  int    `json:"VideoCount" xml:"VideoCount"`
 	ImageCount  int    `json:"ImageCount" xml:"ImageCount"`
 	ImageCount  int    `json:"ImageCount" xml:"ImageCount"`
+	VideoCount  int    `json:"VideoCount" xml:"VideoCount"`
+	VideoLength int    `json:"VideoLength" xml:"VideoLength"`
 }
 }

+ 1 - 0
services/imm/struct_similar_faces_item.go

@@ -20,5 +20,6 @@ type SimilarFacesItem struct {
 	FaceId         string         `json:"FaceId" xml:"FaceId"`
 	FaceId         string         `json:"FaceId" xml:"FaceId"`
 	ImageUri       string         `json:"ImageUri" xml:"ImageUri"`
 	ImageUri       string         `json:"ImageUri" xml:"ImageUri"`
 	Similarity     float64        `json:"Similarity" xml:"Similarity"`
 	Similarity     float64        `json:"Similarity" xml:"Similarity"`
+	ExternalId     string         `json:"ExternalId" xml:"ExternalId"`
 	FaceAttributes FaceAttributes `json:"FaceAttributes" xml:"FaceAttributes"`
 	FaceAttributes FaceAttributes `json:"FaceAttributes" xml:"FaceAttributes"`
 }
 }

+ 2 - 2
services/imm/struct_src_uris_in_detect_logo.go → services/imm/struct_src_uris.go

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

+ 0 - 21
services/imm/struct_src_uris_in_detect_clothes.go

@@ -1,21 +0,0 @@
-package imm
-
-//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.
-
-// SrcUrisInDetectClothes is a nested struct in imm response
-type SrcUrisInDetectClothes struct {
-	SrcUris []string `json:"SrcUris" xml:"SrcUris"`
-}

+ 0 - 21
services/imm/struct_success_details_in_detect_logo.go

@@ -1,21 +0,0 @@
-package imm
-
-//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.
-
-// SuccessDetailsInDetectLogo is a nested struct in imm response
-type SuccessDetailsInDetectLogo struct {
-	SuccessDetailsItem []SuccessDetailsItem `json:"SuccessDetails" xml:"SuccessDetails"`
-}

+ 0 - 21
services/imm/struct_success_details_in_detect_tag.go

@@ -1,21 +0,0 @@
-package imm
-
-//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.
-
-// SuccessDetailsInDetectTag is a nested struct in imm response
-type SuccessDetailsInDetectTag struct {
-	SuccessDetailsItem []SuccessDetailsItem `json:"SuccessDetails" xml:"SuccessDetails"`
-}

+ 0 - 21
services/imm/struct_success_details_in_index_tag.go

@@ -1,21 +0,0 @@
-package imm
-
-//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.
-
-// SuccessDetailsInIndexTag is a nested struct in imm response
-type SuccessDetailsInIndexTag struct {
-	SuccessDetailsItem []SuccessDetailsItem `json:"SuccessDetails" xml:"SuccessDetails"`
-}

+ 0 - 2
services/imm/struct_success_details_item.go

@@ -23,6 +23,4 @@ type SuccessDetailsItem struct {
 	SrcUri           string                 `json:"SrcUri" xml:"SrcUri"`
 	SrcUri           string                 `json:"SrcUri" xml:"SrcUri"`
 	ClothesBoxDetail []ClothesBoxDetailItem `json:"ClothesBoxDetail" xml:"ClothesBoxDetail"`
 	ClothesBoxDetail []ClothesBoxDetailItem `json:"ClothesBoxDetail" xml:"ClothesBoxDetail"`
 	QRCodes          []QRCodesItem          `json:"QRCodes" xml:"QRCodes"`
 	QRCodes          []QRCodesItem          `json:"QRCodes" xml:"QRCodes"`
-	LogoBoxDetail    []LogoBoxDetailItem    `json:"LogoBoxDetail" xml:"LogoBoxDetail"`
-	Tags             []TagsItemInDetectTag  `json:"Tags" xml:"Tags"`
 }
 }

+ 0 - 21
services/imm/struct_tags_in_detect_tag.go

@@ -1,21 +0,0 @@
-package imm
-
-//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.
-
-// TagsInDetectTag is a nested struct in imm response
-type TagsInDetectTag struct {
-	TagsItem []TagsItemInDetectTag `json:"Tags" xml:"Tags"`
-}

+ 0 - 21
services/imm/struct_tags_in_index_tag.go

@@ -1,21 +0,0 @@
-package imm
-
-//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.
-
-// TagsInIndexTag is a nested struct in imm response
-type TagsInIndexTag struct {
-	TagsItem []TagsItemInIndexTag `json:"Tags" xml:"Tags"`
-}

+ 0 - 26
services/imm/struct_tags_item_in_detect_tag.go

@@ -1,26 +0,0 @@
-package imm
-
-//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.
-
-// TagsItemInDetectTag is a nested struct in imm response
-type TagsItemInDetectTag struct {
-	TagId         string `json:"TagId" xml:"TagId"`
-	TagLevel      string `json:"TagLevel" xml:"TagLevel"`
-	TagName       string `json:"TagName" xml:"TagName"`
-	ParentTagId   string `json:"ParentTagId" xml:"ParentTagId"`
-	ParentTagName string `json:"ParentTagName" xml:"ParentTagName"`
-	TagScore      string `json:"TagScore" xml:"TagScore"`
-}

+ 0 - 26
services/imm/struct_tags_item_in_index_tag.go

@@ -1,26 +0,0 @@
-package imm
-
-//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.
-
-// TagsItemInIndexTag is a nested struct in imm response
-type TagsItemInIndexTag struct {
-	TagId         string `json:"TagId" xml:"TagId"`
-	TagLevel      string `json:"TagLevel" xml:"TagLevel"`
-	TagName       string `json:"TagName" xml:"TagName"`
-	ParentTagId   string `json:"ParentTagId" xml:"ParentTagId"`
-	ParentTagName string `json:"ParentTagName" xml:"ParentTagName"`
-	TagScore      string `json:"TagScore" xml:"TagScore"`
-}

+ 0 - 21
services/imm/struct_tasks_in_list_photo_process_tasks.go

@@ -1,21 +0,0 @@
-package imm
-
-//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.
-
-// TasksInListPhotoProcessTasks is a nested struct in imm response
-type TasksInListPhotoProcessTasks struct {
-	TasksItem []TasksItem `json:"Tasks" xml:"Tasks"`
-}

+ 0 - 1
services/imm/struct_tasks_item.go

@@ -19,7 +19,6 @@ package imm
 type TasksItem struct {
 type TasksItem struct {
 	TgtType         string `json:"TgtType" xml:"TgtType"`
 	TgtType         string `json:"TgtType" xml:"TgtType"`
 	Result          string `json:"Result" xml:"Result"`
 	Result          string `json:"Result" xml:"Result"`
-	Style           string `json:"Style" xml:"Style"`
 	ErrorMessage    string `json:"ErrorMessage" xml:"ErrorMessage"`
 	ErrorMessage    string `json:"ErrorMessage" xml:"ErrorMessage"`
 	PageCount       int    `json:"PageCount" xml:"PageCount"`
 	PageCount       int    `json:"PageCount" xml:"PageCount"`
 	CreateTime      string `json:"CreateTime" xml:"CreateTime"`
 	CreateTime      string `json:"CreateTime" xml:"CreateTime"`

+ 0 - 21
services/imm/struct_users.go

@@ -1,21 +0,0 @@
-package imm
-
-//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.
-
-// Users is a nested struct in imm response
-type Users struct {
-	UsersItem []UsersItem `json:"Users" xml:"Users"`
-}

+ 0 - 25
services/imm/struct_users_item.go

@@ -1,25 +0,0 @@
-package imm
-
-//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.
-
-// UsersItem is a nested struct in imm response
-type UsersItem struct {
-	User       string `json:"User" xml:"User"`
-	Count      string `json:"Count" xml:"Count"`
-	Status     string `json:"Status" xml:"Status"`
-	CreateTime string `json:"CreateTime" xml:"CreateTime"`
-	ModifyTime string `json:"ModifyTime" xml:"ModifyTime"`
-}