public static CreateProductResponse Unmarshall(UnmarshallerContext context) { CreateProductResponse createProductResponse = new CreateProductResponse() { HttpResponse = context.HttpResponse, RequestId = context.StringValue("CreateProduct.RequestId"), Success = context.BooleanValue("CreateProduct.Success"), ErrorMessage = context.StringValue("CreateProduct.ErrorMessage") }; CreateProductResponse.ProductInfo_ productInfo = new CreateProductResponse.ProductInfo_() { ProductKey = context.StringValue("CreateProduct.ProductInfo.ProductKey"), ProductName = context.StringValue("CreateProduct.ProductInfo.ProductName"), CatId = context.LongValue("CreateProduct.ProductInfo.CatId"), CreateUserId = context.LongValue("CreateProduct.ProductInfo.CreateUserId"), ProductDesc = context.StringValue("CreateProduct.ProductInfo.ProductDesc"), FromSource = context.StringValue("CreateProduct.ProductInfo.FromSource"), ExtProps = context.StringValue("CreateProduct.ProductInfo.ExtProps"), GmtCreate = context.StringValue("CreateProduct.ProductInfo.GmtCreate"), GmtModified = context.StringValue("CreateProduct.ProductInfo.GmtModified") }; createProductResponse.ProductInfo = productInfo; return(createProductResponse); }
public static CreateProductResponse Unmarshall(UnmarshallerContext context) { CreateProductResponse createProductResponse = new CreateProductResponse(); createProductResponse.HttpResponse = context.HttpResponse; createProductResponse.RequestId = context.StringValue("CreateProduct.RequestId"); createProductResponse.Success = context.BooleanValue("CreateProduct.Success"); createProductResponse.ErrorMessage = context.StringValue("CreateProduct.ErrorMessage"); CreateProductResponse.ProductInfo_ productInfo = new CreateProductResponse.ProductInfo_(); productInfo.ProductKey = context.StringValue("CreateProduct.ProductInfo.ProductKey"); productInfo.ProductName = context.StringValue("CreateProduct.ProductInfo.ProductName"); productInfo.CatId = context.LongValue("CreateProduct.ProductInfo.CatId"); productInfo.CreateUserId = context.LongValue("CreateProduct.ProductInfo.CreateUserId"); productInfo.ProductDesc = context.StringValue("CreateProduct.ProductInfo.ProductDesc"); productInfo.FromSource = context.StringValue("CreateProduct.ProductInfo.FromSource"); productInfo.ExtProps = context.StringValue("CreateProduct.ProductInfo.ExtProps"); productInfo.GmtCreate = context.StringValue("CreateProduct.ProductInfo.GmtCreate"); productInfo.GmtModified = context.StringValue("CreateProduct.ProductInfo.GmtModified"); createProductResponse.ProductInfo = productInfo; return createProductResponse; }