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

DataType More...

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

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...
 
UnitSchemaEnumUnitSchema [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< IUnitDefinitionDtoAcceptableUnits [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< LinkLinks [get, set]
 Gets or Sets Links More...
 

Detailed Description

DataType

Member Enumeration Documentation

◆ TypeValueRangeEnum

The available values are: Open, Closed

The available values are: Open, Closed

Enumerator
Open 

Enum Open for value: Open

Closed 

Enum Closed for value: Closed

◆ UnitSchemaEnum

The available values are: NoUnits, Basic, Iso4217Currency

The available values are: NoUnits, Basic, Iso4217Currency

Enumerator
NoUnits 

Enum NoUnits for value: NoUnits

Basic 

Enum Basic for value: Basic

Iso4217Currency 

Enum Iso4217Currency for value: Iso4217Currency

◆ ValueTypeEnum

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

Constructor & Destructor Documentation

◆ DataType() [1/2]

Lusid.Sdk.Model.DataType.DataType ( )
inlineprotected

Initializes a new instance of the DataType class.

◆ DataType() [2/2]

Lusid.Sdk.Model.DataType.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>) 
)
inline

Initializes a new instance of the DataType class.

Parameters
hrefhref.
typeValueRangeThe available values are: Open, Closed (required).
idid (required).
displayNamedisplayName (required).
descriptiondescription (required).
valueTypeThe 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).
acceptableValuesacceptableValues.
unitSchemaThe available values are: NoUnits, Basic, Iso4217Currency.
acceptableUnitsacceptableUnits.
referenceDatareferenceData.
versionversion.
linkslinks.

Member Function Documentation

◆ Equals() [1/2]

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

Returns true if DataType instances are equal

Parameters
inputInstance of DataType to be compared
Returns
Boolean

◆ Equals() [2/2]

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

Returns true if objects are equal

Parameters
inputObject to be compared
Returns
Boolean

◆ GetHashCode()

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

Gets the hash code

Returns
Hash code

◆ ToJson()

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

Returns the JSON string presentation of the object

Returns
JSON string presentation of the object

◆ ToString()

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

Returns the string presentation of the object

Returns
String presentation of the object

Property Documentation

◆ _Version

ModelVersion Lusid.Sdk.Model.DataType._Version
getset

Gets or Sets _Version

◆ AcceptableUnits

List<IUnitDefinitionDto> Lusid.Sdk.Model.DataType.AcceptableUnits
getset

Gets or Sets AcceptableUnits

◆ AcceptableValues

List<string> Lusid.Sdk.Model.DataType.AcceptableValues
getset

Gets or Sets AcceptableValues

◆ Description

string Lusid.Sdk.Model.DataType.Description
getset

Gets or Sets Description

◆ DisplayName

string Lusid.Sdk.Model.DataType.DisplayName
getset

Gets or Sets DisplayName

◆ Href

string Lusid.Sdk.Model.DataType.Href
getset

Gets or Sets Href

◆ Id

ResourceId Lusid.Sdk.Model.DataType.Id
getset

Gets or Sets Id

◆ Links

List<Link> Lusid.Sdk.Model.DataType.Links
getset

Gets or Sets Links

◆ ReferenceData

ReferenceData Lusid.Sdk.Model.DataType.ReferenceData
getset

Gets or Sets ReferenceData

◆ TypeValueRange

TypeValueRangeEnum Lusid.Sdk.Model.DataType.TypeValueRange
getset

The available values are: Open, Closed

The available values are: Open, Closed

◆ UnitSchema

UnitSchemaEnum? Lusid.Sdk.Model.DataType.UnitSchema
getset

The available values are: NoUnits, Basic, Iso4217Currency

The available values are: NoUnits, Basic, Iso4217Currency

◆ ValueType

ValueTypeEnum Lusid.Sdk.Model.DataType.ValueType
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


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