using System;
using System.Collections.Generic;
using System.Text;
using COSXML.Model.Tag;
using COSXML.Transfer;
namespace COSXML.Model.Object
{
///
/// 分片复制返回的结果
///
///
public sealed class UploadPartCopyResult : CosResult
{
///
/// 分片复制的结果信息
///
///
public CopyObject copyObject;
internal override void ParseResponseBody(System.IO.Stream inputStream, string contentType, long contentLength)
{
copyObject = new CopyObject();
XmlParse.ParseCopyObjectResult(inputStream, copyObject);
}
public override string GetResultInfo()
{
return base.GetResultInfo() + (copyObject == null ? "" : "\n" + copyObject.GetInfo());
}
}
}