Browse Source

Generated 2017-09-06 for imm.

sdk-team 5 years ago
parent
commit
2b68b70dd8

+ 4 - 0
ChangeLog.txt

@@ -1,3 +1,7 @@
+2020-03-09 Version: v1.61.41
+- Generated 2017-09-06 for `imm`.
+- Add EmotionConfidence to GetImage.
+
 2020-03-09 Version: v1.61.40
 - Generated 2019-11-11 for `nlp-automl`.
 - NlpAutoml update contract api.

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

+ 0 - 107
services/imm/detect_clothes.go

@@ -1,107 +0,0 @@
-package imm
-
-//Licensed under the Apache License, Version 2.0 (the "License");
-//you may not use this file except in compliance with the License.
-//You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under the License.
-//
-// Code generated by Alibaba Cloud SDK Code Generator.
-// Changes may cause incorrect behavior and will be lost if the code is regenerated.
-
-import (
-	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
-	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
-)
-
-// 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
-	Project string `position:"Query" name:"Project"`
-	SrcUris string `position:"Query" name:"SrcUris"`
-}
-
-// 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
-}

+ 0 - 107
services/imm/list_tag_names.go

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

+ 0 - 21
services/imm/struct_axis_in_compare_face.go

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

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

+ 0 - 21
services/imm/struct_clothes_box_detail.go

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

+ 0 - 24
services/imm/struct_clothes_box_detail_item.go

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

+ 0 - 23
services/imm/struct_compare_result_item.go

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

+ 0 - 2
services/imm/struct_face_a.go

@@ -17,8 +17,6 @@ package imm
 
 // FaceA is a nested struct in imm response
 type FaceA struct {
-	ImageUri       string         `json:"ImageUri" xml:"ImageUri"`
 	FaceId         string         `json:"FaceId" xml:"FaceId"`
-	Axis           []string       `json:"Axis" xml:"Axis"`
 	FaceAttributes FaceAttributes `json:"FaceAttributes" xml:"FaceAttributes"`
 }

+ 0 - 2
services/imm/struct_face_b.go

@@ -17,8 +17,6 @@ package imm
 
 // FaceB is a nested struct in imm response
 type FaceB struct {
-	ImageUri       string         `json:"ImageUri" xml:"ImageUri"`
 	FaceId         string         `json:"FaceId" xml:"FaceId"`
-	Axis           []string       `json:"Axis" xml:"Axis"`
 	FaceAttributes FaceAttributes `json:"FaceAttributes" xml:"FaceAttributes"`
 }

+ 12 - 11
services/imm/struct_faces_item_in_get_image.go

@@ -17,15 +17,16 @@ package imm
 
 // FacesItemInGetImage is a nested struct in imm response
 type FacesItemInGetImage struct {
-	FaceId           string         `json:"FaceId" xml:"FaceId"`
-	FaceConfidence   float64        `json:"FaceConfidence" xml:"FaceConfidence"`
-	Age              string         `json:"Age" xml:"Age"`
-	Gender           string         `json:"Gender" xml:"Gender"`
-	Emotion          string         `json:"Emotion" xml:"Emotion"`
-	Attractive       float64        `json:"Attractive" xml:"Attractive"`
-	GenderConfidence float64        `json:"GenderConfidence" xml:"GenderConfidence"`
-	GroupId          string         `json:"GroupId" xml:"GroupId"`
-	FaceQuality      float64        `json:"FaceQuality" xml:"FaceQuality"`
-	FaceAttributes   FaceAttributes `json:"FaceAttributes" xml:"FaceAttributes"`
-	EmotionDetails   EmotionDetails `json:"EmotionDetails" xml:"EmotionDetails"`
+	FaceId            string         `json:"FaceId" xml:"FaceId"`
+	FaceConfidence    float64        `json:"FaceConfidence" xml:"FaceConfidence"`
+	Age               string         `json:"Age" xml:"Age"`
+	Gender            string         `json:"Gender" xml:"Gender"`
+	Emotion           string         `json:"Emotion" xml:"Emotion"`
+	Attractive        float64        `json:"Attractive" xml:"Attractive"`
+	GenderConfidence  float64        `json:"GenderConfidence" xml:"GenderConfidence"`
+	GroupId           string         `json:"GroupId" xml:"GroupId"`
+	FaceQuality       float64        `json:"FaceQuality" xml:"FaceQuality"`
+	EmotionConfidence float64        `json:"EmotionConfidence" xml:"EmotionConfidence"`
+	FaceAttributes    FaceAttributes `json:"FaceAttributes" xml:"FaceAttributes"`
+	EmotionDetails    EmotionDetails `json:"EmotionDetails" xml:"EmotionDetails"`
 }

+ 2 - 2
services/imm/struct_fail_details_in_detect_clothes.go → services/imm/struct_fail_details.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.
 
-// FailDetailsInDetectClothes is a nested struct in imm response
-type FailDetailsInDetectClothes struct {
+// FailDetails is a nested struct in imm response
+type FailDetails struct {
 	FailDetailsItem []FailDetailsItem `json:"FailDetails" xml:"FailDetails"`
 }

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

+ 2 - 3
services/imm/struct_fail_details_item.go

@@ -17,8 +17,7 @@ package imm
 
 // FailDetailsItem is a nested struct in imm response
 type FailDetailsItem struct {
-	Reason       string `json:"Reason" xml:"Reason"`
-	ErrorMessage string `json:"ErrorMessage" xml:"ErrorMessage"`
-	ErrorCode    string `json:"ErrorCode" xml:"ErrorCode"`
 	SrcUri       string `json:"SrcUri" xml:"SrcUri"`
+	ErrorCode    string `json:"ErrorCode" xml:"ErrorCode"`
+	ErrorMessage string `json:"ErrorMessage" xml:"ErrorMessage"`
 }

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

+ 2 - 2
services/imm/struct_success_details_in_detect_clothes.go → services/imm/struct_success_details.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.
 
-// SuccessDetailsInDetectClothes is a nested struct in imm response
-type SuccessDetailsInDetectClothes struct {
+// SuccessDetails is a nested struct in imm response
+type SuccessDetails struct {
 	SuccessDetailsItem []SuccessDetailsItem `json:"SuccessDetails" xml:"SuccessDetails"`
 }

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

+ 2 - 6
services/imm/struct_success_details_item.go

@@ -17,10 +17,6 @@ package imm
 
 // SuccessDetailsItem is a nested struct in imm response
 type SuccessDetailsItem struct {
-	Time             string                 `json:"Time" xml:"Time"`
-	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"`
+	SrcUri  string        `json:"SrcUri" xml:"SrcUri"`
+	QRCodes []QRCodesItem `json:"QRCodes" xml:"QRCodes"`
 }

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

+ 0 - 1
services/imm/struct_tags_item.go

@@ -24,5 +24,4 @@ type TagsItem struct {
 	ParentTagEnName string  `json:"ParentTagEnName" xml:"ParentTagEnName"`
 	TagLevel        int     `json:"TagLevel" xml:"TagLevel"`
 	ParentTagName   string  `json:"ParentTagName" xml:"ParentTagName"`
-	Num             int     `json:"Num" xml:"Num"`
 }