代码修改后的版本,全部提交
This commit is contained in:
33
COSXML/Model/Object/UploadPartCopyResult.cs
Normal file
33
COSXML/Model/Object/UploadPartCopyResult.cs
Normal file
@@ -0,0 +1,33 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
using System.Text;
|
||||
using COSXML.Model.Tag;
|
||||
using COSXML.Transfer;
|
||||
|
||||
namespace COSXML.Model.Object
|
||||
{
|
||||
/// <summary>
|
||||
/// 分片复制返回的结果
|
||||
/// <see cref="https://cloud.tencent.com/document/product/436/12633"/>
|
||||
/// </summary>
|
||||
public sealed class UploadPartCopyResult : CosResult
|
||||
{
|
||||
/// <summary>
|
||||
/// 分片复制的结果信息
|
||||
/// <see cref="Model.Tag.CopyObject"/>
|
||||
/// </summary>
|
||||
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());
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user