Class FileDownload
Class representing a file download response. See Tableu API Reference for data sources and workbooks documentation.
Namespace: Tableau.Migration.Api.Models
Assembly: Tableau.Migration.dll
Syntax
public record FileDownload : IAsyncDisposable, IEquatable<FileDownload>
Constructors
FileDownload(string?, Stream)
Class representing a file download response. See Tableu API Reference for data sources and workbooks documentation.
Declaration
public FileDownload(string? Filename, Stream Content)
Parameters
Type | Name | Description |
---|---|---|
string | Filename | The server provided filename of the file to download. |
Stream | Content | The stream with the file content to download from. |
Properties
Content
The stream with the file content to download from.
Declaration
public Stream Content { get; init; }
Property Value
Type | Description |
---|---|
Stream |
Filename
The server provided filename of the file to download.
Declaration
public string? Filename { get; init; }
Property Value
Type | Description |
---|---|
string |
Methods
DisposeAsync()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources asynchronously.
Declaration
public ValueTask DisposeAsync()
Returns
Type | Description |
---|---|
ValueTask | A task that represents the asynchronous dispose operation. |