public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
{
CreateBGPPeerResponse response = new CreateBGPPeerResponse();
context.Read();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("virtualInterface", targetDepth))
{
var unmarshaller = VirtualInterfaceUnmarshaller.Instance;
response.VirtualInterface = unmarshaller.Unmarshall(context);
continue;
}
}
return response;
}