public static DescribeReservedNodeOfferingsResultUnmarshaller GetInstance() { if (instance == null) { instance = new DescribeReservedNodeOfferingsResultUnmarshaller(); } return(instance); }
public override AmazonWebServiceResponse Unmarshall(XmlUnmarshallerContext context) { DescribeReservedNodeOfferingsResponse response = new DescribeReservedNodeOfferingsResponse(); while (context.Read()) { if (context.IsStartElement) { if (context.TestExpression("DescribeReservedNodeOfferingsResult", 2)) { response.DescribeReservedNodeOfferingsResult = DescribeReservedNodeOfferingsResultUnmarshaller.GetInstance().Unmarshall(context); continue; } if (context.TestExpression("ResponseMetadata", 2)) { response.ResponseMetadata = ResponseMetadataUnmarshaller.GetInstance().Unmarshall(context); } } } return(response); }