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