using System;
using System.Collections.Generic;
using System.Text;
using COSXML.Model.Tag;
using COSXML.Transfer;
using System.IO;
/**
* Copyright (c) 2018 Tencent Cloud. All rights reserved.
* 11/2/2018 5:50:56 PM
* bradyxiao
*/
namespace COSXML.Model.Service
{
///
/// 获取所有 Bucket 列表返回的结果
///
///
public sealed class GetServiceResult : CosResult
{
///
/// list all buckets for users
///
///
public ListAllMyBuckets listAllMyBuckets;
internal override void ParseResponseBody(System.IO.Stream inputStream, string contentType, long contentLength)
{
listAllMyBuckets = new ListAllMyBuckets();
XmlParse.ParseListAllMyBucketsResult(inputStream, listAllMyBuckets);
}
public override string GetResultInfo()
{
return base.GetResultInfo() + (listAllMyBuckets == null ? "" : "\n" + listAllMyBuckets.GetInfo());
}
}
}