public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
{
GetStaticIpsResponse response = new GetStaticIpsResponse();
context.Read();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("nextPageToken", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.NextPageToken = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("staticIps", targetDepth))
{
var unmarshaller = new ListUnmarshaller<StaticIp, StaticIpUnmarshaller>(StaticIpUnmarshaller.Instance);
response.StaticIps = unmarshaller.Unmarshall(context);
continue;
}
}
return response;
}