LUSID C# SDK
Public Member Functions | Properties | List of all members
Lusid.Sdk.Model.FileResponse Class Reference

Allows a file (represented as a stream) to be returned from an Api call More...

Inheritance diagram for Lusid.Sdk.Model.FileResponse:
Inheritance graph
[legend]

Public Member Functions

 FileResponse (Stream fileStream=default(Stream), string contentType=default(string), string downloadedFilename=default(string))
 Initializes a new instance of the FileResponse class. More...
 
override string ToString ()
 Returns the string presentation of the object More...
 
virtual string ToJson ()
 Returns the JSON string presentation of the object More...
 
override bool Equals (object input)
 Returns true if objects are equal More...
 
bool Equals (FileResponse input)
 Returns true if FileResponse instances are equal More...
 
override int GetHashCode ()
 Gets the hash code More...
 

Properties

Stream FileStream [get, set]
 Gets or Sets FileStream More...
 
string ContentType [get, set]
 Gets or Sets ContentType More...
 
string DownloadedFilename [get, set]
 Gets or Sets DownloadedFilename More...
 

Detailed Description

Allows a file (represented as a stream) to be returned from an Api call

Constructor & Destructor Documentation

◆ FileResponse()

Lusid.Sdk.Model.FileResponse.FileResponse ( Stream  fileStream = default(Stream),
string  contentType = default(string),
string  downloadedFilename = default(string) 
)
inline

Initializes a new instance of the FileResponse class.

Parameters
fileStreamfileStream.
contentTypecontentType.
downloadedFilenamedownloadedFilename.

Member Function Documentation

◆ Equals() [1/2]

bool Lusid.Sdk.Model.FileResponse.Equals ( FileResponse  input)
inline

Returns true if FileResponse instances are equal

Parameters
inputInstance of FileResponse to be compared
Returns
Boolean

◆ Equals() [2/2]

override bool Lusid.Sdk.Model.FileResponse.Equals ( object  input)
inline

Returns true if objects are equal

Parameters
inputObject to be compared
Returns
Boolean

◆ GetHashCode()

override int Lusid.Sdk.Model.FileResponse.GetHashCode ( )
inline

Gets the hash code

Returns
Hash code

◆ ToJson()

virtual string Lusid.Sdk.Model.FileResponse.ToJson ( )
inlinevirtual

Returns the JSON string presentation of the object

Returns
JSON string presentation of the object

◆ ToString()

override string Lusid.Sdk.Model.FileResponse.ToString ( )
inline

Returns the string presentation of the object

Returns
String presentation of the object

Property Documentation

◆ ContentType

string Lusid.Sdk.Model.FileResponse.ContentType
getset

Gets or Sets ContentType

◆ DownloadedFilename

string Lusid.Sdk.Model.FileResponse.DownloadedFilename
getset

Gets or Sets DownloadedFilename

◆ FileStream

Stream Lusid.Sdk.Model.FileResponse.FileStream
getset

Gets or Sets FileStream


The documentation for this class was generated from the following file: