public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
{
DescribeExecutionResponse response = new DescribeExecutionResponse();
context.Read();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("executionArn", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.ExecutionArn = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("input", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.Input = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("name", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.Name = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("output", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.Output = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("startDate", targetDepth))
{
var unmarshaller = DateTimeUnmarshaller.Instance;
response.StartDate = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("stateMachineArn", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.StateMachineArn = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("status", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.Status = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("stopDate", targetDepth))
{
var unmarshaller = DateTimeUnmarshaller.Instance;
response.StopDate = unmarshaller.Unmarshall(context);
continue;
}
}
return response;
}