public static QueryAppPushStatResponse Unmarshall(UnmarshallerContext context)
{
QueryAppPushStatResponse queryAppPushStatResponse = new QueryAppPushStatResponse();
queryAppPushStatResponse.HttpResponse = context.HttpResponse;
queryAppPushStatResponse.RequestId = context.StringValue("QueryAppPushStat.RequestId");
List<QueryAppPushStatResponse.AppPushStat> appPushStats = new List<QueryAppPushStatResponse.AppPushStat>();
for (int i = 0; i < context.Length("QueryAppPushStat.AppPushStats.Length"); i++) {
QueryAppPushStatResponse.AppPushStat appPushStat = new QueryAppPushStatResponse.AppPushStat();
appPushStat.Time = context.StringValue("QueryAppPushStat.AppPushStats["+ i +"].Time");
appPushStat.SentCount = context.LongValue("QueryAppPushStat.AppPushStats["+ i +"].SentCount");
appPushStat.ReceivedCount = context.LongValue("QueryAppPushStat.AppPushStats["+ i +"].ReceivedCount");
appPushStat.OpenedCount = context.LongValue("QueryAppPushStat.AppPushStats["+ i +"].OpenedCount");
appPushStat.DeletedCount = context.LongValue("QueryAppPushStat.AppPushStats["+ i +"].DeletedCount");
appPushStats.Add(appPushStat);
}
queryAppPushStatResponse.AppPushStats = appPushStats;
return queryAppPushStatResponse;
}