Browse Source

Supported Video Abstract for IMM.

sdk-team 6 years ago
parent
commit
7c7d4c9c6e
82 changed files with 481 additions and 143 deletions
  1. 3 0
      ChangeLog.txt
  2. 3 3
      services/imm/compare_image_faces.go
  3. 6 6
      services/imm/convert_office_format.go
  4. 4 4
      services/imm/create_cad_conversion_task.go
  5. 2 2
      services/imm/create_doc_index_task.go
  6. 2 2
      services/imm/create_group_faces_job.go
  7. 2 2
      services/imm/create_media_complex_task.go
  8. 3 3
      services/imm/create_merge_face_groups_job.go
  9. 2 2
      services/imm/create_porn_batch_detect_job.go
  10. 1 1
      services/imm/create_set.go
  11. 2 2
      services/imm/create_tag_job.go
  12. 111 0
      services/imm/create_video_abstract_task.go
  13. 3 3
      services/imm/create_video_analyse_task.go
  14. 3 3
      services/imm/create_video_compress_task.go
  15. 110 0
      services/imm/decode_blind_watermark.go
  16. 1 1
      services/imm/delete_doc_index.go
  17. 1 1
      services/imm/delete_face_job.go
  18. 1 1
      services/imm/delete_face_search_image_by_id.go
  19. 1 1
      services/imm/delete_image.go
  20. 1 1
      services/imm/delete_image_job.go
  21. 1 1
      services/imm/delete_porn_batch_detect_job.go
  22. 1 1
      services/imm/delete_tag_by_name.go
  23. 1 1
      services/imm/delete_tag_job.go
  24. 2 2
      services/imm/delete_tag_set.go
  25. 2 2
      services/imm/delete_video.go
  26. 1 1
      services/imm/delete_video_task.go
  27. 1 1
      services/imm/detect_clothes.go
  28. 1 1
      services/imm/detect_image_bodies.go
  29. 2 2
      services/imm/detect_image_celebrity.go
  30. 1 1
      services/imm/detect_image_faces.go
  31. 1 1
      services/imm/detect_image_logos.go
  32. 1 1
      services/imm/detect_image_tags.go
  33. 1 1
      services/imm/detect_image_texts.go
  34. 1 1
      services/imm/detect_logo.go
  35. 1 1
      services/imm/detect_qr_codes.go
  36. 2 2
      services/imm/detect_tag.go
  37. 112 0
      services/imm/encode_blind_watermark.go
  38. 3 3
      services/imm/find_images_by_tag_names.go
  39. 3 3
      services/imm/find_similar_faces.go
  40. 1 1
      services/imm/get_doc_index.go
  41. 1 1
      services/imm/get_face_search_image.go
  42. 1 1
      services/imm/get_image.go
  43. 1 1
      services/imm/get_image_job.go
  44. 1 1
      services/imm/get_porn_batch_detect_job.go
  45. 1 1
      services/imm/get_tag_job.go
  46. 1 1
      services/imm/get_video.go
  47. 1 1
      services/imm/get_video_task.go
  48. 14 12
      services/imm/index_image.go
  49. 2 2
      services/imm/index_tag.go
  50. 3 3
      services/imm/index_video.go
  51. 4 4
      services/imm/list_face_groups.go
  52. 1 1
      services/imm/list_face_search_group_images.go
  53. 1 1
      services/imm/list_face_search_group_users.go
  54. 1 1
      services/imm/list_face_search_groups.go
  55. 1 1
      services/imm/list_image_jobs.go
  56. 2 2
      services/imm/list_images.go
  57. 1 1
      services/imm/list_office_conversion_task.go
  58. 1 1
      services/imm/list_photo_process_tasks.go
  59. 1 1
      services/imm/list_porn_batch_detect_jobs.go
  60. 1 1
      services/imm/list_sets.go
  61. 2 2
      services/imm/list_tag_jobs.go
  62. 1 1
      services/imm/list_tag_names.go
  63. 2 2
      services/imm/list_tag_photos.go
  64. 1 1
      services/imm/list_tag_sets.go
  65. 1 1
      services/imm/list_video_audios.go
  66. 1 1
      services/imm/list_video_frames.go
  67. 1 1
      services/imm/list_video_tasks.go
  68. 1 1
      services/imm/list_videos.go
  69. 2 2
      services/imm/photo_process.go
  70. 2 2
      services/imm/put_project.go
  71. 1 1
      services/imm/regist_face.go
  72. 7 7
      services/imm/search_doc_index.go
  73. 1 1
      services/imm/search_face.go
  74. 1 1
      services/imm/struct_face_attributes.go
  75. 2 2
      services/imm/struct_faces_item.go
  76. 1 1
      services/imm/struct_success_details_item.go
  77. 4 4
      services/imm/struct_tasks_item.go
  78. 2 2
      services/imm/update_doc_index_meta.go
  79. 2 2
      services/imm/update_face_group.go
  80. 3 3
      services/imm/update_image.go
  81. 1 1
      services/imm/update_project.go
  82. 1 1
      services/imm/update_set.go

+ 3 - 0
ChangeLog.txt

@@ -1,3 +1,6 @@
+2019-09-18 Version: 1.60.165
+- Supported Video Abstract for IMM.
+
 2019-09-18 Version: 1.60.164
 - Generated 2019-09-10 for `waf-openapi`.
 

+ 3 - 3
services/imm/compare_image_faces.go

@@ -76,12 +76,12 @@ func (client *Client) CompareImageFacesWithCallback(request *CompareImageFacesRe
 // CompareImageFacesRequest is the request struct for api CompareImageFaces
 type CompareImageFacesRequest struct {
 	*requests.RpcRequest
-	ImageUriB string `position:"Query" name:"ImageUriB"`
-	ImageUriA string `position:"Query" name:"ImageUriA"`
 	Project   string `position:"Query" name:"Project"`
-	SetId     string `position:"Query" name:"SetId"`
 	FaceIdA   string `position:"Query" name:"FaceIdA"`
 	FaceIdB   string `position:"Query" name:"FaceIdB"`
+	ImageUriB string `position:"Query" name:"ImageUriB"`
+	ImageUriA string `position:"Query" name:"ImageUriA"`
+	SetId     string `position:"Query" name:"SetId"`
 }
 
 // CompareImageFacesResponse is the response struct for api CompareImageFaces

+ 6 - 6
services/imm/convert_office_format.go

@@ -77,21 +77,21 @@ func (client *Client) ConvertOfficeFormatWithCallback(request *ConvertOfficeForm
 type ConvertOfficeFormatRequest struct {
 	*requests.RpcRequest
 	SrcType        string           `position:"Query" name:"SrcType"`
-	ModelId        string           `position:"Query" name:"ModelId"`
 	Project        string           `position:"Query" name:"Project"`
+	PdfVector      requests.Boolean `position:"Query" name:"PdfVector"`
+	Password       string           `position:"Query" name:"Password"`
+	StartPage      requests.Integer `position:"Query" name:"StartPage"`
+	FitToPagesWide requests.Boolean `position:"Query" name:"FitToPagesWide"`
+	TgtFilePrefix  string           `position:"Query" name:"TgtFilePrefix"`
+	ModelId        string           `position:"Query" name:"ModelId"`
 	MaxSheetRow    requests.Integer `position:"Query" name:"MaxSheetRow"`
 	MaxSheetCount  requests.Integer `position:"Query" name:"MaxSheetCount"`
 	EndPage        requests.Integer `position:"Query" name:"EndPage"`
 	TgtFileSuffix  string           `position:"Query" name:"TgtFileSuffix"`
-	PdfVector      requests.Boolean `position:"Query" name:"PdfVector"`
 	SheetOnePage   requests.Boolean `position:"Query" name:"SheetOnePage"`
-	Password       string           `position:"Query" name:"Password"`
-	StartPage      requests.Integer `position:"Query" name:"StartPage"`
 	MaxSheetCol    requests.Integer `position:"Query" name:"MaxSheetCol"`
 	TgtType        string           `position:"Query" name:"TgtType"`
-	FitToPagesWide requests.Boolean `position:"Query" name:"FitToPagesWide"`
 	Hidecomments   requests.Boolean `position:"Query" name:"Hidecomments"`
-	TgtFilePrefix  string           `position:"Query" name:"TgtFilePrefix"`
 	FitToPagesTall requests.Boolean `position:"Query" name:"FitToPagesTall"`
 	SrcUri         string           `position:"Query" name:"SrcUri"`
 	TgtFilePages   string           `position:"Query" name:"TgtFilePages"`

+ 4 - 4
services/imm/create_cad_conversion_task.go

@@ -77,17 +77,17 @@ func (client *Client) CreateCADConversionTaskWithCallback(request *CreateCADConv
 type CreateCADConversionTaskRequest struct {
 	*requests.RpcRequest
 	SrcType         string           `position:"Query" name:"SrcType"`
+	BaseRow         requests.Integer `position:"Query" name:"BaseRow"`
+	Project         string           `position:"Query" name:"Project"`
+	ZoomFactor      requests.Integer `position:"Query" name:"ZoomFactor"`
+	NotifyEndpoint  string           `position:"Query" name:"NotifyEndpoint"`
 	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"`

+ 2 - 2
services/imm/create_doc_index_task.go

@@ -76,18 +76,18 @@ func (client *Client) CreateDocIndexTaskWithCallback(request *CreateDocIndexTask
 // CreateDocIndexTaskRequest is the request struct for api CreateDocIndexTask
 type CreateDocIndexTaskRequest struct {
 	*requests.RpcRequest
+	Project     string `position:"Query" name:"Project"`
+	UniqueId    string `position:"Query" name:"UniqueId"`
 	CustomKey1  string `position:"Query" name:"CustomKey1"`
 	Set         string `position:"Query" name:"Set"`
 	CustomKey5  string `position:"Query" name:"CustomKey5"`
 	CustomKey4  string `position:"Query" name:"CustomKey4"`
 	CustomKey3  string `position:"Query" name:"CustomKey3"`
 	CustomKey2  string `position:"Query" name:"CustomKey2"`
-	Project     string `position:"Query" name:"Project"`
 	CustomKey6  string `position:"Query" name:"CustomKey6"`
 	ContentType string `position:"Query" name:"ContentType"`
 	Name        string `position:"Query" name:"Name"`
 	SrcUri      string `position:"Query" name:"SrcUri"`
-	UniqueId    string `position:"Query" name:"UniqueId"`
 }
 
 // CreateDocIndexTaskResponse is the response struct for api CreateDocIndexTask

+ 2 - 2
services/imm/create_group_faces_job.go

@@ -76,9 +76,9 @@ func (client *Client) CreateGroupFacesJobWithCallback(request *CreateGroupFacesJ
 // 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"`
+	NotifyEndpoint  string `position:"Query" name:"NotifyEndpoint"`
+	NotifyTopicName string `position:"Query" name:"NotifyTopicName"`
 	SetId           string `position:"Query" name:"SetId"`
 }
 

+ 2 - 2
services/imm/create_media_complex_task.go

@@ -76,9 +76,9 @@ func (client *Client) CreateMediaComplexTaskWithCallback(request *CreateMediaCom
 // CreateMediaComplexTaskRequest is the request struct for api CreateMediaComplexTask
 type CreateMediaComplexTaskRequest struct {
 	*requests.RpcRequest
-	NotifyTopicName string `position:"Query" name:"NotifyTopicName"`
-	NotifyEndpoint  string `position:"Query" name:"NotifyEndpoint"`
 	Project         string `position:"Query" name:"Project"`
+	NotifyEndpoint  string `position:"Query" name:"NotifyEndpoint"`
+	NotifyTopicName string `position:"Query" name:"NotifyTopicName"`
 	Parameters      string `position:"Query" name:"Parameters"`
 }
 

+ 3 - 3
services/imm/create_merge_face_groups_job.go

@@ -76,11 +76,11 @@ func (client *Client) CreateMergeFaceGroupsJobWithCallback(request *CreateMergeF
 // CreateMergeFaceGroupsJobRequest is the request struct for api CreateMergeFaceGroupsJob
 type CreateMergeFaceGroupsJobRequest struct {
 	*requests.RpcRequest
+	Project         string `position:"Query" name:"Project"`
+	NotifyEndpoint  string `position:"Query" name:"NotifyEndpoint"`
 	GroupIdFrom     string `position:"Query" name:"GroupIdFrom"`
-	GroupIdTo       string `position:"Query" name:"GroupIdTo"`
 	NotifyTopicName string `position:"Query" name:"NotifyTopicName"`
-	NotifyEndpoint  string `position:"Query" name:"NotifyEndpoint"`
-	Project         string `position:"Query" name:"Project"`
+	GroupIdTo       string `position:"Query" name:"GroupIdTo"`
 	SetId           string `position:"Query" name:"SetId"`
 }
 

+ 2 - 2
services/imm/create_porn_batch_detect_job.go

@@ -76,10 +76,10 @@ func (client *Client) CreatePornBatchDetectJobWithCallback(request *CreatePornBa
 // CreatePornBatchDetectJobRequest is the request struct for api CreatePornBatchDetectJob
 type CreatePornBatchDetectJobRequest struct {
 	*requests.RpcRequest
-	NotifyTopicName string `position:"Query" name:"NotifyTopicName"`
-	NotifyEndpoint  string `position:"Query" name:"NotifyEndpoint"`
 	Project         string `position:"Query" name:"Project"`
 	ExternalID      string `position:"Query" name:"ExternalID"`
+	NotifyEndpoint  string `position:"Query" name:"NotifyEndpoint"`
+	NotifyTopicName string `position:"Query" name:"NotifyTopicName"`
 	SrcUri          string `position:"Query" name:"SrcUri"`
 	TgtUri          string `position:"Query" name:"TgtUri"`
 }

+ 1 - 1
services/imm/create_set.go

@@ -76,8 +76,8 @@ func (client *Client) CreateSetWithCallback(request *CreateSetRequest, callback
 // CreateSetRequest is the request struct for api CreateSet
 type CreateSetRequest struct {
 	*requests.RpcRequest
-	SetName string `position:"Query" name:"SetName"`
 	Project string `position:"Query" name:"Project"`
+	SetName string `position:"Query" name:"SetName"`
 	SetId   string `position:"Query" name:"SetId"`
 }
 

+ 2 - 2
services/imm/create_tag_job.go

@@ -76,10 +76,10 @@ func (client *Client) CreateTagJobWithCallback(request *CreateTagJobRequest, cal
 // CreateTagJobRequest is the request struct for api CreateTagJob
 type CreateTagJobRequest struct {
 	*requests.RpcRequest
-	NotifyTopicName string `position:"Query" name:"NotifyTopicName"`
-	NotifyEndpoint  string `position:"Query" name:"NotifyEndpoint"`
 	Project         string `position:"Query" name:"Project"`
 	ExternalID      string `position:"Query" name:"ExternalID"`
+	NotifyEndpoint  string `position:"Query" name:"NotifyEndpoint"`
+	NotifyTopicName string `position:"Query" name:"NotifyTopicName"`
 	SrcUri          string `position:"Query" name:"SrcUri"`
 }
 

+ 111 - 0
services/imm/create_video_abstract_task.go

@@ -0,0 +1,111 @@
+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"
+)
+
+// CreateVideoAbstractTask invokes the imm.CreateVideoAbstractTask API synchronously
+// api document: https://help.aliyun.com/api/imm/createvideoabstracttask.html
+func (client *Client) CreateVideoAbstractTask(request *CreateVideoAbstractTaskRequest) (response *CreateVideoAbstractTaskResponse, err error) {
+	response = CreateCreateVideoAbstractTaskResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// CreateVideoAbstractTaskWithChan invokes the imm.CreateVideoAbstractTask API asynchronously
+// api document: https://help.aliyun.com/api/imm/createvideoabstracttask.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateVideoAbstractTaskWithChan(request *CreateVideoAbstractTaskRequest) (<-chan *CreateVideoAbstractTaskResponse, <-chan error) {
+	responseChan := make(chan *CreateVideoAbstractTaskResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.CreateVideoAbstractTask(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// CreateVideoAbstractTaskWithCallback invokes the imm.CreateVideoAbstractTask API asynchronously
+// api document: https://help.aliyun.com/api/imm/createvideoabstracttask.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateVideoAbstractTaskWithCallback(request *CreateVideoAbstractTaskRequest, callback func(response *CreateVideoAbstractTaskResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *CreateVideoAbstractTaskResponse
+		var err error
+		defer close(result)
+		response, err = client.CreateVideoAbstractTask(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// CreateVideoAbstractTaskRequest is the request struct for api CreateVideoAbstractTask
+type CreateVideoAbstractTaskRequest struct {
+	*requests.RpcRequest
+	TargetVideoUri  string           `position:"Query" name:"TargetVideoUri"`
+	Project         string           `position:"Query" name:"Project"`
+	NotifyEndpoint  string           `position:"Query" name:"NotifyEndpoint"`
+	NotifyTopicName string           `position:"Query" name:"NotifyTopicName"`
+	VideoUri        string           `position:"Query" name:"VideoUri"`
+	AbstractLength  requests.Integer `position:"Query" name:"AbstractLength"`
+	TargetClipsUri  string           `position:"Query" name:"TargetClipsUri"`
+}
+
+// CreateVideoAbstractTaskResponse is the response struct for api CreateVideoAbstractTask
+type CreateVideoAbstractTaskResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	TaskId    string `json:"TaskId" xml:"TaskId"`
+	TaskType  string `json:"TaskType" xml:"TaskType"`
+}
+
+// CreateCreateVideoAbstractTaskRequest creates a request to invoke CreateVideoAbstractTask API
+func CreateCreateVideoAbstractTaskRequest() (request *CreateVideoAbstractTaskRequest) {
+	request = &CreateVideoAbstractTaskRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("imm", "2017-09-06", "CreateVideoAbstractTask", "imm", "openAPI")
+	return
+}
+
+// CreateCreateVideoAbstractTaskResponse creates a response to parse from CreateVideoAbstractTask response
+func CreateCreateVideoAbstractTaskResponse() (response *CreateVideoAbstractTaskResponse) {
+	response = &CreateVideoAbstractTaskResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 3 - 3
services/imm/create_video_analyse_task.go

@@ -76,14 +76,14 @@ func (client *Client) CreateVideoAnalyseTaskWithCallback(request *CreateVideoAna
 // CreateVideoAnalyseTaskRequest is the request struct for api CreateVideoAnalyseTask
 type CreateVideoAnalyseTaskRequest struct {
 	*requests.RpcRequest
-	NotifyTopicName string           `position:"Query" name:"NotifyTopicName"`
 	GrabType        string           `position:"Query" name:"GrabType"`
 	Project         string           `position:"Query" name:"Project"`
-	EndTime         string           `position:"Query" name:"EndTime"`
 	StartTime       string           `position:"Query" name:"StartTime"`
+	NotifyEndpoint  string           `position:"Query" name:"NotifyEndpoint"`
+	NotifyTopicName string           `position:"Query" name:"NotifyTopicName"`
+	EndTime         string           `position:"Query" name:"EndTime"`
 	VideoUri        string           `position:"Query" name:"VideoUri"`
 	SaveType        requests.Boolean `position:"Query" name:"SaveType"`
-	NotifyEndpoint  string           `position:"Query" name:"NotifyEndpoint"`
 	Interval        string           `position:"Query" name:"Interval"`
 	TgtUri          string           `position:"Query" name:"TgtUri"`
 }

+ 3 - 3
services/imm/create_video_compress_task.go

@@ -76,11 +76,11 @@ func (client *Client) CreateVideoCompressTaskWithCallback(request *CreateVideoCo
 // CreateVideoCompressTaskRequest is the request struct for api CreateVideoCompressTask
 type CreateVideoCompressTaskRequest struct {
 	*requests.RpcRequest
-	VideoUri        string `position:"Query" name:"VideoUri"`
+	Project         string `position:"Query" name:"Project"`
+	NotifyEndpoint  string `position:"Query" name:"NotifyEndpoint"`
 	NotifyTopicName string `position:"Query" name:"NotifyTopicName"`
 	TargetList      string `position:"Query" name:"TargetList"`
-	NotifyEndpoint  string `position:"Query" name:"NotifyEndpoint"`
-	Project         string `position:"Query" name:"Project"`
+	VideoUri        string `position:"Query" name:"VideoUri"`
 }
 
 // CreateVideoCompressTaskResponse is the response struct for api CreateVideoCompressTask

+ 110 - 0
services/imm/decode_blind_watermark.go

@@ -0,0 +1,110 @@
+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"
+)
+
+// DecodeBlindWatermark invokes the imm.DecodeBlindWatermark API synchronously
+// api document: https://help.aliyun.com/api/imm/decodeblindwatermark.html
+func (client *Client) DecodeBlindWatermark(request *DecodeBlindWatermarkRequest) (response *DecodeBlindWatermarkResponse, err error) {
+	response = CreateDecodeBlindWatermarkResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DecodeBlindWatermarkWithChan invokes the imm.DecodeBlindWatermark API asynchronously
+// api document: https://help.aliyun.com/api/imm/decodeblindwatermark.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DecodeBlindWatermarkWithChan(request *DecodeBlindWatermarkRequest) (<-chan *DecodeBlindWatermarkResponse, <-chan error) {
+	responseChan := make(chan *DecodeBlindWatermarkResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DecodeBlindWatermark(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DecodeBlindWatermarkWithCallback invokes the imm.DecodeBlindWatermark API asynchronously
+// api document: https://help.aliyun.com/api/imm/decodeblindwatermark.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DecodeBlindWatermarkWithCallback(request *DecodeBlindWatermarkRequest, callback func(response *DecodeBlindWatermarkResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DecodeBlindWatermarkResponse
+		var err error
+		defer close(result)
+		response, err = client.DecodeBlindWatermark(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DecodeBlindWatermarkRequest is the request struct for api DecodeBlindWatermark
+type DecodeBlindWatermarkRequest struct {
+	*requests.RpcRequest
+	ImageQuality     requests.Integer `position:"Query" name:"ImageQuality"`
+	Project          string           `position:"Query" name:"Project"`
+	WatermarkType    string           `position:"Query" name:"WatermarkType"`
+	TargetUri        string           `position:"Query" name:"TargetUri"`
+	ImageUri         string           `position:"Query" name:"ImageUri"`
+	OriginalImageUri string           `position:"Query" name:"OriginalImageUri"`
+}
+
+// DecodeBlindWatermarkResponse is the response struct for api DecodeBlindWatermark
+type DecodeBlindWatermarkResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	TargetUri string `json:"TargetUri" xml:"TargetUri"`
+	Content   string `json:"Content" xml:"Content"`
+}
+
+// CreateDecodeBlindWatermarkRequest creates a request to invoke DecodeBlindWatermark API
+func CreateDecodeBlindWatermarkRequest() (request *DecodeBlindWatermarkRequest) {
+	request = &DecodeBlindWatermarkRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("imm", "2017-09-06", "DecodeBlindWatermark", "imm", "openAPI")
+	return
+}
+
+// CreateDecodeBlindWatermarkResponse creates a response to parse from DecodeBlindWatermark response
+func CreateDecodeBlindWatermarkResponse() (response *DecodeBlindWatermarkResponse) {
+	response = &DecodeBlindWatermarkResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 1 - 1
services/imm/delete_doc_index.go

@@ -76,9 +76,9 @@ func (client *Client) DeleteDocIndexWithCallback(request *DeleteDocIndexRequest,
 // DeleteDocIndexRequest is the request struct for api DeleteDocIndex
 type DeleteDocIndexRequest struct {
 	*requests.RpcRequest
-	Set      string `position:"Query" name:"Set"`
 	Project  string `position:"Query" name:"Project"`
 	UniqueId string `position:"Query" name:"UniqueId"`
+	Set      string `position:"Query" name:"Set"`
 }
 
 // DeleteDocIndexResponse is the response struct for api DeleteDocIndex

+ 1 - 1
services/imm/delete_face_job.go

@@ -76,8 +76,8 @@ func (client *Client) DeleteFaceJobWithCallback(request *DeleteFaceJobRequest, c
 // DeleteFaceJobRequest is the request struct for api DeleteFaceJob
 type DeleteFaceJobRequest struct {
 	*requests.RpcRequest
-	JobId          string `position:"Query" name:"JobId"`
 	Project        string `position:"Query" name:"Project"`
+	JobId          string `position:"Query" name:"JobId"`
 	ClearIndexData string `position:"Query" name:"ClearIndexData"`
 }
 

+ 1 - 1
services/imm/delete_face_search_image_by_id.go

@@ -78,8 +78,8 @@ type DeleteFaceSearchImageByIdRequest struct {
 	*requests.RpcRequest
 	ImageId   string `position:"Query" name:"ImageId"`
 	Project   string `position:"Query" name:"Project"`
-	SrcUri    string `position:"Query" name:"SrcUri"`
 	GroupName string `position:"Query" name:"GroupName"`
+	SrcUri    string `position:"Query" name:"SrcUri"`
 	User      string `position:"Query" name:"User"`
 }
 

+ 1 - 1
services/imm/delete_image.go

@@ -76,8 +76,8 @@ func (client *Client) DeleteImageWithCallback(request *DeleteImageRequest, callb
 // DeleteImageRequest is the request struct for api DeleteImage
 type DeleteImageRequest struct {
 	*requests.RpcRequest
-	ImageUri string `position:"Query" name:"ImageUri"`
 	Project  string `position:"Query" name:"Project"`
+	ImageUri string `position:"Query" name:"ImageUri"`
 	SetId    string `position:"Query" name:"SetId"`
 }
 

+ 1 - 1
services/imm/delete_image_job.go

@@ -76,8 +76,8 @@ func (client *Client) DeleteImageJobWithCallback(request *DeleteImageJobRequest,
 // DeleteImageJobRequest is the request struct for api DeleteImageJob
 type DeleteImageJobRequest struct {
 	*requests.RpcRequest
-	JobId   string `position:"Query" name:"JobId"`
 	Project string `position:"Query" name:"Project"`
+	JobId   string `position:"Query" name:"JobId"`
 	JobType string `position:"Query" name:"JobType"`
 }
 

+ 1 - 1
services/imm/delete_porn_batch_detect_job.go

@@ -76,8 +76,8 @@ func (client *Client) DeletePornBatchDetectJobWithCallback(request *DeletePornBa
 // DeletePornBatchDetectJobRequest is the request struct for api DeletePornBatchDetectJob
 type DeletePornBatchDetectJobRequest struct {
 	*requests.RpcRequest
-	JobId   string `position:"Query" name:"JobId"`
 	Project string `position:"Query" name:"Project"`
+	JobId   string `position:"Query" name:"JobId"`
 }
 
 // DeletePornBatchDetectJobResponse is the response struct for api DeletePornBatchDetectJob

+ 1 - 1
services/imm/delete_tag_by_name.go

@@ -76,8 +76,8 @@ func (client *Client) DeleteTagByNameWithCallback(request *DeleteTagByNameReques
 // DeleteTagByNameRequest is the request struct for api DeleteTagByName
 type DeleteTagByNameRequest struct {
 	*requests.RpcRequest
-	TagName string `position:"Query" name:"TagName"`
 	Project string `position:"Query" name:"Project"`
+	TagName string `position:"Query" name:"TagName"`
 	SetId   string `position:"Query" name:"SetId"`
 	SrcUri  string `position:"Query" name:"SrcUri"`
 }

+ 1 - 1
services/imm/delete_tag_job.go

@@ -76,8 +76,8 @@ func (client *Client) DeleteTagJobWithCallback(request *DeleteTagJobRequest, cal
 // DeleteTagJobRequest is the request struct for api DeleteTagJob
 type DeleteTagJobRequest struct {
 	*requests.RpcRequest
-	JobId          string `position:"Query" name:"JobId"`
 	Project        string `position:"Query" name:"Project"`
+	JobId          string `position:"Query" name:"JobId"`
 	ClearIndexData string `position:"Query" name:"ClearIndexData"`
 }
 

+ 2 - 2
services/imm/delete_tag_set.go

@@ -76,10 +76,10 @@ func (client *Client) DeleteTagSetWithCallback(request *DeleteTagSetRequest, cal
 // DeleteTagSetRequest is the request struct for api DeleteTagSet
 type DeleteTagSetRequest struct {
 	*requests.RpcRequest
-	LazyMode   string `position:"Query" name:"LazyMode"`
 	Project    string `position:"Query" name:"Project"`
-	SetId      string `position:"Query" name:"SetId"`
+	LazyMode   string `position:"Query" name:"LazyMode"`
 	CheckEmpty string `position:"Query" name:"CheckEmpty"`
+	SetId      string `position:"Query" name:"SetId"`
 }
 
 // DeleteTagSetResponse is the response struct for api DeleteTagSet

+ 2 - 2
services/imm/delete_video.go

@@ -76,10 +76,10 @@ func (client *Client) DeleteVideoWithCallback(request *DeleteVideoRequest, callb
 // DeleteVideoRequest is the request struct for api DeleteVideo
 type DeleteVideoRequest struct {
 	*requests.RpcRequest
-	VideoUri  string           `position:"Query" name:"VideoUri"`
 	Project   string           `position:"Query" name:"Project"`
-	SetId     string           `position:"Query" name:"SetId"`
 	Resources requests.Boolean `position:"Query" name:"Resources"`
+	VideoUri  string           `position:"Query" name:"VideoUri"`
+	SetId     string           `position:"Query" name:"SetId"`
 }
 
 // DeleteVideoResponse is the response struct for api DeleteVideo

+ 1 - 1
services/imm/delete_video_task.go

@@ -76,9 +76,9 @@ func (client *Client) DeleteVideoTaskWithCallback(request *DeleteVideoTaskReques
 // DeleteVideoTaskRequest is the request struct for api DeleteVideoTask
 type DeleteVideoTaskRequest struct {
 	*requests.RpcRequest
-	TaskType string `position:"Query" name:"TaskType"`
 	Project  string `position:"Query" name:"Project"`
 	TaskId   string `position:"Query" name:"TaskId"`
+	TaskType string `position:"Query" name:"TaskType"`
 }
 
 // DeleteVideoTaskResponse is the response struct for api DeleteVideoTask

+ 1 - 1
services/imm/detect_clothes.go

@@ -76,8 +76,8 @@ func (client *Client) DetectClothesWithCallback(request *DetectClothesRequest, c
 // DetectClothesRequest is the request struct for api DetectClothes
 type DetectClothesRequest struct {
 	*requests.RpcRequest
-	SrcUris string `position:"Query" name:"SrcUris"`
 	Project string `position:"Query" name:"Project"`
+	SrcUris string `position:"Query" name:"SrcUris"`
 }
 
 // DetectClothesResponse is the response struct for api DetectClothes

+ 1 - 1
services/imm/detect_image_bodies.go

@@ -76,8 +76,8 @@ func (client *Client) DetectImageBodiesWithCallback(request *DetectImageBodiesRe
 // DetectImageBodiesRequest is the request struct for api DetectImageBodies
 type DetectImageBodiesRequest struct {
 	*requests.RpcRequest
-	ImageUri string `position:"Query" name:"ImageUri"`
 	Project  string `position:"Query" name:"Project"`
+	ImageUri string `position:"Query" name:"ImageUri"`
 }
 
 // DetectImageBodiesResponse is the response struct for api DetectImageBodies

+ 2 - 2
services/imm/detect_image_celebrity.go

@@ -76,10 +76,10 @@ func (client *Client) DetectImageCelebrityWithCallback(request *DetectImageCeleb
 // DetectImageCelebrityRequest is the request struct for api DetectImageCelebrity
 type DetectImageCelebrityRequest struct {
 	*requests.RpcRequest
-	ImageUri string `position:"Query" name:"ImageUri"`
-	Library  string `position:"Query" name:"Library"`
 	Project  string `position:"Query" name:"Project"`
+	Library  string `position:"Query" name:"Library"`
 	RealUid  string `position:"Query" name:"RealUid"`
+	ImageUri string `position:"Query" name:"ImageUri"`
 }
 
 // DetectImageCelebrityResponse is the response struct for api DetectImageCelebrity

+ 1 - 1
services/imm/detect_image_faces.go

@@ -76,9 +76,9 @@ func (client *Client) DetectImageFacesWithCallback(request *DetectImageFacesRequ
 // DetectImageFacesRequest is the request struct for api DetectImageFaces
 type DetectImageFacesRequest struct {
 	*requests.RpcRequest
-	ImageUri string `position:"Query" name:"ImageUri"`
 	Project  string `position:"Query" name:"Project"`
 	RealUid  string `position:"Query" name:"RealUid"`
+	ImageUri string `position:"Query" name:"ImageUri"`
 }
 
 // DetectImageFacesResponse is the response struct for api DetectImageFaces

+ 1 - 1
services/imm/detect_image_logos.go

@@ -76,8 +76,8 @@ func (client *Client) DetectImageLogosWithCallback(request *DetectImageLogosRequ
 // DetectImageLogosRequest is the request struct for api DetectImageLogos
 type DetectImageLogosRequest struct {
 	*requests.RpcRequest
-	ImageUri string `position:"Query" name:"ImageUri"`
 	Project  string `position:"Query" name:"Project"`
+	ImageUri string `position:"Query" name:"ImageUri"`
 }
 
 // DetectImageLogosResponse is the response struct for api DetectImageLogos

+ 1 - 1
services/imm/detect_image_tags.go

@@ -76,9 +76,9 @@ func (client *Client) DetectImageTagsWithCallback(request *DetectImageTagsReques
 // DetectImageTagsRequest is the request struct for api DetectImageTags
 type DetectImageTagsRequest struct {
 	*requests.RpcRequest
-	ImageUri string `position:"Query" name:"ImageUri"`
 	Project  string `position:"Query" name:"Project"`
 	RealUid  string `position:"Query" name:"RealUid"`
+	ImageUri string `position:"Query" name:"ImageUri"`
 }
 
 // DetectImageTagsResponse is the response struct for api DetectImageTags

+ 1 - 1
services/imm/detect_image_texts.go

@@ -76,8 +76,8 @@ func (client *Client) DetectImageTextsWithCallback(request *DetectImageTextsRequ
 // DetectImageTextsRequest is the request struct for api DetectImageTexts
 type DetectImageTextsRequest struct {
 	*requests.RpcRequest
-	ImageUri string `position:"Query" name:"ImageUri"`
 	Project  string `position:"Query" name:"Project"`
+	ImageUri string `position:"Query" name:"ImageUri"`
 }
 
 // DetectImageTextsResponse is the response struct for api DetectImageTexts

+ 1 - 1
services/imm/detect_logo.go

@@ -76,8 +76,8 @@ func (client *Client) DetectLogoWithCallback(request *DetectLogoRequest, callbac
 // DetectLogoRequest is the request struct for api DetectLogo
 type DetectLogoRequest struct {
 	*requests.RpcRequest
-	SrcUris string `position:"Query" name:"SrcUris"`
 	Project string `position:"Query" name:"Project"`
+	SrcUris string `position:"Query" name:"SrcUris"`
 }
 
 // DetectLogoResponse is the response struct for api DetectLogo

+ 1 - 1
services/imm/detect_qr_codes.go

@@ -76,8 +76,8 @@ func (client *Client) DetectQRCodesWithCallback(request *DetectQRCodesRequest, c
 // DetectQRCodesRequest is the request struct for api DetectQRCodes
 type DetectQRCodesRequest struct {
 	*requests.RpcRequest
-	SrcUris string `position:"Query" name:"SrcUris"`
 	Project string `position:"Query" name:"Project"`
+	SrcUris string `position:"Query" name:"SrcUris"`
 }
 
 // DetectQRCodesResponse is the response struct for api DetectQRCodes

+ 2 - 2
services/imm/detect_tag.go

@@ -76,9 +76,9 @@ func (client *Client) DetectTagWithCallback(request *DetectTagRequest, callback
 // DetectTagRequest is the request struct for api DetectTag
 type DetectTagRequest struct {
 	*requests.RpcRequest
-	SrcUris string `position:"Query" name:"SrcUris"`
-	ModelId string `position:"Query" name:"ModelId"`
 	Project string `position:"Query" name:"Project"`
+	ModelId string `position:"Query" name:"ModelId"`
+	SrcUris string `position:"Query" name:"SrcUris"`
 }
 
 // DetectTagResponse is the response struct for api DetectTag

+ 112 - 0
services/imm/encode_blind_watermark.go

@@ -0,0 +1,112 @@
+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"
+)
+
+// EncodeBlindWatermark invokes the imm.EncodeBlindWatermark API synchronously
+// api document: https://help.aliyun.com/api/imm/encodeblindwatermark.html
+func (client *Client) EncodeBlindWatermark(request *EncodeBlindWatermarkRequest) (response *EncodeBlindWatermarkResponse, err error) {
+	response = CreateEncodeBlindWatermarkResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// EncodeBlindWatermarkWithChan invokes the imm.EncodeBlindWatermark API asynchronously
+// api document: https://help.aliyun.com/api/imm/encodeblindwatermark.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) EncodeBlindWatermarkWithChan(request *EncodeBlindWatermarkRequest) (<-chan *EncodeBlindWatermarkResponse, <-chan error) {
+	responseChan := make(chan *EncodeBlindWatermarkResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.EncodeBlindWatermark(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// EncodeBlindWatermarkWithCallback invokes the imm.EncodeBlindWatermark API asynchronously
+// api document: https://help.aliyun.com/api/imm/encodeblindwatermark.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) EncodeBlindWatermarkWithCallback(request *EncodeBlindWatermarkRequest, callback func(response *EncodeBlindWatermarkResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *EncodeBlindWatermarkResponse
+		var err error
+		defer close(result)
+		response, err = client.EncodeBlindWatermark(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// EncodeBlindWatermarkRequest is the request struct for api EncodeBlindWatermark
+type EncodeBlindWatermarkRequest struct {
+	*requests.RpcRequest
+	ImageQuality    string `position:"Query" name:"ImageQuality"`
+	WatermarkUri    string `position:"Query" name:"WatermarkUri"`
+	Project         string `position:"Query" name:"Project"`
+	Content         string `position:"Query" name:"Content"`
+	WatermarkType   string `position:"Query" name:"WatermarkType"`
+	TargetUri       string `position:"Query" name:"TargetUri"`
+	TargetImageType string `position:"Query" name:"TargetImageType"`
+	ImageUri        string `position:"Query" name:"ImageUri"`
+}
+
+// EncodeBlindWatermarkResponse is the response struct for api EncodeBlindWatermark
+type EncodeBlindWatermarkResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	TargetUri string `json:"TargetUri" xml:"TargetUri"`
+	Content   string `json:"Content" xml:"Content"`
+}
+
+// CreateEncodeBlindWatermarkRequest creates a request to invoke EncodeBlindWatermark API
+func CreateEncodeBlindWatermarkRequest() (request *EncodeBlindWatermarkRequest) {
+	request = &EncodeBlindWatermarkRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("imm", "2017-09-06", "EncodeBlindWatermark", "imm", "openAPI")
+	return
+}
+
+// CreateEncodeBlindWatermarkResponse creates a response to parse from EncodeBlindWatermark response
+func CreateEncodeBlindWatermarkResponse() (response *EncodeBlindWatermarkResponse) {
+	response = &EncodeBlindWatermarkResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 3 - 3
services/imm/find_images_by_tag_names.go

@@ -76,11 +76,11 @@ func (client *Client) FindImagesByTagNamesWithCallback(request *FindImagesByTagN
 // FindImagesByTagNamesRequest is the request struct for api FindImagesByTagNames
 type FindImagesByTagNamesRequest struct {
 	*requests.RpcRequest
-	Marker   string           `position:"Query" name:"Marker"`
-	Limit    requests.Integer `position:"Query" name:"Limit"`
 	Project  string           `position:"Query" name:"Project"`
-	SetId    string           `position:"Query" name:"SetId"`
+	Limit    requests.Integer `position:"Query" name:"Limit"`
 	TagNames string           `position:"Query" name:"TagNames"`
+	Marker   string           `position:"Query" name:"Marker"`
+	SetId    string           `position:"Query" name:"SetId"`
 }
 
 // FindImagesByTagNamesResponse is the response struct for api FindImagesByTagNames

+ 3 - 3
services/imm/find_similar_faces.go

@@ -76,13 +76,13 @@ func (client *Client) FindSimilarFacesWithCallback(request *FindSimilarFacesRequ
 // FindSimilarFacesRequest is the request struct for api FindSimilarFaces
 type FindSimilarFacesRequest struct {
 	*requests.RpcRequest
-	ImageUri       string           `position:"Query" name:"ImageUri"`
+	Project        string           `position:"Query" name:"Project"`
 	MinSimilarity  requests.Float   `position:"Query" name:"MinSimilarity"`
 	ResponseFormat string           `position:"Query" name:"ResponseFormat"`
 	Limit          requests.Integer `position:"Query" name:"Limit"`
-	Project        string           `position:"Query" name:"Project"`
-	SetId          string           `position:"Query" name:"SetId"`
 	FaceId         string           `position:"Query" name:"FaceId"`
+	ImageUri       string           `position:"Query" name:"ImageUri"`
+	SetId          string           `position:"Query" name:"SetId"`
 }
 
 // FindSimilarFacesResponse is the response struct for api FindSimilarFaces

+ 1 - 1
services/imm/get_doc_index.go

@@ -76,9 +76,9 @@ func (client *Client) GetDocIndexWithCallback(request *GetDocIndexRequest, callb
 // GetDocIndexRequest is the request struct for api GetDocIndex
 type GetDocIndexRequest struct {
 	*requests.RpcRequest
-	Set      string `position:"Query" name:"Set"`
 	Project  string `position:"Query" name:"Project"`
 	UniqueId string `position:"Query" name:"UniqueId"`
+	Set      string `position:"Query" name:"Set"`
 }
 
 // GetDocIndexResponse is the response struct for api GetDocIndex

+ 1 - 1
services/imm/get_face_search_image.go

@@ -78,8 +78,8 @@ type GetFaceSearchImageRequest struct {
 	*requests.RpcRequest
 	ImageId   string `position:"Query" name:"ImageId"`
 	Project   string `position:"Query" name:"Project"`
-	SrcUri    string `position:"Query" name:"SrcUri"`
 	GroupName string `position:"Query" name:"GroupName"`
+	SrcUri    string `position:"Query" name:"SrcUri"`
 	User      string `position:"Query" name:"User"`
 }
 

+ 1 - 1
services/imm/get_image.go

@@ -76,8 +76,8 @@ func (client *Client) GetImageWithCallback(request *GetImageRequest, callback fu
 // GetImageRequest is the request struct for api GetImage
 type GetImageRequest struct {
 	*requests.RpcRequest
-	ImageUri string `position:"Query" name:"ImageUri"`
 	Project  string `position:"Query" name:"Project"`
+	ImageUri string `position:"Query" name:"ImageUri"`
 	SetId    string `position:"Query" name:"SetId"`
 }
 

+ 1 - 1
services/imm/get_image_job.go

@@ -76,8 +76,8 @@ func (client *Client) GetImageJobWithCallback(request *GetImageJobRequest, callb
 // GetImageJobRequest is the request struct for api GetImageJob
 type GetImageJobRequest struct {
 	*requests.RpcRequest
-	JobId   string `position:"Query" name:"JobId"`
 	Project string `position:"Query" name:"Project"`
+	JobId   string `position:"Query" name:"JobId"`
 	JobType string `position:"Query" name:"JobType"`
 }
 

+ 1 - 1
services/imm/get_porn_batch_detect_job.go

@@ -76,8 +76,8 @@ func (client *Client) GetPornBatchDetectJobWithCallback(request *GetPornBatchDet
 // GetPornBatchDetectJobRequest is the request struct for api GetPornBatchDetectJob
 type GetPornBatchDetectJobRequest struct {
 	*requests.RpcRequest
-	JobId   string `position:"Query" name:"JobId"`
 	Project string `position:"Query" name:"Project"`
+	JobId   string `position:"Query" name:"JobId"`
 }
 
 // GetPornBatchDetectJobResponse is the response struct for api GetPornBatchDetectJob

+ 1 - 1
services/imm/get_tag_job.go

@@ -76,8 +76,8 @@ func (client *Client) GetTagJobWithCallback(request *GetTagJobRequest, callback
 // GetTagJobRequest is the request struct for api GetTagJob
 type GetTagJobRequest struct {
 	*requests.RpcRequest
-	JobId   string `position:"Query" name:"JobId"`
 	Project string `position:"Query" name:"Project"`
+	JobId   string `position:"Query" name:"JobId"`
 }
 
 // GetTagJobResponse is the response struct for api GetTagJob

+ 1 - 1
services/imm/get_video.go

@@ -76,8 +76,8 @@ func (client *Client) GetVideoWithCallback(request *GetVideoRequest, callback fu
 // GetVideoRequest is the request struct for api GetVideo
 type GetVideoRequest struct {
 	*requests.RpcRequest
-	VideoUri string `position:"Query" name:"VideoUri"`
 	Project  string `position:"Query" name:"Project"`
+	VideoUri string `position:"Query" name:"VideoUri"`
 	SetId    string `position:"Query" name:"SetId"`
 }
 

+ 1 - 1
services/imm/get_video_task.go

@@ -76,9 +76,9 @@ func (client *Client) GetVideoTaskWithCallback(request *GetVideoTaskRequest, cal
 // GetVideoTaskRequest is the request struct for api GetVideoTask
 type GetVideoTaskRequest struct {
 	*requests.RpcRequest
-	TaskType string `position:"Query" name:"TaskType"`
 	Project  string `position:"Query" name:"Project"`
 	TaskId   string `position:"Query" name:"TaskId"`
+	TaskType string `position:"Query" name:"TaskType"`
 }
 
 // GetVideoTaskResponse is the response struct for api GetVideoTask

+ 14 - 12
services/imm/index_image.go

@@ -76,18 +76,20 @@ 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"`
-	RemarksD       string `position:"Query" name:"RemarksD"`
-	RemarksC       string `position:"Query" name:"RemarksC"`
-	SetId          string `position:"Query" name:"SetId"`
-	SourceType     string `position:"Query" name:"SourceType"`
-	RealUid        string `position:"Query" name:"RealUid"`
+	Project         string `position:"Query" name:"Project"`
+	ExternalId      string `position:"Query" name:"ExternalId"`
+	NotifyEndpoint  string `position:"Query" name:"NotifyEndpoint"`
+	SourceType      string `position:"Query" name:"SourceType"`
+	RealUid         string `position:"Query" name:"RealUid"`
+	NotifyTopicName string `position:"Query" name:"NotifyTopicName"`
+	RemarksB        string `position:"Query" name:"RemarksB"`
+	RemarksA        string `position:"Query" name:"RemarksA"`
+	ImageUri        string `position:"Query" name:"ImageUri"`
+	SourceUri       string `position:"Query" name:"SourceUri"`
+	SourcePosition  string `position:"Query" name:"SourcePosition"`
+	RemarksD        string `position:"Query" name:"RemarksD"`
+	RemarksC        string `position:"Query" name:"RemarksC"`
+	SetId           string `position:"Query" name:"SetId"`
 }
 
 // IndexImageResponse is the response struct for api IndexImage

+ 2 - 2
services/imm/index_tag.go

@@ -76,9 +76,9 @@ func (client *Client) IndexTagWithCallback(request *IndexTagRequest, callback fu
 // IndexTagRequest is the request struct for api IndexTag
 type IndexTagRequest struct {
 	*requests.RpcRequest
-	SrcUris string `position:"Query" name:"SrcUris"`
-	ModelId string `position:"Query" name:"ModelId"`
 	Project string `position:"Query" name:"Project"`
+	ModelId string `position:"Query" name:"ModelId"`
+	SrcUris string `position:"Query" name:"SrcUris"`
 	SetId   string `position:"Query" name:"SetId"`
 	Force   string `position:"Query" name:"Force"`
 }

+ 3 - 3
services/imm/index_video.go

@@ -77,12 +77,12 @@ func (client *Client) IndexVideoWithCallback(request *IndexVideoRequest, callbac
 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"`
 	ExternalId string           `position:"Query" name:"ExternalId"`
 	StartTime  string           `position:"Query" name:"StartTime"`
+	RemarksB   string           `position:"Query" name:"RemarksB"`
+	RemarksA   string           `position:"Query" name:"RemarksA"`
+	EndTime    string           `position:"Query" name:"EndTime"`
 	VideoUri   string           `position:"Query" name:"VideoUri"`
 	SaveType   requests.Boolean `position:"Query" name:"SaveType"`
 	RemarksD   string           `position:"Query" name:"RemarksD"`

+ 4 - 4
services/imm/list_face_groups.go

@@ -76,12 +76,12 @@ func (client *Client) ListFaceGroupsWithCallback(request *ListFaceGroupsRequest,
 // ListFaceGroupsRequest is the request struct for api ListFaceGroups
 type ListFaceGroupsRequest struct {
 	*requests.RpcRequest
-	Marker  string           `position:"Query" name:"Marker"`
-	Limit   requests.Integer `position:"Query" name:"Limit"`
 	Project string           `position:"Query" name:"Project"`
-	SetId   string           `position:"Query" name:"SetId"`
-	OrderBy string           `position:"Query" name:"OrderBy"`
+	Limit   requests.Integer `position:"Query" name:"Limit"`
 	Order   string           `position:"Query" name:"Order"`
+	OrderBy string           `position:"Query" name:"OrderBy"`
+	Marker  string           `position:"Query" name:"Marker"`
+	SetId   string           `position:"Query" name:"SetId"`
 }
 
 // ListFaceGroupsResponse is the response struct for api ListFaceGroups

+ 1 - 1
services/imm/list_face_search_group_images.go

@@ -77,9 +77,9 @@ func (client *Client) ListFaceSearchGroupImagesWithCallback(request *ListFaceSea
 type ListFaceSearchGroupImagesRequest struct {
 	*requests.RpcRequest
 	MaxKeys   requests.Integer `position:"Query" name:"MaxKeys"`
-	Marker    string           `position:"Query" name:"Marker"`
 	Project   string           `position:"Query" name:"Project"`
 	GroupName string           `position:"Query" name:"GroupName"`
+	Marker    string           `position:"Query" name:"Marker"`
 	User      string           `position:"Query" name:"User"`
 }
 

+ 1 - 1
services/imm/list_face_search_group_users.go

@@ -77,9 +77,9 @@ func (client *Client) ListFaceSearchGroupUsersWithCallback(request *ListFaceSear
 type ListFaceSearchGroupUsersRequest struct {
 	*requests.RpcRequest
 	MaxKeys   requests.Integer `position:"Query" name:"MaxKeys"`
-	Marker    string           `position:"Query" name:"Marker"`
 	Project   string           `position:"Query" name:"Project"`
 	GroupName string           `position:"Query" name:"GroupName"`
+	Marker    string           `position:"Query" name:"Marker"`
 }
 
 // ListFaceSearchGroupUsersResponse is the response struct for api ListFaceSearchGroupUsers

+ 1 - 1
services/imm/list_face_search_groups.go

@@ -77,8 +77,8 @@ func (client *Client) ListFaceSearchGroupsWithCallback(request *ListFaceSearchGr
 type ListFaceSearchGroupsRequest struct {
 	*requests.RpcRequest
 	MaxKeys requests.Integer `position:"Query" name:"MaxKeys"`
-	Marker  string           `position:"Query" name:"Marker"`
 	Project string           `position:"Query" name:"Project"`
+	Marker  string           `position:"Query" name:"Marker"`
 }
 
 // ListFaceSearchGroupsResponse is the response struct for api ListFaceSearchGroups

+ 1 - 1
services/imm/list_image_jobs.go

@@ -77,9 +77,9 @@ func (client *Client) ListImageJobsWithCallback(request *ListImageJobsRequest, c
 type ListImageJobsRequest struct {
 	*requests.RpcRequest
 	MaxKeys requests.Integer `position:"Query" name:"MaxKeys"`
-	Marker  string           `position:"Query" name:"Marker"`
 	Project string           `position:"Query" name:"Project"`
 	JobType string           `position:"Query" name:"JobType"`
+	Marker  string           `position:"Query" name:"Marker"`
 }
 
 // ListImageJobsResponse is the response struct for api ListImageJobs

+ 2 - 2
services/imm/list_images.go

@@ -76,9 +76,9 @@ func (client *Client) ListImagesWithCallback(request *ListImagesRequest, callbac
 // ListImagesRequest is the request struct for api ListImages
 type ListImagesRequest struct {
 	*requests.RpcRequest
-	Marker          string           `position:"Query" name:"Marker"`
-	Limit           requests.Integer `position:"Query" name:"Limit"`
 	Project         string           `position:"Query" name:"Project"`
+	Limit           requests.Integer `position:"Query" name:"Limit"`
+	Marker          string           `position:"Query" name:"Marker"`
 	SetId           string           `position:"Query" name:"SetId"`
 	CreateTimeStart string           `position:"Query" name:"CreateTimeStart"`
 }

+ 1 - 1
services/imm/list_office_conversion_task.go

@@ -77,8 +77,8 @@ func (client *Client) ListOfficeConversionTaskWithCallback(request *ListOfficeCo
 type ListOfficeConversionTaskRequest struct {
 	*requests.RpcRequest
 	MaxKeys requests.Integer `position:"Query" name:"MaxKeys"`
-	Marker  string           `position:"Query" name:"Marker"`
 	Project string           `position:"Query" name:"Project"`
+	Marker  string           `position:"Query" name:"Marker"`
 }
 
 // ListOfficeConversionTaskResponse is the response struct for api ListOfficeConversionTask

+ 1 - 1
services/imm/list_photo_process_tasks.go

@@ -77,8 +77,8 @@ func (client *Client) ListPhotoProcessTasksWithCallback(request *ListPhotoProces
 type ListPhotoProcessTasksRequest struct {
 	*requests.RpcRequest
 	MaxKeys requests.Integer `position:"Query" name:"MaxKeys"`
-	Marker  string           `position:"Query" name:"Marker"`
 	Project string           `position:"Query" name:"Project"`
+	Marker  string           `position:"Query" name:"Marker"`
 }
 
 // ListPhotoProcessTasksResponse is the response struct for api ListPhotoProcessTasks

+ 1 - 1
services/imm/list_porn_batch_detect_jobs.go

@@ -77,8 +77,8 @@ func (client *Client) ListPornBatchDetectJobsWithCallback(request *ListPornBatch
 type ListPornBatchDetectJobsRequest struct {
 	*requests.RpcRequest
 	MaxKeys requests.Integer `position:"Query" name:"MaxKeys"`
-	Marker  string           `position:"Query" name:"Marker"`
 	Project string           `position:"Query" name:"Project"`
+	Marker  string           `position:"Query" name:"Marker"`
 }
 
 // ListPornBatchDetectJobsResponse is the response struct for api ListPornBatchDetectJobs

+ 1 - 1
services/imm/list_sets.go

@@ -76,8 +76,8 @@ func (client *Client) ListSetsWithCallback(request *ListSetsRequest, callback fu
 // ListSetsRequest is the request struct for api ListSets
 type ListSetsRequest struct {
 	*requests.RpcRequest
-	Marker  string `position:"Query" name:"Marker"`
 	Project string `position:"Query" name:"Project"`
+	Marker  string `position:"Query" name:"Marker"`
 }
 
 // ListSetsResponse is the response struct for api ListSets

+ 2 - 2
services/imm/list_tag_jobs.go

@@ -76,10 +76,10 @@ func (client *Client) ListTagJobsWithCallback(request *ListTagJobsRequest, callb
 // ListTagJobsRequest is the request struct for api ListTagJobs
 type ListTagJobsRequest 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"`
+	Condition string           `position:"Query" name:"Condition"`
+	Marker    string           `position:"Query" name:"Marker"`
 }
 
 // ListTagJobsResponse is the response struct for api ListTagJobs

+ 1 - 1
services/imm/list_tag_names.go

@@ -76,8 +76,8 @@ func (client *Client) ListTagNamesWithCallback(request *ListTagNamesRequest, cal
 // ListTagNamesRequest is the request struct for api ListTagNames
 type ListTagNamesRequest struct {
 	*requests.RpcRequest
-	Marker  string `position:"Query" name:"Marker"`
 	Project string `position:"Query" name:"Project"`
+	Marker  string `position:"Query" name:"Marker"`
 	SetId   string `position:"Query" name:"SetId"`
 }
 

+ 2 - 2
services/imm/list_tag_photos.go

@@ -76,10 +76,10 @@ func (client *Client) ListTagPhotosWithCallback(request *ListTagPhotosRequest, c
 // ListTagPhotosRequest is the request struct for api ListTagPhotos
 type ListTagPhotosRequest struct {
 	*requests.RpcRequest
-	TagName string `position:"Query" name:"TagName"`
 	MaxKeys string `position:"Query" name:"MaxKeys"`
-	Marker  string `position:"Query" name:"Marker"`
 	Project string `position:"Query" name:"Project"`
+	TagName string `position:"Query" name:"TagName"`
+	Marker  string `position:"Query" name:"Marker"`
 	SetId   string `position:"Query" name:"SetId"`
 }
 

+ 1 - 1
services/imm/list_tag_sets.go

@@ -77,8 +77,8 @@ func (client *Client) ListTagSetsWithCallback(request *ListTagSetsRequest, callb
 type ListTagSetsRequest struct {
 	*requests.RpcRequest
 	MaxKeys requests.Integer `position:"Query" name:"MaxKeys"`
-	Marker  string           `position:"Query" name:"Marker"`
 	Project string           `position:"Query" name:"Project"`
+	Marker  string           `position:"Query" name:"Marker"`
 }
 
 // ListTagSetsResponse is the response struct for api ListTagSets

+ 1 - 1
services/imm/list_video_audios.go

@@ -76,9 +76,9 @@ func (client *Client) ListVideoAudiosWithCallback(request *ListVideoAudiosReques
 // ListVideoAudiosRequest is the request struct for api ListVideoAudios
 type ListVideoAudiosRequest struct {
 	*requests.RpcRequest
+	Project  string `position:"Query" name:"Project"`
 	VideoUri string `position:"Query" name:"VideoUri"`
 	Marker   string `position:"Query" name:"Marker"`
-	Project  string `position:"Query" name:"Project"`
 	SetId    string `position:"Query" name:"SetId"`
 }
 

+ 1 - 1
services/imm/list_video_frames.go

@@ -76,9 +76,9 @@ func (client *Client) ListVideoFramesWithCallback(request *ListVideoFramesReques
 // ListVideoFramesRequest is the request struct for api ListVideoFrames
 type ListVideoFramesRequest struct {
 	*requests.RpcRequest
+	Project  string `position:"Query" name:"Project"`
 	VideoUri string `position:"Query" name:"VideoUri"`
 	Marker   string `position:"Query" name:"Marker"`
-	Project  string `position:"Query" name:"Project"`
 	SetId    string `position:"Query" name:"SetId"`
 }
 

+ 1 - 1
services/imm/list_video_tasks.go

@@ -77,9 +77,9 @@ func (client *Client) ListVideoTasksWithCallback(request *ListVideoTasksRequest,
 type ListVideoTasksRequest struct {
 	*requests.RpcRequest
 	MaxKeys  requests.Integer `position:"Query" name:"MaxKeys"`
+	Project  string           `position:"Query" name:"Project"`
 	TaskType string           `position:"Query" name:"TaskType"`
 	Marker   string           `position:"Query" name:"Marker"`
-	Project  string           `position:"Query" name:"Project"`
 }
 
 // ListVideoTasksResponse is the response struct for api ListVideoTasks

+ 1 - 1
services/imm/list_videos.go

@@ -76,8 +76,8 @@ func (client *Client) ListVideosWithCallback(request *ListVideosRequest, callbac
 // ListVideosRequest is the request struct for api ListVideos
 type ListVideosRequest struct {
 	*requests.RpcRequest
-	Marker          string `position:"Query" name:"Marker"`
 	Project         string `position:"Query" name:"Project"`
+	Marker          string `position:"Query" name:"Marker"`
 	SetId           string `position:"Query" name:"SetId"`
 	CreateTimeStart string `position:"Query" name:"CreateTimeStart"`
 }

+ 2 - 2
services/imm/photo_process.go

@@ -76,10 +76,10 @@ func (client *Client) PhotoProcessWithCallback(request *PhotoProcessRequest, cal
 // PhotoProcessRequest is the request struct for api PhotoProcess
 type PhotoProcessRequest struct {
 	*requests.RpcRequest
-	NotifyTopicName string `position:"Query" name:"NotifyTopicName"`
-	NotifyEndpoint  string `position:"Query" name:"NotifyEndpoint"`
 	Project         string `position:"Query" name:"Project"`
 	ExternalID      string `position:"Query" name:"ExternalID"`
+	NotifyEndpoint  string `position:"Query" name:"NotifyEndpoint"`
+	NotifyTopicName string `position:"Query" name:"NotifyTopicName"`
 	SrcUri          string `position:"Query" name:"SrcUri"`
 	Style           string `position:"Query" name:"Style"`
 	TgtUri          string `position:"Query" name:"TgtUri"`

+ 2 - 2
services/imm/put_project.go

@@ -76,11 +76,11 @@ func (client *Client) PutProjectWithCallback(request *PutProjectRequest, callbac
 // PutProjectRequest is the request struct for api PutProject
 type PutProjectRequest struct {
 	*requests.RpcRequest
+	Project     string           `position:"Query" name:"Project"`
+	Type        string           `position:"Query" name:"Type"`
 	CU          requests.Integer `position:"Query" name:"CU"`
 	ServiceRole string           `position:"Query" name:"ServiceRole"`
-	Project     string           `position:"Query" name:"Project"`
 	BillingType string           `position:"Query" name:"BillingType"`
-	Type        string           `position:"Query" name:"Type"`
 }
 
 // PutProjectResponse is the response struct for api PutProject

+ 1 - 1
services/imm/regist_face.go

@@ -79,9 +79,9 @@ type RegistFaceRequest struct {
 	ChooseBiggestFace  requests.Boolean `position:"Query" name:"ChooseBiggestFace"`
 	IsQualityLimit     requests.Boolean `position:"Query" name:"IsQualityLimit"`
 	Project            string           `position:"Query" name:"Project"`
+	GroupName          string           `position:"Query" name:"GroupName"`
 	SrcUri             string           `position:"Query" name:"SrcUri"`
 	RegisterCheckLevel string           `position:"Query" name:"RegisterCheckLevel"`
-	GroupName          string           `position:"Query" name:"GroupName"`
 	User               string           `position:"Query" name:"User"`
 }
 

+ 7 - 7
services/imm/search_doc_index.go

@@ -77,24 +77,24 @@ func (client *Client) SearchDocIndexWithCallback(request *SearchDocIndexRequest,
 type SearchDocIndexRequest struct {
 	*requests.RpcRequest
 	ModifiedTimeEnd   requests.Integer `position:"Query" name:"ModifiedTimeEnd"`
+	SizeLimitEnd      requests.Integer `position:"Query" name:"SizeLimitEnd"`
+	Project           string           `position:"Query" name:"Project"`
+	ModifiedTimeStart requests.Integer `position:"Query" name:"ModifiedTimeStart"`
+	PageNumLimitStart requests.Integer `position:"Query" name:"PageNumLimitStart"`
+	Content           string           `position:"Query" name:"Content"`
+	SizeLimitStart    requests.Integer `position:"Query" name:"SizeLimitStart"`
+	Limit             requests.Integer `position:"Query" name:"Limit"`
 	CustomKey1        string           `position:"Query" name:"CustomKey1"`
 	Set               string           `position:"Query" name:"Set"`
-	SizeLimitEnd      requests.Integer `position:"Query" name:"SizeLimitEnd"`
 	CustomKey5        string           `position:"Query" name:"CustomKey5"`
 	Offset            requests.Integer `position:"Query" name:"Offset"`
 	CustomKey4        string           `position:"Query" name:"CustomKey4"`
 	CustomKey3        string           `position:"Query" name:"CustomKey3"`
 	CustomKey2        string           `position:"Query" name:"CustomKey2"`
-	Project           string           `position:"Query" name:"Project"`
-	ModifiedTimeStart requests.Integer `position:"Query" name:"ModifiedTimeStart"`
-	PageNumLimitStart requests.Integer `position:"Query" name:"PageNumLimitStart"`
 	CustomKey6        string           `position:"Query" name:"CustomKey6"`
-	Content           string           `position:"Query" name:"Content"`
 	PageNumLimitEnd   requests.Integer `position:"Query" name:"PageNumLimitEnd"`
 	ContentType       string           `position:"Query" name:"ContentType"`
-	SizeLimitStart    requests.Integer `position:"Query" name:"SizeLimitStart"`
 	Name              string           `position:"Query" name:"Name"`
-	Limit             requests.Integer `position:"Query" name:"Limit"`
 }
 
 // SearchDocIndexResponse is the response struct for api SearchDocIndex

+ 1 - 1
services/imm/search_face.go

@@ -79,9 +79,9 @@ type SearchFaceRequest struct {
 	ResultNum            requests.Integer `position:"Query" name:"ResultNum"`
 	Project              string           `position:"Query" name:"Project"`
 	SearchThresholdLevel string           `position:"Query" name:"SearchThresholdLevel"`
-	SrcUri               string           `position:"Query" name:"SrcUri"`
 	IsThreshold          requests.Boolean `position:"Query" name:"IsThreshold"`
 	GroupName            string           `position:"Query" name:"GroupName"`
+	SrcUri               string           `position:"Query" name:"SrcUri"`
 }
 
 // SearchFaceResponse is the response struct for api SearchFace

+ 1 - 1
services/imm/struct_face_attributes.go

@@ -19,8 +19,8 @@ package imm
 type FaceAttributes struct {
 	Glasses           string       `json:"Glasses" xml:"Glasses"`
 	MaskConfidence    float64      `json:"MaskConfidence" xml:"MaskConfidence"`
-	GlassesConfidence float64      `json:"GlassesConfidence" xml:"GlassesConfidence"`
 	Mask              string       `json:"Mask" xml:"Mask"`
+	GlassesConfidence float64      `json:"GlassesConfidence" xml:"GlassesConfidence"`
 	RaceConfidence    float64      `json:"RaceConfidence" xml:"RaceConfidence"`
 	Beard             string       `json:"Beard" xml:"Beard"`
 	Race              string       `json:"Race" xml:"Race"`

+ 2 - 2
services/imm/struct_faces_item.go

@@ -20,15 +20,15 @@ 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"`
 	FaceQuality          float64            `json:"FaceQuality" xml:"FaceQuality"`
+	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"`
+	GenderConfidence     float64            `json:"GenderConfidence" xml:"GenderConfidence"`
 	FaceId               string             `json:"FaceId" xml:"FaceId"`
 	GroupId              string             `json:"GroupId" xml:"GroupId"`
 	FaceAttributes       FaceAttributes     `json:"FaceAttributes" xml:"FaceAttributes"`

+ 1 - 1
services/imm/struct_success_details_item.go

@@ -24,5 +24,5 @@ type SuccessDetailsItem struct {
 	ClothesBoxDetail []ClothesBoxDetailItem `json:"ClothesBoxDetail" xml:"ClothesBoxDetail"`
 	QRCodes          []QRCodesItem          `json:"QRCodes" xml:"QRCodes"`
 	LogoBoxDetail    []LogoBoxDetailItem    `json:"LogoBoxDetail" xml:"LogoBoxDetail"`
-	Tags             []TagsItemInIndexTag   `json:"Tags" xml:"Tags"`
+	Tags             []TagsItemInDetectTag  `json:"Tags" xml:"Tags"`
 }

+ 4 - 4
services/imm/struct_tasks_item.go

@@ -19,23 +19,23 @@ package imm
 type TasksItem struct {
 	TgtType         string `json:"TgtType" xml:"TgtType"`
 	Result          string `json:"Result" xml:"Result"`
-	ErrorMessage    string `json:"ErrorMessage" xml:"ErrorMessage"`
 	Style           string `json:"Style" xml:"Style"`
+	ErrorMessage    string `json:"ErrorMessage" xml:"ErrorMessage"`
 	PageCount       int    `json:"PageCount" xml:"PageCount"`
 	CreateTime      string `json:"CreateTime" xml:"CreateTime"`
 	ExternalID      string `json:"ExternalID" xml:"ExternalID"`
 	FinishTime      string `json:"FinishTime" xml:"FinishTime"`
 	SrcUri          string `json:"SrcUri" xml:"SrcUri"`
-	Parameters      string `json:"Parameters" xml:"Parameters"`
 	Percent         int    `json:"Percent" xml:"Percent"`
+	Parameters      string `json:"Parameters" xml:"Parameters"`
 	TaskId          string `json:"TaskId" xml:"TaskId"`
 	StartTime       string `json:"StartTime" xml:"StartTime"`
 	EndTime         string `json:"EndTime" xml:"EndTime"`
-	Progress        int    `json:"Progress" xml:"Progress"`
 	TgtUri          string `json:"TgtUri" xml:"TgtUri"`
 	ImageSpec       string `json:"ImageSpec" xml:"ImageSpec"`
+	Progress        int    `json:"Progress" xml:"Progress"`
 	NotifyEndpoint  string `json:"NotifyEndpoint" xml:"NotifyEndpoint"`
 	Status          string `json:"Status" xml:"Status"`
-	TaskType        string `json:"TaskType" xml:"TaskType"`
 	NotifyTopicName string `json:"NotifyTopicName" xml:"NotifyTopicName"`
+	TaskType        string `json:"TaskType" xml:"TaskType"`
 }

+ 2 - 2
services/imm/update_doc_index_meta.go

@@ -76,16 +76,16 @@ func (client *Client) UpdateDocIndexMetaWithCallback(request *UpdateDocIndexMeta
 // UpdateDocIndexMetaRequest is the request struct for api UpdateDocIndexMeta
 type UpdateDocIndexMetaRequest struct {
 	*requests.RpcRequest
+	Project    string `position:"Query" name:"Project"`
+	UniqueId   string `position:"Query" name:"UniqueId"`
 	CustomKey1 string `position:"Query" name:"CustomKey1"`
 	Set        string `position:"Query" name:"Set"`
 	CustomKey5 string `position:"Query" name:"CustomKey5"`
 	CustomKey4 string `position:"Query" name:"CustomKey4"`
 	CustomKey3 string `position:"Query" name:"CustomKey3"`
 	CustomKey2 string `position:"Query" name:"CustomKey2"`
-	Project    string `position:"Query" name:"Project"`
 	CustomKey6 string `position:"Query" name:"CustomKey6"`
 	Name       string `position:"Query" name:"Name"`
-	UniqueId   string `position:"Query" name:"UniqueId"`
 }
 
 // UpdateDocIndexMetaResponse is the response struct for api UpdateDocIndexMeta

+ 2 - 2
services/imm/update_face_group.go

@@ -76,10 +76,10 @@ func (client *Client) UpdateFaceGroupWithCallback(request *UpdateFaceGroupReques
 // UpdateFaceGroupRequest is the request struct for api UpdateFaceGroup
 type UpdateFaceGroupRequest struct {
 	*requests.RpcRequest
-	GroupId          string `position:"Query" name:"GroupId"`
 	Project          string `position:"Query" name:"Project"`
-	SetId            string `position:"Query" name:"SetId"`
+	GroupId          string `position:"Query" name:"GroupId"`
 	GroupName        string `position:"Query" name:"GroupName"`
+	SetId            string `position:"Query" name:"SetId"`
 	GroupCoverFaceId string `position:"Query" name:"GroupCoverFaceId"`
 }
 

+ 3 - 3
services/imm/update_image.go

@@ -76,17 +76,17 @@ 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"`
+	SourceType     string `position:"Query" name:"SourceType"`
+	RemarksB       string `position:"Query" name:"RemarksB"`
+	RemarksA       string `position:"Query" name:"RemarksA"`
 	ImageUri       string `position:"Query" name:"ImageUri"`
 	SourceUri      string `position:"Query" name:"SourceUri"`
 	SourcePosition string `position:"Query" name:"SourcePosition"`
 	RemarksD       string `position:"Query" name:"RemarksD"`
 	RemarksC       string `position:"Query" name:"RemarksC"`
 	SetId          string `position:"Query" name:"SetId"`
-	SourceType     string `position:"Query" name:"SourceType"`
 }
 
 // UpdateImageResponse is the response struct for api UpdateImage

+ 1 - 1
services/imm/update_project.go

@@ -76,8 +76,8 @@ func (client *Client) UpdateProjectWithCallback(request *UpdateProjectRequest, c
 // UpdateProjectRequest is the request struct for api UpdateProject
 type UpdateProjectRequest struct {
 	*requests.RpcRequest
-	NewServiceRole string           `position:"Query" name:"NewServiceRole"`
 	Project        string           `position:"Query" name:"Project"`
+	NewServiceRole string           `position:"Query" name:"NewServiceRole"`
 	NewCU          requests.Integer `position:"Query" name:"NewCU"`
 }
 

+ 1 - 1
services/imm/update_set.go

@@ -76,8 +76,8 @@ func (client *Client) UpdateSetWithCallback(request *UpdateSetRequest, callback
 // UpdateSetRequest is the request struct for api UpdateSet
 type UpdateSetRequest struct {
 	*requests.RpcRequest
-	SetName string `position:"Query" name:"SetName"`
 	Project string `position:"Query" name:"Project"`
+	SetName string `position:"Query" name:"SetName"`
 	SetId   string `position:"Query" name:"SetId"`
 }