示例#1
0
        public static DescribeReservedDBInstancesOfferingsResultUnmarshaller GetInstance()
        {
            if (instance == null)
            {
                instance = new DescribeReservedDBInstancesOfferingsResultUnmarshaller();
            }

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

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


            return(response);
        }