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

AggregationQuery More...

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

Public Types

enum class  TypeEnum {
  String = 1 , Int = 2 , Decimal = 3 , DateTime = 4 ,
  Boolean = 5 , ResultValue = 6 , Result0D = 7 , Json = 8
}
 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 "Result0D", the decimal-currency pair. The available values are: String, Int, Decimal, DateTime, Boolean, ResultValue, Result0D, Json More...
 
enum class  FlattenedTypeEnum {
  String = 1 , Int = 2 , Decimal = 3 , DateTime = 4 ,
  Boolean = 5 , ResultValue = 6 , Result0D = 7 , Json = 8
}
 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 "Decimal". The available values are: String, Int, Decimal, DateTime, Boolean, ResultValue, Result0D, Json More...
 

Public Member Functions

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

Protected Member Functions

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

Properties

TypeEnum 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. The available values are: String, Int, Decimal, DateTime, Boolean, ResultValue, Result0D, Json More...
 
FlattenedTypeEnum 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;. The available values are: String, Int, Decimal, DateTime, Boolean, ResultValue, Result0D, Json More...
 
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...
 
bool ScalesWithHoldingQuantity [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...
 
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...
 

Detailed Description

AggregationQuery

Member Enumeration Documentation

◆ FlattenedTypeEnum

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;. The available values are: String, Int, Decimal, DateTime, Boolean, ResultValue, Result0D, Json

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;. The available values are: String, Int, Decimal, DateTime, Boolean, ResultValue, Result0D, Json

Enumerator
String 

Enum String for value: String

Int 

Enum Int for value: Int

Decimal 

Enum Decimal for value: Decimal

DateTime 

Enum DateTime for value: DateTime

Boolean 

Enum Boolean for value: Boolean

ResultValue 

Enum ResultValue for value: ResultValue

Result0D 

Enum Result0D for value: Result0D

Json 

Enum Json for value: Json

◆ TypeEnum

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 available values are: String, Int, Decimal, DateTime, Boolean, ResultValue, Result0D, Json

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 available values are: String, Int, Decimal, DateTime, Boolean, ResultValue, Result0D, Json

Enumerator
String 

Enum String for value: String

Int 

Enum Int for value: Int

Decimal 

Enum Decimal for value: Decimal

DateTime 

Enum DateTime for value: DateTime

Boolean 

Enum Boolean for value: Boolean

ResultValue 

Enum ResultValue for value: ResultValue

Result0D 

Enum Result0D for value: Result0D

Json 

Enum Json for value: Json

Constructor & Destructor Documentation

◆ AggregationQuery() [1/2]

Lusid.Sdk.Model.AggregationQuery.AggregationQuery ( )
inlineprotected

Initializes a new instance of the AggregationQuery class.

◆ AggregationQuery() [2/2]

Lusid.Sdk.Model.AggregationQuery.AggregationQuery ( string  addressKey = default(string),
string  description = default(string),
string  displayName = default(string),
TypeEnum  type = default(TypeEnum),
FlattenedTypeEnum  flattenedType = default(FlattenedTypeEnum),
bool  scalesWithHoldingQuantity = default(bool),
string  supportedOperations = default(string),
string  lifeCycleStatus = default(string),
DateTimeOffset?  removalDate = default(DateTimeOffset?),
Dictionary< string, AddressKeyOptionDefinition applicableOptions = default(Dictionary<string, AddressKeyOptionDefinition>) 
)
inline

Initializes a new instance of the AggregationQuery 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. (required).
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. The available values are: String, Int, Decimal, DateTime, Boolean, ResultValue, Result0D, Json (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;. The available values are: String, Int, Decimal, DateTime, Boolean, ResultValue, Result0D, Json (required).
scalesWithHoldingQuantityIs 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).
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..

Member Function Documentation

◆ Equals() [1/2]

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

Returns true if AggregationQuery instances are equal

Parameters
inputInstance of AggregationQuery to be compared
Returns
Boolean

◆ Equals() [2/2]

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

Returns true if objects are equal

Parameters
inputObject to be compared
Returns
Boolean

◆ GetHashCode()

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

Gets the hash code

Returns
Hash code

◆ ToJson()

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

Returns the JSON string presentation of the object

Returns
JSON string presentation of the object

◆ ToString()

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

Returns the string presentation of the object

Returns
String presentation of the object

Property Documentation

◆ AddressKey

string Lusid.Sdk.Model.AggregationQuery.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.AggregationQuery.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.

◆ Description

string Lusid.Sdk.Model.AggregationQuery.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.AggregationQuery.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

FlattenedTypeEnum Lusid.Sdk.Model.AggregationQuery.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;. The available values are: String, Int, Decimal, DateTime, Boolean, ResultValue, Result0D, Json

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;. The available values are: String, Int, Decimal, DateTime, Boolean, ResultValue, Result0D, Json

◆ LifeCycleStatus

string Lusid.Sdk.Model.AggregationQuery.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.AggregationQuery.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

◆ ScalesWithHoldingQuantity

bool Lusid.Sdk.Model.AggregationQuery.ScalesWithHoldingQuantity
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.

◆ SupportedOperations

string Lusid.Sdk.Model.AggregationQuery.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).

◆ Type

TypeEnum Lusid.Sdk.Model.AggregationQuery.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. The available values are: String, Int, Decimal, DateTime, Boolean, ResultValue, Result0D, Json

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 available values are: String, Int, Decimal, DateTime, Boolean, ResultValue, Result0D, Json


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