/// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public override AmazonWebServiceResponse Unmarshall(XmlUnmarshallerContext context) { DeleteTrafficMirrorFilterResponse response = new DeleteTrafficMirrorFilterResponse(); int originalDepth = context.CurrentDepth; int targetDepth = originalDepth + 1; if (context.IsStartOfDocument) { targetDepth = 2; } while (context.ReadAtDepth(originalDepth)) { if (context.IsStartElement || context.IsAttribute) { if (context.TestExpression("trafficMirrorFilterId", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; response.TrafficMirrorFilterId = unmarshaller.Unmarshall(context); continue; } } } return(response); }
public static DeleteTrafficMirrorFilterResponse Unmarshall(UnmarshallerContext _ctx) { DeleteTrafficMirrorFilterResponse deleteTrafficMirrorFilterResponse = new DeleteTrafficMirrorFilterResponse(); deleteTrafficMirrorFilterResponse.HttpResponse = _ctx.HttpResponse; deleteTrafficMirrorFilterResponse.RequestId = _ctx.StringValue("DeleteTrafficMirrorFilter.RequestId"); return(deleteTrafficMirrorFilterResponse); }