LUSID C# SDK
|
LUSID representation of a reference to another instrument that has already been loaded (e.g. a lookthrough to a portfolio). More...
Public Member Functions | |
ReferenceInstrument (string instrumentId=default(string), string instrumentIdType=default(string), string scope=default(string), InstrumentTypeEnum instrumentType=default(InstrumentTypeEnum)) | |
Initializes a new instance of the ReferenceInstrument 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 (ReferenceInstrument input) |
Returns true if ReferenceInstrument 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 | |
ReferenceInstrument () | |
Initializes a new instance of the ReferenceInstrument 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 | |
string | InstrumentId [get, set] |
The Identifier code More... | |
string | InstrumentIdType [get, set] |
The type of the instrument id e.g. LusidInstrument Id More... | |
string | Scope [get, set] |
Scope for the instrument (optional) 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 reference to another instrument that has already been loaded (e.g. a lookthrough to a portfolio).
|
inlineprotected |
Initializes a new instance of the ReferenceInstrument class.
|
inline |
Initializes a new instance of the ReferenceInstrument class.
instrumentId | The Identifier code (required). |
instrumentIdType | The type of the instrument id e.g. LusidInstrument Id (required). |
scope | Scope for the instrument (optional) (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 "ReferenceInstrument"). |
|
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 ReferenceInstrument instances are equal
input | Instance of ReferenceInstrument 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 Identifier code
The Identifier code
|
getset |
The type of the instrument id e.g. LusidInstrument Id
The type of the instrument id e.g. LusidInstrument Id
|
getset |
Scope for the instrument (optional)
Scope for the instrument (optional)