Files
g.hnyhua.cn/COSXML/Model/Bucket/DeleteBucketInventoryRequest.cs

27 lines
606 B
C#
Raw Permalink Normal View History

using COSXML.Common;
using System;
using System.Collections.Generic;
using System.Text;
namespace COSXML.Model.Bucket
{
public sealed class DeleteBucketInventoryRequest : BucketRequest
{
public DeleteBucketInventoryRequest(string bucket) : base(bucket)
{
this.method = CosRequestMethod.DELETE;
this.queryParameters.Add("inventory", null);
}
public void SetInventoryId(string inventoryId)
{
if (inventoryId != null)
{
SetQueryParameter("id", inventoryId);
}
}
}
}