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

QueryableKey More...

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

Public Member Functions

 QueryableKey (string addressKey=default(string), string description=default(string), string displayName=default(string), string type=default(string), string flattenedType=default(string), string holdingQuantityScaling=default(string), List< string > supportedUsages=default(List< string >), List< string > supportedOperations=default(List< string >), string lifeCycleStatus=default(string), DateTimeOffset? removalDate=default(DateTimeOffset?), Dictionary< string, AddressKeyOptionDefinition > applicableOptions=default(Dictionary< string, AddressKeyOptionDefinition >), string derivationFormula=default(string))
 Initializes a new instance of the QueryableKey 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 (QueryableKey input)
 Returns true if QueryableKey instances are equal More...
 
override int GetHashCode ()
 Gets the hash code More...
 

Protected Member Functions

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

Properties

string AddressKey [get, set]
 The address that is the query to be made into the system. e.g. a Valuation/PV or Instrument/MaturityDate More...
 
string Description [get, set]
 What does the information that is being queried by the address mean. What is the address for. More...
 
string DisplayName [get, set]
 The suggested name that the user would wish to put on to the returned information for visualisation in preference to the address. More...
 
string Type [get, set]
 Financially meaningful results can be presented as either simple flat types or more complex expanded types. This field gives the type of the more complex representation. For example, the present value (PV) of a holding could be represented either as a simple decimal (with currency implied) or as a decimal-currency pair. In this example, the type returned in this field would be &quot;Result0D&quot;, the decimal-currency pair. More...
 
string FlattenedType [get, set]
 Financially meaningful results can be presented as either simple flat types or more complex expanded types. This field gives the type of the simpler representation. For example, the present value (PV) of a holding could be represented either as a simple decimal (with currency implied) or as a decimal-currency pair. In this example, the type returned in this field would be &quot;Decimal&quot;. More...
 
string HoldingQuantityScaling [get, set]
 Is the data scaled when it is for, e.g. a holding in an instrument. A key example would be the difference between price and PV. The present value of an instrument would scale with the quantity held. The price would be that for a hypothetical unit of that instrument, typically associated with the contract size. More...
 
List< string > SupportedUsages [get, set]
 The types of queries that support this key. More...
 
List< string > SupportedOperations [get, set]
 When performing an aggregation operation, what column type operations can be performed on the data. For example, it makes sense to sum decimals but not strings. Either can be counted. With more complex types, e.g. ResultValues, operations may be linked to a semantic meaning such as the currency of the result. In such cases the operations may be supported but context specific. For example, it makes sense to sum PVs in a single currency but not when the currency is different. In such cases, an error would result (it being assumed that no fx rates for currency conversion were implicit in the context). More...
 
string LifeCycleStatus [get, set]
 Within an API where an item can be accessed through an address or property, there is an associated status that determines whether the item is stable or likely to change. This status is one of [Experimental, Beta, EAP, Prod, Deprecated]. If the item is deprecated it will be removed on or after the associated DateTime RemovalDate field. That field will not otherwise be set. More...
 
DateTimeOffset? RemovalDate [get, set]
 If the life cycle status is set to deprecated then this will be populated with the date on or after which removal of the address query will happen More...
 
Dictionary< string, AddressKeyOptionDefinitionApplicableOptions [get, set]
 A mapping from option names to the definition that the corresponding option value must match. More...
 
string DerivationFormula [get, set]
 Derivation formula for when the for when the query key represents a DerivedValuation property. More...
 

Detailed Description

QueryableKey

Constructor & Destructor Documentation

◆ QueryableKey() [1/2]

Lusid.Sdk.Model.QueryableKey.QueryableKey ( )
inlineprotected

Initializes a new instance of the QueryableKey class.

◆ QueryableKey() [2/2]

Lusid.Sdk.Model.QueryableKey.QueryableKey ( string  addressKey = default(string),
string  description = default(string),
string  displayName = default(string),
string  type = default(string),
string  flattenedType = default(string),
string  holdingQuantityScaling = default(string),
List< string >  supportedUsages = default(List<string>),
List< string >  supportedOperations = default(List<string>),
string  lifeCycleStatus = default(string),
DateTimeOffset?  removalDate = default(DateTimeOffset?),
Dictionary< string, AddressKeyOptionDefinition applicableOptions = default(Dictionary<string, AddressKeyOptionDefinition>),
string  derivationFormula = default(string) 
)
inline

Initializes a new instance of the QueryableKey class.

Parameters
addressKeyThe address that is the query to be made into the system. e.g. a Valuation/PV or Instrument/MaturityDate (required).
descriptionWhat does the information that is being queried by the address mean. What is the address for..
displayNameThe suggested name that the user would wish to put on to the returned information for visualisation in preference to the address. (required).
typeFinancially meaningful results can be presented as either simple flat types or more complex expanded types. This field gives the type of the more complex representation. For example, the present value (PV) of a holding could be represented either as a simple decimal (with currency implied) or as a decimal-currency pair. In this example, the type returned in this field would be &quot;Result0D&quot;, the decimal-currency pair. (required).
flattenedTypeFinancially meaningful results can be presented as either simple flat types or more complex expanded types. This field gives the type of the simpler representation. For example, the present value (PV) of a holding could be represented either as a simple decimal (with currency implied) or as a decimal-currency pair. In this example, the type returned in this field would be &quot;Decimal&quot;. (required).
holdingQuantityScalingIs the data scaled when it is for, e.g. a holding in an instrument. A key example would be the difference between price and PV. The present value of an instrument would scale with the quantity held. The price would be that for a hypothetical unit of that instrument, typically associated with the contract size. (required).
supportedUsagesThe types of queries that support this key. (required).
supportedOperationsWhen performing an aggregation operation, what column type operations can be performed on the data. For example, it makes sense to sum decimals but not strings. Either can be counted. With more complex types, e.g. ResultValues, operations may be linked to a semantic meaning such as the currency of the result. In such cases the operations may be supported but context specific. For example, it makes sense to sum PVs in a single currency but not when the currency is different. In such cases, an error would result (it being assumed that no fx rates for currency conversion were implicit in the context). (required).
lifeCycleStatusWithin an API where an item can be accessed through an address or property, there is an associated status that determines whether the item is stable or likely to change. This status is one of [Experimental, Beta, EAP, Prod, Deprecated]. If the item is deprecated it will be removed on or after the associated DateTime RemovalDate field. That field will not otherwise be set. (required).
removalDateIf the life cycle status is set to deprecated then this will be populated with the date on or after which removal of the address query will happen.
applicableOptionsA mapping from option names to the definition that the corresponding option value must match..
derivationFormulaDerivation formula for when the for when the query key represents a DerivedValuation property..

Member Function Documentation

◆ Equals() [1/2]

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

Returns true if objects are equal

Parameters
inputObject to be compared
Returns
Boolean

◆ Equals() [2/2]

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

Returns true if QueryableKey instances are equal

Parameters
inputInstance of QueryableKey to be compared
Returns
Boolean

◆ GetHashCode()

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

Gets the hash code

Returns
Hash code

◆ ToJson()

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

Returns the JSON string presentation of the object

Returns
JSON string presentation of the object

◆ ToString()

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

Returns the string presentation of the object

Returns
String presentation of the object

Property Documentation

◆ AddressKey

string Lusid.Sdk.Model.QueryableKey.AddressKey
getset

The address that is the query to be made into the system. e.g. a Valuation/PV or Instrument/MaturityDate

The address that is the query to be made into the system. e.g. a Valuation/PV or Instrument/MaturityDate

◆ ApplicableOptions

Dictionary<string, AddressKeyOptionDefinition> Lusid.Sdk.Model.QueryableKey.ApplicableOptions
getset

A mapping from option names to the definition that the corresponding option value must match.

A mapping from option names to the definition that the corresponding option value must match.

◆ DerivationFormula

string Lusid.Sdk.Model.QueryableKey.DerivationFormula
getset

Derivation formula for when the for when the query key represents a DerivedValuation property.

Derivation formula for when the for when the query key represents a DerivedValuation property.

◆ Description

string Lusid.Sdk.Model.QueryableKey.Description
getset

What does the information that is being queried by the address mean. What is the address for.

What does the information that is being queried by the address mean. What is the address for.

◆ DisplayName

string Lusid.Sdk.Model.QueryableKey.DisplayName
getset

The suggested name that the user would wish to put on to the returned information for visualisation in preference to the address.

The suggested name that the user would wish to put on to the returned information for visualisation in preference to the address.

◆ FlattenedType

string Lusid.Sdk.Model.QueryableKey.FlattenedType
getset

Financially meaningful results can be presented as either simple flat types or more complex expanded types. This field gives the type of the simpler representation. For example, the present value (PV) of a holding could be represented either as a simple decimal (with currency implied) or as a decimal-currency pair. In this example, the type returned in this field would be &quot;Decimal&quot;.

Financially meaningful results can be presented as either simple flat types or more complex expanded types. This field gives the type of the simpler representation. For example, the present value (PV) of a holding could be represented either as a simple decimal (with currency implied) or as a decimal-currency pair. In this example, the type returned in this field would be &quot;Decimal&quot;.

◆ HoldingQuantityScaling

string Lusid.Sdk.Model.QueryableKey.HoldingQuantityScaling
getset

Is the data scaled when it is for, e.g. a holding in an instrument. A key example would be the difference between price and PV. The present value of an instrument would scale with the quantity held. The price would be that for a hypothetical unit of that instrument, typically associated with the contract size.

Is the data scaled when it is for, e.g. a holding in an instrument. A key example would be the difference between price and PV. The present value of an instrument would scale with the quantity held. The price would be that for a hypothetical unit of that instrument, typically associated with the contract size.

◆ LifeCycleStatus

string Lusid.Sdk.Model.QueryableKey.LifeCycleStatus
getset

Within an API where an item can be accessed through an address or property, there is an associated status that determines whether the item is stable or likely to change. This status is one of [Experimental, Beta, EAP, Prod, Deprecated]. If the item is deprecated it will be removed on or after the associated DateTime RemovalDate field. That field will not otherwise be set.

Within an API where an item can be accessed through an address or property, there is an associated status that determines whether the item is stable or likely to change. This status is one of [Experimental, Beta, EAP, Prod, Deprecated]. If the item is deprecated it will be removed on or after the associated DateTime RemovalDate field. That field will not otherwise be set.

◆ RemovalDate

DateTimeOffset? Lusid.Sdk.Model.QueryableKey.RemovalDate
getset

If the life cycle status is set to deprecated then this will be populated with the date on or after which removal of the address query will happen

If the life cycle status is set to deprecated then this will be populated with the date on or after which removal of the address query will happen

◆ SupportedOperations

List<string> Lusid.Sdk.Model.QueryableKey.SupportedOperations
getset

When performing an aggregation operation, what column type operations can be performed on the data. For example, it makes sense to sum decimals but not strings. Either can be counted. With more complex types, e.g. ResultValues, operations may be linked to a semantic meaning such as the currency of the result. In such cases the operations may be supported but context specific. For example, it makes sense to sum PVs in a single currency but not when the currency is different. In such cases, an error would result (it being assumed that no fx rates for currency conversion were implicit in the context).

When performing an aggregation operation, what column type operations can be performed on the data. For example, it makes sense to sum decimals but not strings. Either can be counted. With more complex types, e.g. ResultValues, operations may be linked to a semantic meaning such as the currency of the result. In such cases the operations may be supported but context specific. For example, it makes sense to sum PVs in a single currency but not when the currency is different. In such cases, an error would result (it being assumed that no fx rates for currency conversion were implicit in the context).

◆ SupportedUsages

List<string> Lusid.Sdk.Model.QueryableKey.SupportedUsages
getset

The types of queries that support this key.

The types of queries that support this key.

◆ Type

string Lusid.Sdk.Model.QueryableKey.Type
getset

Financially meaningful results can be presented as either simple flat types or more complex expanded types. This field gives the type of the more complex representation. For example, the present value (PV) of a holding could be represented either as a simple decimal (with currency implied) or as a decimal-currency pair. In this example, the type returned in this field would be &quot;Result0D&quot;, the decimal-currency pair.

Financially meaningful results can be presented as either simple flat types or more complex expanded types. This field gives the type of the more complex representation. For example, the present value (PV) of a holding could be represented either as a simple decimal (with currency implied) or as a decimal-currency pair. In this example, the type returned in this field would be &quot;Result0D&quot;, the decimal-currency pair.


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