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

An individual mapping rule, for mapping between a left and right field/property. More...

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

Public Member Functions

 MappingRule (string left=default(string), string right=default(string), string comparisonType=default(string), decimal? comparisonValue=default(decimal?), decimal weight=default(decimal), List< MappedString > mappedStrings=default(List< MappedString >), bool isCaseSensitive=default(bool))
 Initializes a new instance of the MappingRule 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 (MappingRule input)
 Returns true if MappingRule instances are equal More...
 
override int GetHashCode ()
 Gets the hash code More...
 

Properties

string Left [get, set]
 The name of the field/property in the left resource (e.g. a transaction) More...
 
string Right [get, set]
 The name of the field/property in the right resource (e.g. a transaction) More...
 
string ComparisonType [get, set]
 The type of comparison to be performed More...
 
decimal? ComparisonValue [get, set]
 The (optional) value used with Finbourne.WebApi.Interface.Dto.Mappings.MappingRule.ComparisonType More...
 
decimal Weight [get, set]
 A factor used to influence the importance of this item. More...
 
List< MappedStringMappedStrings [get, set]
 The (optional) value used to map string values. More...
 
bool IsCaseSensitive [get, set]
 Should string comparisons take case into account, defaults to &#x60;false&#x60;. More...
 

Detailed Description

An individual mapping rule, for mapping between a left and right field/property.

Constructor & Destructor Documentation

◆ MappingRule()

Lusid.Sdk.Model.MappingRule.MappingRule ( string  left = default(string),
string  right = default(string),
string  comparisonType = default(string),
decimal?  comparisonValue = default(decimal?),
decimal  weight = default(decimal),
List< MappedString mappedStrings = default(List<MappedString>),
bool  isCaseSensitive = default(bool) 
)
inline

Initializes a new instance of the MappingRule class.

Parameters
leftThe name of the field/property in the left resource (e.g. a transaction).
rightThe name of the field/property in the right resource (e.g. a transaction).
comparisonTypeThe type of comparison to be performed.
comparisonValueThe (optional) value used with Finbourne.WebApi.Interface.Dto.Mappings.MappingRule.ComparisonType.
weightA factor used to influence the importance of this item..
mappedStringsThe (optional) value used to map string values..
isCaseSensitiveShould string comparisons take case into account, defaults to &#x60;false&#x60;..

Member Function Documentation

◆ Equals() [1/2]

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

Returns true if MappingRule instances are equal

Parameters
inputInstance of MappingRule to be compared
Returns
Boolean

◆ Equals() [2/2]

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

Returns true if objects are equal

Parameters
inputObject to be compared
Returns
Boolean

◆ GetHashCode()

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

Gets the hash code

Returns
Hash code

◆ ToJson()

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

Returns the JSON string presentation of the object

Returns
JSON string presentation of the object

◆ ToString()

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

Returns the string presentation of the object

Returns
String presentation of the object

Property Documentation

◆ ComparisonType

string Lusid.Sdk.Model.MappingRule.ComparisonType
getset

The type of comparison to be performed

The type of comparison to be performed

◆ ComparisonValue

decimal? Lusid.Sdk.Model.MappingRule.ComparisonValue
getset

The (optional) value used with Finbourne.WebApi.Interface.Dto.Mappings.MappingRule.ComparisonType

The (optional) value used with Finbourne.WebApi.Interface.Dto.Mappings.MappingRule.ComparisonType

◆ IsCaseSensitive

bool Lusid.Sdk.Model.MappingRule.IsCaseSensitive
getset

Should string comparisons take case into account, defaults to &#x60;false&#x60;.

Should string comparisons take case into account, defaults to &#x60;false&#x60;.

◆ Left

string Lusid.Sdk.Model.MappingRule.Left
getset

The name of the field/property in the left resource (e.g. a transaction)

The name of the field/property in the left resource (e.g. a transaction)

◆ MappedStrings

List<MappedString> Lusid.Sdk.Model.MappingRule.MappedStrings
getset

The (optional) value used to map string values.

The (optional) value used to map string values.

◆ Right

string Lusid.Sdk.Model.MappingRule.Right
getset

The name of the field/property in the right resource (e.g. a transaction)

The name of the field/property in the right resource (e.g. a transaction)

◆ Weight

decimal Lusid.Sdk.Model.MappingRule.Weight
getset

A factor used to influence the importance of this item.

A factor used to influence the importance of this item.


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