LUSID C# SDK
|
Definition of an exercise event. This is an event that occurs on transformation of an instrument owing to exercise. e.g. an option of some type into its underlying. More...
Public Member Functions | |
ExerciseEvent (LusidInstrument instrument=default(LusidInstrument), string eventStatus=default(string), DateTimeOffset anchorDate=default(DateTimeOffset), InstrumentEventTypeEnum instrumentEventType=default(InstrumentEventTypeEnum)) | |
Initializes a new instance of the ExerciseEvent class. More... | |
bool | ShouldSerializeEventWindowEnd () |
Returns false as EventWindowEnd should not be serialized given that it's read-only. More... | |
override string | ToString () |
Returns the string presentation of the object More... | |
override 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 (ExerciseEvent input) |
Returns true if ExerciseEvent instances are equal More... | |
override int | GetHashCode () |
Gets the hash code More... | |
![]() | |
InstrumentEvent (InstrumentEventTypeEnum instrumentEventType=default(InstrumentEventTypeEnum)) | |
Initializes a new instance of the InstrumentEvent class. More... | |
override string | ToString () |
Returns the string presentation of the object More... | |
override bool | Equals (object input) |
Returns true if objects are equal More... | |
bool | Equals (InstrumentEvent input) |
Returns true if InstrumentEvent instances are equal More... | |
override int | GetHashCode () |
Gets the hash code More... | |
Protected Member Functions | |
ExerciseEvent () | |
Initializes a new instance of the ExerciseEvent class. More... | |
IEnumerable< System.ComponentModel.DataAnnotations.ValidationResult > | BaseValidate (ValidationContext validationContext) |
To validate all properties of the instance More... | |
![]() | |
InstrumentEvent () | |
Initializes a new instance of the InstrumentEvent class. More... | |
IEnumerable< System.ComponentModel.DataAnnotations.ValidationResult > | BaseValidate (ValidationContext validationContext) |
To validate all properties of the instance More... | |
Properties | |
LusidInstrument | Instrument [get, set] |
Gets or Sets Instrument More... | |
string | EventStatus [get, set] |
What is the event status, is it a known (ie historic) or unknown (ie projected) event? More... | |
DateTimeOffset | AnchorDate [get, set] |
The date the exercise window starts, or point it takes effect on. More... | |
DateTimeOffset | EventWindowEnd [get] |
The date the exercise window ends, or point it takes effect on. More... | |
![]() | |
InstrumentEventTypeEnum | InstrumentEventType [get, set] |
The Type of Event. The available values are: TransitionEvent, InformationalEvent, OpenEvent, CloseEvent, StockSplitEvent, BondDefaultEvent, CashDividendEvent, AmortisationEvent, CashFlowEvent, ExerciseEvent, ResetEvent, TriggerEvent, RawVendorEvent, InformationalErrorEvent, BondCouponEvent, DividendReinvestmentEvent More... | |
Additional Inherited Members | |
![]() | |
enum class | InstrumentEventTypeEnum { TransitionEvent = 1 , InformationalEvent = 2 , OpenEvent = 3 , CloseEvent = 4 , StockSplitEvent = 5 , BondDefaultEvent = 6 , CashDividendEvent = 7 , AmortisationEvent = 8 , CashFlowEvent = 9 , ExerciseEvent = 10 , ResetEvent = 11 , TriggerEvent = 12 , RawVendorEvent = 13 , InformationalErrorEvent = 14 , BondCouponEvent = 15 , DividendReinvestmentEvent = 16 } |
The Type of Event. The available values are: TransitionEvent, InformationalEvent, OpenEvent, CloseEvent, StockSplitEvent, BondDefaultEvent, CashDividendEvent, AmortisationEvent, CashFlowEvent, ExerciseEvent, ResetEvent, TriggerEvent, RawVendorEvent, InformationalErrorEvent, BondCouponEvent, DividendReinvestmentEvent More... | |
Definition of an exercise event. This is an event that occurs on transformation of an instrument owing to exercise. e.g. an option of some type into its underlying.
|
inlineprotected |
Initializes a new instance of the ExerciseEvent class.
|
inline |
Initializes a new instance of the ExerciseEvent class.
instrument | instrument (required). |
eventStatus | What is the event status, is it a known (ie historic) or unknown (ie projected) event? (required). |
anchorDate | The date the exercise window starts, or point it takes effect on. (required). |
instrumentEventType | The Type of Event. The available values are: TransitionEvent, InformationalEvent, OpenEvent, CloseEvent, StockSplitEvent, BondDefaultEvent, CashDividendEvent, AmortisationEvent, CashFlowEvent, ExerciseEvent, ResetEvent, TriggerEvent, RawVendorEvent, InformationalErrorEvent, BondCouponEvent, DividendReinvestmentEvent (required) (default to "ExerciseEvent"). |
|
inlineprotected |
To validate all properties of the instance
validationContext | Validation context |
|
inline |
Returns true if ExerciseEvent instances are equal
input | Instance of ExerciseEvent to be compared |
|
inline |
Returns true if objects are equal
input | Object to be compared |
|
inline |
Gets the hash code
|
inline |
Returns false as EventWindowEnd should not be serialized given that it's read-only.
|
inlinevirtual |
Returns the JSON string presentation of the object
Reimplemented from Lusid.Sdk.Model.InstrumentEvent.
|
inline |
Returns the string presentation of the object
|
getset |
The date the exercise window starts, or point it takes effect on.
The date the exercise window starts, or point it takes effect on.
|
getset |
What is the event status, is it a known (ie historic) or unknown (ie projected) event?
What is the event status, is it a known (ie historic) or unknown (ie projected) event?
|
get |
The date the exercise window ends, or point it takes effect on.
The date the exercise window ends, or point it takes effect on.
|
getset |
Gets or Sets Instrument