Bladeren bron

IMM SDK Auto Released By zhengrui.lj,Version:1.51.14

Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
haowei.yao 6 jaren geleden
bovenliggende
commit
86ff0472d5
75 gewijzigde bestanden met toevoegingen van 219 en 3007 verwijderingen
  1. 5 0
      ChangeLog.txt
  2. 122 0
      services/imm/create_cad_conversion_task.go
  3. 0 109
      services/imm/create_delete_face_set_job.go
  4. 0 111
      services/imm/create_face_job.go
  5. 0 109
      services/imm/create_group_faces_job.go
  6. 0 111
      services/imm/create_index_face_job.go
  7. 0 106
      services/imm/delete_face_by_id.go
  8. 0 105
      services/imm/delete_face_by_url.go
  9. 0 106
      services/imm/delete_face_set.go
  10. 0 107
      services/imm/detect_face.go
  11. 11 8
      services/imm/find_images.go
  12. 0 112
      services/imm/get_face_detail.go
  13. 0 111
      services/imm/get_face_job.go
  14. 0 110
      services/imm/get_face_set.go
  15. 0 109
      services/imm/get_face_set_detail.go
  16. 3 0
      services/imm/get_image.go
  17. 3 0
      services/imm/get_video.go
  18. 0 108
      services/imm/group_faces.go
  19. 0 111
      services/imm/index_face.go
  20. 9 3
      services/imm/index_image.go
  21. 17 11
      services/imm/index_video.go
  22. 0 109
      services/imm/list_face_group_photos.go
  23. 0 108
      services/imm/list_face_groups.go
  24. 0 108
      services/imm/list_face_jobs.go
  25. 0 106
      services/imm/list_face_sets.go
  26. 0 109
      services/imm/list_image_faces.go
  27. 0 21
      services/imm/struct_age.go
  28. 0 21
      services/imm/struct_age_in_detect_face.go
  29. 0 21
      services/imm/struct_age_in_index_face.go
  30. 3 0
      services/imm/struct_audios_item.go
  31. 0 21
      services/imm/struct_blur.go
  32. 0 22
      services/imm/struct_blurness.go
  33. 0 22
      services/imm/struct_eye_status.go
  34. 0 26
      services/imm/struct_face_attribute.go
  35. 0 21
      services/imm/struct_face_details.go
  36. 0 27
      services/imm/struct_face_details_item.go
  37. 0 22
      services/imm/struct_face_quality.go
  38. 0 24
      services/imm/struct_face_rectangle.go
  39. 0 24
      services/imm/struct_face_rectangle_in_detect_face.go
  40. 0 24
      services/imm/struct_face_rectangle_in_index_face.go
  41. 0 21
      services/imm/struct_faces_in_detect_face.go
  42. 0 21
      services/imm/struct_faces_in_index_face.go
  43. 0 21
      services/imm/struct_faces_in_list_image_faces.go
  44. 0 21
      services/imm/struct_faces_in_update_face_group_by_id.go
  45. 14 18
      services/imm/struct_faces_item.go
  46. 0 21
      services/imm/struct_fail_details_in_detect_face.go
  47. 0 21
      services/imm/struct_fail_details_in_index_face.go
  48. 0 21
      services/imm/struct_fail_update_detail.go
  49. 0 22
      services/imm/struct_fail_update_detail_item.go
  50. 3 0
      services/imm/struct_frames.go
  51. 3 0
      services/imm/struct_frames_item.go
  52. 0 21
      services/imm/struct_gender.go
  53. 2 2
      services/imm/struct_groups.go
  54. 0 21
      services/imm/struct_groups_in_list_face_groups.go
  55. 0 21
      services/imm/struct_groups_in_list_face_search_groups.go
  56. 6 8
      services/imm/struct_groups_item.go
  57. 0 22
      services/imm/struct_groups_item_in_list_face_groups.go
  58. 0 23
      services/imm/struct_head_pose.go
  59. 3 0
      services/imm/struct_images_item.go
  60. 0 21
      services/imm/struct_jobs_in_list_face_jobs.go
  61. 0 26
      services/imm/struct_left_eye_status.go
  62. 2 2
      services/imm/struct_photos.go
  63. 0 21
      services/imm/struct_photos_in_list_face_group_photos.go
  64. 1 3
      services/imm/struct_photos_item.go
  65. 0 26
      services/imm/struct_right_eye_status.go
  66. 0 21
      services/imm/struct_sets_in_list_face_sets.go
  67. 0 1
      services/imm/struct_sets_item.go
  68. 0 21
      services/imm/struct_src_uris_in_detect_face.go
  69. 0 21
      services/imm/struct_src_uris_in_index_face.go
  70. 0 21
      services/imm/struct_success_details_in_detect_face.go
  71. 0 21
      services/imm/struct_success_details_in_index_face.go
  72. 0 2
      services/imm/struct_success_details_item.go
  73. 3 0
      services/imm/struct_videos_item.go
  74. 0 109
      services/imm/update_face_group_by_id.go
  75. 9 3
      services/imm/update_image.go

+ 5 - 0
ChangeLog.txt

@@ -1,3 +1,8 @@
+2019-01-29 Version: 1.51.14
+1, Make obsolete api offline.
+2, Fix some bug.
+
+
 2019-01-28 Version: 1.51.13
 1, Release 3 new Alibaba Cloud Bill API(QueryBillOverview、QueryBill、QueryInstanceBill). 
 2, Kindly suggest replace to new APIs who is using the old ones(QueryMonthlyBill、QuerySettlementBill、QueryMonthlyInstanceConsumption).

+ 122 - 0
services/imm/create_cad_conversion_task.go

@@ -0,0 +1,122 @@
+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"
+)
+
+// CreateCADConversionTask invokes the imm.CreateCADConversionTask API synchronously
+// api document: https://help.aliyun.com/api/imm/createcadconversiontask.html
+func (client *Client) CreateCADConversionTask(request *CreateCADConversionTaskRequest) (response *CreateCADConversionTaskResponse, err error) {
+	response = CreateCreateCADConversionTaskResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// CreateCADConversionTaskWithChan invokes the imm.CreateCADConversionTask API asynchronously
+// api document: https://help.aliyun.com/api/imm/createcadconversiontask.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateCADConversionTaskWithChan(request *CreateCADConversionTaskRequest) (<-chan *CreateCADConversionTaskResponse, <-chan error) {
+	responseChan := make(chan *CreateCADConversionTaskResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.CreateCADConversionTask(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// CreateCADConversionTaskWithCallback invokes the imm.CreateCADConversionTask API asynchronously
+// api document: https://help.aliyun.com/api/imm/createcadconversiontask.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateCADConversionTaskWithCallback(request *CreateCADConversionTaskRequest, callback func(response *CreateCADConversionTaskResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *CreateCADConversionTaskResponse
+		var err error
+		defer close(result)
+		response, err = client.CreateCADConversionTask(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// CreateCADConversionTaskRequest is the request struct for api CreateCADConversionTask
+type CreateCADConversionTaskRequest struct {
+	*requests.RpcRequest
+	SrcType         string           `position:"Query" name:"SrcType"`
+	BaseCol         requests.Integer `position:"Query" name:"BaseCol"`
+	NotifyTopicName string           `position:"Query" name:"NotifyTopicName"`
+	UnitWidth       requests.Integer `position:"Query" name:"UnitWidth"`
+	ZoomLevel       requests.Integer `position:"Query" name:"ZoomLevel"`
+	BaseRow         requests.Integer `position:"Query" name:"BaseRow"`
+	ModelId         string           `position:"Query" name:"ModelId"`
+	Project         string           `position:"Query" name:"Project"`
+	ZoomFactor      requests.Integer `position:"Query" name:"ZoomFactor"`
+	TgtType         string           `position:"Query" name:"TgtType"`
+	UnitHeight      requests.Integer `position:"Query" name:"UnitHeight"`
+	NotifyEndpoint  string           `position:"Query" name:"NotifyEndpoint"`
+	SrcUri          string           `position:"Query" name:"SrcUri"`
+	Thumbnails      requests.Boolean `position:"Query" name:"Thumbnails"`
+	TgtUri          string           `position:"Query" name:"TgtUri"`
+}
+
+// CreateCADConversionTaskResponse is the response struct for api CreateCADConversionTask
+type CreateCADConversionTaskResponse 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"`
+}
+
+// CreateCreateCADConversionTaskRequest creates a request to invoke CreateCADConversionTask API
+func CreateCreateCADConversionTaskRequest() (request *CreateCADConversionTaskRequest) {
+	request = &CreateCADConversionTaskRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("imm", "2017-09-06", "CreateCADConversionTask", "imm", "openAPI")
+	return
+}
+
+// CreateCreateCADConversionTaskResponse creates a response to parse from CreateCADConversionTask response
+func CreateCreateCADConversionTaskResponse() (response *CreateCADConversionTaskResponse) {
+	response = &CreateCADConversionTaskResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 0 - 109
services/imm/create_delete_face_set_job.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"
-)
-
-// CreateDeleteFaceSetJob invokes the imm.CreateDeleteFaceSetJob API synchronously
-// api document: https://help.aliyun.com/api/imm/createdeletefacesetjob.html
-func (client *Client) CreateDeleteFaceSetJob(request *CreateDeleteFaceSetJobRequest) (response *CreateDeleteFaceSetJobResponse, err error) {
-	response = CreateCreateDeleteFaceSetJobResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// CreateDeleteFaceSetJobWithChan invokes the imm.CreateDeleteFaceSetJob API asynchronously
-// api document: https://help.aliyun.com/api/imm/createdeletefacesetjob.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateDeleteFaceSetJobWithChan(request *CreateDeleteFaceSetJobRequest) (<-chan *CreateDeleteFaceSetJobResponse, <-chan error) {
-	responseChan := make(chan *CreateDeleteFaceSetJobResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.CreateDeleteFaceSetJob(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// CreateDeleteFaceSetJobWithCallback invokes the imm.CreateDeleteFaceSetJob API asynchronously
-// api document: https://help.aliyun.com/api/imm/createdeletefacesetjob.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateDeleteFaceSetJobWithCallback(request *CreateDeleteFaceSetJobRequest, callback func(response *CreateDeleteFaceSetJobResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *CreateDeleteFaceSetJobResponse
-		var err error
-		defer close(result)
-		response, err = client.CreateDeleteFaceSetJob(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// CreateDeleteFaceSetJobRequest is the request struct for api CreateDeleteFaceSetJob
-type CreateDeleteFaceSetJobRequest struct {
-	*requests.RpcRequest
-	NotifyTopicName string `position:"Query" name:"NotifyTopicName"`
-	NotifyEndpoint  string `position:"Query" name:"NotifyEndpoint"`
-	Project         string `position:"Query" name:"Project"`
-	SetId           string `position:"Query" name:"SetId"`
-	CheckEmpty      string `position:"Query" name:"CheckEmpty"`
-}
-
-// CreateDeleteFaceSetJobResponse is the response struct for api CreateDeleteFaceSetJob
-type CreateDeleteFaceSetJobResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-	JobId     string `json:"JobId" xml:"JobId"`
-	JobType   string `json:"JobType" xml:"JobType"`
-}
-
-// CreateCreateDeleteFaceSetJobRequest creates a request to invoke CreateDeleteFaceSetJob API
-func CreateCreateDeleteFaceSetJobRequest() (request *CreateDeleteFaceSetJobRequest) {
-	request = &CreateDeleteFaceSetJobRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("imm", "2017-09-06", "CreateDeleteFaceSetJob", "imm", "openAPI")
-	return
-}
-
-// CreateCreateDeleteFaceSetJobResponse creates a response to parse from CreateDeleteFaceSetJob response
-func CreateCreateDeleteFaceSetJobResponse() (response *CreateDeleteFaceSetJobResponse) {
-	response = &CreateDeleteFaceSetJobResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

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

+ 0 - 109
services/imm/create_group_faces_job.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"
-)
-
-// CreateGroupFacesJob invokes the imm.CreateGroupFacesJob API synchronously
-// api document: https://help.aliyun.com/api/imm/creategroupfacesjob.html
-func (client *Client) CreateGroupFacesJob(request *CreateGroupFacesJobRequest) (response *CreateGroupFacesJobResponse, err error) {
-	response = CreateCreateGroupFacesJobResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// CreateGroupFacesJobWithChan invokes the imm.CreateGroupFacesJob API asynchronously
-// api document: https://help.aliyun.com/api/imm/creategroupfacesjob.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateGroupFacesJobWithChan(request *CreateGroupFacesJobRequest) (<-chan *CreateGroupFacesJobResponse, <-chan error) {
-	responseChan := make(chan *CreateGroupFacesJobResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.CreateGroupFacesJob(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// CreateGroupFacesJobWithCallback invokes the imm.CreateGroupFacesJob API asynchronously
-// api document: https://help.aliyun.com/api/imm/creategroupfacesjob.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateGroupFacesJobWithCallback(request *CreateGroupFacesJobRequest, callback func(response *CreateGroupFacesJobResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *CreateGroupFacesJobResponse
-		var err error
-		defer close(result)
-		response, err = client.CreateGroupFacesJob(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// CreateGroupFacesJobRequest is the request struct for api CreateGroupFacesJob
-type CreateGroupFacesJobRequest struct {
-	*requests.RpcRequest
-	NotifyTopicName string `position:"Query" name:"NotifyTopicName"`
-	NotifyEndpoint  string `position:"Query" name:"NotifyEndpoint"`
-	Project         string `position:"Query" name:"Project"`
-	SetId           string `position:"Query" name:"SetId"`
-	Operation       string `position:"Query" name:"Operation"`
-}
-
-// CreateGroupFacesJobResponse is the response struct for api CreateGroupFacesJob
-type CreateGroupFacesJobResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-	JobId     string `json:"JobId" xml:"JobId"`
-	JobType   string `json:"JobType" xml:"JobType"`
-}
-
-// CreateCreateGroupFacesJobRequest creates a request to invoke CreateGroupFacesJob API
-func CreateCreateGroupFacesJobRequest() (request *CreateGroupFacesJobRequest) {
-	request = &CreateGroupFacesJobRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("imm", "2017-09-06", "CreateGroupFacesJob", "imm", "openAPI")
-	return
-}
-
-// CreateCreateGroupFacesJobResponse creates a response to parse from CreateGroupFacesJob response
-func CreateCreateGroupFacesJobResponse() (response *CreateGroupFacesJobResponse) {
-	response = &CreateGroupFacesJobResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 111
services/imm/create_index_face_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"
-)
-
-// CreateIndexFaceJob invokes the imm.CreateIndexFaceJob API synchronously
-// api document: https://help.aliyun.com/api/imm/createindexfacejob.html
-func (client *Client) CreateIndexFaceJob(request *CreateIndexFaceJobRequest) (response *CreateIndexFaceJobResponse, err error) {
-	response = CreateCreateIndexFaceJobResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// CreateIndexFaceJobWithChan invokes the imm.CreateIndexFaceJob API asynchronously
-// api document: https://help.aliyun.com/api/imm/createindexfacejob.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateIndexFaceJobWithChan(request *CreateIndexFaceJobRequest) (<-chan *CreateIndexFaceJobResponse, <-chan error) {
-	responseChan := make(chan *CreateIndexFaceJobResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.CreateIndexFaceJob(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// CreateIndexFaceJobWithCallback invokes the imm.CreateIndexFaceJob API asynchronously
-// api document: https://help.aliyun.com/api/imm/createindexfacejob.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateIndexFaceJobWithCallback(request *CreateIndexFaceJobRequest, callback func(response *CreateIndexFaceJobResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *CreateIndexFaceJobResponse
-		var err error
-		defer close(result)
-		response, err = client.CreateIndexFaceJob(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// CreateIndexFaceJobRequest is the request struct for api CreateIndexFaceJob
-type CreateIndexFaceJobRequest struct {
-	*requests.RpcRequest
-	Chain           string `position:"Query" name:"Chain"`
-	SrcUris         string `position:"Query" name:"SrcUris"`
-	NotifyTopicName string `position:"Query" name:"NotifyTopicName"`
-	NotifyEndpoint  string `position:"Query" name:"NotifyEndpoint"`
-	Project         string `position:"Query" name:"Project"`
-	SetId           string `position:"Query" name:"SetId"`
-	Force           string `position:"Query" name:"Force"`
-}
-
-// CreateIndexFaceJobResponse is the response struct for api CreateIndexFaceJob
-type CreateIndexFaceJobResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-	JobId     string `json:"JobId" xml:"JobId"`
-	JobType   string `json:"JobType" xml:"JobType"`
-}
-
-// CreateCreateIndexFaceJobRequest creates a request to invoke CreateIndexFaceJob API
-func CreateCreateIndexFaceJobRequest() (request *CreateIndexFaceJobRequest) {
-	request = &CreateIndexFaceJobRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("imm", "2017-09-06", "CreateIndexFaceJob", "imm", "openAPI")
-	return
-}
-
-// CreateCreateIndexFaceJobResponse creates a response to parse from CreateIndexFaceJob response
-func CreateCreateIndexFaceJobResponse() (response *CreateIndexFaceJobResponse) {
-	response = &CreateIndexFaceJobResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

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

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

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

+ 0 - 107
services/imm/detect_face.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"
-)
-
-// DetectFace invokes the imm.DetectFace API synchronously
-// api document: https://help.aliyun.com/api/imm/detectface.html
-func (client *Client) DetectFace(request *DetectFaceRequest) (response *DetectFaceResponse, err error) {
-	response = CreateDetectFaceResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DetectFaceWithChan invokes the imm.DetectFace API asynchronously
-// api document: https://help.aliyun.com/api/imm/detectface.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DetectFaceWithChan(request *DetectFaceRequest) (<-chan *DetectFaceResponse, <-chan error) {
-	responseChan := make(chan *DetectFaceResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DetectFace(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DetectFaceWithCallback invokes the imm.DetectFace API asynchronously
-// api document: https://help.aliyun.com/api/imm/detectface.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DetectFaceWithCallback(request *DetectFaceRequest, callback func(response *DetectFaceResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DetectFaceResponse
-		var err error
-		defer close(result)
-		response, err = client.DetectFace(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DetectFaceRequest is the request struct for api DetectFace
-type DetectFaceRequest struct {
-	*requests.RpcRequest
-	SrcUris string `position:"Query" name:"SrcUris"`
-	Project string `position:"Query" name:"Project"`
-}
-
-// DetectFaceResponse is the response struct for api DetectFace
-type DetectFaceResponse 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"`
-}
-
-// CreateDetectFaceRequest creates a request to invoke DetectFace API
-func CreateDetectFaceRequest() (request *DetectFaceRequest) {
-	request = &DetectFaceRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("imm", "2017-09-06", "DetectFace", "imm", "openAPI")
-	return
-}
-
-// CreateDetectFaceResponse creates a response to parse from DetectFace response
-func CreateDetectFaceResponse() (response *DetectFaceResponse) {
-	response = &DetectFaceResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 11 - 8
services/imm/find_images.go

@@ -77,24 +77,27 @@ func (client *Client) FindImagesWithCallback(request *FindImagesRequest, callbac
 type FindImagesRequest struct {
 	*requests.RpcRequest
 	Gender           string `position:"Query" name:"Gender"`
-	RemarksAPrefix   string `position:"Query" name:"RemarksAPrefix"`
 	Project          string `position:"Query" name:"Project"`
-	OrderBy          string `position:"Query" name:"OrderBy"`
+	ExternalId       string `position:"Query" name:"ExternalId"`
 	ImageSizeRange   string `position:"Query" name:"ImageSizeRange"`
 	RemarksBPrefix   string `position:"Query" name:"RemarksBPrefix"`
+	LocationBoundary string `position:"Query" name:"LocationBoundary"`
+	ImageTimeRange   string `position:"Query" name:"ImageTimeRange"`
+	OCRContentsMatch string `position:"Query" name:"OCRContentsMatch"`
+	RemarksDPrefix   string `position:"Query" name:"RemarksDPrefix"`
+	SourceType       string `position:"Query" name:"SourceType"`
+	AgeRange         string `position:"Query" name:"AgeRange"`
+	Order            string `position:"Query" name:"Order"`
+	RemarksAPrefix   string `position:"Query" name:"RemarksAPrefix"`
+	OrderBy          string `position:"Query" name:"OrderBy"`
 	TagNames         string `position:"Query" name:"TagNames"`
 	SourceUriPrefix  string `position:"Query" name:"SourceUriPrefix"`
-	LocationBoundary string `position:"Query" name:"LocationBoundary"`
 	Emotion          string `position:"Query" name:"Emotion"`
-	ImageTimeRange   string `position:"Query" name:"ImageTimeRange"`
 	Marker           string `position:"Query" name:"Marker"`
-	OCRContentsMatch string `position:"Query" name:"OCRContentsMatch"`
+	RemarksCPrefix   string `position:"Query" name:"RemarksCPrefix"`
 	CreateTimeRange  string `position:"Query" name:"CreateTimeRange"`
 	SetId            string `position:"Query" name:"SetId"`
-	SourceType       string `position:"Query" name:"SourceType"`
 	UpdateTimeRange  string `position:"Query" name:"UpdateTimeRange"`
-	AgeRange         string `position:"Query" name:"AgeRange"`
-	Order            string `position:"Query" name:"Order"`
 }
 
 // FindImagesResponse is the response struct for api FindImages

+ 0 - 112
services/imm/get_face_detail.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"
-)
-
-// GetFaceDetail invokes the imm.GetFaceDetail API synchronously
-// api document: https://help.aliyun.com/api/imm/getfacedetail.html
-func (client *Client) GetFaceDetail(request *GetFaceDetailRequest) (response *GetFaceDetailResponse, err error) {
-	response = CreateGetFaceDetailResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// GetFaceDetailWithChan invokes the imm.GetFaceDetail API asynchronously
-// api document: https://help.aliyun.com/api/imm/getfacedetail.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) GetFaceDetailWithChan(request *GetFaceDetailRequest) (<-chan *GetFaceDetailResponse, <-chan error) {
-	responseChan := make(chan *GetFaceDetailResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.GetFaceDetail(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// GetFaceDetailWithCallback invokes the imm.GetFaceDetail API asynchronously
-// api document: https://help.aliyun.com/api/imm/getfacedetail.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) GetFaceDetailWithCallback(request *GetFaceDetailRequest, callback func(response *GetFaceDetailResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *GetFaceDetailResponse
-		var err error
-		defer close(result)
-		response, err = client.GetFaceDetail(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// GetFaceDetailRequest is the request struct for api GetFaceDetail
-type GetFaceDetailRequest struct {
-	*requests.RpcRequest
-	Project string `position:"Query" name:"Project"`
-	SetId   string `position:"Query" name:"SetId"`
-	FaceId  string `position:"Query" name:"FaceId"`
-}
-
-// GetFaceDetailResponse is the response struct for api GetFaceDetail
-type GetFaceDetailResponse struct {
-	*responses.BaseResponse
-	SetId         string        `json:"SetId" xml:"SetId"`
-	FaceId        string        `json:"FaceId" xml:"FaceId"`
-	PhotoId       string        `json:"PhotoId" xml:"PhotoId"`
-	PhotoUrl      string        `json:"PhotoUrl" xml:"PhotoUrl"`
-	GroupId       string        `json:"GroupId" xml:"GroupId"`
-	RequestId     string        `json:"RequestId" xml:"RequestId"`
-	FaceRectangle FaceRectangle `json:"FaceRectangle" xml:"FaceRectangle"`
-	FaceAttribute FaceAttribute `json:"FaceAttribute" xml:"FaceAttribute"`
-}
-
-// CreateGetFaceDetailRequest creates a request to invoke GetFaceDetail API
-func CreateGetFaceDetailRequest() (request *GetFaceDetailRequest) {
-	request = &GetFaceDetailRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("imm", "2017-09-06", "GetFaceDetail", "imm", "openAPI")
-	return
-}
-
-// CreateGetFaceDetailResponse creates a response to parse from GetFaceDetail response
-func CreateGetFaceDetailResponse() (response *GetFaceDetailResponse) {
-	response = &GetFaceDetailResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 111
services/imm/get_face_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"
-)
-
-// GetFaceJob invokes the imm.GetFaceJob API synchronously
-// api document: https://help.aliyun.com/api/imm/getfacejob.html
-func (client *Client) GetFaceJob(request *GetFaceJobRequest) (response *GetFaceJobResponse, err error) {
-	response = CreateGetFaceJobResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// GetFaceJobWithChan invokes the imm.GetFaceJob API asynchronously
-// api document: https://help.aliyun.com/api/imm/getfacejob.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) GetFaceJobWithChan(request *GetFaceJobRequest) (<-chan *GetFaceJobResponse, <-chan error) {
-	responseChan := make(chan *GetFaceJobResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.GetFaceJob(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// GetFaceJobWithCallback invokes the imm.GetFaceJob API asynchronously
-// api document: https://help.aliyun.com/api/imm/getfacejob.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) GetFaceJobWithCallback(request *GetFaceJobRequest, callback func(response *GetFaceJobResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *GetFaceJobResponse
-		var err error
-		defer close(result)
-		response, err = client.GetFaceJob(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// GetFaceJobRequest is the request struct for api GetFaceJob
-type GetFaceJobRequest struct {
-	*requests.RpcRequest
-	JobId   string `position:"Query" name:"JobId"`
-	Project string `position:"Query" name:"Project"`
-}
-
-// GetFaceJobResponse is the response struct for api GetFaceJob
-type GetFaceJobResponse 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"`
-}
-
-// CreateGetFaceJobRequest creates a request to invoke GetFaceJob API
-func CreateGetFaceJobRequest() (request *GetFaceJobRequest) {
-	request = &GetFaceJobRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("imm", "2017-09-06", "GetFaceJob", "imm", "openAPI")
-	return
-}
-
-// CreateGetFaceJobResponse creates a response to parse from GetFaceJob response
-func CreateGetFaceJobResponse() (response *GetFaceJobResponse) {
-	response = &GetFaceJobResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

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

+ 0 - 109
services/imm/get_face_set_detail.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"
-)
-
-// GetFaceSetDetail invokes the imm.GetFaceSetDetail API synchronously
-// api document: https://help.aliyun.com/api/imm/getfacesetdetail.html
-func (client *Client) GetFaceSetDetail(request *GetFaceSetDetailRequest) (response *GetFaceSetDetailResponse, err error) {
-	response = CreateGetFaceSetDetailResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// GetFaceSetDetailWithChan invokes the imm.GetFaceSetDetail API asynchronously
-// api document: https://help.aliyun.com/api/imm/getfacesetdetail.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) GetFaceSetDetailWithChan(request *GetFaceSetDetailRequest) (<-chan *GetFaceSetDetailResponse, <-chan error) {
-	responseChan := make(chan *GetFaceSetDetailResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.GetFaceSetDetail(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// GetFaceSetDetailWithCallback invokes the imm.GetFaceSetDetail API asynchronously
-// api document: https://help.aliyun.com/api/imm/getfacesetdetail.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) GetFaceSetDetailWithCallback(request *GetFaceSetDetailRequest, callback func(response *GetFaceSetDetailResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *GetFaceSetDetailResponse
-		var err error
-		defer close(result)
-		response, err = client.GetFaceSetDetail(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// GetFaceSetDetailRequest is the request struct for api GetFaceSetDetail
-type GetFaceSetDetailRequest struct {
-	*requests.RpcRequest
-	Marker          string `position:"Query" name:"Marker"`
-	Project         string `position:"Query" name:"Project"`
-	SetId           string `position:"Query" name:"SetId"`
-	ReturnAttribute string `position:"Query" name:"ReturnAttribute"`
-}
-
-// GetFaceSetDetailResponse is the response struct for api GetFaceSetDetail
-type GetFaceSetDetailResponse struct {
-	*responses.BaseResponse
-	RequestId   string            `json:"RequestId" xml:"RequestId"`
-	SetId       string            `json:"SetId" xml:"SetId"`
-	NextMarker  string            `json:"NextMarker" xml:"NextMarker"`
-	FaceDetails []FaceDetailsItem `json:"FaceDetails" xml:"FaceDetails"`
-}
-
-// CreateGetFaceSetDetailRequest creates a request to invoke GetFaceSetDetail API
-func CreateGetFaceSetDetailRequest() (request *GetFaceSetDetailRequest) {
-	request = &GetFaceSetDetailRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("imm", "2017-09-06", "GetFaceSetDetail", "imm", "openAPI")
-	return
-}
-
-// CreateGetFaceSetDetailResponse creates a response to parse from GetFaceSetDetail response
-func CreateGetFaceSetDetailResponse() (response *GetFaceSetDetailResponse) {
-	response = &GetFaceSetDetailResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 3 - 0
services/imm/get_image.go

@@ -114,6 +114,9 @@ type GetImageResponse struct {
 	CelebrityModifyTime string                `json:"CelebrityModifyTime" xml:"CelebrityModifyTime"`
 	CelebrityFailReason string                `json:"CelebrityFailReason" xml:"CelebrityFailReason"`
 	TagsStatus          string                `json:"TagsStatus" xml:"TagsStatus"`
+	RemarksC            string                `json:"RemarksC" xml:"RemarksC"`
+	RemarksD            string                `json:"RemarksD" xml:"RemarksD"`
+	ExternalId          string                `json:"ExternalId" xml:"ExternalId"`
 	Faces               []FacesItemInGetImage `json:"Faces" xml:"Faces"`
 	OCR                 []OCRItem             `json:"OCR" xml:"OCR"`
 	Tags                []TagsItem            `json:"Tags" xml:"Tags"`

+ 3 - 0
services/imm/get_video.go

@@ -109,6 +109,9 @@ type GetVideoResponse struct {
 	ProcessFailReason   string          `json:"ProcessFailReason" xml:"ProcessFailReason"`
 	VideoTagsFailReason string          `json:"VideoTagsFailReason" xml:"VideoTagsFailReason"`
 	CelebrityFailReason string          `json:"CelebrityFailReason" xml:"CelebrityFailReason"`
+	RemarksC            string          `json:"RemarksC" xml:"RemarksC"`
+	RemarksD            string          `json:"RemarksD" xml:"RemarksD"`
+	ExternalId          string          `json:"ExternalId" xml:"ExternalId"`
 	Celebrity           []CelebrityItem `json:"Celebrity" xml:"Celebrity"`
 	VideoTags           []VideoTagsItem `json:"VideoTags" xml:"VideoTags"`
 	Persons             []PersonsItem   `json:"Persons" xml:"Persons"`

+ 0 - 108
services/imm/group_faces.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"
-)
-
-// GroupFaces invokes the imm.GroupFaces API synchronously
-// api document: https://help.aliyun.com/api/imm/groupfaces.html
-func (client *Client) GroupFaces(request *GroupFacesRequest) (response *GroupFacesResponse, err error) {
-	response = CreateGroupFacesResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// GroupFacesWithChan invokes the imm.GroupFaces API asynchronously
-// api document: https://help.aliyun.com/api/imm/groupfaces.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) GroupFacesWithChan(request *GroupFacesRequest) (<-chan *GroupFacesResponse, <-chan error) {
-	responseChan := make(chan *GroupFacesResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.GroupFaces(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// GroupFacesWithCallback invokes the imm.GroupFaces API asynchronously
-// api document: https://help.aliyun.com/api/imm/groupfaces.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) GroupFacesWithCallback(request *GroupFacesRequest, callback func(response *GroupFacesResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *GroupFacesResponse
-		var err error
-		defer close(result)
-		response, err = client.GroupFaces(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// GroupFacesRequest is the request struct for api GroupFaces
-type GroupFacesRequest struct {
-	*requests.RpcRequest
-	Project   string `position:"Query" name:"Project"`
-	SetId     string `position:"Query" name:"SetId"`
-	Operation string `position:"Query" name:"Operation"`
-}
-
-// GroupFacesResponse is the response struct for api GroupFaces
-type GroupFacesResponse struct {
-	*responses.BaseResponse
-	RequestId string       `json:"RequestId" xml:"RequestId"`
-	SetId     string       `json:"SetId" xml:"SetId"`
-	HasMore   int          `json:"HasMore" xml:"HasMore"`
-	Groups    []GroupsItem `json:"Groups" xml:"Groups"`
-}
-
-// CreateGroupFacesRequest creates a request to invoke GroupFaces API
-func CreateGroupFacesRequest() (request *GroupFacesRequest) {
-	request = &GroupFacesRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("imm", "2017-09-06", "GroupFaces", "imm", "openAPI")
-	return
-}
-
-// CreateGroupFacesResponse creates a response to parse from GroupFaces response
-func CreateGroupFacesResponse() (response *GroupFacesResponse) {
-	response = &GroupFacesResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

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

+ 9 - 3
services/imm/index_image.go

@@ -76,13 +76,16 @@ func (client *Client) IndexImageWithCallback(request *IndexImageRequest, callbac
 // IndexImageRequest is the request struct for api IndexImage
 type IndexImageRequest struct {
 	*requests.RpcRequest
+	RemarksB       string `position:"Query" name:"RemarksB"`
+	Project        string `position:"Query" name:"Project"`
+	RemarksA       string `position:"Query" name:"RemarksA"`
+	ExternalId     string `position:"Query" name:"ExternalId"`
 	ImageUri       string `position:"Query" name:"ImageUri"`
 	SourceUri      string `position:"Query" name:"SourceUri"`
 	SourcePosition string `position:"Query" name:"SourcePosition"`
-	RemarksB       string `position:"Query" name:"RemarksB"`
-	Project        string `position:"Query" name:"Project"`
+	RemarksD       string `position:"Query" name:"RemarksD"`
+	RemarksC       string `position:"Query" name:"RemarksC"`
 	SetId          string `position:"Query" name:"SetId"`
-	RemarksA       string `position:"Query" name:"RemarksA"`
 	SourceType     string `position:"Query" name:"SourceType"`
 }
 
@@ -96,6 +99,9 @@ type IndexImageResponse struct {
 	RemarksB   string `json:"RemarksB" xml:"RemarksB"`
 	CreateTime string `json:"CreateTime" xml:"CreateTime"`
 	ModifyTime string `json:"ModifyTime" xml:"ModifyTime"`
+	RemarksC   string `json:"RemarksC" xml:"RemarksC"`
+	RemarksD   string `json:"RemarksD" xml:"RemarksD"`
+	ExternalId string `json:"ExternalId" xml:"ExternalId"`
 }
 
 // CreateIndexImageRequest creates a request to invoke IndexImage API

+ 17 - 11
services/imm/index_video.go

@@ -76,17 +76,20 @@ func (client *Client) IndexVideoWithCallback(request *IndexVideoRequest, callbac
 // IndexVideoRequest is the request struct for api IndexVideo
 type IndexVideoRequest struct {
 	*requests.RpcRequest
-	GrabType  string           `position:"Query" name:"GrabType"`
-	RemarksB  string           `position:"Query" name:"RemarksB"`
-	Project   string           `position:"Query" name:"Project"`
-	RemarksA  string           `position:"Query" name:"RemarksA"`
-	EndTime   string           `position:"Query" name:"EndTime"`
-	StartTime string           `position:"Query" name:"StartTime"`
-	VideoUri  string           `position:"Query" name:"VideoUri"`
-	SaveType  requests.Boolean `position:"Query" name:"SaveType"`
-	SetId     string           `position:"Query" name:"SetId"`
-	Interval  string           `position:"Query" name:"Interval"`
-	TgtUri    string           `position:"Query" name:"TgtUri"`
+	GrabType   string           `position:"Query" name:"GrabType"`
+	RemarksB   string           `position:"Query" name:"RemarksB"`
+	Project    string           `position:"Query" name:"Project"`
+	RemarksA   string           `position:"Query" name:"RemarksA"`
+	EndTime    string           `position:"Query" name:"EndTime"`
+	ExternalId string           `position:"Query" name:"ExternalId"`
+	StartTime  string           `position:"Query" name:"StartTime"`
+	VideoUri   string           `position:"Query" name:"VideoUri"`
+	SaveType   requests.Boolean `position:"Query" name:"SaveType"`
+	RemarksD   string           `position:"Query" name:"RemarksD"`
+	RemarksC   string           `position:"Query" name:"RemarksC"`
+	SetId      string           `position:"Query" name:"SetId"`
+	Interval   string           `position:"Query" name:"Interval"`
+	TgtUri     string           `position:"Query" name:"TgtUri"`
 }
 
 // IndexVideoResponse is the response struct for api IndexVideo
@@ -105,6 +108,9 @@ type IndexVideoResponse struct {
 	EndTime    string  `json:"EndTime" xml:"EndTime"`
 	SaveType   bool    `json:"SaveType" xml:"SaveType"`
 	TgtUri     string  `json:"TgtUri" xml:"TgtUri"`
+	RemarksC   string  `json:"RemarksC" xml:"RemarksC"`
+	RemarksD   string  `json:"RemarksD" xml:"RemarksD"`
+	ExternalId string  `json:"ExternalId" xml:"ExternalId"`
 }
 
 // CreateIndexVideoRequest creates a request to invoke IndexVideo API

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

+ 0 - 108
services/imm/list_face_groups.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"
-)
-
-// ListFaceGroups invokes the imm.ListFaceGroups API synchronously
-// api document: https://help.aliyun.com/api/imm/listfacegroups.html
-func (client *Client) ListFaceGroups(request *ListFaceGroupsRequest) (response *ListFaceGroupsResponse, err error) {
-	response = CreateListFaceGroupsResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// ListFaceGroupsWithChan invokes the imm.ListFaceGroups API asynchronously
-// api document: https://help.aliyun.com/api/imm/listfacegroups.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) ListFaceGroupsWithChan(request *ListFaceGroupsRequest) (<-chan *ListFaceGroupsResponse, <-chan error) {
-	responseChan := make(chan *ListFaceGroupsResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.ListFaceGroups(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// ListFaceGroupsWithCallback invokes the imm.ListFaceGroups API asynchronously
-// api document: https://help.aliyun.com/api/imm/listfacegroups.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) ListFaceGroupsWithCallback(request *ListFaceGroupsRequest, callback func(response *ListFaceGroupsResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *ListFaceGroupsResponse
-		var err error
-		defer close(result)
-		response, err = client.ListFaceGroups(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// ListFaceGroupsRequest is the request struct for api ListFaceGroups
-type ListFaceGroupsRequest struct {
-	*requests.RpcRequest
-	MaxKeys requests.Integer `position:"Query" name:"MaxKeys"`
-	Marker  requests.Integer `position:"Query" name:"Marker"`
-	Project string           `position:"Query" name:"Project"`
-	SetId   string           `position:"Query" name:"SetId"`
-}
-
-// ListFaceGroupsResponse is the response struct for api ListFaceGroups
-type ListFaceGroupsResponse struct {
-	*responses.BaseResponse
-	RequestId  string                       `json:"RequestId" xml:"RequestId"`
-	NextMarker int                          `json:"NextMarker" xml:"NextMarker"`
-	Groups     []GroupsItemInListFaceGroups `json:"Groups" xml:"Groups"`
-}
-
-// CreateListFaceGroupsRequest creates a request to invoke ListFaceGroups API
-func CreateListFaceGroupsRequest() (request *ListFaceGroupsRequest) {
-	request = &ListFaceGroupsRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("imm", "2017-09-06", "ListFaceGroups", "imm", "openAPI")
-	return
-}
-
-// CreateListFaceGroupsResponse creates a response to parse from ListFaceGroups response
-func CreateListFaceGroupsResponse() (response *ListFaceGroupsResponse) {
-	response = &ListFaceGroupsResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

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

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

+ 0 - 109
services/imm/list_image_faces.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"
-)
-
-// ListImageFaces invokes the imm.ListImageFaces API synchronously
-// api document: https://help.aliyun.com/api/imm/listimagefaces.html
-func (client *Client) ListImageFaces(request *ListImageFacesRequest) (response *ListImageFacesResponse, err error) {
-	response = CreateListImageFacesResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// ListImageFacesWithChan invokes the imm.ListImageFaces API asynchronously
-// api document: https://help.aliyun.com/api/imm/listimagefaces.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) ListImageFacesWithChan(request *ListImageFacesRequest) (<-chan *ListImageFacesResponse, <-chan error) {
-	responseChan := make(chan *ListImageFacesResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.ListImageFaces(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// ListImageFacesWithCallback invokes the imm.ListImageFaces API asynchronously
-// api document: https://help.aliyun.com/api/imm/listimagefaces.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) ListImageFacesWithCallback(request *ListImageFacesRequest, callback func(response *ListImageFacesResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *ListImageFacesResponse
-		var err error
-		defer close(result)
-		response, err = client.ListImageFaces(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// ListImageFacesRequest is the request struct for api ListImageFaces
-type ListImageFacesRequest struct {
-	*requests.RpcRequest
-	MaxKeys requests.Integer `position:"Query" name:"MaxKeys"`
-	Marker  string           `position:"Query" name:"Marker"`
-	Project string           `position:"Query" name:"Project"`
-	SetId   string           `position:"Query" name:"SetId"`
-	SrcUri  string           `position:"Query" name:"SrcUri"`
-}
-
-// ListImageFacesResponse is the response struct for api ListImageFaces
-type ListImageFacesResponse struct {
-	*responses.BaseResponse
-	RequestId  string      `json:"RequestId" xml:"RequestId"`
-	NextMarker string      `json:"NextMarker" xml:"NextMarker"`
-	Faces      []FacesItem `json:"Faces" xml:"Faces"`
-}
-
-// CreateListImageFacesRequest creates a request to invoke ListImageFaces API
-func CreateListImageFacesRequest() (request *ListImageFacesRequest) {
-	request = &ListImageFacesRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("imm", "2017-09-06", "ListImageFaces", "imm", "openAPI")
-	return
-}
-
-// CreateListImageFacesResponse creates a response to parse from ListImageFaces response
-func CreateListImageFacesResponse() (response *ListImageFacesResponse) {
-	response = &ListImageFacesResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 21
services/imm/struct_age.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.
-
-// Age is a nested struct in imm response
-type Age struct {
-	Value string `json:"Value" xml:"Value"`
-}

+ 0 - 21
services/imm/struct_age_in_detect_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.
-
-// AgeInDetectFace is a nested struct in imm response
-type AgeInDetectFace struct {
-	Value int `json:"Value" xml:"Value"`
-}

+ 0 - 21
services/imm/struct_age_in_index_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.
-
-// AgeInIndexFace is a nested struct in imm response
-type AgeInIndexFace struct {
-	Value int `json:"Value" xml:"Value"`
-}

+ 3 - 0
services/imm/struct_audios_item.go

@@ -35,5 +35,8 @@ type AudiosItem struct {
 	AudioFormat          string           `json:"AudioFormat" xml:"AudioFormat"`
 	AudioTextsFailReason string           `json:"AudioTextsFailReason" xml:"AudioTextsFailReason"`
 	ProcessFailReason    string           `json:"ProcessFailReason" xml:"ProcessFailReason"`
+	RemarksC             string           `json:"RemarksC" xml:"RemarksC"`
+	RemarksD             string           `json:"RemarksD" xml:"RemarksD"`
+	ExternalId           string           `json:"ExternalId" xml:"ExternalId"`
 	AudioTexts           []AudioTextsItem `json:"AudioTexts" xml:"AudioTexts"`
 }

+ 0 - 21
services/imm/struct_blur.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.
-
-// Blur is a nested struct in imm response
-type Blur struct {
-	Blurness Blurness `json:"Blurness" xml:"Blurness"`
-}

+ 0 - 22
services/imm/struct_blurness.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.
-
-// Blurness is a nested struct in imm response
-type Blurness struct {
-	Value     float64 `json:"Value" xml:"Value"`
-	Threshold float64 `json:"Threshold" xml:"Threshold"`
-}

+ 0 - 22
services/imm/struct_eye_status.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.
-
-// EyeStatus is a nested struct in imm response
-type EyeStatus struct {
-	LeftEyeStatus  LeftEyeStatus  `json:"LeftEyeStatus" xml:"LeftEyeStatus"`
-	RightEyeStatus RightEyeStatus `json:"RightEyeStatus" xml:"RightEyeStatus"`
-}

+ 0 - 26
services/imm/struct_face_attribute.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.
-
-// FaceAttribute is a nested struct in imm response
-type FaceAttribute struct {
-	Blur        Blur           `json:"Blur" xml:"Blur"`
-	Gender      Gender         `json:"Gender" xml:"Gender"`
-	Age         AgeInIndexFace `json:"Age" xml:"Age"`
-	FaceQuality FaceQuality    `json:"FaceQuality" xml:"FaceQuality"`
-	EyeStatus   EyeStatus      `json:"EyeStatus" xml:"EyeStatus"`
-	HeadPose    HeadPose       `json:"HeadPose" xml:"HeadPose"`
-}

+ 0 - 21
services/imm/struct_face_details.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.
-
-// FaceDetails is a nested struct in imm response
-type FaceDetails struct {
-	FaceDetailsItem []FaceDetailsItem `json:"FaceDetailsItem" xml:"FaceDetailsItem"`
-}

+ 0 - 27
services/imm/struct_face_details_item.go

@@ -1,27 +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.
-
-// FaceDetailsItem is a nested struct in imm response
-type FaceDetailsItem struct {
-	FaceId        string        `json:"FaceId" xml:"FaceId"`
-	SrcUri        string        `json:"SrcUri" xml:"SrcUri"`
-	PhotoId       string        `json:"PhotoId" xml:"PhotoId"`
-	GroupId       string        `json:"GroupId" xml:"GroupId"`
-	UnGroupReason string        `json:"UnGroupReason" xml:"UnGroupReason"`
-	FaceRectangle FaceRectangle `json:"FaceRectangle" xml:"FaceRectangle"`
-	FaceAttribute FaceAttribute `json:"FaceAttribute" xml:"FaceAttribute"`
-}

+ 0 - 22
services/imm/struct_face_quality.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.
-
-// FaceQuality is a nested struct in imm response
-type FaceQuality struct {
-	Value     float64 `json:"Value" xml:"Value"`
-	Threshold float64 `json:"Threshold" xml:"Threshold"`
-}

+ 0 - 24
services/imm/struct_face_rectangle.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.
-
-// FaceRectangle is a nested struct in imm response
-type FaceRectangle struct {
-	Width  int `json:"Width" xml:"Width"`
-	Height int `json:"Height" xml:"Height"`
-	Top    int `json:"Top" xml:"Top"`
-	Left   int `json:"Left" xml:"Left"`
-}

+ 0 - 24
services/imm/struct_face_rectangle_in_detect_face.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.
-
-// FaceRectangleInDetectFace is a nested struct in imm response
-type FaceRectangleInDetectFace struct {
-	Top    string `json:"Top" xml:"Top"`
-	Left   string `json:"Left" xml:"Left"`
-	Width  string `json:"Width" xml:"Width"`
-	Height string `json:"Height" xml:"Height"`
-}

+ 0 - 24
services/imm/struct_face_rectangle_in_index_face.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.
-
-// FaceRectangleInIndexFace is a nested struct in imm response
-type FaceRectangleInIndexFace struct {
-	Top    string `json:"Top" xml:"Top"`
-	Left   string `json:"Left" xml:"Left"`
-	Width  string `json:"Width" xml:"Width"`
-	Height string `json:"Height" xml:"Height"`
-}

+ 0 - 21
services/imm/struct_faces_in_detect_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.
-
-// FacesInDetectFace is a nested struct in imm response
-type FacesInDetectFace struct {
-	FacesItem []FacesItem `json:"FacesItem" xml:"FacesItem"`
-}

+ 0 - 21
services/imm/struct_faces_in_index_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.
-
-// FacesInIndexFace is a nested struct in imm response
-type FacesInIndexFace struct {
-	FacesItem []FacesItem `json:"FacesItem" xml:"FacesItem"`
-}

+ 0 - 21
services/imm/struct_faces_in_list_image_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.
-
-// FacesInListImageFaces is a nested struct in imm response
-type FacesInListImageFaces struct {
-	FacesItem []FacesItem `json:"FacesItem" xml:"FacesItem"`
-}

+ 0 - 21
services/imm/struct_faces_in_update_face_group_by_id.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.
-
-// FacesInUpdateFaceGroupById is a nested struct in imm response
-type FacesInUpdateFaceGroupById struct {
-	FacesItem []FacesItem `json:"FacesItem" xml:"FacesItem"`
-}

+ 14 - 18
services/imm/struct_faces_item.go

@@ -17,22 +17,18 @@ package imm
 
 // FacesItem is a nested struct in imm response
 type FacesItem struct {
-	FaceConfidence       float64                  `json:"FaceConfidence" xml:"FaceConfidence"`
-	EmotionConfidence    float64                  `json:"EmotionConfidence" xml:"EmotionConfidence"`
-	ImageUri             string                   `json:"ImageUri" xml:"ImageUri"`
-	Similarity           float64                  `json:"Similarity" xml:"Similarity"`
-	Attractive           float64                  `json:"Attractive" xml:"Attractive"`
-	AttractiveConfidence float64                  `json:"AttractiveConfidence" xml:"AttractiveConfidence"`
-	UnGroupReason        string                   `json:"UnGroupReason" xml:"UnGroupReason"`
-	Age                  int                      `json:"Age" xml:"Age"`
-	AgeConfidence        float64                  `json:"AgeConfidence" xml:"AgeConfidence"`
-	Gender               string                   `json:"Gender" xml:"Gender"`
-	GenderConfidence     float64                  `json:"GenderConfidence" xml:"GenderConfidence"`
-	Emotion              string                   `json:"Emotion" xml:"Emotion"`
-	FaceId               string                   `json:"FaceId" xml:"FaceId"`
-	GroupId              string                   `json:"GroupId" xml:"GroupId"`
-	FaceAttributes       FaceAttributes           `json:"FaceAttributes" xml:"FaceAttributes"`
-	FaceRectangle        FaceRectangleInIndexFace `json:"FaceRectangle" xml:"FaceRectangle"`
-	EmotionDetails       EmotionDetails           `json:"EmotionDetails" xml:"EmotionDetails"`
-	FaceAttribute        FaceAttribute            `json:"FaceAttribute" xml:"FaceAttribute"`
+	FaceConfidence       float64        `json:"FaceConfidence" xml:"FaceConfidence"`
+	EmotionConfidence    float64        `json:"EmotionConfidence" xml:"EmotionConfidence"`
+	ImageUri             string         `json:"ImageUri" xml:"ImageUri"`
+	Similarity           float64        `json:"Similarity" xml:"Similarity"`
+	Attractive           float64        `json:"Attractive" xml:"Attractive"`
+	AttractiveConfidence float64        `json:"AttractiveConfidence" xml:"AttractiveConfidence"`
+	Age                  int            `json:"Age" xml:"Age"`
+	AgeConfidence        float64        `json:"AgeConfidence" xml:"AgeConfidence"`
+	Gender               string         `json:"Gender" xml:"Gender"`
+	GenderConfidence     float64        `json:"GenderConfidence" xml:"GenderConfidence"`
+	Emotion              string         `json:"Emotion" xml:"Emotion"`
+	FaceId               string         `json:"FaceId" xml:"FaceId"`
+	FaceAttributes       FaceAttributes `json:"FaceAttributes" xml:"FaceAttributes"`
+	EmotionDetails       EmotionDetails `json:"EmotionDetails" xml:"EmotionDetails"`
 }

+ 0 - 21
services/imm/struct_fail_details_in_detect_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.
-
-// FailDetailsInDetectFace is a nested struct in imm response
-type FailDetailsInDetectFace struct {
-	FailDetailsItem []FailDetailsItem `json:"FailDetailsItem" xml:"FailDetailsItem"`
-}

+ 0 - 21
services/imm/struct_fail_details_in_index_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.
-
-// FailDetailsInIndexFace is a nested struct in imm response
-type FailDetailsInIndexFace struct {
-	FailDetailsItem []FailDetailsItem `json:"FailDetailsItem" xml:"FailDetailsItem"`
-}

+ 0 - 21
services/imm/struct_fail_update_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.
-
-// FailUpdateDetail is a nested struct in imm response
-type FailUpdateDetail struct {
-	FailUpdateDetailItem []FailUpdateDetailItem `json:"FailUpdateDetailItem" xml:"FailUpdateDetailItem"`
-}

+ 0 - 22
services/imm/struct_fail_update_detail_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.
-
-// FailUpdateDetailItem is a nested struct in imm response
-type FailUpdateDetailItem struct {
-	FaceId string `json:"FaceId" xml:"FaceId"`
-	Reason string `json:"Reason" xml:"Reason"`
-}

+ 3 - 0
services/imm/struct_frames.go

@@ -33,16 +33,19 @@ type Frames struct {
 	TagsStatus          string          `json:"TagsStatus" xml:"TagsStatus"`
 	FacesModifyTime     string          `json:"FacesModifyTime" xml:"FacesModifyTime"`
 	CelebrityModifyTime string          `json:"CelebrityModifyTime" xml:"CelebrityModifyTime"`
+	RemarksD            string          `json:"RemarksD" xml:"RemarksD"`
 	TagsFailReason      string          `json:"TagsFailReason" xml:"TagsFailReason"`
 	CelebrityStatus     string          `json:"CelebrityStatus" xml:"CelebrityStatus"`
 	OCRStatus           string          `json:"OCRStatus" xml:"OCRStatus"`
 	ImageUri            string          `json:"ImageUri" xml:"ImageUri"`
+	ExternalId          string          `json:"ExternalId" xml:"ExternalId"`
 	ImageTime           string          `json:"ImageTime" xml:"ImageTime"`
 	Location            string          `json:"Location" xml:"Location"`
 	TagsModifyTime      string          `json:"TagsModifyTime" xml:"TagsModifyTime"`
 	RemarksA            string          `json:"RemarksA" xml:"RemarksA"`
 	SourcePosition      string          `json:"SourcePosition" xml:"SourcePosition"`
 	OCRFailReason       string          `json:"OCRFailReason" xml:"OCRFailReason"`
+	RemarksC            string          `json:"RemarksC" xml:"RemarksC"`
 	SourceUri           string          `json:"SourceUri" xml:"SourceUri"`
 	ImageWidth          int             `json:"ImageWidth" xml:"ImageWidth"`
 	Faces               []FacesItem     `json:"Faces" xml:"Faces"`

+ 3 - 0
services/imm/struct_frames_item.go

@@ -45,6 +45,9 @@ type FramesItem struct {
 	CelebrityModifyTime string          `json:"CelebrityModifyTime" xml:"CelebrityModifyTime"`
 	CelebrityFailReason string          `json:"CelebrityFailReason" xml:"CelebrityFailReason"`
 	TagsStatus          string          `json:"TagsStatus" xml:"TagsStatus"`
+	RemarksC            string          `json:"RemarksC" xml:"RemarksC"`
+	RemarksD            string          `json:"RemarksD" xml:"RemarksD"`
+	ExternalId          string          `json:"ExternalId" xml:"ExternalId"`
 	Faces               []FacesItem     `json:"Faces" xml:"Faces"`
 	Tags                []TagsItem      `json:"Tags" xml:"Tags"`
 	OCR                 []OCRItem       `json:"OCR" xml:"OCR"`

+ 0 - 21
services/imm/struct_gender.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.
-
-// Gender is a nested struct in imm response
-type Gender struct {
-	Value string `json:"Value" xml:"Value"`
-}

+ 2 - 2
services/imm/struct_groups_in_group_faces.go → services/imm/struct_groups.go

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

+ 0 - 21
services/imm/struct_groups_in_list_face_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.
-
-// GroupsInListFaceGroups is a nested struct in imm response
-type GroupsInListFaceGroups struct {
-	GroupsItem []GroupsItemInListFaceGroups `json:"GroupsItem" xml:"GroupsItem"`
-}

+ 0 - 21
services/imm/struct_groups_in_list_face_search_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.
-
-// GroupsInListFaceSearchGroups is a nested struct in imm response
-type GroupsInListFaceSearchGroups struct {
-	GroupsItem []GroupsItem `json:"GroupsItem" xml:"GroupsItem"`
-}

+ 6 - 8
services/imm/struct_groups_item.go

@@ -17,12 +17,10 @@ package imm
 
 // GroupsItem is a nested struct in imm response
 type GroupsItem struct {
-	UnGroupReason string `json:"UnGroupReason" xml:"UnGroupReason"`
-	ModifyTime    string `json:"ModifyTime" xml:"ModifyTime"`
-	CreateTime    string `json:"CreateTime" xml:"CreateTime"`
-	GroupName     string `json:"GroupName" xml:"GroupName"`
-	Count         string `json:"Count" xml:"Count"`
-	FaceId        string `json:"FaceId" xml:"FaceId"`
-	GroupId       string `json:"GroupId" xml:"GroupId"`
-	Status        string `json:"Status" xml:"Status"`
+	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 - 22
services/imm/struct_groups_item_in_list_face_groups.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.
-
-// GroupsItemInListFaceGroups is a nested struct in imm response
-type GroupsItemInListFaceGroups struct {
-	GroupId int `json:"GroupId" xml:"GroupId"`
-	FaceNum int `json:"FaceNum" xml:"FaceNum"`
-}

+ 0 - 23
services/imm/struct_head_pose.go

@@ -1,23 +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.
-
-// HeadPose is a nested struct in imm response
-type HeadPose struct {
-	YawAngle   float64 `json:"YawAngle" xml:"YawAngle"`
-	RollAngle  float64 `json:"RollAngle" xml:"RollAngle"`
-	PitchAngle float64 `json:"PitchAngle" xml:"PitchAngle"`
-}

+ 3 - 0
services/imm/struct_images_item.go

@@ -40,11 +40,13 @@ type ImagesItem struct {
 	TagsStatus          string          `json:"TagsStatus" xml:"TagsStatus"`
 	FacesModifyTime     string          `json:"FacesModifyTime" xml:"FacesModifyTime"`
 	CelebrityModifyTime string          `json:"CelebrityModifyTime" xml:"CelebrityModifyTime"`
+	RemarksD            string          `json:"RemarksD" xml:"RemarksD"`
 	TagsFailReason      string          `json:"TagsFailReason" xml:"TagsFailReason"`
 	CelebrityStatus     string          `json:"CelebrityStatus" xml:"CelebrityStatus"`
 	OCRStatus           string          `json:"OCRStatus" xml:"OCRStatus"`
 	Pitch               float64         `json:"Pitch" xml:"Pitch"`
 	ImageUri            string          `json:"ImageUri" xml:"ImageUri"`
+	ExternalId          string          `json:"ExternalId" xml:"ExternalId"`
 	ImageTime           string          `json:"ImageTime" xml:"ImageTime"`
 	Location            string          `json:"Location" xml:"Location"`
 	TagsModifyTime      string          `json:"TagsModifyTime" xml:"TagsModifyTime"`
@@ -55,6 +57,7 @@ type ImagesItem struct {
 	OCRFailReason       string          `json:"OCRFailReason" xml:"OCRFailReason"`
 	Roll                float64         `json:"Roll" xml:"Roll"`
 	Glasses             int             `json:"Glasses" xml:"Glasses"`
+	RemarksC            string          `json:"RemarksC" xml:"RemarksC"`
 	SourceUri           string          `json:"SourceUri" xml:"SourceUri"`
 	ImageWidth          int             `json:"ImageWidth" xml:"ImageWidth"`
 	Axis                []string        `json:"Axis" xml:"Axis"`

+ 0 - 21
services/imm/struct_jobs_in_list_face_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.
-
-// JobsInListFaceJobs is a nested struct in imm response
-type JobsInListFaceJobs struct {
-	JobsItem []JobsItem `json:"JobsItem" xml:"JobsItem"`
-}

+ 0 - 26
services/imm/struct_left_eye_status.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.
-
-// LeftEyeStatus is a nested struct in imm response
-type LeftEyeStatus struct {
-	DarkGlasses         float64 `json:"DarkGlasses" xml:"DarkGlasses"`
-	NormalGlassEyeClose float64 `json:"NormalGlassEyeClose" xml:"NormalGlassEyeClose"`
-	Occlusion           float64 `json:"Occlusion" xml:"Occlusion"`
-	NoGlassEyeOpen      float64 `json:"NoGlassEyeOpen" xml:"NoGlassEyeOpen"`
-	NoGlassEyeClose     float64 `json:"NoGlassEyeClose" xml:"NoGlassEyeClose"`
-	NormalGlassEyeOpen  float64 `json:"NormalGlassEyeOpen" xml:"NormalGlassEyeOpen"`
-}

+ 2 - 2
services/imm/struct_photos_in_list_tag_photos.go → services/imm/struct_photos.go

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

+ 0 - 21
services/imm/struct_photos_in_list_face_group_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.
-
-// PhotosInListFaceGroupPhotos is a nested struct in imm response
-type PhotosInListFaceGroupPhotos struct {
-	PhotosItem []PhotosItem `json:"PhotosItem" xml:"PhotosItem"`
-}

+ 1 - 3
services/imm/struct_photos_item.go

@@ -17,8 +17,6 @@ package imm
 
 // PhotosItem is a nested struct in imm response
 type PhotosItem struct {
-	TagScore float64 `json:"TagScore" xml:"TagScore"`
-	PhotoUri string  `json:"PhotoUri" xml:"PhotoUri"`
-	FaceId   string  `json:"FaceId" xml:"FaceId"`
 	SrcUri   string  `json:"SrcUri" xml:"SrcUri"`
+	TagScore float64 `json:"TagScore" xml:"TagScore"`
 }

+ 0 - 26
services/imm/struct_right_eye_status.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.
-
-// RightEyeStatus is a nested struct in imm response
-type RightEyeStatus struct {
-	DarkGlasses         float64 `json:"DarkGlasses" xml:"DarkGlasses"`
-	NormalGlassEyeClose float64 `json:"NormalGlassEyeClose" xml:"NormalGlassEyeClose"`
-	Occlusion           float64 `json:"Occlusion" xml:"Occlusion"`
-	NoGlassEyeOpen      float64 `json:"NoGlassEyeOpen" xml:"NoGlassEyeOpen"`
-	NoGlassEyeClose     float64 `json:"NoGlassEyeClose" xml:"NoGlassEyeClose"`
-	NormalGlassEyeOpen  float64 `json:"NormalGlassEyeOpen" xml:"NormalGlassEyeOpen"`
-}

+ 0 - 21
services/imm/struct_sets_in_list_face_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.
-
-// SetsInListFaceSets is a nested struct in imm response
-type SetsInListFaceSets struct {
-	SetsItem []SetsItem `json:"SetsItem" xml:"SetsItem"`
-}

+ 0 - 1
services/imm/struct_sets_item.go

@@ -26,6 +26,5 @@ type SetsItem struct {
 	Status      string `json:"Status" xml:"Status"`
 	FaceCount   int    `json:"FaceCount" xml:"FaceCount"`
 	VideoCount  int    `json:"VideoCount" xml:"VideoCount"`
-	Faces       int    `json:"Faces" xml:"Faces"`
 	ImageCount  int    `json:"ImageCount" xml:"ImageCount"`
 }

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

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

+ 0 - 21
services/imm/struct_success_details_in_detect_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.
-
-// SuccessDetailsInDetectFace is a nested struct in imm response
-type SuccessDetailsInDetectFace struct {
-	SuccessDetailsItem []SuccessDetailsItem `json:"SuccessDetailsItem" xml:"SuccessDetailsItem"`
-}

+ 0 - 21
services/imm/struct_success_details_in_index_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.
-
-// SuccessDetailsInIndexFace is a nested struct in imm response
-type SuccessDetailsInIndexFace struct {
-	SuccessDetailsItem []SuccessDetailsItem `json:"SuccessDetailsItem" xml:"SuccessDetailsItem"`
-}

+ 0 - 2
services/imm/struct_success_details_item.go

@@ -18,13 +18,11 @@ package imm
 // SuccessDetailsItem is a nested struct in imm response
 type SuccessDetailsItem struct {
 	Time             string                 `json:"Time" xml:"Time"`
-	PhotoId          string                 `json:"PhotoId" xml:"PhotoId"`
 	GetImageTime     string                 `json:"GetImageTime" xml:"GetImageTime"`
 	DetectTime       string                 `json:"DetectTime" xml:"DetectTime"`
 	SrcUri           string                 `json:"SrcUri" xml:"SrcUri"`
 	ClothesBoxDetail []ClothesBoxDetailItem `json:"ClothesBoxDetail" xml:"ClothesBoxDetail"`
 	QRCodes          []QRCodesItem          `json:"QRCodes" xml:"QRCodes"`
 	LogoBoxDetail    []LogoBoxDetailItem    `json:"LogoBoxDetail" xml:"LogoBoxDetail"`
-	Faces            []FacesItem            `json:"Faces" xml:"Faces"`
 	Tags             []TagsItemInIndexTag   `json:"Tags" xml:"Tags"`
 }

+ 3 - 0
services/imm/struct_videos_item.go

@@ -40,6 +40,9 @@ type VideosItem struct {
 	CelebrityFailReason string          `json:"CelebrityFailReason" xml:"CelebrityFailReason"`
 	VideoTagsFailReason string          `json:"VideoTagsFailReason" xml:"VideoTagsFailReason"`
 	ProcessFailReason   string          `json:"ProcessFailReason" xml:"ProcessFailReason"`
+	RemarksC            string          `json:"RemarksC" xml:"RemarksC"`
+	RemarksD            string          `json:"RemarksD" xml:"RemarksD"`
+	ExternalId          string          `json:"ExternalId" xml:"ExternalId"`
 	VideoTags           []VideoTagsItem `json:"VideoTags" xml:"VideoTags"`
 	Celebrity           []CelebrityItem `json:"Celebrity" xml:"Celebrity"`
 	Persons             []PersonsItem   `json:"Persons" xml:"Persons"`

+ 0 - 109
services/imm/update_face_group_by_id.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"
-)
-
-// UpdateFaceGroupById invokes the imm.UpdateFaceGroupById API synchronously
-// api document: https://help.aliyun.com/api/imm/updatefacegroupbyid.html
-func (client *Client) UpdateFaceGroupById(request *UpdateFaceGroupByIdRequest) (response *UpdateFaceGroupByIdResponse, err error) {
-	response = CreateUpdateFaceGroupByIdResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// UpdateFaceGroupByIdWithChan invokes the imm.UpdateFaceGroupById API asynchronously
-// api document: https://help.aliyun.com/api/imm/updatefacegroupbyid.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) UpdateFaceGroupByIdWithChan(request *UpdateFaceGroupByIdRequest) (<-chan *UpdateFaceGroupByIdResponse, <-chan error) {
-	responseChan := make(chan *UpdateFaceGroupByIdResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.UpdateFaceGroupById(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// UpdateFaceGroupByIdWithCallback invokes the imm.UpdateFaceGroupById API asynchronously
-// api document: https://help.aliyun.com/api/imm/updatefacegroupbyid.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) UpdateFaceGroupByIdWithCallback(request *UpdateFaceGroupByIdRequest, callback func(response *UpdateFaceGroupByIdResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *UpdateFaceGroupByIdResponse
-		var err error
-		defer close(result)
-		response, err = client.UpdateFaceGroupById(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// UpdateFaceGroupByIdRequest is the request struct for api UpdateFaceGroupById
-type UpdateFaceGroupByIdRequest struct {
-	*requests.RpcRequest
-	Project    string `position:"Query" name:"Project"`
-	SetId      string `position:"Query" name:"SetId"`
-	NewGroupId string `position:"Query" name:"NewGroupId"`
-	FaceIds    string `position:"Query" name:"FaceIds"`
-}
-
-// UpdateFaceGroupByIdResponse is the response struct for api UpdateFaceGroupById
-type UpdateFaceGroupByIdResponse struct {
-	*responses.BaseResponse
-	RequestId        string                 `json:"RequestId" xml:"RequestId"`
-	SetId            string                 `json:"SetId" xml:"SetId"`
-	FailUpdateDetail []FailUpdateDetailItem `json:"FailUpdateDetail" xml:"FailUpdateDetail"`
-	Faces            []FacesItem            `json:"Faces" xml:"Faces"`
-}
-
-// CreateUpdateFaceGroupByIdRequest creates a request to invoke UpdateFaceGroupById API
-func CreateUpdateFaceGroupByIdRequest() (request *UpdateFaceGroupByIdRequest) {
-	request = &UpdateFaceGroupByIdRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("imm", "2017-09-06", "UpdateFaceGroupById", "imm", "openAPI")
-	return
-}
-
-// CreateUpdateFaceGroupByIdResponse creates a response to parse from UpdateFaceGroupById response
-func CreateUpdateFaceGroupByIdResponse() (response *UpdateFaceGroupByIdResponse) {
-	response = &UpdateFaceGroupByIdResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 9 - 3
services/imm/update_image.go

@@ -76,13 +76,16 @@ func (client *Client) UpdateImageWithCallback(request *UpdateImageRequest, callb
 // UpdateImageRequest is the request struct for api UpdateImage
 type UpdateImageRequest struct {
 	*requests.RpcRequest
+	RemarksB       string `position:"Query" name:"RemarksB"`
+	Project        string `position:"Query" name:"Project"`
+	RemarksA       string `position:"Query" name:"RemarksA"`
+	ExternalId     string `position:"Query" name:"ExternalId"`
 	ImageUri       string `position:"Query" name:"ImageUri"`
 	SourceUri      string `position:"Query" name:"SourceUri"`
 	SourcePosition string `position:"Query" name:"SourcePosition"`
-	RemarksB       string `position:"Query" name:"RemarksB"`
-	Project        string `position:"Query" name:"Project"`
+	RemarksD       string `position:"Query" name:"RemarksD"`
+	RemarksC       string `position:"Query" name:"RemarksC"`
 	SetId          string `position:"Query" name:"SetId"`
-	RemarksA       string `position:"Query" name:"RemarksA"`
 	SourceType     string `position:"Query" name:"SourceType"`
 }
 
@@ -96,6 +99,9 @@ type UpdateImageResponse struct {
 	RemarksB   string `json:"RemarksB" xml:"RemarksB"`
 	CreateTime string `json:"CreateTime" xml:"CreateTime"`
 	ModifyTime string `json:"ModifyTime" xml:"ModifyTime"`
+	RemarksC   string `json:"RemarksC" xml:"RemarksC"`
+	RemarksD   string `json:"RemarksD" xml:"RemarksD"`
+	ExternalId string `json:"ExternalId" xml:"ExternalId"`
 }
 
 // CreateUpdateImageRequest creates a request to invoke UpdateImage API