首次推送
This commit is contained in:
23
COSXML/Model/Bucket/GetBucketLoggingResult.cs
Normal file
23
COSXML/Model/Bucket/GetBucketLoggingResult.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
using COSXML.Model.Tag;
|
||||
using COSXML.Transfer;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace COSXML.Model.Bucket
|
||||
{
|
||||
public sealed class GetBucketLoggingResult : CosResult
|
||||
{
|
||||
public BucketLoggingStatus bucketLoggingStatus;
|
||||
internal override void ParseResponseBody(System.IO.Stream inputStream, string contentType, long contentLength)
|
||||
{
|
||||
bucketLoggingStatus = new BucketLoggingStatus();
|
||||
XmlParse.ParseBucketLoggingStatus(inputStream, bucketLoggingStatus);
|
||||
}
|
||||
|
||||
public override string GetResultInfo()
|
||||
{
|
||||
return base.GetResultInfo() + (bucketLoggingStatus == null ? "" : "\n" + bucketLoggingStatus.GetInfo());
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user