public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
{
UpdateDocumentationPartResponse response = new UpdateDocumentationPartResponse();
context.Read();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("id", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.Id = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("location", targetDepth))
{
var unmarshaller = DocumentationPartLocationUnmarshaller.Instance;
response.Location = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("properties", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.Properties = unmarshaller.Unmarshall(context);
continue;
}
}
return response;
}