public static DetachDiskResponse Unmarshall(UnmarshallerContext context) { DetachDiskResponse detachDiskResponse = new DetachDiskResponse(); detachDiskResponse.HttpResponse = context.HttpResponse; detachDiskResponse.RequestId = context.StringValue("DetachDisk.RequestId"); return detachDiskResponse; }
public static DetachDiskResponse Unmarshall(UnmarshallerContext _ctx) { DetachDiskResponse detachDiskResponse = new DetachDiskResponse(); detachDiskResponse.HttpResponse = _ctx.HttpResponse; detachDiskResponse.RequestId = _ctx.StringValue("DetachDisk.RequestId"); return(detachDiskResponse); }
public static DetachDiskResponse Unmarshall(UnmarshallerContext context) { DetachDiskResponse detachDiskResponse = new DetachDiskResponse { HttpResponse = context.HttpResponse, RequestId = context.StringValue("DetachDisk.RequestId") }; return(detachDiskResponse); }
/// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context) { DetachDiskResponse response = new DetachDiskResponse(); 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); }