An individual mapping rule, for mapping between a left and right field/property.
More...
|
| 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...
|
|
|
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< MappedString > | MappedStrings [get, set] |
| The (optional) value used to map string values. More...
|
|
bool | IsCaseSensitive [get, set] |
| Should string comparisons take case into account, defaults to `false`. More...
|
|
An individual mapping rule, for mapping between a left and right field/property.
◆ 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
-
left | The name of the field/property in the left resource (e.g. a transaction). |
right | The name of the field/property in the right resource (e.g. a transaction). |
comparisonType | The type of comparison to be performed. |
comparisonValue | The (optional) value used with Finbourne.WebApi.Interface.Dto.Mappings.MappingRule.ComparisonType. |
weight | A factor used to influence the importance of this item.. |
mappedStrings | The (optional) value used to map string values.. |
isCaseSensitive | Should string comparisons take case into account, defaults to `false`.. |
◆ Equals() [1/2]
bool Lusid.Sdk.Model.MappingRule.Equals |
( |
MappingRule |
input | ) |
|
|
inline |
Returns true if MappingRule instances are equal
- Parameters
-
- Returns
- Boolean
◆ Equals() [2/2]
override bool Lusid.Sdk.Model.MappingRule.Equals |
( |
object |
input | ) |
|
|
inline |
Returns true if objects are equal
- Parameters
-
input | Object 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
◆ 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 `false`.
Should string comparisons take case into account, defaults to `false`.
◆ 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:
- /home/docs/checkouts/readthedocs.org/user_builds/lusid-sdk-csharp/checkouts/latest/sdk/Lusid.Sdk/Model/MappingRule.cs