public static DeleteProductTagsResponse Unmarshall(UnmarshallerContext _ctx) { DeleteProductTagsResponse deleteProductTagsResponse = new DeleteProductTagsResponse(); deleteProductTagsResponse.HttpResponse = _ctx.HttpResponse; deleteProductTagsResponse.RequestId = _ctx.StringValue("DeleteProductTags.RequestId"); deleteProductTagsResponse.Success = _ctx.BooleanValue("DeleteProductTags.Success"); deleteProductTagsResponse.ErrorMessage = _ctx.StringValue("DeleteProductTags.ErrorMessage"); deleteProductTagsResponse.Code = _ctx.StringValue("DeleteProductTags.Code"); return(deleteProductTagsResponse); }
//根据标签Key列表删除对应的产品的标签 public void TestDeleteProductTags() { DefaultAcsClient acsClient = Demo.IotClient.GetClient(); DeleteProductTagsRequest request = new DeleteProductTagsRequest(); request.ProductKey = "<productKey>"; List <string> ProductTagKeys = new List <string>(); ProductTagKeys.Add("tagKey1"); ProductTagKeys.Add("tagKey2"); request.ProductTagKeys = ProductTagKeys; DeleteProductTagsResponse response = acsClient.GetAcsResponse(request); Console.WriteLine(response.Success); Console.WriteLine(response.ErrorMessage); Console.WriteLine(response.Code); }