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

Strike price against par and associated date for a bond call. More...

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

Public Member Functions

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

Protected Member Functions

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

Properties

decimal Strike [get, set]
 The strike on this date More...
 
DateTimeOffset Date [get, set]
 The date at which the option can be actioned at this strike More...
 

Detailed Description

Strike price against par and associated date for a bond call.

Constructor & Destructor Documentation

◆ OptionEntry() [1/2]

Lusid.Sdk.Model.OptionEntry.OptionEntry ( )
inlineprotected

Initializes a new instance of the OptionEntry class.

◆ OptionEntry() [2/2]

Lusid.Sdk.Model.OptionEntry.OptionEntry ( decimal  strike = default(decimal),
DateTimeOffset  date = default(DateTimeOffset) 
)
inline

Initializes a new instance of the OptionEntry class.

Parameters
strikeThe strike on this date (required).
dateThe date at which the option can be actioned at this strike (required).

Member Function Documentation

◆ Equals() [1/2]

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

Returns true if objects are equal

Parameters
inputObject to be compared
Returns
Boolean

◆ Equals() [2/2]

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

Returns true if OptionEntry instances are equal

Parameters
inputInstance of OptionEntry to be compared
Returns
Boolean

◆ GetHashCode()

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

Gets the hash code

Returns
Hash code

◆ ToJson()

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

Returns the JSON string presentation of the object

Returns
JSON string presentation of the object

◆ ToString()

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

Returns the string presentation of the object

Returns
String presentation of the object

Property Documentation

◆ Date

DateTimeOffset Lusid.Sdk.Model.OptionEntry.Date
getset

The date at which the option can be actioned at this strike

The date at which the option can be actioned at this strike

◆ Strike

decimal Lusid.Sdk.Model.OptionEntry.Strike
getset

The strike on this date

The strike on this date


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