Beispiel #1
0
        public static DescribeAdjustmentTypesResultUnmarshaller GetInstance()
        {
            if (instance == null)
            {
                instance = new DescribeAdjustmentTypesResultUnmarshaller();
            }

            return(instance);
        }
        public override AmazonWebServiceResponse Unmarshall(XmlUnmarshallerContext context)
        {
            DescribeAdjustmentTypesResponse response = new DescribeAdjustmentTypesResponse();

            while (context.Read())
            {
                if (context.IsStartElement)
                {
                    if (context.TestExpression("DescribeAdjustmentTypesResult", 2))
                    {
                        response.DescribeAdjustmentTypesResult = DescribeAdjustmentTypesResultUnmarshaller.GetInstance().Unmarshall(context);
                        continue;
                    }
                    if (context.TestExpression("ResponseMetadata", 2))
                    {
                        response.ResponseMetadata = ResponseMetadataUnmarshaller.GetInstance().Unmarshall(context);
                    }
                }
            }


            return(response);
        }