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

DateRange More...

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

Public Member Functions

 DateRange (DateTimeOffset fromDate=default(DateTimeOffset), DateTimeOffset? untilDate=default(DateTimeOffset?))
 Initializes a new instance of the DateRange 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 (DateRange input)
 Returns true if DateRange instances are equal More...
 
override int GetHashCode ()
 Gets the hash code More...
 

Protected Member Functions

 DateRange ()
 Initializes a new instance of the DateRange class. More...
 

Properties

DateTimeOffset FromDate [get, set]
 Gets or Sets FromDate More...
 
DateTimeOffset? UntilDate [get, set]
 Gets or Sets UntilDate More...
 

Detailed Description

DateRange

Constructor & Destructor Documentation

◆ DateRange() [1/2]

Lusid.Sdk.Model.DateRange.DateRange ( )
inlineprotected

Initializes a new instance of the DateRange class.

◆ DateRange() [2/2]

Lusid.Sdk.Model.DateRange.DateRange ( DateTimeOffset  fromDate = default(DateTimeOffset),
DateTimeOffset?  untilDate = default(DateTimeOffset?) 
)
inline

Initializes a new instance of the DateRange class.

Parameters
fromDatefromDate (required).
untilDateuntilDate.

Member Function Documentation

◆ Equals() [1/2]

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

Returns true if DateRange instances are equal

Parameters
inputInstance of DateRange to be compared
Returns
Boolean

◆ Equals() [2/2]

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

Returns true if objects are equal

Parameters
inputObject to be compared
Returns
Boolean

◆ GetHashCode()

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

Gets the hash code

Returns
Hash code

◆ ToJson()

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

Returns the JSON string presentation of the object

Returns
JSON string presentation of the object

◆ ToString()

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

Returns the string presentation of the object

Returns
String presentation of the object

Property Documentation

◆ FromDate

DateTimeOffset Lusid.Sdk.Model.DateRange.FromDate
getset

Gets or Sets FromDate

◆ UntilDate

DateTimeOffset? Lusid.Sdk.Model.DateRange.UntilDate
getset

Gets or Sets UntilDate


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