/// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context) { DeleteFileSystemResponse response = new DeleteFileSystemResponse(); return(response); }
/// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context) { DeleteFileSystemResponse response = new DeleteFileSystemResponse(); return response; }
/// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context) { DeleteFileSystemResponse response = new DeleteFileSystemResponse(); context.Read(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("FileSystemId", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; response.FileSystemId = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("Lifecycle", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; response.Lifecycle = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("WindowsResponse", targetDepth)) { var unmarshaller = DeleteFileSystemWindowsResponseUnmarshaller.Instance; response.WindowsResponse = unmarshaller.Unmarshall(context); continue; } } return(response); }
public static DeleteFileSystemResponse Unmarshall(UnmarshallerContext context) { DeleteFileSystemResponse deleteFileSystemResponse = new DeleteFileSystemResponse(); deleteFileSystemResponse.HttpResponse = context.HttpResponse; deleteFileSystemResponse.RequestId = context.StringValue("DeleteFileSystem.RequestId"); return(deleteFileSystemResponse); }