Beispiel #1
0
 /// <summary>
 /// Creates a new bucket
 /// </summary>
 /// <param name="bucketCreateOptions"></param>
 /// <returns>Id for the newly created bucket</returns>
 public BucketResponse CreateSecureBucket(BucketCreateOptions bucketCreateOptions)
 {
     return(Post <BucketResponse>($"{Urls.Share}/buckets", bucketCreateOptions));
 }
Beispiel #2
0
 /// <summary>
 /// Creates a new bucket
 /// </summary>
 /// <param name="bucketCreateOptions"></param>
 /// <returns>Id for the newly created bucket</returns>
 public async Task <BucketResponse> CreateSecureBucketAsync(BucketCreateOptions bucketCreateOptions)
 {
     return(await PostAsync <BucketResponse>($"{Urls.Share}/buckets", bucketCreateOptions));
 }