/// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context) { DeleteGatewayResponse response = new DeleteGatewayResponse(); return(response); }
public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context) { DeleteGatewayResponse response = new DeleteGatewayResponse(); context.Read(); response.DeleteGatewayResult = DeleteGatewayResultUnmarshaller.GetInstance().Unmarshall(context); return(response); }
public static DeleteGatewayResponse Unmarshall(UnmarshallerContext context) { DeleteGatewayResponse deleteGatewayResponse = new DeleteGatewayResponse(); deleteGatewayResponse.HttpResponse = context.HttpResponse; deleteGatewayResponse.RequestId = context.StringValue("DeleteGateway.RequestId"); deleteGatewayResponse.Success = context.BooleanValue("DeleteGateway.Success"); deleteGatewayResponse.Code = context.StringValue("DeleteGateway.Code"); deleteGatewayResponse.Message = context.StringValue("DeleteGateway.Message"); deleteGatewayResponse.TaskId = context.StringValue("DeleteGateway.TaskId"); return(deleteGatewayResponse); }
public static DeleteGatewayResponse Unmarshall(UnmarshallerContext _ctx) { DeleteGatewayResponse deleteGatewayResponse = new DeleteGatewayResponse(); deleteGatewayResponse.HttpResponse = _ctx.HttpResponse; deleteGatewayResponse.RequestId = _ctx.StringValue("DeleteGateway.RequestId"); deleteGatewayResponse.Success = _ctx.BooleanValue("DeleteGateway.Success"); deleteGatewayResponse.Code = _ctx.StringValue("DeleteGateway.Code"); deleteGatewayResponse.ErrorMsg = _ctx.StringValue("DeleteGateway.ErrorMsg"); deleteGatewayResponse.Data = _ctx.StringValue("DeleteGateway.Data"); return(deleteGatewayResponse); }
public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context) { DeleteGatewayResponse response = new DeleteGatewayResponse(); context.Read(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("GatewayARN", targetDepth)) { response.GatewayARN = StringUnmarshaller.GetInstance().Unmarshall(context); continue; } } return(response); }
private static void UnmarshallResult(JsonUnmarshallerContext context, DeleteGatewayResponse response) { int originalDepth = context.CurrentDepth; int targetDepth = originalDepth + 1; while (context.Read()) { if (context.TestExpression("GatewayARN", targetDepth)) { context.Read(); response.GatewayARN = StringUnmarshaller.GetInstance().Unmarshall(context); continue; } if (context.CurrentDepth <= originalDepth) { return; } } return; }