Aliyun.Acs.Iot.Transform.V20160530.CreateProductResponseUnmarshaller.Unmarshall C# (CSharp) Method

Unmarshall() public static method

public static Unmarshall ( UnmarshallerContext context ) : CreateProductResponse
context UnmarshallerContext
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;
        }
CreateProductResponseUnmarshaller