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

Stream More...

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

Public Member Functions

 Stream (long position=default(long), int readTimeout=default(int), int writeTimeout=default(int))
 Initializes a new instance of the Stream class. More...
 
bool ShouldSerializeCanRead ()
 Returns false as CanRead should not be serialized given that it's read-only. More...
 
bool ShouldSerializeCanWrite ()
 Returns false as CanWrite should not be serialized given that it's read-only. More...
 
bool ShouldSerializeCanSeek ()
 Returns false as CanSeek should not be serialized given that it's read-only. More...
 
bool ShouldSerializeCanTimeout ()
 Returns false as CanTimeout should not be serialized given that it's read-only. More...
 
bool ShouldSerializeLength ()
 Returns false as Length should not be serialized given that it's read-only. 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 (Stream input)
 Returns true if Stream instances are equal More...
 
override int GetHashCode ()
 Gets the hash code More...
 

Properties

bool CanRead [get]
 Gets or Sets CanRead More...
 
bool CanWrite [get]
 Gets or Sets CanWrite More...
 
bool CanSeek [get]
 Gets or Sets CanSeek More...
 
bool CanTimeout [get]
 Gets or Sets CanTimeout More...
 
long Length [get]
 Gets or Sets Length More...
 
long Position [get, set]
 Gets or Sets Position More...
 
int ReadTimeout [get, set]
 Gets or Sets ReadTimeout More...
 
int WriteTimeout [get, set]
 Gets or Sets WriteTimeout More...
 

Detailed Description

Stream

Constructor & Destructor Documentation

◆ Stream()

Lusid.Sdk.Model.Stream.Stream ( long  position = default(long),
int  readTimeout = default(int),
int  writeTimeout = default(int) 
)
inline

Initializes a new instance of the Stream class.

Parameters
positionposition.
readTimeoutreadTimeout.
writeTimeoutwriteTimeout.

Member Function Documentation

◆ Equals() [1/2]

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

Returns true if objects are equal

Parameters
inputObject to be compared
Returns
Boolean

◆ Equals() [2/2]

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

Returns true if Stream instances are equal

Parameters
inputInstance of Stream to be compared
Returns
Boolean

◆ GetHashCode()

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

Gets the hash code

Returns
Hash code

◆ ShouldSerializeCanRead()

bool Lusid.Sdk.Model.Stream.ShouldSerializeCanRead ( )
inline

Returns false as CanRead should not be serialized given that it's read-only.

Returns
false (boolean)

◆ ShouldSerializeCanSeek()

bool Lusid.Sdk.Model.Stream.ShouldSerializeCanSeek ( )
inline

Returns false as CanSeek should not be serialized given that it's read-only.

Returns
false (boolean)

◆ ShouldSerializeCanTimeout()

bool Lusid.Sdk.Model.Stream.ShouldSerializeCanTimeout ( )
inline

Returns false as CanTimeout should not be serialized given that it's read-only.

Returns
false (boolean)

◆ ShouldSerializeCanWrite()

bool Lusid.Sdk.Model.Stream.ShouldSerializeCanWrite ( )
inline

Returns false as CanWrite should not be serialized given that it's read-only.

Returns
false (boolean)

◆ ShouldSerializeLength()

bool Lusid.Sdk.Model.Stream.ShouldSerializeLength ( )
inline

Returns false as Length should not be serialized given that it's read-only.

Returns
false (boolean)

◆ ToJson()

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

Returns the JSON string presentation of the object

Returns
JSON string presentation of the object

◆ ToString()

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

Returns the string presentation of the object

Returns
String presentation of the object

Property Documentation

◆ CanRead

bool Lusid.Sdk.Model.Stream.CanRead
get

Gets or Sets CanRead

◆ CanSeek

bool Lusid.Sdk.Model.Stream.CanSeek
get

Gets or Sets CanSeek

◆ CanTimeout

bool Lusid.Sdk.Model.Stream.CanTimeout
get

Gets or Sets CanTimeout

◆ CanWrite

bool Lusid.Sdk.Model.Stream.CanWrite
get

Gets or Sets CanWrite

◆ Length

long Lusid.Sdk.Model.Stream.Length
get

Gets or Sets Length

◆ Position

long Lusid.Sdk.Model.Stream.Position
getset

Gets or Sets Position

◆ ReadTimeout

int Lusid.Sdk.Model.Stream.ReadTimeout
getset

Gets or Sets ReadTimeout

◆ WriteTimeout

int Lusid.Sdk.Model.Stream.WriteTimeout
getset

Gets or Sets WriteTimeout


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