diff --git a/aliyun-net-sdk-imm/ChangeLog.txt b/aliyun-net-sdk-imm/ChangeLog.txt index f6373d3532..ffbf09e734 100644 --- a/aliyun-net-sdk-imm/ChangeLog.txt +++ b/aliyun-net-sdk-imm/ChangeLog.txt @@ -1,3 +1,7 @@ +2018-12-05 Version: 1.2.2 +1, Add image async job. +2, Fix group bug. + 2018-11-27 Version: 1.2.1 1, ConvertOfficeFormat support TgtFilePrefix, TgtFileSuffix, TgtFilePages, FitToPagesTall, FitToPagesWide diff --git a/aliyun-net-sdk-imm/Imm/Model/V20170906/ConvertOfficeFormatRequest.cs b/aliyun-net-sdk-imm/Imm/Model/V20170906/ConvertOfficeFormatRequest.cs index 25687fb407..8dba0f2d20 100755 --- a/aliyun-net-sdk-imm/Imm/Model/V20170906/ConvertOfficeFormatRequest.cs +++ b/aliyun-net-sdk-imm/Imm/Model/V20170906/ConvertOfficeFormatRequest.cs @@ -47,6 +47,8 @@ public ConvertOfficeFormatRequest() private string tgtFileSuffix; + private bool? pdfVector; + private string accessKeyId; private bool? sheetOnePage; @@ -164,6 +166,19 @@ public string TgtFileSuffix } } + public bool? PdfVector + { + get + { + return pdfVector; + } + set + { + pdfVector = value; + DictionaryUtil.Add(QueryParameters, "PdfVector", value.ToString()); + } + } + public string AccessKeyId { get diff --git a/aliyun-net-sdk-imm/Imm/Model/V20170906/CreateDeleteFaceSetJobRequest.cs b/aliyun-net-sdk-imm/Imm/Model/V20170906/CreateDeleteFaceSetJobRequest.cs new file mode 100755 index 0000000000..16e0c28645 --- /dev/null +++ b/aliyun-net-sdk-imm/Imm/Model/V20170906/CreateDeleteFaceSetJobRequest.cs @@ -0,0 +1,146 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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. + */ +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.imm.Transform; +using Aliyun.Acs.imm.Transform.V20170906; +using System.Collections.Generic; + +namespace Aliyun.Acs.imm.Model.V20170906 +{ + public class CreateDeleteFaceSetJobRequest : RpcAcsRequest + { + public CreateDeleteFaceSetJobRequest() + : base("imm", "2017-09-06", "CreateDeleteFaceSetJob", "imm", "openAPI") + { + } + + private string notifyTopicName; + + private string notifyEndpoint; + + private string action; + + private string project; + + private string setId; + + private string checkEmpty; + + private string accessKeyId; + + public string NotifyTopicName + { + get + { + return notifyTopicName; + } + set + { + notifyTopicName = value; + DictionaryUtil.Add(QueryParameters, "NotifyTopicName", value); + } + } + + public string NotifyEndpoint + { + get + { + return notifyEndpoint; + } + set + { + notifyEndpoint = value; + DictionaryUtil.Add(QueryParameters, "NotifyEndpoint", value); + } + } + + public string Action + { + get + { + return action; + } + set + { + action = value; + DictionaryUtil.Add(QueryParameters, "Action", value); + } + } + + public string Project + { + get + { + return project; + } + set + { + project = value; + DictionaryUtil.Add(QueryParameters, "Project", value); + } + } + + public string SetId + { + get + { + return setId; + } + set + { + setId = value; + DictionaryUtil.Add(QueryParameters, "SetId", value); + } + } + + public string CheckEmpty + { + get + { + return checkEmpty; + } + set + { + checkEmpty = value; + DictionaryUtil.Add(QueryParameters, "CheckEmpty", value); + } + } + + public string AccessKeyId + { + get + { + return accessKeyId; + } + set + { + accessKeyId = value; + DictionaryUtil.Add(QueryParameters, "AccessKeyId", value); + } + } + + public override CreateDeleteFaceSetJobResponse GetResponse(Core.Transform.UnmarshallerContext unmarshallerContext) + { + return CreateDeleteFaceSetJobResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} \ No newline at end of file diff --git a/aliyun-net-sdk-imm/Imm/Model/V20170906/CreateDeleteFaceSetJobResponse.cs b/aliyun-net-sdk-imm/Imm/Model/V20170906/CreateDeleteFaceSetJobResponse.cs new file mode 100755 index 0000000000..bff39ec699 --- /dev/null +++ b/aliyun-net-sdk-imm/Imm/Model/V20170906/CreateDeleteFaceSetJobResponse.cs @@ -0,0 +1,69 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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. + */ +using Aliyun.Acs.Core; +using System.Collections.Generic; + +namespace Aliyun.Acs.imm.Model.V20170906 +{ + public class CreateDeleteFaceSetJobResponse : AcsResponse + { + + private string requestId; + + private string jobId; + + private string jobType; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + + public string JobId + { + get + { + return jobId; + } + set + { + jobId = value; + } + } + + public string JobType + { + get + { + return jobType; + } + set + { + jobType = value; + } + } + } +} \ No newline at end of file diff --git a/aliyun-net-sdk-imm/Imm/Model/V20170906/CreateGroupFacesJobRequest.cs b/aliyun-net-sdk-imm/Imm/Model/V20170906/CreateGroupFacesJobRequest.cs new file mode 100755 index 0000000000..a1f90430b2 --- /dev/null +++ b/aliyun-net-sdk-imm/Imm/Model/V20170906/CreateGroupFacesJobRequest.cs @@ -0,0 +1,151 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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. + */ +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.imm.Transform; +using Aliyun.Acs.imm.Transform.V20170906; +using System.Collections.Generic; + +namespace Aliyun.Acs.imm.Model.V20170906 +{ + public class CreateGroupFacesJobRequest : RpcAcsRequest + { + public CreateGroupFacesJobRequest() + : base("imm", "2017-09-06", "CreateGroupFacesJob", "imm", "openAPI") + { + } + + private string notifyTopicName; + + private string notifyEndpoint; + + private string action; + + private string project; + + private string setId; + + private string operation; + + private string accessKeyId; + + public string NotifyTopicName + { + get + { + return notifyTopicName; + } + set + { + notifyTopicName = value; + DictionaryUtil.Add(QueryParameters, "NotifyTopicName", value); + } + } + + public string NotifyEndpoint + { + get + { + return notifyEndpoint; + } + set + { + notifyEndpoint = value; + DictionaryUtil.Add(QueryParameters, "NotifyEndpoint", value); + } + } + + public string Action + { + get + { + return action; + } + set + { + action = value; + DictionaryUtil.Add(QueryParameters, "Action", value); + } + } + + public string Project + { + get + { + return project; + } + set + { + project = value; + DictionaryUtil.Add(QueryParameters, "Project", value); + } + } + + public string SetId + { + get + { + return setId; + } + set + { + setId = value; + DictionaryUtil.Add(QueryParameters, "SetId", value); + } + } + + public string Operation + { + get + { + return operation; + } + set + { + operation = value; + DictionaryUtil.Add(QueryParameters, "Operation", value); + } + } + + public string AccessKeyId + { + get + { + return accessKeyId; + } + set + { + accessKeyId = value; + DictionaryUtil.Add(QueryParameters, "AccessKeyId", value); + } + } + + public override bool CheckShowJsonItemName() + { + return false; + } + + public override CreateGroupFacesJobResponse GetResponse(Core.Transform.UnmarshallerContext unmarshallerContext) + { + return CreateGroupFacesJobResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} \ No newline at end of file diff --git a/aliyun-net-sdk-imm/Imm/Model/V20170906/CreateGroupFacesJobResponse.cs b/aliyun-net-sdk-imm/Imm/Model/V20170906/CreateGroupFacesJobResponse.cs new file mode 100755 index 0000000000..0736e26427 --- /dev/null +++ b/aliyun-net-sdk-imm/Imm/Model/V20170906/CreateGroupFacesJobResponse.cs @@ -0,0 +1,69 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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. + */ +using Aliyun.Acs.Core; +using System.Collections.Generic; + +namespace Aliyun.Acs.imm.Model.V20170906 +{ + public class CreateGroupFacesJobResponse : AcsResponse + { + + private string requestId; + + private string jobId; + + private string jobType; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + + public string JobId + { + get + { + return jobId; + } + set + { + jobId = value; + } + } + + public string JobType + { + get + { + return jobType; + } + set + { + jobType = value; + } + } + } +} \ No newline at end of file diff --git a/aliyun-net-sdk-imm/Imm/Model/V20170906/CreateIndexFaceJobRequest.cs b/aliyun-net-sdk-imm/Imm/Model/V20170906/CreateIndexFaceJobRequest.cs new file mode 100755 index 0000000000..e71c08a718 --- /dev/null +++ b/aliyun-net-sdk-imm/Imm/Model/V20170906/CreateIndexFaceJobRequest.cs @@ -0,0 +1,181 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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. + */ +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.imm.Transform; +using Aliyun.Acs.imm.Transform.V20170906; +using System.Collections.Generic; + +namespace Aliyun.Acs.imm.Model.V20170906 +{ + public class CreateIndexFaceJobRequest : RpcAcsRequest + { + public CreateIndexFaceJobRequest() + : base("imm", "2017-09-06", "CreateIndexFaceJob", "imm", "openAPI") + { + } + + private string chain; + + private string srcUris; + + private string notifyTopicName; + + private string notifyEndpoint; + + private string action; + + private string project; + + private string setId; + + private string force; + + private string accessKeyId; + + public string Chain + { + get + { + return chain; + } + set + { + chain = value; + DictionaryUtil.Add(QueryParameters, "Chain", value); + } + } + + public string SrcUris + { + get + { + return srcUris; + } + set + { + srcUris = value; + DictionaryUtil.Add(QueryParameters, "SrcUris", value); + } + } + + public string NotifyTopicName + { + get + { + return notifyTopicName; + } + set + { + notifyTopicName = value; + DictionaryUtil.Add(QueryParameters, "NotifyTopicName", value); + } + } + + public string NotifyEndpoint + { + get + { + return notifyEndpoint; + } + set + { + notifyEndpoint = value; + DictionaryUtil.Add(QueryParameters, "NotifyEndpoint", value); + } + } + + public string Action + { + get + { + return action; + } + set + { + action = value; + DictionaryUtil.Add(QueryParameters, "Action", value); + } + } + + public string Project + { + get + { + return project; + } + set + { + project = value; + DictionaryUtil.Add(QueryParameters, "Project", value); + } + } + + public string SetId + { + get + { + return setId; + } + set + { + setId = value; + DictionaryUtil.Add(QueryParameters, "SetId", value); + } + } + + public string Force + { + get + { + return force; + } + set + { + force = value; + DictionaryUtil.Add(QueryParameters, "Force", value); + } + } + + public string AccessKeyId + { + get + { + return accessKeyId; + } + set + { + accessKeyId = value; + DictionaryUtil.Add(QueryParameters, "AccessKeyId", value); + } + } + + public override bool CheckShowJsonItemName() + { + return false; + } + + public override CreateIndexFaceJobResponse GetResponse(Core.Transform.UnmarshallerContext unmarshallerContext) + { + return CreateIndexFaceJobResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} \ No newline at end of file diff --git a/aliyun-net-sdk-imm/Imm/Model/V20170906/CreateIndexFaceJobResponse.cs b/aliyun-net-sdk-imm/Imm/Model/V20170906/CreateIndexFaceJobResponse.cs new file mode 100755 index 0000000000..a259f094f3 --- /dev/null +++ b/aliyun-net-sdk-imm/Imm/Model/V20170906/CreateIndexFaceJobResponse.cs @@ -0,0 +1,69 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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. + */ +using Aliyun.Acs.Core; +using System.Collections.Generic; + +namespace Aliyun.Acs.imm.Model.V20170906 +{ + public class CreateIndexFaceJobResponse : AcsResponse + { + + private string requestId; + + private string jobId; + + private string jobType; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + + public string JobId + { + get + { + return jobId; + } + set + { + jobId = value; + } + } + + public string JobType + { + get + { + return jobType; + } + set + { + jobType = value; + } + } + } +} \ No newline at end of file diff --git a/aliyun-net-sdk-imm/Imm/Model/V20170906/CreateOfficeConversionTaskRequest.cs b/aliyun-net-sdk-imm/Imm/Model/V20170906/CreateOfficeConversionTaskRequest.cs index 699ee452bd..05de99ee63 100755 --- a/aliyun-net-sdk-imm/Imm/Model/V20170906/CreateOfficeConversionTaskRequest.cs +++ b/aliyun-net-sdk-imm/Imm/Model/V20170906/CreateOfficeConversionTaskRequest.cs @@ -35,34 +35,18 @@ public CreateOfficeConversionTaskRequest() private string srcType; - private string notifyTopicName; - - private string modelId; - private string project; - private long? maxSheetRow; - - private long? maxSheetCount; - - private long? endPage; - private string idempotentToken; - private string tgtFileSuffix; + private bool? pdfVector; private string accessKeyId; - private bool? sheetOnePage; - private string password; private long? startPage; - private long? maxSheetCol; - - private string tgtType; - private string notifyEndpoint; private bool? fitToPagesWide; @@ -71,6 +55,24 @@ public CreateOfficeConversionTaskRequest() private string action; + private string notifyTopicName; + + private string modelId; + + private long? maxSheetRow; + + private long? maxSheetCount; + + private long? endPage; + + private string tgtFileSuffix; + + private bool? sheetOnePage; + + private long? maxSheetCol; + + private string tgtType; + private bool? fitToPagesTall; private string srcUri; @@ -92,237 +94,250 @@ public string SrcType } } - public string NotifyTopicName + public string Project { get { - return notifyTopicName; + return project; } set { - notifyTopicName = value; - DictionaryUtil.Add(QueryParameters, "NotifyTopicName", value); + project = value; + DictionaryUtil.Add(QueryParameters, "Project", value); } } - public string ModelId + public string IdempotentToken { get { - return modelId; + return idempotentToken; } set { - modelId = value; - DictionaryUtil.Add(QueryParameters, "ModelId", value); + idempotentToken = value; + DictionaryUtil.Add(QueryParameters, "IdempotentToken", value); } } - public string Project + public bool? PdfVector { get { - return project; + return pdfVector; } set { - project = value; - DictionaryUtil.Add(QueryParameters, "Project", value); + pdfVector = value; + DictionaryUtil.Add(QueryParameters, "PdfVector", value.ToString()); } } - public long? MaxSheetRow + public string AccessKeyId { get { - return maxSheetRow; + return accessKeyId; } set { - maxSheetRow = value; - DictionaryUtil.Add(QueryParameters, "MaxSheetRow", value.ToString()); + accessKeyId = value; + DictionaryUtil.Add(QueryParameters, "AccessKeyId", value); } } - public long? MaxSheetCount + public string Password { get { - return maxSheetCount; + return password; } set { - maxSheetCount = value; - DictionaryUtil.Add(QueryParameters, "MaxSheetCount", value.ToString()); + password = value; + DictionaryUtil.Add(QueryParameters, "Password", value); } } - public long? EndPage + public long? StartPage { get { - return endPage; + return startPage; } set { - endPage = value; - DictionaryUtil.Add(QueryParameters, "EndPage", value.ToString()); + startPage = value; + DictionaryUtil.Add(QueryParameters, "StartPage", value.ToString()); } } - public string IdempotentToken + public string NotifyEndpoint { get { - return idempotentToken; + return notifyEndpoint; } set { - idempotentToken = value; - DictionaryUtil.Add(QueryParameters, "IdempotentToken", value); + notifyEndpoint = value; + DictionaryUtil.Add(QueryParameters, "NotifyEndpoint", value); } } - public string TgtFileSuffix + public bool? FitToPagesWide { get { - return tgtFileSuffix; + return fitToPagesWide; } set { - tgtFileSuffix = value; - DictionaryUtil.Add(QueryParameters, "TgtFileSuffix", value); + fitToPagesWide = value; + DictionaryUtil.Add(QueryParameters, "FitToPagesWide", value.ToString()); } } - public string AccessKeyId + public string TgtFilePrefix { get { - return accessKeyId; + return tgtFilePrefix; } set { - accessKeyId = value; - DictionaryUtil.Add(QueryParameters, "AccessKeyId", value); + tgtFilePrefix = value; + DictionaryUtil.Add(QueryParameters, "TgtFilePrefix", value); } } - public bool? SheetOnePage + public string Action { get { - return sheetOnePage; + return action; } set { - sheetOnePage = value; - DictionaryUtil.Add(QueryParameters, "SheetOnePage", value.ToString()); + action = value; + DictionaryUtil.Add(QueryParameters, "Action", value); } } - public string Password + public string NotifyTopicName { get { - return password; + return notifyTopicName; } set { - password = value; - DictionaryUtil.Add(QueryParameters, "Password", value); + notifyTopicName = value; + DictionaryUtil.Add(QueryParameters, "NotifyTopicName", value); } } - public long? StartPage + public string ModelId { get { - return startPage; + return modelId; } set { - startPage = value; - DictionaryUtil.Add(QueryParameters, "StartPage", value.ToString()); + modelId = value; + DictionaryUtil.Add(QueryParameters, "ModelId", value); } } - public long? MaxSheetCol + public long? MaxSheetRow { get { - return maxSheetCol; + return maxSheetRow; } set { - maxSheetCol = value; - DictionaryUtil.Add(QueryParameters, "MaxSheetCol", value.ToString()); + maxSheetRow = value; + DictionaryUtil.Add(QueryParameters, "MaxSheetRow", value.ToString()); } } - public string TgtType + public long? MaxSheetCount { get { - return tgtType; + return maxSheetCount; } set { - tgtType = value; - DictionaryUtil.Add(QueryParameters, "TgtType", value); + maxSheetCount = value; + DictionaryUtil.Add(QueryParameters, "MaxSheetCount", value.ToString()); } } - public string NotifyEndpoint + public long? EndPage { get { - return notifyEndpoint; + return endPage; } set { - notifyEndpoint = value; - DictionaryUtil.Add(QueryParameters, "NotifyEndpoint", value); + endPage = value; + DictionaryUtil.Add(QueryParameters, "EndPage", value.ToString()); } } - public bool? FitToPagesWide + public string TgtFileSuffix { get { - return fitToPagesWide; + return tgtFileSuffix; } set { - fitToPagesWide = value; - DictionaryUtil.Add(QueryParameters, "FitToPagesWide", value.ToString()); + tgtFileSuffix = value; + DictionaryUtil.Add(QueryParameters, "TgtFileSuffix", value); } } - public string TgtFilePrefix + public bool? SheetOnePage { get { - return tgtFilePrefix; + return sheetOnePage; } set { - tgtFilePrefix = value; - DictionaryUtil.Add(QueryParameters, "TgtFilePrefix", value); + sheetOnePage = value; + DictionaryUtil.Add(QueryParameters, "SheetOnePage", value.ToString()); } } - public string Action + public long? MaxSheetCol { get { - return action; + return maxSheetCol; } set { - action = value; - DictionaryUtil.Add(QueryParameters, "Action", value); + maxSheetCol = value; + DictionaryUtil.Add(QueryParameters, "MaxSheetCol", value.ToString()); + } + } + + public string TgtType + { + get + { + return tgtType; + } + set + { + tgtType = value; + DictionaryUtil.Add(QueryParameters, "TgtType", value); } } diff --git a/aliyun-net-sdk-imm/Imm/Model/V20170906/DeleteImageJobRequest.cs b/aliyun-net-sdk-imm/Imm/Model/V20170906/DeleteImageJobRequest.cs new file mode 100755 index 0000000000..4e2dd890f7 --- /dev/null +++ b/aliyun-net-sdk-imm/Imm/Model/V20170906/DeleteImageJobRequest.cs @@ -0,0 +1,121 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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. + */ +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.imm.Transform; +using Aliyun.Acs.imm.Transform.V20170906; +using System.Collections.Generic; + +namespace Aliyun.Acs.imm.Model.V20170906 +{ + public class DeleteImageJobRequest : RpcAcsRequest + { + public DeleteImageJobRequest() + : base("imm", "2017-09-06", "DeleteImageJob", "imm", "openAPI") + { + } + + private string jobId; + + private string action; + + private string project; + + private string jobType; + + private string accessKeyId; + + public string JobId + { + get + { + return jobId; + } + set + { + jobId = value; + DictionaryUtil.Add(QueryParameters, "JobId", value); + } + } + + public string Action + { + get + { + return action; + } + set + { + action = value; + DictionaryUtil.Add(QueryParameters, "Action", value); + } + } + + public string Project + { + get + { + return project; + } + set + { + project = value; + DictionaryUtil.Add(QueryParameters, "Project", value); + } + } + + public string JobType + { + get + { + return jobType; + } + set + { + jobType = value; + DictionaryUtil.Add(QueryParameters, "JobType", value); + } + } + + public string AccessKeyId + { + get + { + return accessKeyId; + } + set + { + accessKeyId = value; + DictionaryUtil.Add(QueryParameters, "AccessKeyId", value); + } + } + + public override bool CheckShowJsonItemName() + { + return false; + } + + public override DeleteImageJobResponse GetResponse(Core.Transform.UnmarshallerContext unmarshallerContext) + { + return DeleteImageJobResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} \ No newline at end of file diff --git a/aliyun-net-sdk-imm/Imm/Model/V20170906/DeleteImageJobResponse.cs b/aliyun-net-sdk-imm/Imm/Model/V20170906/DeleteImageJobResponse.cs new file mode 100755 index 0000000000..1b8e90d04b --- /dev/null +++ b/aliyun-net-sdk-imm/Imm/Model/V20170906/DeleteImageJobResponse.cs @@ -0,0 +1,41 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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. + */ +using Aliyun.Acs.Core; +using System.Collections.Generic; + +namespace Aliyun.Acs.imm.Model.V20170906 +{ + public class DeleteImageJobResponse : AcsResponse + { + + private string requestId; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + } +} \ No newline at end of file diff --git a/aliyun-net-sdk-imm/Imm/Model/V20170906/DescribeRegionsResponse.cs b/aliyun-net-sdk-imm/Imm/Model/V20170906/DescribeRegionsResponse.cs index e0303f4b57..56e2f57fc0 100755 --- a/aliyun-net-sdk-imm/Imm/Model/V20170906/DescribeRegionsResponse.cs +++ b/aliyun-net-sdk-imm/Imm/Model/V20170906/DescribeRegionsResponse.cs @@ -26,7 +26,7 @@ public class DescribeRegionsResponse : AcsResponse private string requestId; - private List regions; + private DescribeRegions_Regions regions; public string RequestId { @@ -40,7 +40,7 @@ public string RequestId } } - public List Regions + public DescribeRegions_Regions Regions { get { @@ -52,16 +52,12 @@ public List Regions } } - public class DescribeRegions_RegionsItem + public class DescribeRegions_Regions { - private string region; + private List region; - private string status; - - private string showName; - - public string Region + public List Region { get { @@ -73,27 +69,35 @@ public string Region } } - public string Status + public class DescribeRegions_RegionItem { - get - { - return status; - } - set - { - status = value; - } - } - public string ShowName - { - get + private string regionId; + + private List projectTypes; + + public string RegionId { - return showName; + get + { + return regionId; + } + set + { + regionId = value; + } } - set + + public List ProjectTypes { - showName = value; + get + { + return projectTypes; + } + set + { + projectTypes = value; + } } } } diff --git a/aliyun-net-sdk-imm/Imm/Model/V20170906/GetImageJobRequest.cs b/aliyun-net-sdk-imm/Imm/Model/V20170906/GetImageJobRequest.cs new file mode 100755 index 0000000000..ef4aca2e99 --- /dev/null +++ b/aliyun-net-sdk-imm/Imm/Model/V20170906/GetImageJobRequest.cs @@ -0,0 +1,121 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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. + */ +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.imm.Transform; +using Aliyun.Acs.imm.Transform.V20170906; +using System.Collections.Generic; + +namespace Aliyun.Acs.imm.Model.V20170906 +{ + public class GetImageJobRequest : RpcAcsRequest + { + public GetImageJobRequest() + : base("imm", "2017-09-06", "GetImageJob", "imm", "openAPI") + { + } + + private string jobId; + + private string action; + + private string project; + + private string jobType; + + private string accessKeyId; + + public string JobId + { + get + { + return jobId; + } + set + { + jobId = value; + DictionaryUtil.Add(QueryParameters, "JobId", value); + } + } + + public string Action + { + get + { + return action; + } + set + { + action = value; + DictionaryUtil.Add(QueryParameters, "Action", value); + } + } + + public string Project + { + get + { + return project; + } + set + { + project = value; + DictionaryUtil.Add(QueryParameters, "Project", value); + } + } + + public string JobType + { + get + { + return jobType; + } + set + { + jobType = value; + DictionaryUtil.Add(QueryParameters, "JobType", value); + } + } + + public string AccessKeyId + { + get + { + return accessKeyId; + } + set + { + accessKeyId = value; + DictionaryUtil.Add(QueryParameters, "AccessKeyId", value); + } + } + + public override bool CheckShowJsonItemName() + { + return false; + } + + public override GetImageJobResponse GetResponse(Core.Transform.UnmarshallerContext unmarshallerContext) + { + return GetImageJobResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} \ No newline at end of file diff --git a/aliyun-net-sdk-imm/Imm/Model/V20170906/GetImageJobResponse.cs b/aliyun-net-sdk-imm/Imm/Model/V20170906/GetImageJobResponse.cs new file mode 100755 index 0000000000..a2a46c5905 --- /dev/null +++ b/aliyun-net-sdk-imm/Imm/Model/V20170906/GetImageJobResponse.cs @@ -0,0 +1,195 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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. + */ +using Aliyun.Acs.Core; +using System.Collections.Generic; + +namespace Aliyun.Acs.imm.Model.V20170906 +{ + public class GetImageJobResponse : AcsResponse + { + + private string requestId; + + private string jobId; + + private string jobType; + + private string parameters; + + private string result; + + private string status; + + private string startTime; + + private string endTime; + + private string errorMessage; + + private string notifyEndpoint; + + private string notifyTopicName; + + private int? progress; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + + public string JobId + { + get + { + return jobId; + } + set + { + jobId = value; + } + } + + public string JobType + { + get + { + return jobType; + } + set + { + jobType = value; + } + } + + public string Parameters + { + get + { + return parameters; + } + set + { + parameters = value; + } + } + + public string Result + { + get + { + return result; + } + set + { + result = value; + } + } + + public string Status + { + get + { + return status; + } + set + { + status = value; + } + } + + public string StartTime + { + get + { + return startTime; + } + set + { + startTime = value; + } + } + + public string EndTime + { + get + { + return endTime; + } + set + { + endTime = value; + } + } + + public string ErrorMessage + { + get + { + return errorMessage; + } + set + { + errorMessage = value; + } + } + + public string NotifyEndpoint + { + get + { + return notifyEndpoint; + } + set + { + notifyEndpoint = value; + } + } + + public string NotifyTopicName + { + get + { + return notifyTopicName; + } + set + { + notifyTopicName = value; + } + } + + public int? Progress + { + get + { + return progress; + } + set + { + progress = value; + } + } + } +} \ No newline at end of file diff --git a/aliyun-net-sdk-imm/Imm/Model/V20170906/ListImageFacesRequest.cs b/aliyun-net-sdk-imm/Imm/Model/V20170906/ListImageFacesRequest.cs new file mode 100755 index 0000000000..84da4ffde4 --- /dev/null +++ b/aliyun-net-sdk-imm/Imm/Model/V20170906/ListImageFacesRequest.cs @@ -0,0 +1,151 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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. + */ +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.imm.Transform; +using Aliyun.Acs.imm.Transform.V20170906; +using System.Collections.Generic; + +namespace Aliyun.Acs.imm.Model.V20170906 +{ + public class ListImageFacesRequest : RpcAcsRequest + { + public ListImageFacesRequest() + : base("imm", "2017-09-06", "ListImageFaces", "imm", "openAPI") + { + } + + private int? maxKeys; + + private string marker; + + private string action; + + private string project; + + private string setId; + + private string srcUri; + + private string accessKeyId; + + public int? MaxKeys + { + get + { + return maxKeys; + } + set + { + maxKeys = value; + DictionaryUtil.Add(QueryParameters, "MaxKeys", value.ToString()); + } + } + + public string Marker + { + get + { + return marker; + } + set + { + marker = value; + DictionaryUtil.Add(QueryParameters, "Marker", value); + } + } + + public string Action + { + get + { + return action; + } + set + { + action = value; + DictionaryUtil.Add(QueryParameters, "Action", value); + } + } + + public string Project + { + get + { + return project; + } + set + { + project = value; + DictionaryUtil.Add(QueryParameters, "Project", value); + } + } + + public string SetId + { + get + { + return setId; + } + set + { + setId = value; + DictionaryUtil.Add(QueryParameters, "SetId", value); + } + } + + public string SrcUri + { + get + { + return srcUri; + } + set + { + srcUri = value; + DictionaryUtil.Add(QueryParameters, "SrcUri", value); + } + } + + public string AccessKeyId + { + get + { + return accessKeyId; + } + set + { + accessKeyId = value; + DictionaryUtil.Add(QueryParameters, "AccessKeyId", value); + } + } + + public override bool CheckShowJsonItemName() + { + return false; + } + + public override ListImageFacesResponse GetResponse(Core.Transform.UnmarshallerContext unmarshallerContext) + { + return ListImageFacesResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} \ No newline at end of file diff --git a/aliyun-net-sdk-imm/Imm/Model/V20170906/ListImageFacesResponse.cs b/aliyun-net-sdk-imm/Imm/Model/V20170906/ListImageFacesResponse.cs new file mode 100755 index 0000000000..bde03297cf --- /dev/null +++ b/aliyun-net-sdk-imm/Imm/Model/V20170906/ListImageFacesResponse.cs @@ -0,0 +1,115 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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. + */ +using Aliyun.Acs.Core; +using System.Collections.Generic; + +namespace Aliyun.Acs.imm.Model.V20170906 +{ + public class ListImageFacesResponse : AcsResponse + { + + private string requestId; + + private string nextMarker; + + private List faces; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + + public string NextMarker + { + get + { + return nextMarker; + } + set + { + nextMarker = value; + } + } + + public List Faces + { + get + { + return faces; + } + set + { + faces = value; + } + } + + public class ListImageFaces_FacesItem + { + + private string groupId; + + private string faceId; + + private string unGroupReason; + + public string GroupId + { + get + { + return groupId; + } + set + { + groupId = value; + } + } + + public string FaceId + { + get + { + return faceId; + } + set + { + faceId = value; + } + } + + public string UnGroupReason + { + get + { + return unGroupReason; + } + set + { + unGroupReason = value; + } + } + } + } +} \ No newline at end of file diff --git a/aliyun-net-sdk-imm/Imm/Model/V20170906/ListImageJobsRequest.cs b/aliyun-net-sdk-imm/Imm/Model/V20170906/ListImageJobsRequest.cs new file mode 100755 index 0000000000..39be772040 --- /dev/null +++ b/aliyun-net-sdk-imm/Imm/Model/V20170906/ListImageJobsRequest.cs @@ -0,0 +1,136 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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. + */ +using Aliyun.Acs.Core; +using Aliyun.Acs.Core.Http; +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.Core.Utils; +using Aliyun.Acs.imm.Transform; +using Aliyun.Acs.imm.Transform.V20170906; +using System.Collections.Generic; + +namespace Aliyun.Acs.imm.Model.V20170906 +{ + public class ListImageJobsRequest : RpcAcsRequest + { + public ListImageJobsRequest() + : base("imm", "2017-09-06", "ListImageJobs", "imm", "openAPI") + { + } + + private int? maxKeys; + + private string marker; + + private string action; + + private string project; + + private string jobType; + + private string accessKeyId; + + public int? MaxKeys + { + get + { + return maxKeys; + } + set + { + maxKeys = value; + DictionaryUtil.Add(QueryParameters, "MaxKeys", value.ToString()); + } + } + + public string Marker + { + get + { + return marker; + } + set + { + marker = value; + DictionaryUtil.Add(QueryParameters, "Marker", value); + } + } + + public string Action + { + get + { + return action; + } + set + { + action = value; + DictionaryUtil.Add(QueryParameters, "Action", value); + } + } + + public string Project + { + get + { + return project; + } + set + { + project = value; + DictionaryUtil.Add(QueryParameters, "Project", value); + } + } + + public string JobType + { + get + { + return jobType; + } + set + { + jobType = value; + DictionaryUtil.Add(QueryParameters, "JobType", value); + } + } + + public string AccessKeyId + { + get + { + return accessKeyId; + } + set + { + accessKeyId = value; + DictionaryUtil.Add(QueryParameters, "AccessKeyId", value); + } + } + + public override bool CheckShowJsonItemName() + { + return false; + } + + public override ListImageJobsResponse GetResponse(Core.Transform.UnmarshallerContext unmarshallerContext) + { + return ListImageJobsResponseUnmarshaller.Unmarshall(unmarshallerContext); + } + } +} \ No newline at end of file diff --git a/aliyun-net-sdk-imm/Imm/Model/V20170906/ListImageJobsResponse.cs b/aliyun-net-sdk-imm/Imm/Model/V20170906/ListImageJobsResponse.cs new file mode 100755 index 0000000000..372a6115e0 --- /dev/null +++ b/aliyun-net-sdk-imm/Imm/Model/V20170906/ListImageJobsResponse.cs @@ -0,0 +1,227 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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. + */ +using Aliyun.Acs.Core; +using System.Collections.Generic; + +namespace Aliyun.Acs.imm.Model.V20170906 +{ + public class ListImageJobsResponse : AcsResponse + { + + private string requestId; + + private string nextMarker; + + private List jobs; + + public string RequestId + { + get + { + return requestId; + } + set + { + requestId = value; + } + } + + public string NextMarker + { + get + { + return nextMarker; + } + set + { + nextMarker = value; + } + } + + public List Jobs + { + get + { + return jobs; + } + set + { + jobs = value; + } + } + + public class ListImageJobs_JobsItem + { + + private string status; + + private string jobId; + + private string jobType; + + private string parameters; + + private string result; + + private string startTime; + + private string endTime; + + private string errorMessage; + + private string notifyEndpoint; + + private string notifyTopicName; + + private int? progress; + + public string Status + { + get + { + return status; + } + set + { + status = value; + } + } + + public string JobId + { + get + { + return jobId; + } + set + { + jobId = value; + } + } + + public string JobType + { + get + { + return jobType; + } + set + { + jobType = value; + } + } + + public string Parameters + { + get + { + return parameters; + } + set + { + parameters = value; + } + } + + public string Result + { + get + { + return result; + } + set + { + result = value; + } + } + + public string StartTime + { + get + { + return startTime; + } + set + { + startTime = value; + } + } + + public string EndTime + { + get + { + return endTime; + } + set + { + endTime = value; + } + } + + public string ErrorMessage + { + get + { + return errorMessage; + } + set + { + errorMessage = value; + } + } + + public string NotifyEndpoint + { + get + { + return notifyEndpoint; + } + set + { + notifyEndpoint = value; + } + } + + public string NotifyTopicName + { + get + { + return notifyTopicName; + } + set + { + notifyTopicName = value; + } + } + + public int? Progress + { + get + { + return progress; + } + set + { + progress = value; + } + } + } + } +} \ No newline at end of file diff --git a/aliyun-net-sdk-imm/Imm/Transform/V20170906/CreateDeleteFaceSetJobResponseUnmarshaller.cs b/aliyun-net-sdk-imm/Imm/Transform/V20170906/CreateDeleteFaceSetJobResponseUnmarshaller.cs new file mode 100755 index 0000000000..926e14e069 --- /dev/null +++ b/aliyun-net-sdk-imm/Imm/Transform/V20170906/CreateDeleteFaceSetJobResponseUnmarshaller.cs @@ -0,0 +1,40 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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. + */ +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.imm.Model.V20170906; +using System; +using System.Collections.Generic; + +namespace Aliyun.Acs.imm.Transform.V20170906 +{ + public class CreateDeleteFaceSetJobResponseUnmarshaller + { + public static CreateDeleteFaceSetJobResponse Unmarshall(UnmarshallerContext context) + { + CreateDeleteFaceSetJobResponse createDeleteFaceSetJobResponse = new CreateDeleteFaceSetJobResponse(); + + createDeleteFaceSetJobResponse.HttpResponse = context.HttpResponse; + createDeleteFaceSetJobResponse.RequestId = context.StringValue("CreateDeleteFaceSetJob.RequestId"); + createDeleteFaceSetJobResponse.JobId = context.StringValue("CreateDeleteFaceSetJob.JobId"); + createDeleteFaceSetJobResponse.JobType = context.StringValue("CreateDeleteFaceSetJob.JobType"); + + return createDeleteFaceSetJobResponse; + } + } +} \ No newline at end of file diff --git a/aliyun-net-sdk-imm/Imm/Transform/V20170906/CreateGroupFacesJobResponseUnmarshaller.cs b/aliyun-net-sdk-imm/Imm/Transform/V20170906/CreateGroupFacesJobResponseUnmarshaller.cs new file mode 100755 index 0000000000..a96b9cc0f9 --- /dev/null +++ b/aliyun-net-sdk-imm/Imm/Transform/V20170906/CreateGroupFacesJobResponseUnmarshaller.cs @@ -0,0 +1,40 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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. + */ +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.imm.Model.V20170906; +using System; +using System.Collections.Generic; + +namespace Aliyun.Acs.imm.Transform.V20170906 +{ + public class CreateGroupFacesJobResponseUnmarshaller + { + public static CreateGroupFacesJobResponse Unmarshall(UnmarshallerContext context) + { + CreateGroupFacesJobResponse createGroupFacesJobResponse = new CreateGroupFacesJobResponse(); + + createGroupFacesJobResponse.HttpResponse = context.HttpResponse; + createGroupFacesJobResponse.RequestId = context.StringValue("CreateGroupFacesJob.RequestId"); + createGroupFacesJobResponse.JobId = context.StringValue("CreateGroupFacesJob.JobId"); + createGroupFacesJobResponse.JobType = context.StringValue("CreateGroupFacesJob.JobType"); + + return createGroupFacesJobResponse; + } + } +} \ No newline at end of file diff --git a/aliyun-net-sdk-imm/Imm/Transform/V20170906/CreateIndexFaceJobResponseUnmarshaller.cs b/aliyun-net-sdk-imm/Imm/Transform/V20170906/CreateIndexFaceJobResponseUnmarshaller.cs new file mode 100755 index 0000000000..09ab4dc9a9 --- /dev/null +++ b/aliyun-net-sdk-imm/Imm/Transform/V20170906/CreateIndexFaceJobResponseUnmarshaller.cs @@ -0,0 +1,40 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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. + */ +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.imm.Model.V20170906; +using System; +using System.Collections.Generic; + +namespace Aliyun.Acs.imm.Transform.V20170906 +{ + public class CreateIndexFaceJobResponseUnmarshaller + { + public static CreateIndexFaceJobResponse Unmarshall(UnmarshallerContext context) + { + CreateIndexFaceJobResponse createIndexFaceJobResponse = new CreateIndexFaceJobResponse(); + + createIndexFaceJobResponse.HttpResponse = context.HttpResponse; + createIndexFaceJobResponse.RequestId = context.StringValue("CreateIndexFaceJob.RequestId"); + createIndexFaceJobResponse.JobId = context.StringValue("CreateIndexFaceJob.JobId"); + createIndexFaceJobResponse.JobType = context.StringValue("CreateIndexFaceJob.JobType"); + + return createIndexFaceJobResponse; + } + } +} \ No newline at end of file diff --git a/aliyun-net-sdk-imm/Imm/Transform/V20170906/DeleteImageJobResponseUnmarshaller.cs b/aliyun-net-sdk-imm/Imm/Transform/V20170906/DeleteImageJobResponseUnmarshaller.cs new file mode 100755 index 0000000000..e988b1c323 --- /dev/null +++ b/aliyun-net-sdk-imm/Imm/Transform/V20170906/DeleteImageJobResponseUnmarshaller.cs @@ -0,0 +1,38 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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. + */ +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.imm.Model.V20170906; +using System; +using System.Collections.Generic; + +namespace Aliyun.Acs.imm.Transform.V20170906 +{ + public class DeleteImageJobResponseUnmarshaller + { + public static DeleteImageJobResponse Unmarshall(UnmarshallerContext context) + { + DeleteImageJobResponse deleteImageJobResponse = new DeleteImageJobResponse(); + + deleteImageJobResponse.HttpResponse = context.HttpResponse; + deleteImageJobResponse.RequestId = context.StringValue("DeleteImageJob.RequestId"); + + return deleteImageJobResponse; + } + } +} \ No newline at end of file diff --git a/aliyun-net-sdk-imm/Imm/Transform/V20170906/DescribeRegionsResponseUnmarshaller.cs b/aliyun-net-sdk-imm/Imm/Transform/V20170906/DescribeRegionsResponseUnmarshaller.cs index f677e82135..63a2dd00f4 100755 --- a/aliyun-net-sdk-imm/Imm/Transform/V20170906/DescribeRegionsResponseUnmarshaller.cs +++ b/aliyun-net-sdk-imm/Imm/Transform/V20170906/DescribeRegionsResponseUnmarshaller.cs @@ -32,16 +32,23 @@ public static DescribeRegionsResponse Unmarshall(UnmarshallerContext context) describeRegionsResponse.HttpResponse = context.HttpResponse; describeRegionsResponse.RequestId = context.StringValue("DescribeRegions.RequestId"); - List describeRegionsResponse_regions = new List(); - for (int i = 0; i < context.Length("DescribeRegions.Regions.Length"); i++) { - DescribeRegionsResponse.DescribeRegions_RegionsItem regionsItem = new DescribeRegionsResponse.DescribeRegions_RegionsItem(); - regionsItem.Region = context.StringValue("DescribeRegions.Regions["+ i +"].Region"); - regionsItem.Status = context.StringValue("DescribeRegions.Regions["+ i +"].Status"); - regionsItem.ShowName = context.StringValue("DescribeRegions.Regions["+ i +"].ShowName"); + DescribeRegionsResponse.DescribeRegions_Regions regions = new DescribeRegionsResponse.DescribeRegions_Regions(); - describeRegionsResponse_regions.Add(regionsItem); + List regions_region = new List(); + for (int i = 0; i < context.Length("DescribeRegions.Regions.Region.Length"); i++) { + DescribeRegionsResponse.DescribeRegions_Regions.DescribeRegions_RegionItem regionItem = new DescribeRegionsResponse.DescribeRegions_Regions.DescribeRegions_RegionItem(); + regionItem.RegionId = context.StringValue("DescribeRegions.Regions.Region["+ i +"].RegionId"); + + List regionItem_projectTypes = new List(); + for (int j = 0; j < context.Length("DescribeRegions.Regions.Region["+ i +"].ProjectTypes.Length"); j++) { + regionItem_projectTypes.Add(context.StringValue("DescribeRegions.Regions.Region["+ i +"].ProjectTypes["+ j +"]")); + } + regionItem.ProjectTypes = regionItem_projectTypes; + + regions_region.Add(regionItem); } - describeRegionsResponse.Regions = describeRegionsResponse_regions; + regions.Region = regions_region; + describeRegionsResponse.Regions = regions; return describeRegionsResponse; } diff --git a/aliyun-net-sdk-imm/Imm/Transform/V20170906/GetImageJobResponseUnmarshaller.cs b/aliyun-net-sdk-imm/Imm/Transform/V20170906/GetImageJobResponseUnmarshaller.cs new file mode 100755 index 0000000000..3aff50e8e0 --- /dev/null +++ b/aliyun-net-sdk-imm/Imm/Transform/V20170906/GetImageJobResponseUnmarshaller.cs @@ -0,0 +1,49 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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. + */ +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.imm.Model.V20170906; +using System; +using System.Collections.Generic; + +namespace Aliyun.Acs.imm.Transform.V20170906 +{ + public class GetImageJobResponseUnmarshaller + { + public static GetImageJobResponse Unmarshall(UnmarshallerContext context) + { + GetImageJobResponse getImageJobResponse = new GetImageJobResponse(); + + getImageJobResponse.HttpResponse = context.HttpResponse; + getImageJobResponse.RequestId = context.StringValue("GetImageJob.RequestId"); + getImageJobResponse.JobId = context.StringValue("GetImageJob.JobId"); + getImageJobResponse.JobType = context.StringValue("GetImageJob.JobType"); + getImageJobResponse.Parameters = context.StringValue("GetImageJob.Parameters"); + getImageJobResponse.Result = context.StringValue("GetImageJob.Result"); + getImageJobResponse.Status = context.StringValue("GetImageJob.Status"); + getImageJobResponse.StartTime = context.StringValue("GetImageJob.StartTime"); + getImageJobResponse.EndTime = context.StringValue("GetImageJob.EndTime"); + getImageJobResponse.ErrorMessage = context.StringValue("GetImageJob.ErrorMessage"); + getImageJobResponse.NotifyEndpoint = context.StringValue("GetImageJob.NotifyEndpoint"); + getImageJobResponse.NotifyTopicName = context.StringValue("GetImageJob.NotifyTopicName"); + getImageJobResponse.Progress = context.IntegerValue("GetImageJob.Progress"); + + return getImageJobResponse; + } + } +} \ No newline at end of file diff --git a/aliyun-net-sdk-imm/Imm/Transform/V20170906/ListImageFacesResponseUnmarshaller.cs b/aliyun-net-sdk-imm/Imm/Transform/V20170906/ListImageFacesResponseUnmarshaller.cs new file mode 100755 index 0000000000..4a30a108f8 --- /dev/null +++ b/aliyun-net-sdk-imm/Imm/Transform/V20170906/ListImageFacesResponseUnmarshaller.cs @@ -0,0 +1,50 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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. + */ +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.imm.Model.V20170906; +using System; +using System.Collections.Generic; + +namespace Aliyun.Acs.imm.Transform.V20170906 +{ + public class ListImageFacesResponseUnmarshaller + { + public static ListImageFacesResponse Unmarshall(UnmarshallerContext context) + { + ListImageFacesResponse listImageFacesResponse = new ListImageFacesResponse(); + + listImageFacesResponse.HttpResponse = context.HttpResponse; + listImageFacesResponse.RequestId = context.StringValue("ListImageFaces.RequestId"); + listImageFacesResponse.NextMarker = context.StringValue("ListImageFaces.NextMarker"); + + List listImageFacesResponse_faces = new List(); + for (int i = 0; i < context.Length("ListImageFaces.Faces.Length"); i++) { + ListImageFacesResponse.ListImageFaces_FacesItem facesItem = new ListImageFacesResponse.ListImageFaces_FacesItem(); + facesItem.GroupId = context.StringValue("ListImageFaces.Faces["+ i +"].GroupId"); + facesItem.FaceId = context.StringValue("ListImageFaces.Faces["+ i +"].FaceId"); + facesItem.UnGroupReason = context.StringValue("ListImageFaces.Faces["+ i +"].UnGroupReason"); + + listImageFacesResponse_faces.Add(facesItem); + } + listImageFacesResponse.Faces = listImageFacesResponse_faces; + + return listImageFacesResponse; + } + } +} \ No newline at end of file diff --git a/aliyun-net-sdk-imm/Imm/Transform/V20170906/ListImageJobsResponseUnmarshaller.cs b/aliyun-net-sdk-imm/Imm/Transform/V20170906/ListImageJobsResponseUnmarshaller.cs new file mode 100755 index 0000000000..6e37174e03 --- /dev/null +++ b/aliyun-net-sdk-imm/Imm/Transform/V20170906/ListImageJobsResponseUnmarshaller.cs @@ -0,0 +1,58 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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. + */ +using Aliyun.Acs.Core.Transform; +using Aliyun.Acs.imm.Model.V20170906; +using System; +using System.Collections.Generic; + +namespace Aliyun.Acs.imm.Transform.V20170906 +{ + public class ListImageJobsResponseUnmarshaller + { + public static ListImageJobsResponse Unmarshall(UnmarshallerContext context) + { + ListImageJobsResponse listImageJobsResponse = new ListImageJobsResponse(); + + listImageJobsResponse.HttpResponse = context.HttpResponse; + listImageJobsResponse.RequestId = context.StringValue("ListImageJobs.RequestId"); + listImageJobsResponse.NextMarker = context.StringValue("ListImageJobs.NextMarker"); + + List listImageJobsResponse_jobs = new List(); + for (int i = 0; i < context.Length("ListImageJobs.Jobs.Length"); i++) { + ListImageJobsResponse.ListImageJobs_JobsItem jobsItem = new ListImageJobsResponse.ListImageJobs_JobsItem(); + jobsItem.Status = context.StringValue("ListImageJobs.Jobs["+ i +"].Status"); + jobsItem.JobId = context.StringValue("ListImageJobs.Jobs["+ i +"].JobId"); + jobsItem.JobType = context.StringValue("ListImageJobs.Jobs["+ i +"].JobType"); + jobsItem.Parameters = context.StringValue("ListImageJobs.Jobs["+ i +"].Parameters"); + jobsItem.Result = context.StringValue("ListImageJobs.Jobs["+ i +"].Result"); + jobsItem.StartTime = context.StringValue("ListImageJobs.Jobs["+ i +"].StartTime"); + jobsItem.EndTime = context.StringValue("ListImageJobs.Jobs["+ i +"].EndTime"); + jobsItem.ErrorMessage = context.StringValue("ListImageJobs.Jobs["+ i +"].ErrorMessage"); + jobsItem.NotifyEndpoint = context.StringValue("ListImageJobs.Jobs["+ i +"].NotifyEndpoint"); + jobsItem.NotifyTopicName = context.StringValue("ListImageJobs.Jobs["+ i +"].NotifyTopicName"); + jobsItem.Progress = context.IntegerValue("ListImageJobs.Jobs["+ i +"].Progress"); + + listImageJobsResponse_jobs.Add(jobsItem); + } + listImageJobsResponse.Jobs = listImageJobsResponse_jobs; + + return listImageJobsResponse; + } + } +} \ No newline at end of file diff --git a/aliyun-net-sdk-imm/aliyun-net-sdk-imm.vs2010.csproj b/aliyun-net-sdk-imm/aliyun-net-sdk-imm.vs2010.csproj index 7bf7fdcc0f..357b655803 100755 --- a/aliyun-net-sdk-imm/aliyun-net-sdk-imm.vs2010.csproj +++ b/aliyun-net-sdk-imm/aliyun-net-sdk-imm.vs2010.csproj @@ -5,7 +5,7 @@ AnyCPU 8.0.30703 2.0 - {63d5d1a2-38d0-43d6-b884-07bb5a31d5d7} + {1c619958-b46b-4b3e-82cb-e4f60372b8be} Library Properties Aliyun.Acs @@ -46,11 +46,13 @@ + + @@ -62,6 +64,7 @@ + @@ -71,9 +74,12 @@ + + + @@ -121,6 +127,7 @@ + @@ -129,6 +136,7 @@ + @@ -142,8 +150,11 @@ + + + @@ -166,6 +177,7 @@ + @@ -177,6 +189,8 @@ + + @@ -192,6 +206,7 @@ + @@ -240,10 +255,16 @@ + + + + + + diff --git a/aliyun-net-sdk-imm/aliyun-net-sdk-imm.vs2017.csproj b/aliyun-net-sdk-imm/aliyun-net-sdk-imm.vs2017.csproj index 2379454424..32569d8cfd 100755 --- a/aliyun-net-sdk-imm/aliyun-net-sdk-imm.vs2017.csproj +++ b/aliyun-net-sdk-imm/aliyun-net-sdk-imm.vs2017.csproj @@ -3,7 +3,7 @@ netstandard2.0 Aliyun.Acs.imm - 1.2.1 + 1.2.2 Alibaba Cloud ©2009-2018 Alibaba Cloud false