public StorageLocationModel(string datapath, string metadatapath, string size, string sizeunit, StorageLocationsType type) { DataPath = datapath; MetadataPath = metadatapath; Size = size; SizeUnit = sizeunit; Type = type; }
public StorageLocationModel(string networkpath, string username, string password, string size, string sizeunit) { DataPath = networkpath; MetadataPath = networkpath; Username = username; Size = size; SizeUnit = sizeunit; Type = StorageLocationsType.Network; }