public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
{
CreateInterconnectResponse response = new CreateInterconnectResponse();
context.Read();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("bandwidth", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.Bandwidth = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("interconnectId", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.InterconnectId = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("interconnectName", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.InterconnectName = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("interconnectState", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.InterconnectState = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("loaIssueTime", targetDepth))
{
var unmarshaller = DateTimeUnmarshaller.Instance;
response.LoaIssueTime = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("location", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.Location = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("region", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.Region = unmarshaller.Unmarshall(context);
continue;
}
}
return response;
}