LUSID C# SDK
|
LUSID representation of a reference to another instrument that has already been upserted (Mastered) More...
Public Member Functions | |
MasteredInstrument (Dictionary< string, string > identifiers=default(Dictionary< string, string >), InstrumentTypeEnum instrumentType=default(InstrumentTypeEnum)) | |
Initializes a new instance of the MasteredInstrument class. More... | |
bool | ShouldSerializeMasteredDomCcy () |
Returns false as MasteredDomCcy should not be serialized given that it's read-only. More... | |
bool | ShouldSerializeMasteredInstrumentType () |
Returns false as MasteredInstrumentType should not be serialized given that it's read-only. More... | |
bool | ShouldSerializeMasteredLusidInstrumentId () |
Returns false as MasteredLusidInstrumentId should not be serialized given that it's read-only. More... | |
bool | ShouldSerializeMasteredName () |
Returns false as MasteredName should not be serialized given that it's read-only. More... | |
bool | ShouldSerializeMasteredScope () |
Returns false as MasteredScope should not be serialized given that it's read-only. More... | |
bool | ShouldSerializeMasteredAssetClass () |
Returns false as MasteredAssetClass 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 (MasteredInstrument input) |
Returns true if MasteredInstrument 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 | |
MasteredInstrument () | |
Initializes a new instance of the MasteredInstrument 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 | |
Dictionary< string, string > | Identifiers [get, set] |
Dictionary of identifiers of the mastered instrument More... | |
string | MasteredDomCcy [get] |
DomCcy of the Instrument that Mastered Instrument points to - read only field More... | |
string | MasteredInstrumentType [get] |
Type of the Instrument that Mastered Instrument points to - read only field More... | |
string | MasteredLusidInstrumentId [get] |
Luid of the Instrument that Mastered Instrument points to - read only field More... | |
string | MasteredName [get] |
Name of the Instrument that Mastered Instrument points to - read only field More... | |
string | MasteredScope [get] |
Scope of the Instrument that Mastered Instrument points to - read only field More... | |
string | MasteredAssetClass [get] |
Asset class of the underlying mastered instrument - read only field Supported string (enumeration) values are: [InterestRates, FX, Inflation, Equities, Credit, Commodities, Money]. 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, TotalReturnSwap, InflationLeg, FundShareClass, FlexibleLoan, UnsettledCash, Cash, MasteredInstrument, LoanFacility, FlexibleDeposit More... | |
LUSID representation of a reference to another instrument that has already been upserted (Mastered)
|
inlineprotected |
Initializes a new instance of the MasteredInstrument class.
|
inline |
Initializes a new instance of the MasteredInstrument class.
identifiers | Dictionary of identifiers of the mastered instrument (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, TotalReturnSwap, InflationLeg, FundShareClass, FlexibleLoan, UnsettledCash, Cash, MasteredInstrument, LoanFacility, FlexibleDeposit (required) (default to "MasteredInstrument"). |
|
inlineprotected |
To validate all properties of the instance
validationContext | Validation context |
|
inline |
Returns true if MasteredInstrument instances are equal
input | Instance of MasteredInstrument to be compared |
|
inline |
Returns true if objects are equal
input | Object to be compared |
|
inline |
Gets the hash code
|
inline |
Returns false as MasteredAssetClass should not be serialized given that it's read-only.
|
inline |
Returns false as MasteredDomCcy should not be serialized given that it's read-only.
|
inline |
Returns false as MasteredInstrumentType should not be serialized given that it's read-only.
|
inline |
Returns false as MasteredLusidInstrumentId should not be serialized given that it's read-only.
|
inline |
Returns false as MasteredName should not be serialized given that it's read-only.
|
inline |
Returns false as MasteredScope should not be serialized given that it's read-only.
|
inlinevirtual |
Returns the JSON string presentation of the object
Reimplemented from Lusid.Sdk.Model.LusidInstrument.
|
inline |
Returns the string presentation of the object
|
getset |
Dictionary of identifiers of the mastered instrument
Dictionary of identifiers of the mastered instrument
|
get |
Asset class of the underlying mastered instrument - read only field Supported string (enumeration) values are: [InterestRates, FX, Inflation, Equities, Credit, Commodities, Money].
Asset class of the underlying mastered instrument - read only field Supported string (enumeration) values are: [InterestRates, FX, Inflation, Equities, Credit, Commodities, Money].
|
get |
DomCcy of the Instrument that Mastered Instrument points to - read only field
DomCcy of the Instrument that Mastered Instrument points to - read only field
|
get |
Type of the Instrument that Mastered Instrument points to - read only field
Type of the Instrument that Mastered Instrument points to - read only field
|
get |
Luid of the Instrument that Mastered Instrument points to - read only field
Luid of the Instrument that Mastered Instrument points to - read only field
|
get |
Name of the Instrument that Mastered Instrument points to - read only field
Name of the Instrument that Mastered Instrument points to - read only field
|
get |
Scope of the Instrument that Mastered Instrument points to - read only field
Scope of the Instrument that Mastered Instrument points to - read only field