public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
{
GetSnowballUsageResponse response = new GetSnowballUsageResponse();
context.Read();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("SnowballLimit", targetDepth))
{
var unmarshaller = IntUnmarshaller.Instance;
response.SnowballLimit = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("SnowballsInUse", targetDepth))
{
var unmarshaller = IntUnmarshaller.Instance;
response.SnowballsInUse = unmarshaller.Unmarshall(context);
continue;
}
}
return response;
}