LUSID C# SDK
|
Public Types | |
enum class | TypeValueRangeEnum { Open = 1 , Closed = 2 } |
The available values are: Open, Closed More... | |
enum class | ValueTypeEnum { String = 1 , Int = 2 , Decimal = 3 , DateTime = 4 , Boolean = 5 , Map = 6 , List = 7 , PropertyArray = 8 , Percentage = 9 , Code = 10 , Id = 11 , Uri = 12 , CurrencyAndAmount = 13 , TradePrice = 14 , Currency = 15 , MetricValue = 16 , ResourceId = 17 , ResultValue = 18 , CutLocalTime = 19 , DateOrCutLabel = 20 , UnindexedText = 21 } |
The available values are: String, Int, Decimal, DateTime, Boolean, Map, List, PropertyArray, Percentage, Code, Id, Uri, CurrencyAndAmount, TradePrice, Currency, MetricValue, ResourceId, ResultValue, CutLocalTime, DateOrCutLabel, UnindexedText More... | |
enum class | UnitSchemaEnum { NoUnits = 1 , Basic = 2 , Iso4217Currency = 3 } |
The available values are: NoUnits, Basic, Iso4217Currency More... | |
Public Member Functions | |
DataType (string href=default(string), TypeValueRangeEnum typeValueRange=default(TypeValueRangeEnum), ResourceId id=default(ResourceId), string displayName=default(string), string description=default(string), ValueTypeEnum valueType=default(ValueTypeEnum), List< string > acceptableValues=default(List< string >), UnitSchemaEnum? unitSchema=default(UnitSchemaEnum?), List< IUnitDefinitionDto > acceptableUnits=default(List< IUnitDefinitionDto >), ReferenceData referenceData=default(ReferenceData), ModelVersion version=default(ModelVersion), List< Link > links=default(List< Link >)) | |
Initializes a new instance of the DataType 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 (DataType input) |
Returns true if DataType instances are equal More... | |
override int | GetHashCode () |
Gets the hash code More... | |
Protected Member Functions | |
DataType () | |
Initializes a new instance of the DataType class. More... | |
Properties | |
TypeValueRangeEnum | TypeValueRange [get, set] |
The available values are: Open, Closed More... | |
ValueTypeEnum | ValueType [get, set] |
The available values are: String, Int, Decimal, DateTime, Boolean, Map, List, PropertyArray, Percentage, Code, Id, Uri, CurrencyAndAmount, TradePrice, Currency, MetricValue, ResourceId, ResultValue, CutLocalTime, DateOrCutLabel, UnindexedText More... | |
UnitSchemaEnum? | UnitSchema [get, set] |
The available values are: NoUnits, Basic, Iso4217Currency More... | |
string | Href [get, set] |
Gets or Sets Href More... | |
ResourceId | Id [get, set] |
Gets or Sets Id More... | |
string | DisplayName [get, set] |
Gets or Sets DisplayName More... | |
string | Description [get, set] |
Gets or Sets Description More... | |
List< string > | AcceptableValues [get, set] |
Gets or Sets AcceptableValues More... | |
List< IUnitDefinitionDto > | AcceptableUnits [get, set] |
Gets or Sets AcceptableUnits More... | |
ReferenceData | ReferenceData [get, set] |
Gets or Sets ReferenceData More... | |
ModelVersion | _Version [get, set] |
Gets or Sets _Version More... | |
List< Link > | Links [get, set] |
Gets or Sets Links More... | |
|
strong |
|
strong |
|
strong |
The available values are: String, Int, Decimal, DateTime, Boolean, Map, List, PropertyArray, Percentage, Code, Id, Uri, CurrencyAndAmount, TradePrice, Currency, MetricValue, ResourceId, ResultValue, CutLocalTime, DateOrCutLabel, UnindexedText
The available values are: String, Int, Decimal, DateTime, Boolean, Map, List, PropertyArray, Percentage, Code, Id, Uri, CurrencyAndAmount, TradePrice, Currency, MetricValue, ResourceId, ResultValue, CutLocalTime, DateOrCutLabel, UnindexedText
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 |
Map | Enum Map for value: Map |
List | Enum List for value: List |
PropertyArray | Enum PropertyArray for value: PropertyArray |
Percentage | Enum Percentage for value: Percentage |
Code | Enum Code for value: Code |
Id | Enum Id for value: Id |
Uri | Enum Uri for value: Uri |
CurrencyAndAmount | Enum CurrencyAndAmount for value: CurrencyAndAmount |
TradePrice | Enum TradePrice for value: TradePrice |
Currency | Enum Currency for value: Currency |
MetricValue | Enum MetricValue for value: MetricValue |
ResourceId | Enum ResourceId for value: ResourceId |
ResultValue | Enum ResultValue for value: ResultValue |
CutLocalTime | Enum CutLocalTime for value: CutLocalTime |
DateOrCutLabel | Enum DateOrCutLabel for value: DateOrCutLabel |
UnindexedText | Enum UnindexedText for value: UnindexedText |
|
inlineprotected |
Initializes a new instance of the DataType class.
|
inline |
Initializes a new instance of the DataType class.
href | href. |
typeValueRange | The available values are: Open, Closed (required). |
id | id (required). |
displayName | displayName (required). |
description | description (required). |
valueType | The available values are: String, Int, Decimal, DateTime, Boolean, Map, List, PropertyArray, Percentage, Code, Id, Uri, CurrencyAndAmount, TradePrice, Currency, MetricValue, ResourceId, ResultValue, CutLocalTime, DateOrCutLabel, UnindexedText (required). |
acceptableValues | acceptableValues. |
unitSchema | The available values are: NoUnits, Basic, Iso4217Currency. |
acceptableUnits | acceptableUnits. |
referenceData | referenceData. |
version | version. |
links | links. |
|
inline |
|
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 |
Gets or Sets AcceptableUnits
|
getset |
Gets or Sets AcceptableValues
|
getset |
Gets or Sets Description
|
getset |
Gets or Sets DisplayName
|
getset |
Gets or Sets Href
|
getset |
Gets or Sets Id
|
getset |
Gets or Sets Links
|
getset |
Gets or Sets ReferenceData
|
getset |
The available values are: Open, Closed
The available values are: Open, Closed
|
getset |
The available values are: NoUnits, Basic, Iso4217Currency
The available values are: NoUnits, Basic, Iso4217Currency
|
getset |
The available values are: String, Int, Decimal, DateTime, Boolean, Map, List, PropertyArray, Percentage, Code, Id, Uri, CurrencyAndAmount, TradePrice, Currency, MetricValue, ResourceId, ResultValue, CutLocalTime, DateOrCutLabel, UnindexedText
The available values are: String, Int, Decimal, DateTime, Boolean, Map, List, PropertyArray, Percentage, Code, Id, Uri, CurrencyAndAmount, TradePrice, Currency, MetricValue, ResourceId, ResultValue, CutLocalTime, DateOrCutLabel, UnindexedText