public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context) { StartInstanceResponse response = new StartInstanceResponse(); return(response); }
public static StartInstanceResponse Unmarshall(UnmarshallerContext context) { StartInstanceResponse startInstanceResponse = new StartInstanceResponse(); startInstanceResponse.HttpResponse = context.HttpResponse; startInstanceResponse.RequestId = context.StringValue("StartInstance.RequestId"); return(startInstanceResponse); }
public static StartInstanceResponse Unmarshall(UnmarshallerContext context) { StartInstanceResponse startInstanceResponse = new StartInstanceResponse(); startInstanceResponse.HttpResponse = context.HttpResponse; startInstanceResponse.RequestId = context.StringValue("StartInstance.RequestId"); return startInstanceResponse; }
/// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context) { StartInstanceResponse response = new StartInstanceResponse(); context.Read(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("operations", targetDepth)) { var unmarshaller = new ListUnmarshaller <Operation, OperationUnmarshaller>(OperationUnmarshaller.Instance); response.Operations = unmarshaller.Unmarshall(context); continue; } } return(response); }