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