LUSID C# SDK
|
A list of instruments. More...
Public Types | |
enum class | StateEnum { Active = 1 , Inactive = 2 , Deleted = 3 } |
The state of of the instrument at the asAt datetime of this version of the instrument definition. The available values are: Active, Inactive, Deleted More... | |
enum class | AssetClassEnum { InterestRates = 1 , FX = 2 , Inflation = 3 , Equities = 4 , Credit = 5 , Commodities = 6 , Money = 7 , Unknown = 8 } |
The nominal asset class of the instrument, e.g. InterestRates, FX, Inflation, Equities, Credit, Commodities, etc. The available values are: InterestRates, FX, Inflation, Equities, Credit, Commodities, Money, Unknown More... | |
Public Member Functions | |
Instrument (string href=default(string), string scope=default(string), string lusidInstrumentId=default(string), ModelVersion version=default(ModelVersion), string name=default(string), Dictionary< string, string > identifiers=default(Dictionary< string, string >), List< Property > properties=default(List< Property >), ResourceId lookthroughPortfolio=default(ResourceId), LusidInstrument instrumentDefinition=default(LusidInstrument), StateEnum state=default(StateEnum), AssetClassEnum? assetClass=default(AssetClassEnum?), string domCcy=default(string), List< Relationship > relationships=default(List< Relationship >), List< Link > links=default(List< Link >)) | |
Initializes a new instance of the Instrument class. More... | |
override string | ToString () |
Returns the string presentation of the object More... | |
virtual 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 (Instrument input) |
Returns true if Instrument instances are equal More... | |
override int | GetHashCode () |
Gets the hash code More... | |
Protected Member Functions | |
Instrument () | |
Initializes a new instance of the Instrument class. More... | |
Properties | |
StateEnum | State [get, set] |
The state of of the instrument at the asAt datetime of this version of the instrument definition. The available values are: Active, Inactive, Deleted More... | |
AssetClassEnum? | AssetClass [get, set] |
The nominal asset class of the instrument, e.g. InterestRates, FX, Inflation, Equities, Credit, Commodities, etc. The available values are: InterestRates, FX, Inflation, Equities, Credit, Commodities, Money, Unknown More... | |
string | Href [get, set] |
The specific Uniform Resource Identifier (URI) for this resource at the requested effective and asAt datetime. More... | |
string | Scope [get, set] |
The scope in which the instrument lies. More... | |
string | LusidInstrumentId [get, set] |
The unique LUSID Instrument Identifier (LUID) of the instrument. More... | |
ModelVersion | _Version [get, set] |
Gets or Sets _Version More... | |
string | Name [get, set] |
The name of the instrument. More... | |
Dictionary< string, string > | Identifiers [get, set] |
The set of identifiers that can be used to identify the instrument. More... | |
List< Property > | Properties [get, set] |
The requested instrument properties. These will be from the 'Instrument' domain. More... | |
ResourceId | LookthroughPortfolio [get, set] |
Gets or Sets LookthroughPortfolio More... | |
LusidInstrument | InstrumentDefinition [get, set] |
Gets or Sets InstrumentDefinition More... | |
string | DomCcy [get, set] |
The domestic currency, meaning the currency in which the instrument would typically be expected to pay cashflows, e.g. a share in AAPL being USD. More... | |
List< Relationship > | Relationships [get, set] |
A set of relationships associated to the instrument. More... | |
List< Link > | Links [get, set] |
Gets or Sets Links More... | |
A list of instruments.
|
strong |
The nominal asset class of the instrument, e.g. InterestRates, FX, Inflation, Equities, Credit, Commodities, etc. The available values are: InterestRates, FX, Inflation, Equities, Credit, Commodities, Money, Unknown
The nominal asset class of the instrument, e.g. InterestRates, FX, Inflation, Equities, Credit, Commodities, etc. The available values are: InterestRates, FX, Inflation, Equities, Credit, Commodities, Money, Unknown
|
strong |
The state of of the instrument at the asAt datetime of this version of the instrument definition. The available values are: Active, Inactive, Deleted
The state of of the instrument at the asAt datetime of this version of the instrument definition. The available values are: Active, Inactive, Deleted
Enumerator | |
---|---|
Active | Enum Active for value: Active |
Inactive | Enum Inactive for value: Inactive |
Deleted | Enum Deleted for value: Deleted |
|
inlineprotected |
Initializes a new instance of the Instrument class.
|
inline |
Initializes a new instance of the Instrument class.
href | The specific Uniform Resource Identifier (URI) for this resource at the requested effective and asAt datetime.. |
scope | The scope in which the instrument lies.. |
lusidInstrumentId | The unique LUSID Instrument Identifier (LUID) of the instrument. (required). |
version | version (required). |
name | The name of the instrument. (required). |
identifiers | The set of identifiers that can be used to identify the instrument. (required). |
properties | The requested instrument properties. These will be from the 'Instrument' domain.. |
lookthroughPortfolio | lookthroughPortfolio. |
instrumentDefinition | instrumentDefinition. |
state | The state of of the instrument at the asAt datetime of this version of the instrument definition. The available values are: Active, Inactive, Deleted (required). |
assetClass | The nominal asset class of the instrument, e.g. InterestRates, FX, Inflation, Equities, Credit, Commodities, etc. The available values are: InterestRates, FX, Inflation, Equities, Credit, Commodities, Money, Unknown. |
domCcy | The domestic currency, meaning the currency in which the instrument would typically be expected to pay cashflows, e.g. a share in AAPL being USD.. |
relationships | A set of relationships associated to the instrument.. |
links | links. |
|
inline |
Returns true if Instrument instances are equal
input | Instance of Instrument to be compared |
|
inline |
Returns true if objects are equal
input | Object to be compared |
|
inline |
Gets the hash code
|
inlinevirtual |
Returns the JSON string presentation of the object
|
inline |
Returns the string presentation of the object
|
getset |
Gets or Sets _Version
|
getset |
The nominal asset class of the instrument, e.g. InterestRates, FX, Inflation, Equities, Credit, Commodities, etc. The available values are: InterestRates, FX, Inflation, Equities, Credit, Commodities, Money, Unknown
The nominal asset class of the instrument, e.g. InterestRates, FX, Inflation, Equities, Credit, Commodities, etc. The available values are: InterestRates, FX, Inflation, Equities, Credit, Commodities, Money, Unknown
|
getset |
The domestic currency, meaning the currency in which the instrument would typically be expected to pay cashflows, e.g. a share in AAPL being USD.
The domestic currency, meaning the currency in which the instrument would typically be expected to pay cashflows, e.g. a share in AAPL being USD.
|
getset |
The specific Uniform Resource Identifier (URI) for this resource at the requested effective and asAt datetime.
The specific Uniform Resource Identifier (URI) for this resource at the requested effective and asAt datetime.
|
getset |
The set of identifiers that can be used to identify the instrument.
The set of identifiers that can be used to identify the instrument.
|
getset |
Gets or Sets InstrumentDefinition
|
getset |
Gets or Sets Links
|
getset |
Gets or Sets LookthroughPortfolio
|
getset |
The unique LUSID Instrument Identifier (LUID) of the instrument.
The unique LUSID Instrument Identifier (LUID) of the instrument.
|
getset |
The name of the instrument.
The name of the instrument.
|
getset |
The requested instrument properties. These will be from the 'Instrument' domain.
The requested instrument properties. These will be from the 'Instrument' domain.
|
getset |
A set of relationships associated to the instrument.
A set of relationships associated to the instrument.
|
getset |
The scope in which the instrument lies.
The scope in which the instrument lies.
|
getset |
The state of of the instrument at the asAt datetime of this version of the instrument definition. The available values are: Active, Inactive, Deleted
The state of of the instrument at the asAt datetime of this version of the instrument definition. The available values are: Active, Inactive, Deleted