LUSID C# SDK
|
A generic event derived from the economic definition of an instrument. This should be considered purely informational; any data provided by this event is not guaranteed to be processable by LUSID. More...
Public Member Functions | |
InformationalEvent (string eventStatus=default(string), DateTimeOffset anchorDate=default(DateTimeOffset), ResultValueDictionary diagnostics=default(ResultValueDictionary), InstrumentEventTypeEnum instrumentEventType=default(InstrumentEventTypeEnum)) | |
Initializes a new instance of the InformationalEvent class. More... | |
bool | ShouldSerializeEventType () |
Returns false as EventType should not be serialized given that it's read-only. 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 (InformationalEvent input) |
Returns true if InformationalEvent 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 | |
InformationalEvent () | |
Initializes a new instance of the InformationalEvent 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 | |
string | EventType [get] |
What type of internal event does this represent; reset, exercise, amortisation etc. 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] |
In the case of a point event, the single date on which the event occurs. In the case of an event which is spread over a window, e.g. a barrier or American option, the start of that window. More... | |
DateTimeOffset | EventWindowEnd [get] |
In the case of a point event this is identical to the anchor date. In the case of an event that is spread over a window, this is the end of that window. More... | |
ResultValueDictionary | Diagnostics [get, set] |
Gets or Sets Diagnostics 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... | |
A generic event derived from the economic definition of an instrument. This should be considered purely informational; any data provided by this event is not guaranteed to be processable by LUSID.
|
inlineprotected |
Initializes a new instance of the InformationalEvent class.
|
inline |
Initializes a new instance of the InformationalEvent class.
eventStatus | What is the event status, is it a known (ie historic) or unknown (ie projected) event? (required). |
anchorDate | In the case of a point event, the single date on which the event occurs. In the case of an event which is spread over a window, e.g. a barrier or American option, the start of that window. (required). |
diagnostics | diagnostics. |
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 "InformationalEvent"). |
|
inlineprotected |
To validate all properties of the instance
validationContext | Validation context |
|
inline |
Returns true if InformationalEvent instances are equal
input | Instance of InformationalEvent to be compared |
|
inline |
Returns true if objects are equal
input | Object to be compared |
|
inline |
Gets the hash code
|
inline |
Returns false as EventType should not be serialized given that it's read-only.
|
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 |
In the case of a point event, the single date on which the event occurs. In the case of an event which is spread over a window, e.g. a barrier or American option, the start of that window.
In the case of a point event, the single date on which the event occurs. In the case of an event which is spread over a window, e.g. a barrier or American option, the start of that window.
|
getset |
Gets or Sets Diagnostics
|
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 |
What type of internal event does this represent; reset, exercise, amortisation etc.
What type of internal event does this represent; reset, exercise, amortisation etc.
|
get |
In the case of a point event this is identical to the anchor date. In the case of an event that is spread over a window, this is the end of that window.
In the case of a point event this is identical to the anchor date. In the case of an event that is spread over a window, this is the end of that window.