LUSID C# SDK
|
LUSID representation of a generic OTC Exotic Instrument that is not fully defined within other LUSID models. More...
Public Member Functions | |
ExoticInstrument (InstrumentDefinitionFormat instrumentFormat=default(InstrumentDefinitionFormat), string content=default(string), InstrumentTypeEnum instrumentType=default(InstrumentTypeEnum)) | |
Initializes a new instance of the ExoticInstrument class. 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 (ExoticInstrument input) |
Returns true if ExoticInstrument instances are equal More... | |
override int | GetHashCode () |
Gets the hash code More... | |
![]() | |
LusidInstrument (InstrumentTypeEnum instrumentType=default(InstrumentTypeEnum)) | |
Initializes a new instance of the LusidInstrument 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 (LusidInstrument input) |
Returns true if LusidInstrument instances are equal More... | |
override int | GetHashCode () |
Gets the hash code More... | |
Protected Member Functions | |
ExoticInstrument () | |
Initializes a new instance of the ExoticInstrument class. More... | |
IEnumerable< System.ComponentModel.DataAnnotations.ValidationResult > | BaseValidate (ValidationContext validationContext) |
To validate all properties of the instance More... | |
![]() | |
LusidInstrument () | |
Initializes a new instance of the LusidInstrument class. More... | |
IEnumerable< System.ComponentModel.DataAnnotations.ValidationResult > | BaseValidate (ValidationContext validationContext) |
To validate all properties of the instance More... | |
Properties | |
InstrumentDefinitionFormat | InstrumentFormat [get, set] |
Gets or Sets InstrumentFormat More... | |
string | Content [get, set] |
The original document received into the system. This format could potentially be anything though is most likely to be either Json or Xml. In the case where no other interface is supported it is possible to fall back onto this. For example, a trade from an external client system. This may be recognized internally by Lusid or simply passed through to another vendor system. More... | |
![]() | |
InstrumentTypeEnum | InstrumentType [get, set] |
The available values are: QuotedSecurity, InterestRateSwap, FxForward, Future, ExoticInstrument, FxOption, CreditDefaultSwap, InterestRateSwaption, Bond, EquityOption, FixedLeg, FloatingLeg, BespokeCashFlowsLeg, Unknown, TermDeposit, ContractForDifference, EquitySwap, CashPerpetual, CapFloor, CashSettled, CdsIndex, Basket, FundingLeg, FxSwap, ForwardRateAgreement, SimpleInstrument, Repo, Equity, ExchangeTradedOption, ReferenceInstrument, ComplexBond, InflationLinkedBond, InflationSwap, SimpleCashFlowLoan More... | |
LUSID representation of a generic OTC Exotic Instrument that is not fully defined within other LUSID models.
|
inlineprotected |
Initializes a new instance of the ExoticInstrument class.
|
inline |
Initializes a new instance of the ExoticInstrument class.
instrumentFormat | instrumentFormat (required). |
content | The original document received into the system. This format could potentially be anything though is most likely to be either Json or Xml. In the case where no other interface is supported it is possible to fall back onto this. For example, a trade from an external client system. This may be recognized internally by Lusid or simply passed through to another vendor system. (required). |
instrumentType | The available values are: QuotedSecurity, InterestRateSwap, FxForward, Future, ExoticInstrument, FxOption, CreditDefaultSwap, InterestRateSwaption, Bond, EquityOption, FixedLeg, FloatingLeg, BespokeCashFlowsLeg, Unknown, TermDeposit, ContractForDifference, EquitySwap, CashPerpetual, CapFloor, CashSettled, CdsIndex, Basket, FundingLeg, FxSwap, ForwardRateAgreement, SimpleInstrument, Repo, Equity, ExchangeTradedOption, ReferenceInstrument, ComplexBond, InflationLinkedBond, InflationSwap, SimpleCashFlowLoan (required) (default to "ExoticInstrument"). |
|
inlineprotected |
To validate all properties of the instance
validationContext | Validation context |
|
inline |
Returns true if objects are equal
input | Object to be compared |
|
inline |
Returns true if ExoticInstrument instances are equal
input | Instance of ExoticInstrument to be compared |
|
inline |
Gets the hash code
|
inlinevirtual |
Returns the JSON string presentation of the object
Reimplemented from Lusid.Sdk.Model.LusidInstrument.
|
inline |
Returns the string presentation of the object
|
getset |
The original document received into the system. This format could potentially be anything though is most likely to be either Json or Xml. In the case where no other interface is supported it is possible to fall back onto this. For example, a trade from an external client system. This may be recognized internally by Lusid or simply passed through to another vendor system.
The original document received into the system. This format could potentially be anything though is most likely to be either Json or Xml. In the case where no other interface is supported it is possible to fall back onto this. For example, a trade from an external client system. This may be recognized internally by Lusid or simply passed through to another vendor system.
|
getset |
Gets or Sets InstrumentFormat