Selaa lähdekoodia

Supported Sync predict for Image.

sdk-team 6 vuotta sitten
vanhempi
commit
b202085189
79 muutettua tiedostoa jossa 899 lisäystä ja 3681 poistoa
  1. 5 0
      ChangeLog.txt
  2. 53 5
      services/ivision/client.go
  3. 106 0
      services/ivision/create_face_group.go
  4. 0 108
      services/ivision/create_project.go
  5. 4 1
      services/ivision/create_stream_predict.go
  6. 0 108
      services/ivision/create_tag.go
  7. 0 108
      services/ivision/create_train_data_region_tag.go
  8. 0 108
      services/ivision/create_train_data_tag.go
  9. 0 109
      services/ivision/create_train_datas_from_prediction.go
  10. 0 108
      services/ivision/create_train_datas_from_urls.go
  11. 0 108
      services/ivision/create_train_datas_tag.go
  12. 0 107
      services/ivision/create_upload_token.go
  13. 106 0
      services/ivision/delete_face_group.go
  14. 0 107
      services/ivision/delete_iteration.go
  15. 0 107
      services/ivision/delete_predict_datas.go
  16. 0 106
      services/ivision/delete_project.go
  17. 0 107
      services/ivision/delete_tag.go
  18. 0 106
      services/ivision/delete_train_datas.go
  19. 0 107
      services/ivision/delete_train_datas_tag.go
  20. 112 0
      services/ivision/describe_face_groups.go
  21. 0 113
      services/ivision/describe_iterations.go
  22. 0 118
      services/ivision/describe_predict_datas.go
  23. 0 113
      services/ivision/describe_projects.go
  24. 6 6
      services/ivision/describe_stream_predict_result.go
  25. 6 6
      services/ivision/describe_stream_predicts.go
  26. 0 115
      services/ivision/describe_tags.go
  27. 0 116
      services/ivision/describe_train_datas.go
  28. 0 108
      services/ivision/describe_train_datas_by_ids.go
  29. 0 108
      services/ivision/describe_train_result.go
  30. 20 0
      services/ivision/endpoint.go
  31. 107 0
      services/ivision/image_predict.go
  32. 0 108
      services/ivision/modify_project_attribute.go
  33. 0 109
      services/ivision/modify_tag_attribute.go
  34. 0 108
      services/ivision/modify_train_data_region_tag_attribute.go
  35. 0 108
      services/ivision/modify_train_data_tag_attribute.go
  36. 0 108
      services/ivision/predict_image.go
  37. 109 0
      services/ivision/register_face.go
  38. 112 0
      services/ivision/search_face.go
  39. 4 3
      services/ivision/struct_face.go
  40. 4 3
      services/ivision/struct_face_result.go
  41. 3 3
      services/ivision/struct_face_results.go
  42. 3 3
      services/ivision/struct_faces.go
  43. 5 3
      services/ivision/struct_group.go
  44. 3 3
      services/ivision/struct_groups.go
  45. 9 11
      services/ivision/struct_image_predict.go
  46. 0 30
      services/ivision/struct_predict_data.go
  47. 0 21
      services/ivision/struct_predict_datas_in_describe_predict_datas.go
  48. 0 27
      services/ivision/struct_prediction_result.go
  49. 0 27
      services/ivision/struct_prediction_result_in_describe_stream_predict_result.go
  50. 0 21
      services/ivision/struct_prediction_results_in_describe_stream_predict_result.go
  51. 0 27
      services/ivision/struct_project.go
  52. 0 22
      services/ivision/struct_properties.go
  53. 6 3
      services/ivision/struct_rect.go
  54. 0 24
      services/ivision/struct_region.go
  55. 0 21
      services/ivision/struct_result_statistics.go
  56. 0 23
      services/ivision/struct_result_statistics_item.go
  57. 1 0
      services/ivision/struct_stream_predict.go
  58. 7 8
      services/ivision/struct_stream_predict_data.go
  59. 0 27
      services/ivision/struct_tag.go
  60. 0 23
      services/ivision/struct_tag_item.go
  61. 0 21
      services/ivision/struct_tag_items_in_create_train_data_region_tag.go
  62. 0 21
      services/ivision/struct_tag_items_in_create_train_data_tag.go
  63. 0 21
      services/ivision/struct_tag_items_in_create_train_datas_from_prediction.go
  64. 0 21
      services/ivision/struct_tag_items_in_create_train_datas_from_urls.go
  65. 0 21
      services/ivision/struct_tag_items_in_create_train_datas_tag.go
  66. 0 21
      services/ivision/struct_tag_items_in_describe_train_datas.go
  67. 0 21
      services/ivision/struct_tag_items_in_describe_train_datas_by_ids.go
  68. 0 21
      services/ivision/struct_tag_items_in_modify_train_data_region_tag_attribute.go
  69. 0 21
      services/ivision/struct_tag_items_in_modify_train_data_tag_attribute.go
  70. 0 25
      services/ivision/struct_tag_result.go
  71. 0 29
      services/ivision/struct_train_data.go
  72. 0 21
      services/ivision/struct_train_datas_in_create_train_datas_from_prediction.go
  73. 0 21
      services/ivision/struct_train_datas_in_create_train_datas_from_urls.go
  74. 0 21
      services/ivision/struct_train_datas_in_describe_train_datas.go
  75. 0 21
      services/ivision/struct_train_datas_in_describe_train_datas_by_ids.go
  76. 0 33
      services/ivision/struct_train_result.go
  77. 0 28
      services/ivision/struct_upload_token.go
  78. 0 106
      services/ivision/train_project.go
  79. 108 0
      services/ivision/unregister_face.go

+ 5 - 0
ChangeLog.txt

@@ -1,3 +1,8 @@
+2019-10-22 Version: 1.60.208
+- Supported Sync predict for Image.
+- Supported Set Frame Frequency for Stream Predict.
+- Fixed Errore Code For APIs.
+
 2019-10-22 Version: 1.60.207
 - RunInstances support AutoSnapshotPolicyId.
 

+ 53 - 5
services/ivision/client.go

@@ -16,8 +16,11 @@ package ivision
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
 import (
+	"reflect"
+
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk"
 	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/auth"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/auth/credentials/provider"
 )
 
 // Client is the sdk client struct, each func corresponds to an OpenAPI
@@ -25,10 +28,40 @@ type Client struct {
 	sdk.Client
 }
 
+// SetClientProperty Set Property by Reflect
+func SetClientProperty(client *Client, propertyName string, propertyValue interface{}) {
+	v := reflect.ValueOf(client).Elem()
+	if v.FieldByName(propertyName).IsValid() && v.FieldByName(propertyName).CanSet() {
+		v.FieldByName(propertyName).Set(reflect.ValueOf(propertyValue))
+	}
+}
+
+// SetEndpointDataToClient Set EndpointMap and ENdpointType
+func SetEndpointDataToClient(client *Client) {
+	SetClientProperty(client, "EndpointMap", GetEndpointMap())
+	SetClientProperty(client, "EndpointType", GetEndpointType())
+}
+
 // NewClient creates a sdk client with environment variables
 func NewClient() (client *Client, err error) {
 	client = &Client{}
 	err = client.Init()
+	SetEndpointDataToClient(client)
+	return
+}
+
+// NewClientWithProvider creates a sdk client with providers
+// usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
+func NewClientWithProvider(regionId string, providers ...provider.Provider) (client *Client, err error) {
+	client = &Client{}
+	var pc provider.Provider
+	if len(providers) == 0 {
+		pc = provider.DefaultChain
+	} else {
+		pc = provider.NewProviderChain(providers)
+	}
+	err = client.InitWithProviderChain(regionId, pc)
+	SetEndpointDataToClient(client)
 	return
 }
 
@@ -37,45 +70,60 @@ func NewClient() (client *Client, err error) {
 func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.Credential) (client *Client, err error) {
 	client = &Client{}
 	err = client.InitWithOptions(regionId, config, credential)
+	SetEndpointDataToClient(client)
 	return
 }
 
 // NewClientWithAccessKey is a shortcut to create sdk client with accesskey
-// usage: https://help.aliyun.com/document_detail/66217.html
+// usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
 func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (client *Client, err error) {
 	client = &Client{}
 	err = client.InitWithAccessKey(regionId, accessKeyId, accessKeySecret)
+	SetEndpointDataToClient(client)
 	return
 }
 
 // NewClientWithStsToken is a shortcut to create sdk client with sts token
-// usage: https://help.aliyun.com/document_detail/66222.html
+// usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
 func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken string) (client *Client, err error) {
 	client = &Client{}
 	err = client.InitWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken)
+	SetEndpointDataToClient(client)
 	return
 }
 
 // NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn
-// usage: https://help.aliyun.com/document_detail/66222.html
+// usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
 func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName string) (client *Client, err error) {
 	client = &Client{}
 	err = client.InitWithRamRoleArn(regionId, accessKeyId, accessKeySecret, roleArn, roleSessionName)
+	SetEndpointDataToClient(client)
+	return
+}
+
+// NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn and policy
+// usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
+func NewClientWithRamRoleArnAndPolicy(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName, policy string) (client *Client, err error) {
+	client = &Client{}
+	err = client.InitWithRamRoleArnAndPolicy(regionId, accessKeyId, accessKeySecret, roleArn, roleSessionName, policy)
+	SetEndpointDataToClient(client)
 	return
 }
 
 // NewClientWithEcsRamRole is a shortcut to create sdk client with ecs ram role
-// usage: https://help.aliyun.com/document_detail/66223.html
+// usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
 func NewClientWithEcsRamRole(regionId string, roleName string) (client *Client, err error) {
 	client = &Client{}
 	err = client.InitWithEcsRamRole(regionId, roleName)
+	SetEndpointDataToClient(client)
 	return
 }
 
 // NewClientWithRsaKeyPair is a shortcut to create sdk client with rsa key pair
-// attention: rsa key pair auth is only Japan regions available
+// usage: https://github.com/aliyun/alibaba-cloud-sdk-go/blob/master/docs/2-Client-EN.md
 func NewClientWithRsaKeyPair(regionId string, publicKeyId, privateKey string, sessionExpiration int) (client *Client, err error) {
 	client = &Client{}
 	err = client.InitWithRsaKeyPair(regionId, publicKeyId, privateKey, sessionExpiration)
+	SetEndpointDataToClient(client)
 	return
 }

+ 106 - 0
services/ivision/create_face_group.go

@@ -0,0 +1,106 @@
+package ivision
+
+//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"
+)
+
+// CreateFaceGroup invokes the ivision.CreateFaceGroup API synchronously
+// api document: https://help.aliyun.com/api/ivision/createfacegroup.html
+func (client *Client) CreateFaceGroup(request *CreateFaceGroupRequest) (response *CreateFaceGroupResponse, err error) {
+	response = CreateCreateFaceGroupResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// CreateFaceGroupWithChan invokes the ivision.CreateFaceGroup API asynchronously
+// api document: https://help.aliyun.com/api/ivision/createfacegroup.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateFaceGroupWithChan(request *CreateFaceGroupRequest) (<-chan *CreateFaceGroupResponse, <-chan error) {
+	responseChan := make(chan *CreateFaceGroupResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.CreateFaceGroup(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// CreateFaceGroupWithCallback invokes the ivision.CreateFaceGroup API asynchronously
+// api document: https://help.aliyun.com/api/ivision/createfacegroup.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) CreateFaceGroupWithCallback(request *CreateFaceGroupRequest, callback func(response *CreateFaceGroupResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *CreateFaceGroupResponse
+		var err error
+		defer close(result)
+		response, err = client.CreateFaceGroup(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// CreateFaceGroupRequest is the request struct for api CreateFaceGroup
+type CreateFaceGroupRequest struct {
+	*requests.RpcRequest
+	ShowLog string           `position:"Query" name:"ShowLog"`
+	OwnerId requests.Integer `position:"Query" name:"OwnerId"`
+	Name    string           `position:"Query" name:"Name"`
+}
+
+// CreateFaceGroupResponse is the response struct for api CreateFaceGroup
+type CreateFaceGroupResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	GroupId   string `json:"GroupId" xml:"GroupId"`
+}
+
+// CreateCreateFaceGroupRequest creates a request to invoke CreateFaceGroup API
+func CreateCreateFaceGroupRequest() (request *CreateFaceGroupRequest) {
+	request = &CreateFaceGroupRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("ivision", "2019-03-08", "CreateFaceGroup", "ivision", "openAPI")
+	return
+}
+
+// CreateCreateFaceGroupResponse creates a response to parse from CreateFaceGroup response
+func CreateCreateFaceGroupResponse() (response *CreateFaceGroupResponse) {
+	response = &CreateFaceGroupResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 0 - 108
services/ivision/create_project.go

@@ -1,108 +0,0 @@
-package ivision
-
-//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"
-)
-
-// CreateProject invokes the ivision.CreateProject API synchronously
-// api document: https://help.aliyun.com/api/ivision/createproject.html
-func (client *Client) CreateProject(request *CreateProjectRequest) (response *CreateProjectResponse, err error) {
-	response = CreateCreateProjectResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// CreateProjectWithChan invokes the ivision.CreateProject API asynchronously
-// api document: https://help.aliyun.com/api/ivision/createproject.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateProjectWithChan(request *CreateProjectRequest) (<-chan *CreateProjectResponse, <-chan error) {
-	responseChan := make(chan *CreateProjectResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.CreateProject(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// CreateProjectWithCallback invokes the ivision.CreateProject API asynchronously
-// api document: https://help.aliyun.com/api/ivision/createproject.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateProjectWithCallback(request *CreateProjectRequest, callback func(response *CreateProjectResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *CreateProjectResponse
-		var err error
-		defer close(result)
-		response, err = client.CreateProject(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// CreateProjectRequest is the request struct for api CreateProject
-type CreateProjectRequest struct {
-	*requests.RpcRequest
-	Description string           `position:"Query" name:"Description"`
-	ShowLog     string           `position:"Query" name:"ShowLog"`
-	OwnerId     requests.Integer `position:"Query" name:"OwnerId"`
-	ProType     string           `position:"Query" name:"ProType"`
-	Name        string           `position:"Query" name:"Name"`
-}
-
-// CreateProjectResponse is the response struct for api CreateProject
-type CreateProjectResponse struct {
-	*responses.BaseResponse
-	RequestId string  `json:"RequestId" xml:"RequestId"`
-	Project   Project `json:"Project" xml:"Project"`
-}
-
-// CreateCreateProjectRequest creates a request to invoke CreateProject API
-func CreateCreateProjectRequest() (request *CreateProjectRequest) {
-	request = &CreateProjectRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("ivision", "2019-03-08", "CreateProject", "ivision", "openAPI")
-	return
-}
-
-// CreateCreateProjectResponse creates a response to parse from CreateProject response
-func CreateCreateProjectResponse() (response *CreateProjectResponse) {
-	response = &CreateProjectResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 4 - 1
services/ivision/create_stream_predict.go

@@ -76,16 +76,19 @@ func (client *Client) CreateStreamPredictWithCallback(request *CreateStreamPredi
 // CreateStreamPredictRequest is the request struct for api CreateStreamPredict
 type CreateStreamPredictRequest struct {
 	*requests.RpcRequest
+	ClientToken           string           `position:"Query" name:"ClientToken"`
 	AutoStart             string           `position:"Query" name:"AutoStart"`
 	Notify                string           `position:"Query" name:"Notify"`
 	Output                string           `position:"Query" name:"Output"`
-	UserData              string           `position:"Query" name:"UserData"`
 	ShowLog               string           `position:"Query" name:"ShowLog"`
 	StreamType            string           `position:"Query" name:"StreamType"`
+	FaceGroupId           string           `position:"Query" name:"FaceGroupId"`
 	StreamId              string           `position:"Query" name:"StreamId"`
+	DetectIntervals       string           `position:"Query" name:"DetectIntervals"`
 	OwnerId               requests.Integer `position:"Query" name:"OwnerId"`
 	ProbabilityThresholds string           `position:"Query" name:"ProbabilityThresholds"`
 	ModelIds              string           `position:"Query" name:"ModelIds"`
+	ModelUserData         string           `position:"Query" name:"ModelUserData"`
 }
 
 // CreateStreamPredictResponse is the response struct for api CreateStreamPredict

+ 0 - 108
services/ivision/create_tag.go

@@ -1,108 +0,0 @@
-package ivision
-
-//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"
-)
-
-// CreateTag invokes the ivision.CreateTag API synchronously
-// api document: https://help.aliyun.com/api/ivision/createtag.html
-func (client *Client) CreateTag(request *CreateTagRequest) (response *CreateTagResponse, err error) {
-	response = CreateCreateTagResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// CreateTagWithChan invokes the ivision.CreateTag API asynchronously
-// api document: https://help.aliyun.com/api/ivision/createtag.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateTagWithChan(request *CreateTagRequest) (<-chan *CreateTagResponse, <-chan error) {
-	responseChan := make(chan *CreateTagResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.CreateTag(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// CreateTagWithCallback invokes the ivision.CreateTag API asynchronously
-// api document: https://help.aliyun.com/api/ivision/createtag.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateTagWithCallback(request *CreateTagRequest, callback func(response *CreateTagResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *CreateTagResponse
-		var err error
-		defer close(result)
-		response, err = client.CreateTag(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// CreateTagRequest is the request struct for api CreateTag
-type CreateTagRequest struct {
-	*requests.RpcRequest
-	Description string           `position:"Query" name:"Description"`
-	ProjectId   string           `position:"Query" name:"ProjectId"`
-	ShowLog     string           `position:"Query" name:"ShowLog"`
-	OwnerId     requests.Integer `position:"Query" name:"OwnerId"`
-	Name        string           `position:"Query" name:"Name"`
-}
-
-// CreateTagResponse is the response struct for api CreateTag
-type CreateTagResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-	Tag       Tag    `json:"Tag" xml:"Tag"`
-}
-
-// CreateCreateTagRequest creates a request to invoke CreateTag API
-func CreateCreateTagRequest() (request *CreateTagRequest) {
-	request = &CreateTagRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("ivision", "2019-03-08", "CreateTag", "ivision", "openAPI")
-	return
-}
-
-// CreateCreateTagResponse creates a response to parse from CreateTag response
-func CreateCreateTagResponse() (response *CreateTagResponse) {
-	response = &CreateTagResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 108
services/ivision/create_train_data_region_tag.go

@@ -1,108 +0,0 @@
-package ivision
-
-//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"
-)
-
-// CreateTrainDataRegionTag invokes the ivision.CreateTrainDataRegionTag API synchronously
-// api document: https://help.aliyun.com/api/ivision/createtraindataregiontag.html
-func (client *Client) CreateTrainDataRegionTag(request *CreateTrainDataRegionTagRequest) (response *CreateTrainDataRegionTagResponse, err error) {
-	response = CreateCreateTrainDataRegionTagResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// CreateTrainDataRegionTagWithChan invokes the ivision.CreateTrainDataRegionTag API asynchronously
-// api document: https://help.aliyun.com/api/ivision/createtraindataregiontag.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateTrainDataRegionTagWithChan(request *CreateTrainDataRegionTagRequest) (<-chan *CreateTrainDataRegionTagResponse, <-chan error) {
-	responseChan := make(chan *CreateTrainDataRegionTagResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.CreateTrainDataRegionTag(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// CreateTrainDataRegionTagWithCallback invokes the ivision.CreateTrainDataRegionTag API asynchronously
-// api document: https://help.aliyun.com/api/ivision/createtraindataregiontag.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateTrainDataRegionTagWithCallback(request *CreateTrainDataRegionTagRequest, callback func(response *CreateTrainDataRegionTagResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *CreateTrainDataRegionTagResponse
-		var err error
-		defer close(result)
-		response, err = client.CreateTrainDataRegionTag(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// CreateTrainDataRegionTagRequest is the request struct for api CreateTrainDataRegionTag
-type CreateTrainDataRegionTagRequest struct {
-	*requests.RpcRequest
-	ProjectId string           `position:"Query" name:"ProjectId"`
-	ShowLog   string           `position:"Query" name:"ShowLog"`
-	TagItems  string           `position:"Query" name:"TagItems"`
-	OwnerId   requests.Integer `position:"Query" name:"OwnerId"`
-	DataId    string           `position:"Query" name:"DataId"`
-}
-
-// CreateTrainDataRegionTagResponse is the response struct for api CreateTrainDataRegionTag
-type CreateTrainDataRegionTagResponse struct {
-	*responses.BaseResponse
-	RequestId string    `json:"RequestId" xml:"RequestId"`
-	TrainData TrainData `json:"TrainData" xml:"TrainData"`
-}
-
-// CreateCreateTrainDataRegionTagRequest creates a request to invoke CreateTrainDataRegionTag API
-func CreateCreateTrainDataRegionTagRequest() (request *CreateTrainDataRegionTagRequest) {
-	request = &CreateTrainDataRegionTagRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("ivision", "2019-03-08", "CreateTrainDataRegionTag", "ivision", "openAPI")
-	return
-}
-
-// CreateCreateTrainDataRegionTagResponse creates a response to parse from CreateTrainDataRegionTag response
-func CreateCreateTrainDataRegionTagResponse() (response *CreateTrainDataRegionTagResponse) {
-	response = &CreateTrainDataRegionTagResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 108
services/ivision/create_train_data_tag.go

@@ -1,108 +0,0 @@
-package ivision
-
-//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"
-)
-
-// CreateTrainDataTag invokes the ivision.CreateTrainDataTag API synchronously
-// api document: https://help.aliyun.com/api/ivision/createtraindatatag.html
-func (client *Client) CreateTrainDataTag(request *CreateTrainDataTagRequest) (response *CreateTrainDataTagResponse, err error) {
-	response = CreateCreateTrainDataTagResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// CreateTrainDataTagWithChan invokes the ivision.CreateTrainDataTag API asynchronously
-// api document: https://help.aliyun.com/api/ivision/createtraindatatag.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateTrainDataTagWithChan(request *CreateTrainDataTagRequest) (<-chan *CreateTrainDataTagResponse, <-chan error) {
-	responseChan := make(chan *CreateTrainDataTagResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.CreateTrainDataTag(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// CreateTrainDataTagWithCallback invokes the ivision.CreateTrainDataTag API asynchronously
-// api document: https://help.aliyun.com/api/ivision/createtraindatatag.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateTrainDataTagWithCallback(request *CreateTrainDataTagRequest, callback func(response *CreateTrainDataTagResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *CreateTrainDataTagResponse
-		var err error
-		defer close(result)
-		response, err = client.CreateTrainDataTag(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// CreateTrainDataTagRequest is the request struct for api CreateTrainDataTag
-type CreateTrainDataTagRequest struct {
-	*requests.RpcRequest
-	ProjectId string           `position:"Query" name:"ProjectId"`
-	ShowLog   string           `position:"Query" name:"ShowLog"`
-	TagItems  string           `position:"Query" name:"TagItems"`
-	OwnerId   requests.Integer `position:"Query" name:"OwnerId"`
-	DataId    string           `position:"Query" name:"DataId"`
-}
-
-// CreateTrainDataTagResponse is the response struct for api CreateTrainDataTag
-type CreateTrainDataTagResponse struct {
-	*responses.BaseResponse
-	RequestId string    `json:"RequestId" xml:"RequestId"`
-	TrainData TrainData `json:"TrainData" xml:"TrainData"`
-}
-
-// CreateCreateTrainDataTagRequest creates a request to invoke CreateTrainDataTag API
-func CreateCreateTrainDataTagRequest() (request *CreateTrainDataTagRequest) {
-	request = &CreateTrainDataTagRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("ivision", "2019-03-08", "CreateTrainDataTag", "ivision", "openAPI")
-	return
-}
-
-// CreateCreateTrainDataTagResponse creates a response to parse from CreateTrainDataTag response
-func CreateCreateTrainDataTagResponse() (response *CreateTrainDataTagResponse) {
-	response = &CreateTrainDataTagResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 109
services/ivision/create_train_datas_from_prediction.go

@@ -1,109 +0,0 @@
-package ivision
-
-//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"
-)
-
-// CreateTrainDatasFromPrediction invokes the ivision.CreateTrainDatasFromPrediction API synchronously
-// api document: https://help.aliyun.com/api/ivision/createtraindatasfromprediction.html
-func (client *Client) CreateTrainDatasFromPrediction(request *CreateTrainDatasFromPredictionRequest) (response *CreateTrainDatasFromPredictionResponse, err error) {
-	response = CreateCreateTrainDatasFromPredictionResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// CreateTrainDatasFromPredictionWithChan invokes the ivision.CreateTrainDatasFromPrediction API asynchronously
-// api document: https://help.aliyun.com/api/ivision/createtraindatasfromprediction.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateTrainDatasFromPredictionWithChan(request *CreateTrainDatasFromPredictionRequest) (<-chan *CreateTrainDatasFromPredictionResponse, <-chan error) {
-	responseChan := make(chan *CreateTrainDatasFromPredictionResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.CreateTrainDatasFromPrediction(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// CreateTrainDatasFromPredictionWithCallback invokes the ivision.CreateTrainDatasFromPrediction API asynchronously
-// api document: https://help.aliyun.com/api/ivision/createtraindatasfromprediction.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateTrainDatasFromPredictionWithCallback(request *CreateTrainDatasFromPredictionRequest, callback func(response *CreateTrainDatasFromPredictionResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *CreateTrainDatasFromPredictionResponse
-		var err error
-		defer close(result)
-		response, err = client.CreateTrainDatasFromPrediction(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// CreateTrainDatasFromPredictionRequest is the request struct for api CreateTrainDatasFromPrediction
-type CreateTrainDatasFromPredictionRequest struct {
-	*requests.RpcRequest
-	DataIds     string           `position:"Query" name:"DataIds"`
-	ProjectId   string           `position:"Query" name:"ProjectId"`
-	ShowLog     string           `position:"Query" name:"ShowLog"`
-	TagId       string           `position:"Query" name:"TagId"`
-	OwnerId     requests.Integer `position:"Query" name:"OwnerId"`
-	IterationId string           `position:"Query" name:"IterationId"`
-}
-
-// CreateTrainDatasFromPredictionResponse is the response struct for api CreateTrainDatasFromPrediction
-type CreateTrainDatasFromPredictionResponse struct {
-	*responses.BaseResponse
-	RequestId  string                                     `json:"RequestId" xml:"RequestId"`
-	TrainDatas TrainDatasInCreateTrainDatasFromPrediction `json:"TrainDatas" xml:"TrainDatas"`
-}
-
-// CreateCreateTrainDatasFromPredictionRequest creates a request to invoke CreateTrainDatasFromPrediction API
-func CreateCreateTrainDatasFromPredictionRequest() (request *CreateTrainDatasFromPredictionRequest) {
-	request = &CreateTrainDatasFromPredictionRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("ivision", "2019-03-08", "CreateTrainDatasFromPrediction", "ivision", "openAPI")
-	return
-}
-
-// CreateCreateTrainDatasFromPredictionResponse creates a response to parse from CreateTrainDatasFromPrediction response
-func CreateCreateTrainDatasFromPredictionResponse() (response *CreateTrainDatasFromPredictionResponse) {
-	response = &CreateTrainDatasFromPredictionResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 108
services/ivision/create_train_datas_from_urls.go

@@ -1,108 +0,0 @@
-package ivision
-
-//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"
-)
-
-// CreateTrainDatasFromUrls invokes the ivision.CreateTrainDatasFromUrls API synchronously
-// api document: https://help.aliyun.com/api/ivision/createtraindatasfromurls.html
-func (client *Client) CreateTrainDatasFromUrls(request *CreateTrainDatasFromUrlsRequest) (response *CreateTrainDatasFromUrlsResponse, err error) {
-	response = CreateCreateTrainDatasFromUrlsResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// CreateTrainDatasFromUrlsWithChan invokes the ivision.CreateTrainDatasFromUrls API asynchronously
-// api document: https://help.aliyun.com/api/ivision/createtraindatasfromurls.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateTrainDatasFromUrlsWithChan(request *CreateTrainDatasFromUrlsRequest) (<-chan *CreateTrainDatasFromUrlsResponse, <-chan error) {
-	responseChan := make(chan *CreateTrainDatasFromUrlsResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.CreateTrainDatasFromUrls(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// CreateTrainDatasFromUrlsWithCallback invokes the ivision.CreateTrainDatasFromUrls API asynchronously
-// api document: https://help.aliyun.com/api/ivision/createtraindatasfromurls.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateTrainDatasFromUrlsWithCallback(request *CreateTrainDatasFromUrlsRequest, callback func(response *CreateTrainDatasFromUrlsResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *CreateTrainDatasFromUrlsResponse
-		var err error
-		defer close(result)
-		response, err = client.CreateTrainDatasFromUrls(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// CreateTrainDatasFromUrlsRequest is the request struct for api CreateTrainDatasFromUrls
-type CreateTrainDatasFromUrlsRequest struct {
-	*requests.RpcRequest
-	Urls      string           `position:"Query" name:"Urls"`
-	ProjectId string           `position:"Query" name:"ProjectId"`
-	ShowLog   string           `position:"Query" name:"ShowLog"`
-	TagId     string           `position:"Query" name:"TagId"`
-	OwnerId   requests.Integer `position:"Query" name:"OwnerId"`
-}
-
-// CreateTrainDatasFromUrlsResponse is the response struct for api CreateTrainDatasFromUrls
-type CreateTrainDatasFromUrlsResponse struct {
-	*responses.BaseResponse
-	RequestId  string                               `json:"RequestId" xml:"RequestId"`
-	TrainDatas TrainDatasInCreateTrainDatasFromUrls `json:"TrainDatas" xml:"TrainDatas"`
-}
-
-// CreateCreateTrainDatasFromUrlsRequest creates a request to invoke CreateTrainDatasFromUrls API
-func CreateCreateTrainDatasFromUrlsRequest() (request *CreateTrainDatasFromUrlsRequest) {
-	request = &CreateTrainDatasFromUrlsRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("ivision", "2019-03-08", "CreateTrainDatasFromUrls", "ivision", "openAPI")
-	return
-}
-
-// CreateCreateTrainDatasFromUrlsResponse creates a response to parse from CreateTrainDatasFromUrls response
-func CreateCreateTrainDatasFromUrlsResponse() (response *CreateTrainDatasFromUrlsResponse) {
-	response = &CreateTrainDatasFromUrlsResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 108
services/ivision/create_train_datas_tag.go

@@ -1,108 +0,0 @@
-package ivision
-
-//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"
-)
-
-// CreateTrainDatasTag invokes the ivision.CreateTrainDatasTag API synchronously
-// api document: https://help.aliyun.com/api/ivision/createtraindatastag.html
-func (client *Client) CreateTrainDatasTag(request *CreateTrainDatasTagRequest) (response *CreateTrainDatasTagResponse, err error) {
-	response = CreateCreateTrainDatasTagResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// CreateTrainDatasTagWithChan invokes the ivision.CreateTrainDatasTag API asynchronously
-// api document: https://help.aliyun.com/api/ivision/createtraindatastag.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateTrainDatasTagWithChan(request *CreateTrainDatasTagRequest) (<-chan *CreateTrainDatasTagResponse, <-chan error) {
-	responseChan := make(chan *CreateTrainDatasTagResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.CreateTrainDatasTag(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// CreateTrainDatasTagWithCallback invokes the ivision.CreateTrainDatasTag API asynchronously
-// api document: https://help.aliyun.com/api/ivision/createtraindatastag.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateTrainDatasTagWithCallback(request *CreateTrainDatasTagRequest, callback func(response *CreateTrainDatasTagResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *CreateTrainDatasTagResponse
-		var err error
-		defer close(result)
-		response, err = client.CreateTrainDatasTag(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// CreateTrainDatasTagRequest is the request struct for api CreateTrainDatasTag
-type CreateTrainDatasTagRequest struct {
-	*requests.RpcRequest
-	DataIds   string           `position:"Query" name:"DataIds"`
-	ProjectId string           `position:"Query" name:"ProjectId"`
-	ShowLog   string           `position:"Query" name:"ShowLog"`
-	TagId     string           `position:"Query" name:"TagId"`
-	OwnerId   requests.Integer `position:"Query" name:"OwnerId"`
-}
-
-// CreateTrainDatasTagResponse is the response struct for api CreateTrainDatasTag
-type CreateTrainDatasTagResponse struct {
-	*responses.BaseResponse
-	RequestId string    `json:"RequestId" xml:"RequestId"`
-	TrainData TrainData `json:"TrainData" xml:"TrainData"`
-}
-
-// CreateCreateTrainDatasTagRequest creates a request to invoke CreateTrainDatasTag API
-func CreateCreateTrainDatasTagRequest() (request *CreateTrainDatasTagRequest) {
-	request = &CreateTrainDatasTagRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("ivision", "2019-03-08", "CreateTrainDatasTag", "ivision", "openAPI")
-	return
-}
-
-// CreateCreateTrainDatasTagResponse creates a response to parse from CreateTrainDatasTag response
-func CreateCreateTrainDatasTagResponse() (response *CreateTrainDatasTagResponse) {
-	response = &CreateTrainDatasTagResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 107
services/ivision/create_upload_token.go

@@ -1,107 +0,0 @@
-package ivision
-
-//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"
-)
-
-// CreateUploadToken invokes the ivision.CreateUploadToken API synchronously
-// api document: https://help.aliyun.com/api/ivision/createuploadtoken.html
-func (client *Client) CreateUploadToken(request *CreateUploadTokenRequest) (response *CreateUploadTokenResponse, err error) {
-	response = CreateCreateUploadTokenResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// CreateUploadTokenWithChan invokes the ivision.CreateUploadToken API asynchronously
-// api document: https://help.aliyun.com/api/ivision/createuploadtoken.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateUploadTokenWithChan(request *CreateUploadTokenRequest) (<-chan *CreateUploadTokenResponse, <-chan error) {
-	responseChan := make(chan *CreateUploadTokenResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.CreateUploadToken(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// CreateUploadTokenWithCallback invokes the ivision.CreateUploadToken API asynchronously
-// api document: https://help.aliyun.com/api/ivision/createuploadtoken.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) CreateUploadTokenWithCallback(request *CreateUploadTokenRequest, callback func(response *CreateUploadTokenResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *CreateUploadTokenResponse
-		var err error
-		defer close(result)
-		response, err = client.CreateUploadToken(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// CreateUploadTokenRequest is the request struct for api CreateUploadToken
-type CreateUploadTokenRequest struct {
-	*requests.RpcRequest
-	ProjectId string           `position:"Query" name:"ProjectId"`
-	ShowLog   string           `position:"Query" name:"ShowLog"`
-	OwnerId   requests.Integer `position:"Query" name:"OwnerId"`
-	FileName  string           `position:"Query" name:"FileName"`
-}
-
-// CreateUploadTokenResponse is the response struct for api CreateUploadToken
-type CreateUploadTokenResponse struct {
-	*responses.BaseResponse
-	RequestId   string      `json:"RequestId" xml:"RequestId"`
-	UploadToken UploadToken `json:"UploadToken" xml:"UploadToken"`
-}
-
-// CreateCreateUploadTokenRequest creates a request to invoke CreateUploadToken API
-func CreateCreateUploadTokenRequest() (request *CreateUploadTokenRequest) {
-	request = &CreateUploadTokenRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("ivision", "2019-03-08", "CreateUploadToken", "ivision", "openAPI")
-	return
-}
-
-// CreateCreateUploadTokenResponse creates a response to parse from CreateUploadToken response
-func CreateCreateUploadTokenResponse() (response *CreateUploadTokenResponse) {
-	response = &CreateUploadTokenResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 106 - 0
services/ivision/delete_face_group.go

@@ -0,0 +1,106 @@
+package ivision
+
+//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"
+)
+
+// DeleteFaceGroup invokes the ivision.DeleteFaceGroup API synchronously
+// api document: https://help.aliyun.com/api/ivision/deletefacegroup.html
+func (client *Client) DeleteFaceGroup(request *DeleteFaceGroupRequest) (response *DeleteFaceGroupResponse, err error) {
+	response = CreateDeleteFaceGroupResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DeleteFaceGroupWithChan invokes the ivision.DeleteFaceGroup API asynchronously
+// api document: https://help.aliyun.com/api/ivision/deletefacegroup.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DeleteFaceGroupWithChan(request *DeleteFaceGroupRequest) (<-chan *DeleteFaceGroupResponse, <-chan error) {
+	responseChan := make(chan *DeleteFaceGroupResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DeleteFaceGroup(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DeleteFaceGroupWithCallback invokes the ivision.DeleteFaceGroup API asynchronously
+// api document: https://help.aliyun.com/api/ivision/deletefacegroup.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DeleteFaceGroupWithCallback(request *DeleteFaceGroupRequest, callback func(response *DeleteFaceGroupResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DeleteFaceGroupResponse
+		var err error
+		defer close(result)
+		response, err = client.DeleteFaceGroup(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DeleteFaceGroupRequest is the request struct for api DeleteFaceGroup
+type DeleteFaceGroupRequest struct {
+	*requests.RpcRequest
+	ShowLog string           `position:"Query" name:"ShowLog"`
+	GroupId string           `position:"Query" name:"GroupId"`
+	OwnerId requests.Integer `position:"Query" name:"OwnerId"`
+}
+
+// DeleteFaceGroupResponse is the response struct for api DeleteFaceGroup
+type DeleteFaceGroupResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	GroupId   string `json:"GroupId" xml:"GroupId"`
+}
+
+// CreateDeleteFaceGroupRequest creates a request to invoke DeleteFaceGroup API
+func CreateDeleteFaceGroupRequest() (request *DeleteFaceGroupRequest) {
+	request = &DeleteFaceGroupRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("ivision", "2019-03-08", "DeleteFaceGroup", "ivision", "openAPI")
+	return
+}
+
+// CreateDeleteFaceGroupResponse creates a response to parse from DeleteFaceGroup response
+func CreateDeleteFaceGroupResponse() (response *DeleteFaceGroupResponse) {
+	response = &DeleteFaceGroupResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 0 - 107
services/ivision/delete_iteration.go

@@ -1,107 +0,0 @@
-package ivision
-
-//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"
-)
-
-// DeleteIteration invokes the ivision.DeleteIteration API synchronously
-// api document: https://help.aliyun.com/api/ivision/deleteiteration.html
-func (client *Client) DeleteIteration(request *DeleteIterationRequest) (response *DeleteIterationResponse, err error) {
-	response = CreateDeleteIterationResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DeleteIterationWithChan invokes the ivision.DeleteIteration API asynchronously
-// api document: https://help.aliyun.com/api/ivision/deleteiteration.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeleteIterationWithChan(request *DeleteIterationRequest) (<-chan *DeleteIterationResponse, <-chan error) {
-	responseChan := make(chan *DeleteIterationResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DeleteIteration(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DeleteIterationWithCallback invokes the ivision.DeleteIteration API asynchronously
-// api document: https://help.aliyun.com/api/ivision/deleteiteration.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeleteIterationWithCallback(request *DeleteIterationRequest, callback func(response *DeleteIterationResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DeleteIterationResponse
-		var err error
-		defer close(result)
-		response, err = client.DeleteIteration(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DeleteIterationRequest is the request struct for api DeleteIteration
-type DeleteIterationRequest struct {
-	*requests.RpcRequest
-	ProjectId   string           `position:"Query" name:"ProjectId"`
-	ShowLog     string           `position:"Query" name:"ShowLog"`
-	OwnerId     requests.Integer `position:"Query" name:"OwnerId"`
-	IterationId string           `position:"Query" name:"IterationId"`
-}
-
-// DeleteIterationResponse is the response struct for api DeleteIteration
-type DeleteIterationResponse struct {
-	*responses.BaseResponse
-	RequestId   string `json:"RequestId" xml:"RequestId"`
-	IterationId string `json:"IterationId" xml:"IterationId"`
-}
-
-// CreateDeleteIterationRequest creates a request to invoke DeleteIteration API
-func CreateDeleteIterationRequest() (request *DeleteIterationRequest) {
-	request = &DeleteIterationRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("ivision", "2019-03-08", "DeleteIteration", "ivision", "openAPI")
-	return
-}
-
-// CreateDeleteIterationResponse creates a response to parse from DeleteIteration response
-func CreateDeleteIterationResponse() (response *DeleteIterationResponse) {
-	response = &DeleteIterationResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 107
services/ivision/delete_predict_datas.go

@@ -1,107 +0,0 @@
-package ivision
-
-//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"
-)
-
-// DeletePredictDatas invokes the ivision.DeletePredictDatas API synchronously
-// api document: https://help.aliyun.com/api/ivision/deletepredictdatas.html
-func (client *Client) DeletePredictDatas(request *DeletePredictDatasRequest) (response *DeletePredictDatasResponse, err error) {
-	response = CreateDeletePredictDatasResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DeletePredictDatasWithChan invokes the ivision.DeletePredictDatas API asynchronously
-// api document: https://help.aliyun.com/api/ivision/deletepredictdatas.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeletePredictDatasWithChan(request *DeletePredictDatasRequest) (<-chan *DeletePredictDatasResponse, <-chan error) {
-	responseChan := make(chan *DeletePredictDatasResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DeletePredictDatas(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DeletePredictDatasWithCallback invokes the ivision.DeletePredictDatas API asynchronously
-// api document: https://help.aliyun.com/api/ivision/deletepredictdatas.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeletePredictDatasWithCallback(request *DeletePredictDatasRequest, callback func(response *DeletePredictDatasResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DeletePredictDatasResponse
-		var err error
-		defer close(result)
-		response, err = client.DeletePredictDatas(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DeletePredictDatasRequest is the request struct for api DeletePredictDatas
-type DeletePredictDatasRequest struct {
-	*requests.RpcRequest
-	DataIds     string           `position:"Query" name:"DataIds"`
-	ProjectId   string           `position:"Query" name:"ProjectId"`
-	ShowLog     string           `position:"Query" name:"ShowLog"`
-	OwnerId     requests.Integer `position:"Query" name:"OwnerId"`
-	IterationId string           `position:"Query" name:"IterationId"`
-}
-
-// DeletePredictDatasResponse is the response struct for api DeletePredictDatas
-type DeletePredictDatasResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-}
-
-// CreateDeletePredictDatasRequest creates a request to invoke DeletePredictDatas API
-func CreateDeletePredictDatasRequest() (request *DeletePredictDatasRequest) {
-	request = &DeletePredictDatasRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("ivision", "2019-03-08", "DeletePredictDatas", "ivision", "openAPI")
-	return
-}
-
-// CreateDeletePredictDatasResponse creates a response to parse from DeletePredictDatas response
-func CreateDeletePredictDatasResponse() (response *DeletePredictDatasResponse) {
-	response = &DeletePredictDatasResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 106
services/ivision/delete_project.go

@@ -1,106 +0,0 @@
-package ivision
-
-//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"
-)
-
-// DeleteProject invokes the ivision.DeleteProject API synchronously
-// api document: https://help.aliyun.com/api/ivision/deleteproject.html
-func (client *Client) DeleteProject(request *DeleteProjectRequest) (response *DeleteProjectResponse, err error) {
-	response = CreateDeleteProjectResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DeleteProjectWithChan invokes the ivision.DeleteProject API asynchronously
-// api document: https://help.aliyun.com/api/ivision/deleteproject.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeleteProjectWithChan(request *DeleteProjectRequest) (<-chan *DeleteProjectResponse, <-chan error) {
-	responseChan := make(chan *DeleteProjectResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DeleteProject(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DeleteProjectWithCallback invokes the ivision.DeleteProject API asynchronously
-// api document: https://help.aliyun.com/api/ivision/deleteproject.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeleteProjectWithCallback(request *DeleteProjectRequest, callback func(response *DeleteProjectResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DeleteProjectResponse
-		var err error
-		defer close(result)
-		response, err = client.DeleteProject(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DeleteProjectRequest is the request struct for api DeleteProject
-type DeleteProjectRequest struct {
-	*requests.RpcRequest
-	ProjectId string           `position:"Query" name:"ProjectId"`
-	ShowLog   string           `position:"Query" name:"ShowLog"`
-	OwnerId   requests.Integer `position:"Query" name:"OwnerId"`
-}
-
-// DeleteProjectResponse is the response struct for api DeleteProject
-type DeleteProjectResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-	ProjectId string `json:"ProjectId" xml:"ProjectId"`
-}
-
-// CreateDeleteProjectRequest creates a request to invoke DeleteProject API
-func CreateDeleteProjectRequest() (request *DeleteProjectRequest) {
-	request = &DeleteProjectRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("ivision", "2019-03-08", "DeleteProject", "ivision", "openAPI")
-	return
-}
-
-// CreateDeleteProjectResponse creates a response to parse from DeleteProject response
-func CreateDeleteProjectResponse() (response *DeleteProjectResponse) {
-	response = &DeleteProjectResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 107
services/ivision/delete_tag.go

@@ -1,107 +0,0 @@
-package ivision
-
-//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"
-)
-
-// DeleteTag invokes the ivision.DeleteTag API synchronously
-// api document: https://help.aliyun.com/api/ivision/deletetag.html
-func (client *Client) DeleteTag(request *DeleteTagRequest) (response *DeleteTagResponse, err error) {
-	response = CreateDeleteTagResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DeleteTagWithChan invokes the ivision.DeleteTag API asynchronously
-// api document: https://help.aliyun.com/api/ivision/deletetag.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeleteTagWithChan(request *DeleteTagRequest) (<-chan *DeleteTagResponse, <-chan error) {
-	responseChan := make(chan *DeleteTagResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DeleteTag(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DeleteTagWithCallback invokes the ivision.DeleteTag API asynchronously
-// api document: https://help.aliyun.com/api/ivision/deletetag.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeleteTagWithCallback(request *DeleteTagRequest, callback func(response *DeleteTagResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DeleteTagResponse
-		var err error
-		defer close(result)
-		response, err = client.DeleteTag(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DeleteTagRequest is the request struct for api DeleteTag
-type DeleteTagRequest struct {
-	*requests.RpcRequest
-	ProjectId string           `position:"Query" name:"ProjectId"`
-	ShowLog   string           `position:"Query" name:"ShowLog"`
-	TagId     string           `position:"Query" name:"TagId"`
-	OwnerId   requests.Integer `position:"Query" name:"OwnerId"`
-}
-
-// DeleteTagResponse is the response struct for api DeleteTag
-type DeleteTagResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-	TagId     string `json:"TagId" xml:"TagId"`
-}
-
-// CreateDeleteTagRequest creates a request to invoke DeleteTag API
-func CreateDeleteTagRequest() (request *DeleteTagRequest) {
-	request = &DeleteTagRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("ivision", "2019-03-08", "DeleteTag", "ivision", "openAPI")
-	return
-}
-
-// CreateDeleteTagResponse creates a response to parse from DeleteTag response
-func CreateDeleteTagResponse() (response *DeleteTagResponse) {
-	response = &DeleteTagResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 106
services/ivision/delete_train_datas.go

@@ -1,106 +0,0 @@
-package ivision
-
-//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"
-)
-
-// DeleteTrainDatas invokes the ivision.DeleteTrainDatas API synchronously
-// api document: https://help.aliyun.com/api/ivision/deletetraindatas.html
-func (client *Client) DeleteTrainDatas(request *DeleteTrainDatasRequest) (response *DeleteTrainDatasResponse, err error) {
-	response = CreateDeleteTrainDatasResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DeleteTrainDatasWithChan invokes the ivision.DeleteTrainDatas API asynchronously
-// api document: https://help.aliyun.com/api/ivision/deletetraindatas.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeleteTrainDatasWithChan(request *DeleteTrainDatasRequest) (<-chan *DeleteTrainDatasResponse, <-chan error) {
-	responseChan := make(chan *DeleteTrainDatasResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DeleteTrainDatas(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DeleteTrainDatasWithCallback invokes the ivision.DeleteTrainDatas API asynchronously
-// api document: https://help.aliyun.com/api/ivision/deletetraindatas.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeleteTrainDatasWithCallback(request *DeleteTrainDatasRequest, callback func(response *DeleteTrainDatasResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DeleteTrainDatasResponse
-		var err error
-		defer close(result)
-		response, err = client.DeleteTrainDatas(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DeleteTrainDatasRequest is the request struct for api DeleteTrainDatas
-type DeleteTrainDatasRequest struct {
-	*requests.RpcRequest
-	DataIds   string           `position:"Query" name:"DataIds"`
-	ProjectId string           `position:"Query" name:"ProjectId"`
-	ShowLog   string           `position:"Query" name:"ShowLog"`
-	OwnerId   requests.Integer `position:"Query" name:"OwnerId"`
-}
-
-// DeleteTrainDatasResponse is the response struct for api DeleteTrainDatas
-type DeleteTrainDatasResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-}
-
-// CreateDeleteTrainDatasRequest creates a request to invoke DeleteTrainDatas API
-func CreateDeleteTrainDatasRequest() (request *DeleteTrainDatasRequest) {
-	request = &DeleteTrainDatasRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("ivision", "2019-03-08", "DeleteTrainDatas", "ivision", "openAPI")
-	return
-}
-
-// CreateDeleteTrainDatasResponse creates a response to parse from DeleteTrainDatas response
-func CreateDeleteTrainDatasResponse() (response *DeleteTrainDatasResponse) {
-	response = &DeleteTrainDatasResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 107
services/ivision/delete_train_datas_tag.go

@@ -1,107 +0,0 @@
-package ivision
-
-//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"
-)
-
-// DeleteTrainDatasTag invokes the ivision.DeleteTrainDatasTag API synchronously
-// api document: https://help.aliyun.com/api/ivision/deletetraindatastag.html
-func (client *Client) DeleteTrainDatasTag(request *DeleteTrainDatasTagRequest) (response *DeleteTrainDatasTagResponse, err error) {
-	response = CreateDeleteTrainDatasTagResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DeleteTrainDatasTagWithChan invokes the ivision.DeleteTrainDatasTag API asynchronously
-// api document: https://help.aliyun.com/api/ivision/deletetraindatastag.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeleteTrainDatasTagWithChan(request *DeleteTrainDatasTagRequest) (<-chan *DeleteTrainDatasTagResponse, <-chan error) {
-	responseChan := make(chan *DeleteTrainDatasTagResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DeleteTrainDatasTag(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DeleteTrainDatasTagWithCallback invokes the ivision.DeleteTrainDatasTag API asynchronously
-// api document: https://help.aliyun.com/api/ivision/deletetraindatastag.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DeleteTrainDatasTagWithCallback(request *DeleteTrainDatasTagRequest, callback func(response *DeleteTrainDatasTagResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DeleteTrainDatasTagResponse
-		var err error
-		defer close(result)
-		response, err = client.DeleteTrainDatasTag(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DeleteTrainDatasTagRequest is the request struct for api DeleteTrainDatasTag
-type DeleteTrainDatasTagRequest struct {
-	*requests.RpcRequest
-	DataIds   string           `position:"Query" name:"DataIds"`
-	ProjectId string           `position:"Query" name:"ProjectId"`
-	ShowLog   string           `position:"Query" name:"ShowLog"`
-	TagId     string           `position:"Query" name:"TagId"`
-	OwnerId   requests.Integer `position:"Query" name:"OwnerId"`
-}
-
-// DeleteTrainDatasTagResponse is the response struct for api DeleteTrainDatasTag
-type DeleteTrainDatasTagResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-}
-
-// CreateDeleteTrainDatasTagRequest creates a request to invoke DeleteTrainDatasTag API
-func CreateDeleteTrainDatasTagRequest() (request *DeleteTrainDatasTagRequest) {
-	request = &DeleteTrainDatasTagRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("ivision", "2019-03-08", "DeleteTrainDatasTag", "ivision", "openAPI")
-	return
-}
-
-// CreateDeleteTrainDatasTagResponse creates a response to parse from DeleteTrainDatasTag response
-func CreateDeleteTrainDatasTagResponse() (response *DeleteTrainDatasTagResponse) {
-	response = &DeleteTrainDatasTagResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 112 - 0
services/ivision/describe_face_groups.go

@@ -0,0 +1,112 @@
+package ivision
+
+//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"
+)
+
+// DescribeFaceGroups invokes the ivision.DescribeFaceGroups API synchronously
+// api document: https://help.aliyun.com/api/ivision/describefacegroups.html
+func (client *Client) DescribeFaceGroups(request *DescribeFaceGroupsRequest) (response *DescribeFaceGroupsResponse, err error) {
+	response = CreateDescribeFaceGroupsResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// DescribeFaceGroupsWithChan invokes the ivision.DescribeFaceGroups API asynchronously
+// api document: https://help.aliyun.com/api/ivision/describefacegroups.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeFaceGroupsWithChan(request *DescribeFaceGroupsRequest) (<-chan *DescribeFaceGroupsResponse, <-chan error) {
+	responseChan := make(chan *DescribeFaceGroupsResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.DescribeFaceGroups(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// DescribeFaceGroupsWithCallback invokes the ivision.DescribeFaceGroups API asynchronously
+// api document: https://help.aliyun.com/api/ivision/describefacegroups.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) DescribeFaceGroupsWithCallback(request *DescribeFaceGroupsRequest, callback func(response *DescribeFaceGroupsResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *DescribeFaceGroupsResponse
+		var err error
+		defer close(result)
+		response, err = client.DescribeFaceGroups(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// DescribeFaceGroupsRequest is the request struct for api DescribeFaceGroups
+type DescribeFaceGroupsRequest struct {
+	*requests.RpcRequest
+	NextPageToken string           `position:"Query" name:"NextPageToken"`
+	PageSize      requests.Integer `position:"Query" name:"PageSize"`
+	ShowLog       string           `position:"Query" name:"ShowLog"`
+	CurrentPage   requests.Integer `position:"Query" name:"CurrentPage"`
+	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
+}
+
+// DescribeFaceGroupsResponse is the response struct for api DescribeFaceGroups
+type DescribeFaceGroupsResponse struct {
+	*responses.BaseResponse
+	RequestId     string  `json:"RequestId" xml:"RequestId"`
+	CurrentPage   int64   `json:"CurrentPage" xml:"CurrentPage"`
+	PageSize      int64   `json:"PageSize" xml:"PageSize"`
+	NextPageToken string  `json:"NextPageToken" xml:"NextPageToken"`
+	TotalNum      int64   `json:"TotalNum" xml:"TotalNum"`
+	Groups        []Group `json:"Groups" xml:"Groups"`
+}
+
+// CreateDescribeFaceGroupsRequest creates a request to invoke DescribeFaceGroups API
+func CreateDescribeFaceGroupsRequest() (request *DescribeFaceGroupsRequest) {
+	request = &DescribeFaceGroupsRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("ivision", "2019-03-08", "DescribeFaceGroups", "ivision", "openAPI")
+	return
+}
+
+// CreateDescribeFaceGroupsResponse creates a response to parse from DescribeFaceGroups response
+func CreateDescribeFaceGroupsResponse() (response *DescribeFaceGroupsResponse) {
+	response = &DescribeFaceGroupsResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 0 - 113
services/ivision/describe_iterations.go

@@ -1,113 +0,0 @@
-package ivision
-
-//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"
-)
-
-// DescribeIterations invokes the ivision.DescribeIterations API synchronously
-// api document: https://help.aliyun.com/api/ivision/describeiterations.html
-func (client *Client) DescribeIterations(request *DescribeIterationsRequest) (response *DescribeIterationsResponse, err error) {
-	response = CreateDescribeIterationsResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeIterationsWithChan invokes the ivision.DescribeIterations API asynchronously
-// api document: https://help.aliyun.com/api/ivision/describeiterations.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeIterationsWithChan(request *DescribeIterationsRequest) (<-chan *DescribeIterationsResponse, <-chan error) {
-	responseChan := make(chan *DescribeIterationsResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeIterations(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeIterationsWithCallback invokes the ivision.DescribeIterations API asynchronously
-// api document: https://help.aliyun.com/api/ivision/describeiterations.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeIterationsWithCallback(request *DescribeIterationsRequest, callback func(response *DescribeIterationsResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeIterationsResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeIterations(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribeIterationsRequest is the request struct for api DescribeIterations
-type DescribeIterationsRequest struct {
-	*requests.RpcRequest
-	Threshold    string           `position:"Query" name:"Threshold"`
-	ProjectId    string           `position:"Query" name:"ProjectId"`
-	ShowLog      string           `position:"Query" name:"ShowLog"`
-	IterationIds string           `position:"Query" name:"IterationIds"`
-	OwnerId      requests.Integer `position:"Query" name:"OwnerId"`
-	Status       string           `position:"Query" name:"Status"`
-}
-
-// DescribeIterationsResponse is the response struct for api DescribeIterations
-type DescribeIterationsResponse struct {
-	*responses.BaseResponse
-	RequestId     string     `json:"RequestId" xml:"RequestId"`
-	TotalNum      int        `json:"TotalNum" xml:"TotalNum"`
-	CurrentPage   int        `json:"CurrentPage" xml:"CurrentPage"`
-	PageSize      int        `json:"PageSize" xml:"PageSize"`
-	NextPageToken string     `json:"NextPageToken" xml:"NextPageToken"`
-	Iterations    Iterations `json:"Iterations" xml:"Iterations"`
-}
-
-// CreateDescribeIterationsRequest creates a request to invoke DescribeIterations API
-func CreateDescribeIterationsRequest() (request *DescribeIterationsRequest) {
-	request = &DescribeIterationsRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("ivision", "2019-03-08", "DescribeIterations", "ivision", "openAPI")
-	return
-}
-
-// CreateDescribeIterationsResponse creates a response to parse from DescribeIterations response
-func CreateDescribeIterationsResponse() (response *DescribeIterationsResponse) {
-	response = &DescribeIterationsResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 118
services/ivision/describe_predict_datas.go

@@ -1,118 +0,0 @@
-package ivision
-
-//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"
-)
-
-// DescribePredictDatas invokes the ivision.DescribePredictDatas API synchronously
-// api document: https://help.aliyun.com/api/ivision/describepredictdatas.html
-func (client *Client) DescribePredictDatas(request *DescribePredictDatasRequest) (response *DescribePredictDatasResponse, err error) {
-	response = CreateDescribePredictDatasResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribePredictDatasWithChan invokes the ivision.DescribePredictDatas API asynchronously
-// api document: https://help.aliyun.com/api/ivision/describepredictdatas.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribePredictDatasWithChan(request *DescribePredictDatasRequest) (<-chan *DescribePredictDatasResponse, <-chan error) {
-	responseChan := make(chan *DescribePredictDatasResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribePredictDatas(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribePredictDatasWithCallback invokes the ivision.DescribePredictDatas API asynchronously
-// api document: https://help.aliyun.com/api/ivision/describepredictdatas.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribePredictDatasWithCallback(request *DescribePredictDatasRequest, callback func(response *DescribePredictDatasResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribePredictDatasResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribePredictDatas(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribePredictDatasRequest is the request struct for api DescribePredictDatas
-type DescribePredictDatasRequest struct {
-	*requests.RpcRequest
-	NextPageToken        string           `position:"Query" name:"NextPageToken"`
-	PageSize             requests.Integer `position:"Query" name:"PageSize"`
-	ProbabilityThreshold string           `position:"Query" name:"ProbabilityThreshold"`
-	OverlapThreshold     string           `position:"Query" name:"OverlapThreshold"`
-	ProjectId            string           `position:"Query" name:"ProjectId"`
-	ShowLog              string           `position:"Query" name:"ShowLog"`
-	ModelId              string           `position:"Query" name:"ModelId"`
-	TagId                string           `position:"Query" name:"TagId"`
-	CurrentPage          requests.Integer `position:"Query" name:"CurrentPage"`
-	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
-	IterationId          string           `position:"Query" name:"IterationId"`
-}
-
-// DescribePredictDatasResponse is the response struct for api DescribePredictDatas
-type DescribePredictDatasResponse struct {
-	*responses.BaseResponse
-	RequestId     string                             `json:"RequestId" xml:"RequestId"`
-	TotalNum      int                                `json:"TotalNum" xml:"TotalNum"`
-	CurrentPage   int                                `json:"CurrentPage" xml:"CurrentPage"`
-	PageSize      int                                `json:"PageSize" xml:"PageSize"`
-	NextPageToken string                             `json:"NextPageToken" xml:"NextPageToken"`
-	PredictDatas  PredictDatasInDescribePredictDatas `json:"PredictDatas" xml:"PredictDatas"`
-}
-
-// CreateDescribePredictDatasRequest creates a request to invoke DescribePredictDatas API
-func CreateDescribePredictDatasRequest() (request *DescribePredictDatasRequest) {
-	request = &DescribePredictDatasRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("ivision", "2019-03-08", "DescribePredictDatas", "ivision", "openAPI")
-	return
-}
-
-// CreateDescribePredictDatasResponse creates a response to parse from DescribePredictDatas response
-func CreateDescribePredictDatasResponse() (response *DescribePredictDatasResponse) {
-	response = &DescribePredictDatasResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 113
services/ivision/describe_projects.go

@@ -1,113 +0,0 @@
-package ivision
-
-//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"
-)
-
-// DescribeProjects invokes the ivision.DescribeProjects API synchronously
-// api document: https://help.aliyun.com/api/ivision/describeprojects.html
-func (client *Client) DescribeProjects(request *DescribeProjectsRequest) (response *DescribeProjectsResponse, err error) {
-	response = CreateDescribeProjectsResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeProjectsWithChan invokes the ivision.DescribeProjects API asynchronously
-// api document: https://help.aliyun.com/api/ivision/describeprojects.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeProjectsWithChan(request *DescribeProjectsRequest) (<-chan *DescribeProjectsResponse, <-chan error) {
-	responseChan := make(chan *DescribeProjectsResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeProjects(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeProjectsWithCallback invokes the ivision.DescribeProjects API asynchronously
-// api document: https://help.aliyun.com/api/ivision/describeprojects.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeProjectsWithCallback(request *DescribeProjectsRequest, callback func(response *DescribeProjectsResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeProjectsResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeProjects(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribeProjectsRequest is the request struct for api DescribeProjects
-type DescribeProjectsRequest struct {
-	*requests.RpcRequest
-	NextPageToken string           `position:"Query" name:"NextPageToken"`
-	PageSize      requests.Integer `position:"Query" name:"PageSize"`
-	ShowLog       string           `position:"Query" name:"ShowLog"`
-	CurrentPage   requests.Integer `position:"Query" name:"CurrentPage"`
-	ProjectIds    string           `position:"Query" name:"ProjectIds"`
-	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
-}
-
-// DescribeProjectsResponse is the response struct for api DescribeProjects
-type DescribeProjectsResponse struct {
-	*responses.BaseResponse
-	RequestId     string   `json:"RequestId" xml:"RequestId"`
-	TotalNum      int      `json:"TotalNum" xml:"TotalNum"`
-	CurrentPage   int      `json:"CurrentPage" xml:"CurrentPage"`
-	PageSize      int      `json:"PageSize" xml:"PageSize"`
-	NextPageToken string   `json:"NextPageToken" xml:"NextPageToken"`
-	Projects      Projects `json:"Projects" xml:"Projects"`
-}
-
-// CreateDescribeProjectsRequest creates a request to invoke DescribeProjects API
-func CreateDescribeProjectsRequest() (request *DescribeProjectsRequest) {
-	request = &DescribeProjectsRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("ivision", "2019-03-08", "DescribeProjects", "ivision", "openAPI")
-	return
-}
-
-// CreateDescribeProjectsResponse creates a response to parse from DescribeProjects response
-func CreateDescribeProjectsResponse() (response *DescribeProjectsResponse) {
-	response = &DescribeProjectsResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 6 - 6
services/ivision/describe_stream_predict_result.go

@@ -91,12 +91,12 @@ type DescribeStreamPredictResultRequest struct {
 // DescribeStreamPredictResultResponse is the response struct for api DescribeStreamPredictResult
 type DescribeStreamPredictResultResponse struct {
 	*responses.BaseResponse
-	RequestId          string             `json:"RequestId" xml:"RequestId"`
-	TotalNum           int                `json:"TotalNum" xml:"TotalNum"`
-	CurrentPage        int                `json:"CurrentPage" xml:"CurrentPage"`
-	PageSize           int                `json:"PageSize" xml:"PageSize"`
-	NextPageToken      string             `json:"NextPageToken" xml:"NextPageToken"`
-	StreamPredictDatas StreamPredictDatas `json:"StreamPredictDatas" xml:"StreamPredictDatas"`
+	RequestId          string              `json:"RequestId" xml:"RequestId"`
+	TotalNum           int64               `json:"TotalNum" xml:"TotalNum"`
+	CurrentPage        int64               `json:"CurrentPage" xml:"CurrentPage"`
+	PageSize           int64               `json:"PageSize" xml:"PageSize"`
+	NextPageToken      string              `json:"NextPageToken" xml:"NextPageToken"`
+	StreamPredictDatas []StreamPredictData `json:"StreamPredictDatas" xml:"StreamPredictDatas"`
 }
 
 // CreateDescribeStreamPredictResultRequest creates a request to invoke DescribeStreamPredictResult API

+ 6 - 6
services/ivision/describe_stream_predicts.go

@@ -87,12 +87,12 @@ type DescribeStreamPredictsRequest struct {
 // DescribeStreamPredictsResponse is the response struct for api DescribeStreamPredicts
 type DescribeStreamPredictsResponse struct {
 	*responses.BaseResponse
-	RequestId      string         `json:"RequestId" xml:"RequestId"`
-	TotalNum       int            `json:"TotalNum" xml:"TotalNum"`
-	CurrentPage    int            `json:"CurrentPage" xml:"CurrentPage"`
-	PageSize       int            `json:"PageSize" xml:"PageSize"`
-	NextPageToken  string         `json:"NextPageToken" xml:"NextPageToken"`
-	StreamPredicts StreamPredicts `json:"StreamPredicts" xml:"StreamPredicts"`
+	RequestId      string          `json:"RequestId" xml:"RequestId"`
+	TotalNum       int64           `json:"TotalNum" xml:"TotalNum"`
+	CurrentPage    int64           `json:"CurrentPage" xml:"CurrentPage"`
+	PageSize       int64           `json:"PageSize" xml:"PageSize"`
+	NextPageToken  string          `json:"NextPageToken" xml:"NextPageToken"`
+	StreamPredicts []StreamPredict `json:"StreamPredicts" xml:"StreamPredicts"`
 }
 
 // CreateDescribeStreamPredictsRequest creates a request to invoke DescribeStreamPredicts API

+ 0 - 115
services/ivision/describe_tags.go

@@ -1,115 +0,0 @@
-package ivision
-
-//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"
-)
-
-// DescribeTags invokes the ivision.DescribeTags API synchronously
-// api document: https://help.aliyun.com/api/ivision/describetags.html
-func (client *Client) DescribeTags(request *DescribeTagsRequest) (response *DescribeTagsResponse, err error) {
-	response = CreateDescribeTagsResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeTagsWithChan invokes the ivision.DescribeTags API asynchronously
-// api document: https://help.aliyun.com/api/ivision/describetags.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeTagsWithChan(request *DescribeTagsRequest) (<-chan *DescribeTagsResponse, <-chan error) {
-	responseChan := make(chan *DescribeTagsResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeTags(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeTagsWithCallback invokes the ivision.DescribeTags API asynchronously
-// api document: https://help.aliyun.com/api/ivision/describetags.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeTagsWithCallback(request *DescribeTagsRequest, callback func(response *DescribeTagsResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeTagsResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeTags(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribeTagsRequest is the request struct for api DescribeTags
-type DescribeTagsRequest struct {
-	*requests.RpcRequest
-	NextPageToken string           `position:"Query" name:"NextPageToken"`
-	PageSize      requests.Integer `position:"Query" name:"PageSize"`
-	ProjectId     string           `position:"Query" name:"ProjectId"`
-	ShowLog       string           `position:"Query" name:"ShowLog"`
-	TagIds        string           `position:"Query" name:"TagIds"`
-	CurrentPage   requests.Integer `position:"Query" name:"CurrentPage"`
-	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
-	IterationId   string           `position:"Query" name:"IterationId"`
-}
-
-// DescribeTagsResponse is the response struct for api DescribeTags
-type DescribeTagsResponse struct {
-	*responses.BaseResponse
-	RequestId     string `json:"RequestId" xml:"RequestId"`
-	TotalNum      int    `json:"TotalNum" xml:"TotalNum"`
-	CurrentPage   int    `json:"CurrentPage" xml:"CurrentPage"`
-	PageSize      int    `json:"PageSize" xml:"PageSize"`
-	NextPageToken string `json:"NextPageToken" xml:"NextPageToken"`
-	Tags          Tags   `json:"Tags" xml:"Tags"`
-}
-
-// CreateDescribeTagsRequest creates a request to invoke DescribeTags API
-func CreateDescribeTagsRequest() (request *DescribeTagsRequest) {
-	request = &DescribeTagsRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("ivision", "2019-03-08", "DescribeTags", "ivision", "openAPI")
-	return
-}
-
-// CreateDescribeTagsResponse creates a response to parse from DescribeTags response
-func CreateDescribeTagsResponse() (response *DescribeTagsResponse) {
-	response = &DescribeTagsResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 116
services/ivision/describe_train_datas.go

@@ -1,116 +0,0 @@
-package ivision
-
-//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"
-)
-
-// DescribeTrainDatas invokes the ivision.DescribeTrainDatas API synchronously
-// api document: https://help.aliyun.com/api/ivision/describetraindatas.html
-func (client *Client) DescribeTrainDatas(request *DescribeTrainDatasRequest) (response *DescribeTrainDatasResponse, err error) {
-	response = CreateDescribeTrainDatasResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeTrainDatasWithChan invokes the ivision.DescribeTrainDatas API asynchronously
-// api document: https://help.aliyun.com/api/ivision/describetraindatas.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeTrainDatasWithChan(request *DescribeTrainDatasRequest) (<-chan *DescribeTrainDatasResponse, <-chan error) {
-	responseChan := make(chan *DescribeTrainDatasResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeTrainDatas(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeTrainDatasWithCallback invokes the ivision.DescribeTrainDatas API asynchronously
-// api document: https://help.aliyun.com/api/ivision/describetraindatas.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeTrainDatasWithCallback(request *DescribeTrainDatasRequest, callback func(response *DescribeTrainDatasResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeTrainDatasResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeTrainDatas(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribeTrainDatasRequest is the request struct for api DescribeTrainDatas
-type DescribeTrainDatasRequest struct {
-	*requests.RpcRequest
-	NextPageToken string           `position:"Query" name:"NextPageToken"`
-	TagStatus     string           `position:"Query" name:"TagStatus"`
-	PageSize      requests.Integer `position:"Query" name:"PageSize"`
-	ProjectId     string           `position:"Query" name:"ProjectId"`
-	ShowLog       string           `position:"Query" name:"ShowLog"`
-	TagId         string           `position:"Query" name:"TagId"`
-	CurrentPage   requests.Integer `position:"Query" name:"CurrentPage"`
-	OwnerId       requests.Integer `position:"Query" name:"OwnerId"`
-	IterationId   string           `position:"Query" name:"IterationId"`
-}
-
-// DescribeTrainDatasResponse is the response struct for api DescribeTrainDatas
-type DescribeTrainDatasResponse struct {
-	*responses.BaseResponse
-	RequestId     string                         `json:"RequestId" xml:"RequestId"`
-	TotalNum      int                            `json:"TotalNum" xml:"TotalNum"`
-	CurrentPage   int                            `json:"CurrentPage" xml:"CurrentPage"`
-	PageSize      int                            `json:"PageSize" xml:"PageSize"`
-	NextPageToken string                         `json:"NextPageToken" xml:"NextPageToken"`
-	TrainDatas    TrainDatasInDescribeTrainDatas `json:"TrainDatas" xml:"TrainDatas"`
-}
-
-// CreateDescribeTrainDatasRequest creates a request to invoke DescribeTrainDatas API
-func CreateDescribeTrainDatasRequest() (request *DescribeTrainDatasRequest) {
-	request = &DescribeTrainDatasRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("ivision", "2019-03-08", "DescribeTrainDatas", "ivision", "openAPI")
-	return
-}
-
-// CreateDescribeTrainDatasResponse creates a response to parse from DescribeTrainDatas response
-func CreateDescribeTrainDatasResponse() (response *DescribeTrainDatasResponse) {
-	response = &DescribeTrainDatasResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 108
services/ivision/describe_train_datas_by_ids.go

@@ -1,108 +0,0 @@
-package ivision
-
-//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"
-)
-
-// DescribeTrainDatasByIds invokes the ivision.DescribeTrainDatasByIds API synchronously
-// api document: https://help.aliyun.com/api/ivision/describetraindatasbyids.html
-func (client *Client) DescribeTrainDatasByIds(request *DescribeTrainDatasByIdsRequest) (response *DescribeTrainDatasByIdsResponse, err error) {
-	response = CreateDescribeTrainDatasByIdsResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeTrainDatasByIdsWithChan invokes the ivision.DescribeTrainDatasByIds API asynchronously
-// api document: https://help.aliyun.com/api/ivision/describetraindatasbyids.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeTrainDatasByIdsWithChan(request *DescribeTrainDatasByIdsRequest) (<-chan *DescribeTrainDatasByIdsResponse, <-chan error) {
-	responseChan := make(chan *DescribeTrainDatasByIdsResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeTrainDatasByIds(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeTrainDatasByIdsWithCallback invokes the ivision.DescribeTrainDatasByIds API asynchronously
-// api document: https://help.aliyun.com/api/ivision/describetraindatasbyids.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeTrainDatasByIdsWithCallback(request *DescribeTrainDatasByIdsRequest, callback func(response *DescribeTrainDatasByIdsResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeTrainDatasByIdsResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeTrainDatasByIds(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribeTrainDatasByIdsRequest is the request struct for api DescribeTrainDatasByIds
-type DescribeTrainDatasByIdsRequest struct {
-	*requests.RpcRequest
-	DataIds     string           `position:"Query" name:"DataIds"`
-	ProjectId   string           `position:"Query" name:"ProjectId"`
-	ShowLog     string           `position:"Query" name:"ShowLog"`
-	OwnerId     requests.Integer `position:"Query" name:"OwnerId"`
-	IterationId string           `position:"Query" name:"IterationId"`
-}
-
-// DescribeTrainDatasByIdsResponse is the response struct for api DescribeTrainDatasByIds
-type DescribeTrainDatasByIdsResponse struct {
-	*responses.BaseResponse
-	RequestId  string                              `json:"RequestId" xml:"RequestId"`
-	TrainDatas TrainDatasInDescribeTrainDatasByIds `json:"TrainDatas" xml:"TrainDatas"`
-}
-
-// CreateDescribeTrainDatasByIdsRequest creates a request to invoke DescribeTrainDatasByIds API
-func CreateDescribeTrainDatasByIdsRequest() (request *DescribeTrainDatasByIdsRequest) {
-	request = &DescribeTrainDatasByIdsRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("ivision", "2019-03-08", "DescribeTrainDatasByIds", "ivision", "openAPI")
-	return
-}
-
-// CreateDescribeTrainDatasByIdsResponse creates a response to parse from DescribeTrainDatasByIds response
-func CreateDescribeTrainDatasByIdsResponse() (response *DescribeTrainDatasByIdsResponse) {
-	response = &DescribeTrainDatasByIdsResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 108
services/ivision/describe_train_result.go

@@ -1,108 +0,0 @@
-package ivision
-
-//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"
-)
-
-// DescribeTrainResult invokes the ivision.DescribeTrainResult API synchronously
-// api document: https://help.aliyun.com/api/ivision/describetrainresult.html
-func (client *Client) DescribeTrainResult(request *DescribeTrainResultRequest) (response *DescribeTrainResultResponse, err error) {
-	response = CreateDescribeTrainResultResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// DescribeTrainResultWithChan invokes the ivision.DescribeTrainResult API asynchronously
-// api document: https://help.aliyun.com/api/ivision/describetrainresult.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeTrainResultWithChan(request *DescribeTrainResultRequest) (<-chan *DescribeTrainResultResponse, <-chan error) {
-	responseChan := make(chan *DescribeTrainResultResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.DescribeTrainResult(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// DescribeTrainResultWithCallback invokes the ivision.DescribeTrainResult API asynchronously
-// api document: https://help.aliyun.com/api/ivision/describetrainresult.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) DescribeTrainResultWithCallback(request *DescribeTrainResultRequest, callback func(response *DescribeTrainResultResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *DescribeTrainResultResponse
-		var err error
-		defer close(result)
-		response, err = client.DescribeTrainResult(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// DescribeTrainResultRequest is the request struct for api DescribeTrainResult
-type DescribeTrainResultRequest struct {
-	*requests.RpcRequest
-	Threshold   string           `position:"Query" name:"Threshold"`
-	ProjectId   string           `position:"Query" name:"ProjectId"`
-	ShowLog     string           `position:"Query" name:"ShowLog"`
-	OwnerId     requests.Integer `position:"Query" name:"OwnerId"`
-	IterationId string           `position:"Query" name:"IterationId"`
-}
-
-// DescribeTrainResultResponse is the response struct for api DescribeTrainResult
-type DescribeTrainResultResponse struct {
-	*responses.BaseResponse
-	RequestId   string      `json:"RequestId" xml:"RequestId"`
-	TrainResult TrainResult `json:"TrainResult" xml:"TrainResult"`
-}
-
-// CreateDescribeTrainResultRequest creates a request to invoke DescribeTrainResult API
-func CreateDescribeTrainResultRequest() (request *DescribeTrainResultRequest) {
-	request = &DescribeTrainResultRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("ivision", "2019-03-08", "DescribeTrainResult", "ivision", "openAPI")
-	return
-}
-
-// CreateDescribeTrainResultResponse creates a response to parse from DescribeTrainResult response
-func CreateDescribeTrainResultResponse() (response *DescribeTrainResultResponse) {
-	response = &DescribeTrainResultResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 20 - 0
services/ivision/endpoint.go

@@ -0,0 +1,20 @@
+package ivision
+
+// EndpointMap Endpoint Data
+var EndpointMap map[string]string
+
+// EndpointType regional or central
+var EndpointType = "regional"
+
+// GetEndpointMap Get Endpoint Data Map
+func GetEndpointMap() map[string]string {
+	if EndpointMap == nil {
+		EndpointMap = map[string]string{}
+	}
+	return EndpointMap
+}
+
+// GetEndpointType Get Endpoint Type Value
+func GetEndpointType() string {
+	return EndpointType
+}

+ 107 - 0
services/ivision/image_predict.go

@@ -0,0 +1,107 @@
+package ivision
+
+//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"
+)
+
+// ImagePredict invokes the ivision.ImagePredict API synchronously
+// api document: https://help.aliyun.com/api/ivision/imagepredict.html
+func (client *Client) ImagePredict(request *ImagePredictRequest) (response *ImagePredictResponse, err error) {
+	response = CreateImagePredictResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// ImagePredictWithChan invokes the ivision.ImagePredict API asynchronously
+// api document: https://help.aliyun.com/api/ivision/imagepredict.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ImagePredictWithChan(request *ImagePredictRequest) (<-chan *ImagePredictResponse, <-chan error) {
+	responseChan := make(chan *ImagePredictResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.ImagePredict(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// ImagePredictWithCallback invokes the ivision.ImagePredict API asynchronously
+// api document: https://help.aliyun.com/api/ivision/imagepredict.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) ImagePredictWithCallback(request *ImagePredictRequest, callback func(response *ImagePredictResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *ImagePredictResponse
+		var err error
+		defer close(result)
+		response, err = client.ImagePredict(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// ImagePredictRequest is the request struct for api ImagePredict
+type ImagePredictRequest struct {
+	*requests.RpcRequest
+	DataUrl string           `position:"Query" name:"DataUrl"`
+	ShowLog string           `position:"Query" name:"ShowLog"`
+	ModelId string           `position:"Query" name:"ModelId"`
+	OwnerId requests.Integer `position:"Query" name:"OwnerId"`
+}
+
+// ImagePredictResponse is the response struct for api ImagePredict
+type ImagePredictResponse struct {
+	*responses.BaseResponse
+	RequestId    string       `json:"RequestId" xml:"RequestId"`
+	ImagePredict ImagePredict `json:"ImagePredict" xml:"ImagePredict"`
+}
+
+// CreateImagePredictRequest creates a request to invoke ImagePredict API
+func CreateImagePredictRequest() (request *ImagePredictRequest) {
+	request = &ImagePredictRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("ivision", "2019-03-08", "ImagePredict", "ivision", "openAPI")
+	return
+}
+
+// CreateImagePredictResponse creates a response to parse from ImagePredict response
+func CreateImagePredictResponse() (response *ImagePredictResponse) {
+	response = &ImagePredictResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 0 - 108
services/ivision/modify_project_attribute.go

@@ -1,108 +0,0 @@
-package ivision
-
-//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"
-)
-
-// ModifyProjectAttribute invokes the ivision.ModifyProjectAttribute API synchronously
-// api document: https://help.aliyun.com/api/ivision/modifyprojectattribute.html
-func (client *Client) ModifyProjectAttribute(request *ModifyProjectAttributeRequest) (response *ModifyProjectAttributeResponse, err error) {
-	response = CreateModifyProjectAttributeResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// ModifyProjectAttributeWithChan invokes the ivision.ModifyProjectAttribute API asynchronously
-// api document: https://help.aliyun.com/api/ivision/modifyprojectattribute.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) ModifyProjectAttributeWithChan(request *ModifyProjectAttributeRequest) (<-chan *ModifyProjectAttributeResponse, <-chan error) {
-	responseChan := make(chan *ModifyProjectAttributeResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.ModifyProjectAttribute(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// ModifyProjectAttributeWithCallback invokes the ivision.ModifyProjectAttribute API asynchronously
-// api document: https://help.aliyun.com/api/ivision/modifyprojectattribute.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) ModifyProjectAttributeWithCallback(request *ModifyProjectAttributeRequest, callback func(response *ModifyProjectAttributeResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *ModifyProjectAttributeResponse
-		var err error
-		defer close(result)
-		response, err = client.ModifyProjectAttribute(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// ModifyProjectAttributeRequest is the request struct for api ModifyProjectAttribute
-type ModifyProjectAttributeRequest struct {
-	*requests.RpcRequest
-	Description string           `position:"Query" name:"Description"`
-	ProjectId   string           `position:"Query" name:"ProjectId"`
-	ShowLog     string           `position:"Query" name:"ShowLog"`
-	OwnerId     requests.Integer `position:"Query" name:"OwnerId"`
-	Name        string           `position:"Query" name:"Name"`
-}
-
-// ModifyProjectAttributeResponse is the response struct for api ModifyProjectAttribute
-type ModifyProjectAttributeResponse struct {
-	*responses.BaseResponse
-	RequestId string  `json:"RequestId" xml:"RequestId"`
-	Project   Project `json:"Project" xml:"Project"`
-}
-
-// CreateModifyProjectAttributeRequest creates a request to invoke ModifyProjectAttribute API
-func CreateModifyProjectAttributeRequest() (request *ModifyProjectAttributeRequest) {
-	request = &ModifyProjectAttributeRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("ivision", "2019-03-08", "ModifyProjectAttribute", "ivision", "openAPI")
-	return
-}
-
-// CreateModifyProjectAttributeResponse creates a response to parse from ModifyProjectAttribute response
-func CreateModifyProjectAttributeResponse() (response *ModifyProjectAttributeResponse) {
-	response = &ModifyProjectAttributeResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 109
services/ivision/modify_tag_attribute.go

@@ -1,109 +0,0 @@
-package ivision
-
-//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"
-)
-
-// ModifyTagAttribute invokes the ivision.ModifyTagAttribute API synchronously
-// api document: https://help.aliyun.com/api/ivision/modifytagattribute.html
-func (client *Client) ModifyTagAttribute(request *ModifyTagAttributeRequest) (response *ModifyTagAttributeResponse, err error) {
-	response = CreateModifyTagAttributeResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// ModifyTagAttributeWithChan invokes the ivision.ModifyTagAttribute API asynchronously
-// api document: https://help.aliyun.com/api/ivision/modifytagattribute.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) ModifyTagAttributeWithChan(request *ModifyTagAttributeRequest) (<-chan *ModifyTagAttributeResponse, <-chan error) {
-	responseChan := make(chan *ModifyTagAttributeResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.ModifyTagAttribute(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// ModifyTagAttributeWithCallback invokes the ivision.ModifyTagAttribute API asynchronously
-// api document: https://help.aliyun.com/api/ivision/modifytagattribute.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) ModifyTagAttributeWithCallback(request *ModifyTagAttributeRequest, callback func(response *ModifyTagAttributeResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *ModifyTagAttributeResponse
-		var err error
-		defer close(result)
-		response, err = client.ModifyTagAttribute(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// ModifyTagAttributeRequest is the request struct for api ModifyTagAttribute
-type ModifyTagAttributeRequest struct {
-	*requests.RpcRequest
-	Description string           `position:"Query" name:"Description"`
-	ProjectId   string           `position:"Query" name:"ProjectId"`
-	ShowLog     string           `position:"Query" name:"ShowLog"`
-	TagId       string           `position:"Query" name:"TagId"`
-	OwnerId     requests.Integer `position:"Query" name:"OwnerId"`
-	Name        string           `position:"Query" name:"Name"`
-}
-
-// ModifyTagAttributeResponse is the response struct for api ModifyTagAttribute
-type ModifyTagAttributeResponse struct {
-	*responses.BaseResponse
-	RequestId string `json:"RequestId" xml:"RequestId"`
-	Tag       Tag    `json:"Tag" xml:"Tag"`
-}
-
-// CreateModifyTagAttributeRequest creates a request to invoke ModifyTagAttribute API
-func CreateModifyTagAttributeRequest() (request *ModifyTagAttributeRequest) {
-	request = &ModifyTagAttributeRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("ivision", "2019-03-08", "ModifyTagAttribute", "ivision", "openAPI")
-	return
-}
-
-// CreateModifyTagAttributeResponse creates a response to parse from ModifyTagAttribute response
-func CreateModifyTagAttributeResponse() (response *ModifyTagAttributeResponse) {
-	response = &ModifyTagAttributeResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 108
services/ivision/modify_train_data_region_tag_attribute.go

@@ -1,108 +0,0 @@
-package ivision
-
-//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"
-)
-
-// ModifyTrainDataRegionTagAttribute invokes the ivision.ModifyTrainDataRegionTagAttribute API synchronously
-// api document: https://help.aliyun.com/api/ivision/modifytraindataregiontagattribute.html
-func (client *Client) ModifyTrainDataRegionTagAttribute(request *ModifyTrainDataRegionTagAttributeRequest) (response *ModifyTrainDataRegionTagAttributeResponse, err error) {
-	response = CreateModifyTrainDataRegionTagAttributeResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// ModifyTrainDataRegionTagAttributeWithChan invokes the ivision.ModifyTrainDataRegionTagAttribute API asynchronously
-// api document: https://help.aliyun.com/api/ivision/modifytraindataregiontagattribute.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) ModifyTrainDataRegionTagAttributeWithChan(request *ModifyTrainDataRegionTagAttributeRequest) (<-chan *ModifyTrainDataRegionTagAttributeResponse, <-chan error) {
-	responseChan := make(chan *ModifyTrainDataRegionTagAttributeResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.ModifyTrainDataRegionTagAttribute(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// ModifyTrainDataRegionTagAttributeWithCallback invokes the ivision.ModifyTrainDataRegionTagAttribute API asynchronously
-// api document: https://help.aliyun.com/api/ivision/modifytraindataregiontagattribute.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) ModifyTrainDataRegionTagAttributeWithCallback(request *ModifyTrainDataRegionTagAttributeRequest, callback func(response *ModifyTrainDataRegionTagAttributeResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *ModifyTrainDataRegionTagAttributeResponse
-		var err error
-		defer close(result)
-		response, err = client.ModifyTrainDataRegionTagAttribute(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// ModifyTrainDataRegionTagAttributeRequest is the request struct for api ModifyTrainDataRegionTagAttribute
-type ModifyTrainDataRegionTagAttributeRequest struct {
-	*requests.RpcRequest
-	ProjectId string           `position:"Query" name:"ProjectId"`
-	ShowLog   string           `position:"Query" name:"ShowLog"`
-	TagItems  string           `position:"Query" name:"TagItems"`
-	OwnerId   requests.Integer `position:"Query" name:"OwnerId"`
-	DataId    string           `position:"Query" name:"DataId"`
-}
-
-// ModifyTrainDataRegionTagAttributeResponse is the response struct for api ModifyTrainDataRegionTagAttribute
-type ModifyTrainDataRegionTagAttributeResponse struct {
-	*responses.BaseResponse
-	RequestId string    `json:"RequestId" xml:"RequestId"`
-	TrainData TrainData `json:"TrainData" xml:"TrainData"`
-}
-
-// CreateModifyTrainDataRegionTagAttributeRequest creates a request to invoke ModifyTrainDataRegionTagAttribute API
-func CreateModifyTrainDataRegionTagAttributeRequest() (request *ModifyTrainDataRegionTagAttributeRequest) {
-	request = &ModifyTrainDataRegionTagAttributeRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("ivision", "2019-03-08", "ModifyTrainDataRegionTagAttribute", "ivision", "openAPI")
-	return
-}
-
-// CreateModifyTrainDataRegionTagAttributeResponse creates a response to parse from ModifyTrainDataRegionTagAttribute response
-func CreateModifyTrainDataRegionTagAttributeResponse() (response *ModifyTrainDataRegionTagAttributeResponse) {
-	response = &ModifyTrainDataRegionTagAttributeResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 108
services/ivision/modify_train_data_tag_attribute.go

@@ -1,108 +0,0 @@
-package ivision
-
-//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"
-)
-
-// ModifyTrainDataTagAttribute invokes the ivision.ModifyTrainDataTagAttribute API synchronously
-// api document: https://help.aliyun.com/api/ivision/modifytraindatatagattribute.html
-func (client *Client) ModifyTrainDataTagAttribute(request *ModifyTrainDataTagAttributeRequest) (response *ModifyTrainDataTagAttributeResponse, err error) {
-	response = CreateModifyTrainDataTagAttributeResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// ModifyTrainDataTagAttributeWithChan invokes the ivision.ModifyTrainDataTagAttribute API asynchronously
-// api document: https://help.aliyun.com/api/ivision/modifytraindatatagattribute.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) ModifyTrainDataTagAttributeWithChan(request *ModifyTrainDataTagAttributeRequest) (<-chan *ModifyTrainDataTagAttributeResponse, <-chan error) {
-	responseChan := make(chan *ModifyTrainDataTagAttributeResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.ModifyTrainDataTagAttribute(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// ModifyTrainDataTagAttributeWithCallback invokes the ivision.ModifyTrainDataTagAttribute API asynchronously
-// api document: https://help.aliyun.com/api/ivision/modifytraindatatagattribute.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) ModifyTrainDataTagAttributeWithCallback(request *ModifyTrainDataTagAttributeRequest, callback func(response *ModifyTrainDataTagAttributeResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *ModifyTrainDataTagAttributeResponse
-		var err error
-		defer close(result)
-		response, err = client.ModifyTrainDataTagAttribute(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// ModifyTrainDataTagAttributeRequest is the request struct for api ModifyTrainDataTagAttribute
-type ModifyTrainDataTagAttributeRequest struct {
-	*requests.RpcRequest
-	ProjectId string           `position:"Query" name:"ProjectId"`
-	ShowLog   string           `position:"Query" name:"ShowLog"`
-	TagItems  string           `position:"Query" name:"TagItems"`
-	OwnerId   requests.Integer `position:"Query" name:"OwnerId"`
-	DataId    string           `position:"Query" name:"DataId"`
-}
-
-// ModifyTrainDataTagAttributeResponse is the response struct for api ModifyTrainDataTagAttribute
-type ModifyTrainDataTagAttributeResponse struct {
-	*responses.BaseResponse
-	RequestId string    `json:"RequestId" xml:"RequestId"`
-	TrainData TrainData `json:"TrainData" xml:"TrainData"`
-}
-
-// CreateModifyTrainDataTagAttributeRequest creates a request to invoke ModifyTrainDataTagAttribute API
-func CreateModifyTrainDataTagAttributeRequest() (request *ModifyTrainDataTagAttributeRequest) {
-	request = &ModifyTrainDataTagAttributeRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("ivision", "2019-03-08", "ModifyTrainDataTagAttribute", "ivision", "openAPI")
-	return
-}
-
-// CreateModifyTrainDataTagAttributeResponse creates a response to parse from ModifyTrainDataTagAttribute response
-func CreateModifyTrainDataTagAttributeResponse() (response *ModifyTrainDataTagAttributeResponse) {
-	response = &ModifyTrainDataTagAttributeResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 0 - 108
services/ivision/predict_image.go

@@ -1,108 +0,0 @@
-package ivision
-
-//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"
-)
-
-// PredictImage invokes the ivision.PredictImage API synchronously
-// api document: https://help.aliyun.com/api/ivision/predictimage.html
-func (client *Client) PredictImage(request *PredictImageRequest) (response *PredictImageResponse, err error) {
-	response = CreatePredictImageResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// PredictImageWithChan invokes the ivision.PredictImage API asynchronously
-// api document: https://help.aliyun.com/api/ivision/predictimage.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) PredictImageWithChan(request *PredictImageRequest) (<-chan *PredictImageResponse, <-chan error) {
-	responseChan := make(chan *PredictImageResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.PredictImage(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// PredictImageWithCallback invokes the ivision.PredictImage API asynchronously
-// api document: https://help.aliyun.com/api/ivision/predictimage.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) PredictImageWithCallback(request *PredictImageRequest, callback func(response *PredictImageResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *PredictImageResponse
-		var err error
-		defer close(result)
-		response, err = client.PredictImage(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// PredictImageRequest is the request struct for api PredictImage
-type PredictImageRequest struct {
-	*requests.RpcRequest
-	ProjectId   string           `position:"Query" name:"ProjectId"`
-	ShowLog     string           `position:"Query" name:"ShowLog"`
-	OwnerId     requests.Integer `position:"Query" name:"OwnerId"`
-	IterationId string           `position:"Query" name:"IterationId"`
-	DataUrls    string           `position:"Query" name:"DataUrls"`
-}
-
-// PredictImageResponse is the response struct for api PredictImage
-type PredictImageResponse struct {
-	*responses.BaseResponse
-	RequestId    string                     `json:"RequestId" xml:"RequestId"`
-	PredictDatas PredictDatasInPredictImage `json:"PredictDatas" xml:"PredictDatas"`
-}
-
-// CreatePredictImageRequest creates a request to invoke PredictImage API
-func CreatePredictImageRequest() (request *PredictImageRequest) {
-	request = &PredictImageRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("ivision", "2019-03-08", "PredictImage", "ivision", "openAPI")
-	return
-}
-
-// CreatePredictImageResponse creates a response to parse from PredictImage response
-func CreatePredictImageResponse() (response *PredictImageResponse) {
-	response = &PredictImageResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 109 - 0
services/ivision/register_face.go

@@ -0,0 +1,109 @@
+package ivision
+
+//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"
+)
+
+// RegisterFace invokes the ivision.RegisterFace API synchronously
+// api document: https://help.aliyun.com/api/ivision/registerface.html
+func (client *Client) RegisterFace(request *RegisterFaceRequest) (response *RegisterFaceResponse, err error) {
+	response = CreateRegisterFaceResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// RegisterFaceWithChan invokes the ivision.RegisterFace API asynchronously
+// api document: https://help.aliyun.com/api/ivision/registerface.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) RegisterFaceWithChan(request *RegisterFaceRequest) (<-chan *RegisterFaceResponse, <-chan error) {
+	responseChan := make(chan *RegisterFaceResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.RegisterFace(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// RegisterFaceWithCallback invokes the ivision.RegisterFace API asynchronously
+// api document: https://help.aliyun.com/api/ivision/registerface.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) RegisterFaceWithCallback(request *RegisterFaceRequest, callback func(response *RegisterFaceResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *RegisterFaceResponse
+		var err error
+		defer close(result)
+		response, err = client.RegisterFace(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// RegisterFaceRequest is the request struct for api RegisterFace
+type RegisterFaceRequest struct {
+	*requests.RpcRequest
+	Content  string           `position:"Query" name:"Content"`
+	DataType string           `position:"Query" name:"DataType"`
+	ShowLog  string           `position:"Query" name:"ShowLog"`
+	GroupId  string           `position:"Query" name:"GroupId"`
+	OwnerId  requests.Integer `position:"Query" name:"OwnerId"`
+}
+
+// RegisterFaceResponse is the response struct for api RegisterFace
+type RegisterFaceResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	GroupId   string `json:"GroupId" xml:"GroupId"`
+	Faces     []Face `json:"Faces" xml:"Faces"`
+}
+
+// CreateRegisterFaceRequest creates a request to invoke RegisterFace API
+func CreateRegisterFaceRequest() (request *RegisterFaceRequest) {
+	request = &RegisterFaceRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("ivision", "2019-03-08", "RegisterFace", "ivision", "openAPI")
+	return
+}
+
+// CreateRegisterFaceResponse creates a response to parse from RegisterFace response
+func CreateRegisterFaceResponse() (response *RegisterFaceResponse) {
+	response = &RegisterFaceResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 112 - 0
services/ivision/search_face.go

@@ -0,0 +1,112 @@
+package ivision
+
+//Licensed under the Apache License, Version 2.0 (the "License");
+//you may not use this file except in compliance with the License.
+//You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+//
+// Code generated by Alibaba Cloud SDK Code Generator.
+// Changes may cause incorrect behavior and will be lost if the code is regenerated.
+
+import (
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests"
+	"github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses"
+)
+
+// SearchFace invokes the ivision.SearchFace API synchronously
+// api document: https://help.aliyun.com/api/ivision/searchface.html
+func (client *Client) SearchFace(request *SearchFaceRequest) (response *SearchFaceResponse, err error) {
+	response = CreateSearchFaceResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// SearchFaceWithChan invokes the ivision.SearchFace API asynchronously
+// api document: https://help.aliyun.com/api/ivision/searchface.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) SearchFaceWithChan(request *SearchFaceRequest) (<-chan *SearchFaceResponse, <-chan error) {
+	responseChan := make(chan *SearchFaceResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.SearchFace(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// SearchFaceWithCallback invokes the ivision.SearchFace API asynchronously
+// api document: https://help.aliyun.com/api/ivision/searchface.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) SearchFaceWithCallback(request *SearchFaceRequest, callback func(response *SearchFaceResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *SearchFaceResponse
+		var err error
+		defer close(result)
+		response, err = client.SearchFace(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// SearchFaceRequest is the request struct for api SearchFace
+type SearchFaceRequest struct {
+	*requests.RpcRequest
+	Content              string           `position:"Query" name:"Content"`
+	DataType             string           `position:"Query" name:"DataType"`
+	ProbabilityThreshold requests.Float   `position:"Query" name:"ProbabilityThreshold"`
+	ShowLog              string           `position:"Query" name:"ShowLog"`
+	GroupId              string           `position:"Query" name:"GroupId"`
+	Count                requests.Integer `position:"Query" name:"Count"`
+	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
+}
+
+// SearchFaceResponse is the response struct for api SearchFace
+type SearchFaceResponse struct {
+	*responses.BaseResponse
+	RequestId   string       `json:"RequestId" xml:"RequestId"`
+	GroupId     string       `json:"GroupId" xml:"GroupId"`
+	Rect        Rect         `json:"Rect" xml:"Rect"`
+	FaceResults []FaceResult `json:"FaceResults" xml:"FaceResults"`
+}
+
+// CreateSearchFaceRequest creates a request to invoke SearchFace API
+func CreateSearchFaceRequest() (request *SearchFaceRequest) {
+	request = &SearchFaceRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("ivision", "2019-03-08", "SearchFace", "ivision", "openAPI")
+	return
+}
+
+// CreateSearchFaceResponse creates a response to parse from SearchFace response
+func CreateSearchFaceResponse() (response *SearchFaceResponse) {
+	response = &SearchFaceResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}

+ 4 - 3
services/ivision/struct_tag_results.go → services/ivision/struct_face.go

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

+ 4 - 3
services/ivision/struct_predict_datas_in_predict_image.go → services/ivision/struct_face_result.go

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

+ 3 - 3
services/ivision/struct_iterations.go → services/ivision/struct_face_results.go

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

+ 3 - 3
services/ivision/struct_tags.go → services/ivision/struct_faces.go

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

+ 5 - 3
services/ivision/struct_prediction_results_in_describe_predict_datas.go → services/ivision/struct_group.go

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

+ 3 - 3
services/ivision/struct_projects.go → services/ivision/struct_groups.go

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

+ 9 - 11
services/ivision/struct_iteration.go → services/ivision/struct_image_predict.go

@@ -15,16 +15,14 @@ package ivision
 // Code generated by Alibaba Cloud SDK Code Generator.
 // Changes may cause incorrect behavior and will be lost if the code is regenerated.
 
-// Iteration is a nested struct in ivision response
-type Iteration struct {
-	ProjectId     string `json:"ProjectId" xml:"ProjectId"`
-	IterationId   string `json:"IterationId" xml:"IterationId"`
-	IterationName string `json:"IterationName" xml:"IterationName"`
-	Status        string `json:"Status" xml:"Status"`
-	CreationTime  string `json:"CreationTime" xml:"CreationTime"`
-	FinishTime    string `json:"FinishTime" xml:"FinishTime"`
+// ImagePredict is a nested struct in ivision response
+type ImagePredict struct {
+	PredictId     string `json:"PredictId" xml:"PredictId"`
 	ModelId       string `json:"ModelId" xml:"ModelId"`
-	Precision     string `json:"Precision" xml:"Precision"`
-	Recall        string `json:"Recall" xml:"Recall"`
-	MAP           string `json:"MAP" xml:"MAP"`
+	DataUrl       string `json:"DataUrl" xml:"DataUrl"`
+	PredictTime   string `json:"PredictTime" xml:"PredictTime"`
+	Status        string `json:"Status" xml:"Status"`
+	Code          string `json:"Code" xml:"Code"`
+	Message       string `json:"Message" xml:"Message"`
+	PredictResult string `json:"PredictResult" xml:"PredictResult"`
 }

+ 0 - 30
services/ivision/struct_predict_data.go

@@ -1,30 +0,0 @@
-package ivision
-
-//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.
-
-// PredictData is a nested struct in ivision response
-type PredictData struct {
-	DataId            string                          `json:"DataId" xml:"DataId"`
-	ErrorMessage      string                          `json:"ErrorMessage" xml:"ErrorMessage"`
-	ProjectId         string                          `json:"ProjectId" xml:"ProjectId"`
-	DataUrl           string                          `json:"DataUrl" xml:"DataUrl"`
-	DataName          string                          `json:"DataName" xml:"DataName"`
-	CreationTime      string                          `json:"CreationTime" xml:"CreationTime"`
-	Status            string                          `json:"Status" xml:"Status"`
-	IterationId       string                          `json:"IterationId" xml:"IterationId"`
-	ErrorCode         string                          `json:"ErrorCode" xml:"ErrorCode"`
-	PredictionResults PredictionResultsInPredictImage `json:"PredictionResults" xml:"PredictionResults"`
-}

+ 0 - 21
services/ivision/struct_predict_datas_in_describe_predict_datas.go

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

+ 0 - 27
services/ivision/struct_prediction_result.go

@@ -1,27 +0,0 @@
-package ivision
-
-//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.
-
-// PredictionResult is a nested struct in ivision response
-type PredictionResult struct {
-	TagName     string `json:"TagName" xml:"TagName"`
-	Probability string `json:"Probability" xml:"Probability"`
-	TagId       string `json:"TagId" xml:"TagId"`
-	Overlap     string `json:"Overlap" xml:"Overlap"`
-	RegionType  string `json:"RegionType" xml:"RegionType"`
-	Properties  string `json:"Properties" xml:"Properties"`
-	Region      Region `json:"Region" xml:"Region"`
-}

+ 0 - 27
services/ivision/struct_prediction_result_in_describe_stream_predict_result.go

@@ -1,27 +0,0 @@
-package ivision
-
-//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.
-
-// PredictionResultInDescribeStreamPredictResult is a nested struct in ivision response
-type PredictionResultInDescribeStreamPredictResult struct {
-	TagId       string     `json:"TagId" xml:"TagId"`
-	TagName     string     `json:"TagName" xml:"TagName"`
-	Probability string     `json:"Probability" xml:"Probability"`
-	Overlap     string     `json:"Overlap" xml:"Overlap"`
-	RegionType  string     `json:"RegionType" xml:"RegionType"`
-	Region      Region     `json:"Region" xml:"Region"`
-	Properties  Properties `json:"Properties" xml:"Properties"`
-}

+ 0 - 21
services/ivision/struct_prediction_results_in_describe_stream_predict_result.go

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

+ 0 - 27
services/ivision/struct_project.go

@@ -1,27 +0,0 @@
-package ivision
-
-//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.
-
-// Project is a nested struct in ivision response
-type Project struct {
-	Name         string `json:"Name" xml:"Name"`
-	ProType      string `json:"ProType" xml:"ProType"`
-	IterCount    int    `json:"IterCount" xml:"IterCount"`
-	ProjectId    string `json:"ProjectId" xml:"ProjectId"`
-	CreationTime string `json:"CreationTime" xml:"CreationTime"`
-	Status       string `json:"Status" xml:"Status"`
-	Description  string `json:"Description" xml:"Description"`
-}

+ 0 - 22
services/ivision/struct_properties.go

@@ -1,22 +0,0 @@
-package ivision
-
-//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.
-
-// Properties is a nested struct in ivision response
-type Properties struct {
-	WithGloves            string `json:"WithGloves" xml:"WithGloves"`
-	WithGlovesProbability string `json:"WithGlovesProbability" xml:"WithGlovesProbability"`
-}

+ 6 - 3
services/ivision/struct_prediction_results_in_predict_image.go → services/ivision/struct_rect.go

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

+ 0 - 24
services/ivision/struct_region.go

@@ -1,24 +0,0 @@
-package ivision
-
-//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.
-
-// Region is a nested struct in ivision response
-type Region struct {
-	Height string `json:"Height" xml:"Height"`
-	Width  string `json:"Width" xml:"Width"`
-	Top    string `json:"Top" xml:"Top"`
-	Left   string `json:"Left" xml:"Left"`
-}

+ 0 - 21
services/ivision/struct_result_statistics.go

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

+ 0 - 23
services/ivision/struct_result_statistics_item.go

@@ -1,23 +0,0 @@
-package ivision
-
-//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.
-
-// ResultStatisticsItem is a nested struct in ivision response
-type ResultStatisticsItem struct {
-	TagId   string `json:"TagId" xml:"TagId"`
-	TagName string `json:"TagName" xml:"TagName"`
-	Count   int    `json:"Count" xml:"Count"`
-}

+ 1 - 0
services/ivision/struct_stream_predict.go

@@ -22,6 +22,7 @@ type StreamPredict struct {
 	StreamId              string `json:"StreamId" xml:"StreamId"`
 	ModelIds              string `json:"ModelIds" xml:"ModelIds"`
 	ProbabilityThresholds string `json:"ProbabilityThresholds" xml:"ProbabilityThresholds"`
+	DetectIntervals       string `json:"DetectIntervals" xml:"DetectIntervals"`
 	Output                string `json:"Output" xml:"Output"`
 	Notify                string `json:"Notify" xml:"Notify"`
 	UserData              string `json:"UserData" xml:"UserData"`

+ 7 - 8
services/ivision/struct_stream_predict_data.go

@@ -17,12 +17,11 @@ package ivision
 
 // StreamPredictData is a nested struct in ivision response
 type StreamPredictData struct {
-	PredictId         string                                         `json:"PredictId" xml:"PredictId"`
-	ModelId           string                                         `json:"ModelId" xml:"ModelId"`
-	DataUrl           string                                         `json:"DataUrl" xml:"DataUrl"`
-	StreamTimestamp   string                                         `json:"StreamTimestamp" xml:"StreamTimestamp"`
-	PredictTime       string                                         `json:"PredictTime" xml:"PredictTime"`
-	Status            string                                         `json:"Status" xml:"Status"`
-	ResultStatistics  ResultStatistics                               `json:"ResultStatistics" xml:"ResultStatistics"`
-	PredictionResults PredictionResultsInDescribeStreamPredictResult `json:"PredictionResults" xml:"PredictionResults"`
+	PredictId     string `json:"PredictId" xml:"PredictId"`
+	ModelId       string `json:"ModelId" xml:"ModelId"`
+	DataUrl       string `json:"DataUrl" xml:"DataUrl"`
+	Timestamp     int64  `json:"Timestamp" xml:"Timestamp"`
+	PredictTime   string `json:"PredictTime" xml:"PredictTime"`
+	Status        string `json:"Status" xml:"Status"`
+	PredictResult string `json:"PredictResult" xml:"PredictResult"`
 }

+ 0 - 27
services/ivision/struct_tag.go

@@ -1,27 +0,0 @@
-package ivision
-
-//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.
-
-// Tag is a nested struct in ivision response
-type Tag struct {
-	TagName      string `json:"TagName" xml:"TagName"`
-	Count        int    `json:"Count" xml:"Count"`
-	ProjectId    string `json:"ProjectId" xml:"ProjectId"`
-	CreationTime string `json:"CreationTime" xml:"CreationTime"`
-	TagId        string `json:"TagId" xml:"TagId"`
-	Status       string `json:"Status" xml:"Status"`
-	Description  string `json:"Description" xml:"Description"`
-}

+ 0 - 23
services/ivision/struct_tag_item.go

@@ -1,23 +0,0 @@
-package ivision
-
-//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.
-
-// TagItem is a nested struct in ivision response
-type TagItem struct {
-	TagId      string `json:"TagId" xml:"TagId"`
-	RegionType string `json:"RegionType" xml:"RegionType"`
-	Region     Region `json:"Region" xml:"Region"`
-}

+ 0 - 21
services/ivision/struct_tag_items_in_create_train_data_region_tag.go

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

+ 0 - 21
services/ivision/struct_tag_items_in_create_train_data_tag.go

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

+ 0 - 21
services/ivision/struct_tag_items_in_create_train_datas_from_prediction.go

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

+ 0 - 21
services/ivision/struct_tag_items_in_create_train_datas_from_urls.go

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

+ 0 - 21
services/ivision/struct_tag_items_in_create_train_datas_tag.go

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

+ 0 - 21
services/ivision/struct_tag_items_in_describe_train_datas.go

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

+ 0 - 21
services/ivision/struct_tag_items_in_describe_train_datas_by_ids.go

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

+ 0 - 21
services/ivision/struct_tag_items_in_modify_train_data_region_tag_attribute.go

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

+ 0 - 21
services/ivision/struct_tag_items_in_modify_train_data_tag_attribute.go

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

+ 0 - 25
services/ivision/struct_tag_result.go

@@ -1,25 +0,0 @@
-package ivision
-
-//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.
-
-// TagResult is a nested struct in ivision response
-type TagResult struct {
-	TagId     string `json:"TagId" xml:"TagId"`
-	TagName   string `json:"TagName" xml:"TagName"`
-	Precision string `json:"Precision" xml:"Precision"`
-	Recall    string `json:"Recall" xml:"Recall"`
-	AP        string `json:"AP" xml:"AP"`
-}

+ 0 - 29
services/ivision/struct_train_data.go

@@ -1,29 +0,0 @@
-package ivision
-
-//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.
-
-// TrainData is a nested struct in ivision response
-type TrainData struct {
-	DataId       string                       `json:"DataId" xml:"DataId"`
-	ProjectId    string                       `json:"ProjectId" xml:"ProjectId"`
-	TagStatus    string                       `json:"TagStatus" xml:"TagStatus"`
-	DataUrl      string                       `json:"DataUrl" xml:"DataUrl"`
-	DataName     string                       `json:"DataName" xml:"DataName"`
-	CreationTime string                       `json:"CreationTime" xml:"CreationTime"`
-	Status       string                       `json:"Status" xml:"Status"`
-	IterationId  string                       `json:"IterationId" xml:"IterationId"`
-	TagItems     TagItemsInCreateTrainDataTag `json:"TagItems" xml:"TagItems"`
-}

+ 0 - 21
services/ivision/struct_train_datas_in_create_train_datas_from_prediction.go

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

+ 0 - 21
services/ivision/struct_train_datas_in_create_train_datas_from_urls.go

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

+ 0 - 21
services/ivision/struct_train_datas_in_describe_train_datas.go

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

+ 0 - 21
services/ivision/struct_train_datas_in_describe_train_datas_by_ids.go

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

+ 0 - 33
services/ivision/struct_train_result.go

@@ -1,33 +0,0 @@
-package ivision
-
-//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.
-
-// TrainResult is a nested struct in ivision response
-type TrainResult struct {
-	ProjectId     string     `json:"ProjectId" xml:"ProjectId"`
-	IterationId   string     `json:"IterationId" xml:"IterationId"`
-	IterationName string     `json:"IterationName" xml:"IterationName"`
-	Precision     string     `json:"Precision" xml:"Precision"`
-	Recall        string     `json:"Recall" xml:"Recall"`
-	MAP           string     `json:"MAP" xml:"MAP"`
-	Threshold     string     `json:"Threshold" xml:"Threshold"`
-	Status        string     `json:"Status" xml:"Status"`
-	StartTime     string     `json:"StartTime" xml:"StartTime"`
-	EndTime       string     `json:"EndTime" xml:"EndTime"`
-	ErrorCode     string     `json:"ErrorCode" xml:"ErrorCode"`
-	ErrorMessage  string     `json:"ErrorMessage" xml:"ErrorMessage"`
-	TagResults    TagResults `json:"TagResults" xml:"TagResults"`
-}

+ 0 - 28
services/ivision/struct_upload_token.go

@@ -1,28 +0,0 @@
-package ivision
-
-//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.
-
-// UploadToken is a nested struct in ivision response
-type UploadToken struct {
-	AccessKeyId     string `json:"AccessKeyId" xml:"AccessKeyId"`
-	AccessKeySecret string `json:"AccessKeySecret" xml:"AccessKeySecret"`
-	SecurityToken   string `json:"SecurityToken" xml:"SecurityToken"`
-	Expiration      string `json:"Expiration" xml:"Expiration"`
-	Bucket          string `json:"Bucket" xml:"Bucket"`
-	Object          string `json:"Object" xml:"Object"`
-	Endpoint        string `json:"Endpoint" xml:"Endpoint"`
-	Url             string `json:"Url" xml:"Url"`
-}

+ 0 - 106
services/ivision/train_project.go

@@ -1,106 +0,0 @@
-package ivision
-
-//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"
-)
-
-// TrainProject invokes the ivision.TrainProject API synchronously
-// api document: https://help.aliyun.com/api/ivision/trainproject.html
-func (client *Client) TrainProject(request *TrainProjectRequest) (response *TrainProjectResponse, err error) {
-	response = CreateTrainProjectResponse()
-	err = client.DoAction(request, response)
-	return
-}
-
-// TrainProjectWithChan invokes the ivision.TrainProject API asynchronously
-// api document: https://help.aliyun.com/api/ivision/trainproject.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) TrainProjectWithChan(request *TrainProjectRequest) (<-chan *TrainProjectResponse, <-chan error) {
-	responseChan := make(chan *TrainProjectResponse, 1)
-	errChan := make(chan error, 1)
-	err := client.AddAsyncTask(func() {
-		defer close(responseChan)
-		defer close(errChan)
-		response, err := client.TrainProject(request)
-		if err != nil {
-			errChan <- err
-		} else {
-			responseChan <- response
-		}
-	})
-	if err != nil {
-		errChan <- err
-		close(responseChan)
-		close(errChan)
-	}
-	return responseChan, errChan
-}
-
-// TrainProjectWithCallback invokes the ivision.TrainProject API asynchronously
-// api document: https://help.aliyun.com/api/ivision/trainproject.html
-// asynchronous document: https://help.aliyun.com/document_detail/66220.html
-func (client *Client) TrainProjectWithCallback(request *TrainProjectRequest, callback func(response *TrainProjectResponse, err error)) <-chan int {
-	result := make(chan int, 1)
-	err := client.AddAsyncTask(func() {
-		var response *TrainProjectResponse
-		var err error
-		defer close(result)
-		response, err = client.TrainProject(request)
-		callback(response, err)
-		result <- 1
-	})
-	if err != nil {
-		defer close(result)
-		callback(nil, err)
-		result <- 0
-	}
-	return result
-}
-
-// TrainProjectRequest is the request struct for api TrainProject
-type TrainProjectRequest struct {
-	*requests.RpcRequest
-	ProjectId string           `position:"Query" name:"ProjectId"`
-	ShowLog   string           `position:"Query" name:"ShowLog"`
-	OwnerId   requests.Integer `position:"Query" name:"OwnerId"`
-}
-
-// TrainProjectResponse is the response struct for api TrainProject
-type TrainProjectResponse struct {
-	*responses.BaseResponse
-	RequestId   string `json:"RequestId" xml:"RequestId"`
-	IterationId string `json:"IterationId" xml:"IterationId"`
-}
-
-// CreateTrainProjectRequest creates a request to invoke TrainProject API
-func CreateTrainProjectRequest() (request *TrainProjectRequest) {
-	request = &TrainProjectRequest{
-		RpcRequest: &requests.RpcRequest{},
-	}
-	request.InitWithApiInfo("ivision", "2019-03-08", "TrainProject", "ivision", "openAPI")
-	return
-}
-
-// CreateTrainProjectResponse creates a response to parse from TrainProject response
-func CreateTrainProjectResponse() (response *TrainProjectResponse) {
-	response = &TrainProjectResponse{
-		BaseResponse: &responses.BaseResponse{},
-	}
-	return
-}

+ 108 - 0
services/ivision/unregister_face.go

@@ -0,0 +1,108 @@
+package ivision
+
+//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"
+)
+
+// UnregisterFace invokes the ivision.UnregisterFace API synchronously
+// api document: https://help.aliyun.com/api/ivision/unregisterface.html
+func (client *Client) UnregisterFace(request *UnregisterFaceRequest) (response *UnregisterFaceResponse, err error) {
+	response = CreateUnregisterFaceResponse()
+	err = client.DoAction(request, response)
+	return
+}
+
+// UnregisterFaceWithChan invokes the ivision.UnregisterFace API asynchronously
+// api document: https://help.aliyun.com/api/ivision/unregisterface.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) UnregisterFaceWithChan(request *UnregisterFaceRequest) (<-chan *UnregisterFaceResponse, <-chan error) {
+	responseChan := make(chan *UnregisterFaceResponse, 1)
+	errChan := make(chan error, 1)
+	err := client.AddAsyncTask(func() {
+		defer close(responseChan)
+		defer close(errChan)
+		response, err := client.UnregisterFace(request)
+		if err != nil {
+			errChan <- err
+		} else {
+			responseChan <- response
+		}
+	})
+	if err != nil {
+		errChan <- err
+		close(responseChan)
+		close(errChan)
+	}
+	return responseChan, errChan
+}
+
+// UnregisterFaceWithCallback invokes the ivision.UnregisterFace API asynchronously
+// api document: https://help.aliyun.com/api/ivision/unregisterface.html
+// asynchronous document: https://help.aliyun.com/document_detail/66220.html
+func (client *Client) UnregisterFaceWithCallback(request *UnregisterFaceRequest, callback func(response *UnregisterFaceResponse, err error)) <-chan int {
+	result := make(chan int, 1)
+	err := client.AddAsyncTask(func() {
+		var response *UnregisterFaceResponse
+		var err error
+		defer close(result)
+		response, err = client.UnregisterFace(request)
+		callback(response, err)
+		result <- 1
+	})
+	if err != nil {
+		defer close(result)
+		callback(nil, err)
+		result <- 0
+	}
+	return result
+}
+
+// UnregisterFaceRequest is the request struct for api UnregisterFace
+type UnregisterFaceRequest struct {
+	*requests.RpcRequest
+	ShowLog   string           `position:"Query" name:"ShowLog"`
+	GroupId   string           `position:"Query" name:"GroupId"`
+	OwnerId   requests.Integer `position:"Query" name:"OwnerId"`
+	FaceToken string           `position:"Query" name:"FaceToken"`
+}
+
+// UnregisterFaceResponse is the response struct for api UnregisterFace
+type UnregisterFaceResponse struct {
+	*responses.BaseResponse
+	RequestId string `json:"RequestId" xml:"RequestId"`
+	GroupId   string `json:"GroupId" xml:"GroupId"`
+	FaceToken string `json:"FaceToken" xml:"FaceToken"`
+}
+
+// CreateUnregisterFaceRequest creates a request to invoke UnregisterFace API
+func CreateUnregisterFaceRequest() (request *UnregisterFaceRequest) {
+	request = &UnregisterFaceRequest{
+		RpcRequest: &requests.RpcRequest{},
+	}
+	request.InitWithApiInfo("ivision", "2019-03-08", "UnregisterFace", "ivision", "openAPI")
+	return
+}
+
+// CreateUnregisterFaceResponse creates a response to parse from UnregisterFace response
+func CreateUnregisterFaceResponse() (response *UnregisterFaceResponse) {
+	response = &UnregisterFaceResponse{
+		BaseResponse: &responses.BaseResponse{},
+	}
+	return
+}