using System;
using System.Collections.Generic;
using System.Text;
using COSXML.Model.Tag;
using COSXML.Transfer;
namespace COSXML.Model.Object
{
///
/// 使用Append接口的返回Result.
///
public sealed class AppendObjectResult : CosResult
{
///
/// Append结果信息
///
///
public long nextAppendPosition {get; set;}
internal override void InternalParseResponseHeaders()
{
List values;
this.responseHeaders.TryGetValue("x-cos-next-append-position", out values);
if (values != null && values.Count > 0)
{
long tmpPosition;
if (long.TryParse(values[0], out tmpPosition))
{
nextAppendPosition = tmpPosition;
}
}
}
}
}