private static void UnmarshallResult(JsonUnmarshallerContext context,UploadMultipartPartResponse response) { if (context.ResponseData.GetHeaderValue("x-amz-sha256-tree-hash") != null) response.Checksum = context.ResponseData.GetHeaderValue("x-amz-sha256-tree-hash"); return; }
public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context) { UploadMultipartPartResponse response = new UploadMultipartPartResponse(); context.Read(); UnmarshallResult(context,response); 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) { UploadMultipartPartResponse response = new UploadMultipartPartResponse(); if (context.ResponseData.IsHeaderPresent("x-amz-sha256-tree-hash")) response.Checksum = context.ResponseData.GetHeaderValue("x-amz-sha256-tree-hash"); return response; }
public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context) { UploadMultipartPartResponse response = new UploadMultipartPartResponse(); context.Read(); response.UploadMultipartPartResult = UploadMultipartPartResultUnmarshaller.GetInstance().Unmarshall(context); return response; }