LUSID C# SDK
Public Member Functions | Protected Member Functions | Properties | List of all members
Lusid.Sdk.Model.InstrumentDefinition Class Reference

InstrumentDefinition More...

Inheritance diagram for Lusid.Sdk.Model.InstrumentDefinition:
Inheritance graph
[legend]

Public Member Functions

 InstrumentDefinition (string name=default(string), Dictionary< string, InstrumentIdValue > identifiers=default(Dictionary< string, InstrumentIdValue >), List< Property > properties=default(List< Property >), ResourceId lookThroughPortfolioId=default(ResourceId), LusidInstrument definition=default(LusidInstrument))
 Initializes a new instance of the InstrumentDefinition 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 (InstrumentDefinition input)
 Returns true if InstrumentDefinition instances are equal More...
 
override int GetHashCode ()
 Gets the hash code More...
 

Protected Member Functions

 InstrumentDefinition ()
 Initializes a new instance of the InstrumentDefinition class. More...
 

Properties

string Name [get, set]
 The name of the instrument. More...
 
Dictionary< string, InstrumentIdValueIdentifiers [get, set]
 A set of identifiers that can be used to identify the instrument. At least one of these must be configured to be a unique identifier. More...
 
List< PropertyProperties [get, set]
 Set of unique instrument properties and associated values to store with the instrument. Each property must be from the &#39;Instrument&#39; domain. More...
 
ResourceId LookThroughPortfolioId [get, set]
 Gets or Sets LookThroughPortfolioId More...
 
LusidInstrument Definition [get, set]
 Gets or Sets Definition More...
 

Detailed Description

InstrumentDefinition

Constructor & Destructor Documentation

◆ InstrumentDefinition() [1/2]

Lusid.Sdk.Model.InstrumentDefinition.InstrumentDefinition ( )
inlineprotected

Initializes a new instance of the InstrumentDefinition class.

◆ InstrumentDefinition() [2/2]

Lusid.Sdk.Model.InstrumentDefinition.InstrumentDefinition ( string  name = default(string),
Dictionary< string, InstrumentIdValue identifiers = default(Dictionary<string, InstrumentIdValue>),
List< Property properties = default(List<Property>),
ResourceId  lookThroughPortfolioId = default(ResourceId),
LusidInstrument  definition = default(LusidInstrument) 
)
inline

Initializes a new instance of the InstrumentDefinition class.

Parameters
nameThe name of the instrument. (required).
identifiersA set of identifiers that can be used to identify the instrument. At least one of these must be configured to be a unique identifier. (required).
propertiesSet of unique instrument properties and associated values to store with the instrument. Each property must be from the &#39;Instrument&#39; domain..
lookThroughPortfolioIdlookThroughPortfolioId.
definitiondefinition.

Member Function Documentation

◆ Equals() [1/2]

bool Lusid.Sdk.Model.InstrumentDefinition.Equals ( InstrumentDefinition  input)
inline

Returns true if InstrumentDefinition instances are equal

Parameters
inputInstance of InstrumentDefinition to be compared
Returns
Boolean

◆ Equals() [2/2]

override bool Lusid.Sdk.Model.InstrumentDefinition.Equals ( object  input)
inline

Returns true if objects are equal

Parameters
inputObject to be compared
Returns
Boolean

◆ GetHashCode()

override int Lusid.Sdk.Model.InstrumentDefinition.GetHashCode ( )
inline

Gets the hash code

Returns
Hash code

◆ ToJson()

virtual string Lusid.Sdk.Model.InstrumentDefinition.ToJson ( )
inlinevirtual

Returns the JSON string presentation of the object

Returns
JSON string presentation of the object

◆ ToString()

override string Lusid.Sdk.Model.InstrumentDefinition.ToString ( )
inline

Returns the string presentation of the object

Returns
String presentation of the object

Property Documentation

◆ Definition

LusidInstrument Lusid.Sdk.Model.InstrumentDefinition.Definition
getset

Gets or Sets Definition

◆ Identifiers

Dictionary<string, InstrumentIdValue> Lusid.Sdk.Model.InstrumentDefinition.Identifiers
getset

A set of identifiers that can be used to identify the instrument. At least one of these must be configured to be a unique identifier.

A set of identifiers that can be used to identify the instrument. At least one of these must be configured to be a unique identifier.

◆ LookThroughPortfolioId

ResourceId Lusid.Sdk.Model.InstrumentDefinition.LookThroughPortfolioId
getset

Gets or Sets LookThroughPortfolioId

◆ Name

string Lusid.Sdk.Model.InstrumentDefinition.Name
getset

The name of the instrument.

The name of the instrument.

◆ Properties

List<Property> Lusid.Sdk.Model.InstrumentDefinition.Properties
getset

Set of unique instrument properties and associated values to store with the instrument. Each property must be from the &#39;Instrument&#39; domain.

Set of unique instrument properties and associated values to store with the instrument. Each property must be from the &#39;Instrument&#39; domain.


The documentation for this class was generated from the following file: