Files
g.hnyhua.cn/COSXML/Model/Bucket/DeleteBucketInventoryRequest.cs
2026-02-07 15:48:27 +08:00

27 lines
606 B
C#

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);
}
}
}
}