public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
{
DescribeLimitsResponse response = new DescribeLimitsResponse();
context.Read();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("AccountMaxReadCapacityUnits", targetDepth))
{
var unmarshaller = LongUnmarshaller.Instance;
response.AccountMaxReadCapacityUnits = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("AccountMaxWriteCapacityUnits", targetDepth))
{
var unmarshaller = LongUnmarshaller.Instance;
response.AccountMaxWriteCapacityUnits = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("TableMaxReadCapacityUnits", targetDepth))
{
var unmarshaller = LongUnmarshaller.Instance;
response.TableMaxReadCapacityUnits = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("TableMaxWriteCapacityUnits", targetDepth))
{
var unmarshaller = LongUnmarshaller.Instance;
response.TableMaxWriteCapacityUnits = unmarshaller.Unmarshall(context);
continue;
}
}
return response;
}