浏览代码

IMM SDK Auto Released By kuta.zyb,Version:1.38.1

Signed-off-by: yixiong.jxy <yixiong.jxy@alibaba-inc.com>
yixiong.jxy 7 年之前
父节点
当前提交
b2e10a2ac2

+ 5 - 0
ChangeLog.txt

@@ -1,3 +1,8 @@
+2018-11-15 Version: 1.38.1
+1, Remove FaceCompare, FaceRegist, FaceSearch api.
+2, Add DetectLogo api.
+3, CreateOfficeConversionTask support IdempotentToken.
+
 2018-11-14 Version: 1.38.0
 1, Better support for hybrid cluster.
 

+ 1 - 0
services/imm/create_office_conversion_task.go

@@ -83,6 +83,7 @@ type CreateOfficeConversionTaskRequest struct {
 	MaxSheetRow     requests.Integer `position:"Query" name:"MaxSheetRow"`
 	MaxSheetCount   requests.Integer `position:"Query" name:"MaxSheetCount"`
 	EndPage         requests.Integer `position:"Query" name:"EndPage"`
+	IdempotentToken string           `position:"Query" name:"IdempotentToken"`
 	TgtFileSuffix   string           `position:"Query" name:"TgtFileSuffix"`
 	SheetOnePage    requests.Boolean `position:"Query" name:"SheetOnePage"`
 	Password        string           `position:"Query" name:"Password"`

+ 107 - 0
services/imm/detect_clothes.go

@@ -0,0 +1,107 @@
+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"
+)
+
+// DetectClothes invokes the imm.DetectClothes API synchronously
+// api document: https://help.aliyun.com/api/imm/detectclothes.html
+func (client *Client) DetectClothes(request *DetectClothesRequest) (response *DetectClothesResponse, err error) {
+	response = CreateDetectClothesResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DetectClothesWithChan invokes the imm.DetectClothes API asynchronously
+// api document: https://help.aliyun.com/api/imm/detectclothes.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DetectClothesWithChan(request *DetectClothesRequest) (<-chan *DetectClothesResponse, <-chan error) {
+	responseChan := make(chan *DetectClothesResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DetectClothes(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DetectClothesWithCallback invokes the imm.DetectClothes API asynchronously
+// api document: https://help.aliyun.com/api/imm/detectclothes.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DetectClothesWithCallback(request *DetectClothesRequest, callback func(response *DetectClothesResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DetectClothesResponse
+		var err error
+		defer close(result)
+		response, err = client.DetectClothes(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// 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"`
+}
+
+// DetectClothesResponse is the response struct for api DetectClothes
+type DetectClothesResponse 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"`
+}
+
+// CreateDetectClothesRequest creates a request to invoke DetectClothes API
+func CreateDetectClothesRequest() (request *DetectClothesRequest) {
+	request = &DetectClothesRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("imm", "2017-09-06", "DetectClothes", "imm", "openAPI")
+	return
+}
+
+// CreateDetectClothesResponse creates a response to parse from DetectClothes response
+func CreateDetectClothesResponse() (response *DetectClothesResponse) {
+	response = &DetectClothesResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 107 - 0
services/imm/detect_logo.go

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

+ 0 - 106
services/imm/face_compare.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"
-)
-
-// FaceCompare invokes the imm.FaceCompare API synchronously
-// api document: https://help.aliyun.com/api/imm/facecompare.html
-func (client *Client) FaceCompare(request *FaceCompareRequest) (response *FaceCompareResponse, err error) {
-	response = CreateFaceCompareResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// FaceCompareWithChan invokes the imm.FaceCompare API asynchronously
-// api document: https://help.aliyun.com/api/imm/facecompare.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) FaceCompareWithChan(request *FaceCompareRequest) (<-chan *FaceCompareResponse, <-chan error) {
-	responseChan := make(chan *FaceCompareResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.FaceCompare(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// FaceCompareWithCallback invokes the imm.FaceCompare API asynchronously
-// api document: https://help.aliyun.com/api/imm/facecompare.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) FaceCompareWithCallback(request *FaceCompareRequest, callback func(response *FaceCompareResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *FaceCompareResponse
-		var err error
-		defer close(result)
-		response, err = client.FaceCompare(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// FaceCompareRequest is the request struct for api FaceCompare
-type FaceCompareRequest struct {
-	*requests.RpcRequest
-	SrcUriB string `position:"Query" name:"SrcUriB"`
-	SrcUriA string `position:"Query" name:"SrcUriA"`
-	Project string `position:"Query" name:"Project"`
-}
-
-// FaceCompareResponse is the response struct for api FaceCompare
-type FaceCompareResponse struct {
-	*responses.BaseResponse
-	RequestId     string              `json:"RequestId" xml:"RequestId"`
-	CompareResult []CompareResultItem `json:"CompareResult" xml:"CompareResult"`
-}
-
-// CreateFaceCompareRequest creates a request to invoke FaceCompare API
-func CreateFaceCompareRequest() (request *FaceCompareRequest) {
-	request = &FaceCompareRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("imm", "2017-09-06", "FaceCompare", "imm", "openAPI")
-	return
-}
-
-// CreateFaceCompareResponse creates a response to parse from FaceCompare response
-func CreateFaceCompareResponse() (response *FaceCompareResponse) {
-	response = &FaceCompareResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 125
services/imm/face_regist.go

@@ -1,125 +0,0 @@
-package imm
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under the License.
-//
-// Code generated by Alibaba Cloud SDK Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is regenerated.
-
-import (
-	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
-	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
-)
-
-// FaceRegist invokes the imm.FaceRegist API synchronously
-// api document: https://help.aliyun.com/api/imm/faceregist.html
-func (client *Client) FaceRegist(request *FaceRegistRequest) (response *FaceRegistResponse, err error) {
-	response = CreateFaceRegistResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// FaceRegistWithChan invokes the imm.FaceRegist API asynchronously
-// api document: https://help.aliyun.com/api/imm/faceregist.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) FaceRegistWithChan(request *FaceRegistRequest) (<-chan *FaceRegistResponse, <-chan error) {
-	responseChan := make(chan *FaceRegistResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.FaceRegist(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// FaceRegistWithCallback invokes the imm.FaceRegist API asynchronously
-// api document: https://help.aliyun.com/api/imm/faceregist.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) FaceRegistWithCallback(request *FaceRegistRequest, callback func(response *FaceRegistResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *FaceRegistResponse
-		var err error
-		defer close(result)
-		response, err = client.FaceRegist(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// FaceRegistRequest is the request struct for api FaceRegist
-type FaceRegistRequest struct {
-	*requests.RpcRequest
-	ChooseBiggestFace  requests.Boolean `position:"Query" name:"ChooseBiggestFace"`
-	IsQualityLimit     requests.Boolean `position:"Query" name:"IsQualityLimit"`
-	Project            string           `position:"Query" name:"Project"`
-	SrcUri             string           `position:"Query" name:"SrcUri"`
-	RegisterCheckLevel string           `position:"Query" name:"RegisterCheckLevel"`
-	GroupName          string           `position:"Query" name:"GroupName"`
-	User               string           `position:"Query" name:"User"`
-}
-
-// FaceRegistResponse is the response struct for api FaceRegist
-type FaceRegistResponse struct {
-	*responses.BaseResponse
-	RequestId string   `json:"RequestId" xml:"RequestId"`
-	GroupId   string   `json:"GroupId" xml:"GroupId"`
-	ImageUrl  string   `json:"ImageUrl" xml:"ImageUrl"`
-	ImageMd5  string   `json:"ImageMd5" xml:"ImageMd5"`
-	ImageId   string   `json:"ImageId" xml:"ImageId"`
-	GroupName string   `json:"GroupName" xml:"GroupName"`
-	User      string   `json:"User" xml:"User"`
-	Roll      float64  `json:"Roll" xml:"Roll"`
-	FaceId    string   `json:"FaceId" xml:"FaceId"`
-	Yaw       string   `json:"Yaw" xml:"Yaw"`
-	Quality   float64  `json:"Quality" xml:"Quality"`
-	Glasses   int      `json:"Glasses" xml:"Glasses"`
-	Hat       int      `json:"Hat" xml:"Hat"`
-	Pitch     float64  `json:"Pitch" xml:"Pitch"`
-	Age       int      `json:"Age" xml:"Age"`
-	Gender    string   `json:"Gender" xml:"Gender"`
-	Axis      []string `json:"Axis" xml:"Axis"`
-}
-
-// CreateFaceRegistRequest creates a request to invoke FaceRegist API
-func CreateFaceRegistRequest() (request *FaceRegistRequest) {
-	request = &FaceRegistRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("imm", "2017-09-06", "FaceRegist", "imm", "openAPI")
-	return
-}
-
-// CreateFaceRegistResponse creates a response to parse from FaceRegist response
-func CreateFaceRegistResponse() (response *FaceRegistResponse) {
-	response = &FaceRegistResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 115
services/imm/face_search.go

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

+ 3 - 3
services/imm/struct_axis_in_face_search.go → services/imm/struct_box_in_detect_clothes.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.
 
-// AxisInFaceSearch is a nested struct in imm response
-type AxisInFaceSearch struct {
-	Axis []string `json:"Axis" xml:"Axis"`
+// BoxInDetectClothes is a nested struct in imm response
+type BoxInDetectClothes struct {
+	Box []string `json:"Box" xml:"Box"`
 }

+ 3 - 3
services/imm/struct_axis_in_face_regist.go → services/imm/struct_box_in_detect_logo.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.
 
-// AxisInFaceRegist is a nested struct in imm response
-type AxisInFaceRegist struct {
-	Axis []string `json:"Axis" xml:"Axis"`
+// BoxInDetectLogo is a nested struct in imm response
+type BoxInDetectLogo struct {
+	Box []string `json:"Box" xml:"Box"`
 }

+ 21 - 0
services/imm/struct_clothes_box_detail.go

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

+ 24 - 0
services/imm/struct_clothes_box_detail_item.go

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

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

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

+ 0 - 22
services/imm/struct_engines_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.
-
-// EnginesItem is a nested struct in imm response
-type EnginesItem struct {
-	Name   string `json:"Name" xml:"Name"`
-	JobTtl int    `json:"JobTtl" xml:"JobTtl"`
-}

+ 21 - 0
services/imm/struct_fail_details_in_detect_clothes.go

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

+ 21 - 0
services/imm/struct_fail_details_in_detect_logo.go

@@ -0,0 +1,21 @@
+package imm
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// FailDetailsInDetectLogo is a nested struct in imm response
+type FailDetailsInDetectLogo struct {
+	FailDetailsItem []FailDetailsItem `json:"FailDetailsItem" xml:"FailDetailsItem"`
+}

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

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

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

+ 0 - 22
services/imm/struct_indexers_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.
-
-// IndexersItem is a nested struct in imm response
-type IndexersItem struct {
-	Name   string `json:"Name" xml:"Name"`
-	Status string `json:"Status" xml:"Status"`
-}

+ 21 - 0
services/imm/struct_logo_box_detail.go

@@ -0,0 +1,21 @@
+package imm
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// LogoBoxDetail is a nested struct in imm response
+type LogoBoxDetail struct {
+	LogoBoxDetailItem []LogoBoxDetailItem `json:"LogoBoxDetailItem" xml:"LogoBoxDetailItem"`
+}

+ 24 - 0
services/imm/struct_logo_box_detail_item.go

@@ -0,0 +1,24 @@
+package imm
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// LogoBoxDetailItem is a nested struct in imm response
+type LogoBoxDetailItem struct {
+	PUID  string   `json:"PUID" xml:"PUID"`
+	Type  string   `json:"Type" xml:"Type"`
+	Score float64  `json:"Score" xml:"Score"`
+	Box   []string `json:"Box" xml:"Box"`
+}

+ 3 - 3
services/imm/struct_engines_in_get_project.go → services/imm/struct_src_uris_in_detect_clothes.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.
 
-// EnginesInGetProject is a nested struct in imm response
-type EnginesInGetProject struct {
-	EnginesItem []EnginesItem `json:"EnginesItem" xml:"EnginesItem"`
+// SrcUrisInDetectClothes is a nested struct in imm response
+type SrcUrisInDetectClothes struct {
+	SrcUris []string `json:"SrcUris" xml:"SrcUris"`
 }

+ 3 - 3
services/imm/struct_axis_in_face_compare.go → services/imm/struct_src_uris_in_detect_logo.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.
 
-// AxisInFaceCompare is a nested struct in imm response
-type AxisInFaceCompare struct {
-	Axis []string `json:"Axis" xml:"Axis"`
+// SrcUrisInDetectLogo is a nested struct in imm response
+type SrcUrisInDetectLogo struct {
+	SrcUris []string `json:"SrcUris" xml:"SrcUris"`
 }

+ 21 - 0
services/imm/struct_success_details_in_detect_clothes.go

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

+ 21 - 0
services/imm/struct_success_details_in_detect_logo.go

@@ -0,0 +1,21 @@
+package imm
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+// SuccessDetailsInDetectLogo is a nested struct in imm response
+type SuccessDetailsInDetectLogo struct {
+	SuccessDetailsItem []SuccessDetailsItem `json:"SuccessDetailsItem" xml:"SuccessDetailsItem"`
+}

+ 10 - 5
services/imm/struct_success_details_item.go

@@ -17,9 +17,14 @@ package imm
 
 // SuccessDetailsItem is a nested struct in imm response
 type SuccessDetailsItem struct {
-	PhotoId string        `json:"PhotoId" xml:"PhotoId"`
-	SrcUri  string        `json:"SrcUri" xml:"SrcUri"`
-	QRCodes []QRCodesItem `json:"QRCodes" xml:"QRCodes"`
-	Faces   []FacesItem   `json:"Faces" xml:"Faces"`
-	Tags    []TagsItem    `json:"Tags" xml:"Tags"`
+	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             []TagsItem             `json:"Tags" xml:"Tags"`
 }