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