コード例 #1
0
 /// <summary>
 /// Update bucket
 /// </summary>
 /// <param name="id"></param>
 /// <param name="options"></param>
 /// <returns></returns>
 public async Task <BucketResponse> UpdateBucketAsync(string id, BucketUpdateOptions options)
 {
     return(await PatchAsync <BucketResponse>($"{Urls.Share}/buckets/{id}", options));
 }
コード例 #2
0
 /// <summary>
 /// Update bucket
 /// </summary>
 /// <param name="id"></param>
 /// <param name="options"></param>
 /// <returns></returns>
 public BucketResponse UpdateBucket(string id, BucketUpdateOptions options)
 {
     return(Patch <BucketResponse>($"{Urls.Share}/buckets/{id}", options));
 }