/* * Seaweedfs Master Server API * * The Seaweedfs Master Server API allows you to store blobs * * The version of the OpenAPI document: 3.43.0 * * Generated by: https://github.com/openapitools/openapi-generator.git */ using System; using System.IO; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Reflection; using RestSharp; using NUnit.Framework; using Org.OpenAPITools.Client; using Org.OpenAPITools.Api; using Org.OpenAPITools.Model; namespace Org.OpenAPITools.Test { /// /// Class for testing DefaultApi /// /// /// This file is automatically generated by OpenAPI Generator (https://openapi-generator.tech). /// Please update the test case below to test the API endpoint. /// public class DefaultApiTests { private DefaultApi instance; /// /// Setup before each unit test /// [SetUp] public void Init() { instance = new DefaultApi(); } /// /// Clean up after each unit test /// [TearDown] public void Cleanup() { } /// /// Test an instance of DefaultApi /// [Test] public void InstanceTest() { // TODO uncomment below to test 'IsInstanceOf' DefaultApi //Assert.IsInstanceOf(typeof(DefaultApi), instance); } /// /// Test DirAssign /// [Test] public void DirAssignTest() { // TODO uncomment below to test the method and replace null with proper value //Object count = null; //Object collection = null; //Object dataCenter = null; //Object rack = null; //Object dataNode = null; //Object disk = null; //Object replication = null; //Object ttl = null; //Object preallocate = null; //Object memoryMapMaxSizeMb = null; //Object writableVolumeCount = null; //var response = instance.DirAssign(count, collection, dataCenter, rack, dataNode, disk, replication, ttl, preallocate, memoryMapMaxSizeMb, writableVolumeCount); //Assert.IsInstanceOf(typeof(FileKey), response, "response is FileKey"); } /// /// Test DirLookup /// [Test] public void DirLookupTest() { // TODO uncomment below to test the method and replace null with proper value //Object volumeId = null; //Object collection = null; //Object fileId = null; //Object read = null; //var response = instance.DirLookup(volumeId, collection, fileId, read); //Assert.IsInstanceOf(typeof(Object), response, "response is Object"); } } }