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

A set of conventions for mark to market. Mark to market is a method that values financial instruments based on current market prices, reflecting their current value, rather than historical cost. More...

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

Public Member Functions

 MarkToMarketConventions (string calendarCode=default(string), string hourOffsetTenor=default(string), string minuteOffsetTenor=default(string))
 Initializes a new instance of the MarkToMarketConventions 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 (MarkToMarketConventions input)
 Returns true if MarkToMarketConventions instances are equal More...
 
override int GetHashCode ()
 Gets the hash code More...
 

Properties

string CalendarCode [get, set]
 The calendar to use when generating mark to market cashflows and events. More...
 
string HourOffsetTenor [get, set]
 The hour tenor component of the time offset against the maturity date. This is an optional field, if a value is provided it must be a positive value between '0hour' and '23hour'. More...
 
string MinuteOffsetTenor [get, set]
 The minute tenor component of the time offset against the maturity date. This is an optional field, if a value is provided it must be a positive value between '0min' and '59min'. More...
 

Detailed Description

A set of conventions for mark to market. Mark to market is a method that values financial instruments based on current market prices, reflecting their current value, rather than historical cost.

Constructor & Destructor Documentation

◆ MarkToMarketConventions()

Lusid.Sdk.Model.MarkToMarketConventions.MarkToMarketConventions ( string  calendarCode = default(string),
string  hourOffsetTenor = default(string),
string  minuteOffsetTenor = default(string) 
)
inline

Initializes a new instance of the MarkToMarketConventions class.

Parameters
calendarCodeThe calendar to use when generating mark to market cashflows and events..
hourOffsetTenorThe hour tenor component of the time offset against the maturity date. This is an optional field, if a value is provided it must be a positive value between '0hour' and '23hour'..
minuteOffsetTenorThe minute tenor component of the time offset against the maturity date. This is an optional field, if a value is provided it must be a positive value between '0min' and '59min'..

Member Function Documentation

◆ Equals() [1/2]

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

Returns true if MarkToMarketConventions instances are equal

Parameters
inputInstance of MarkToMarketConventions to be compared
Returns
Boolean

◆ Equals() [2/2]

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

Returns true if objects are equal

Parameters
inputObject to be compared
Returns
Boolean

◆ GetHashCode()

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

Gets the hash code

Returns
Hash code

◆ ToJson()

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

Returns the JSON string presentation of the object

Returns
JSON string presentation of the object

◆ ToString()

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

Returns the string presentation of the object

Returns
String presentation of the object

Property Documentation

◆ CalendarCode

string Lusid.Sdk.Model.MarkToMarketConventions.CalendarCode
getset

The calendar to use when generating mark to market cashflows and events.

The calendar to use when generating mark to market cashflows and events.

◆ HourOffsetTenor

string Lusid.Sdk.Model.MarkToMarketConventions.HourOffsetTenor
getset

The hour tenor component of the time offset against the maturity date. This is an optional field, if a value is provided it must be a positive value between '0hour' and '23hour'.

The hour tenor component of the time offset against the maturity date. This is an optional field, if a value is provided it must be a positive value between '0hour' and '23hour'.

◆ MinuteOffsetTenor

string Lusid.Sdk.Model.MarkToMarketConventions.MinuteOffsetTenor
getset

The minute tenor component of the time offset against the maturity date. This is an optional field, if a value is provided it must be a positive value between '0min' and '59min'.

The minute tenor component of the time offset against the maturity date. This is an optional field, if a value is provided it must be a positive value between '0min' and '59min'.


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