LUSID C# SDK
|
Comparison of string values More...
Public Types | |
enum class | ComparisonTypeEnum { Exact = 1 , Contains = 2 , CaseInsensitive = 3 , ContainsAnyCase = 4 , IsOneOf = 5 } |
The available values are: Exact, Contains, CaseInsensitive, ContainsAnyCase, IsOneOf More... | |
![]() | |
enum class | RuleTypeEnum { ReconcileNumericRule = 1 , ReconcileDateTimeRule = 2 , ReconcileStringRule = 3 , ReconcileExact = 4 } |
The available values are: ReconcileNumericRule, ReconcileDateTimeRule, ReconcileStringRule, ReconcileExact More... | |
Public Member Functions | |
ReconcileStringRule (ComparisonTypeEnum comparisonType=default(ComparisonTypeEnum), Dictionary< string, List< string >> oneOfCandidates=default(Dictionary< string, List< string >>), AggregateSpec appliesTo=default(AggregateSpec), RuleTypeEnum ruleType=default(RuleTypeEnum)) | |
Initializes a new instance of the ReconcileStringRule class. More... | |
override string | ToString () |
Returns the string presentation of the object More... | |
override 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 (ReconcileStringRule input) |
Returns true if ReconcileStringRule instances are equal More... | |
override int | GetHashCode () |
Gets the hash code More... | |
![]() | |
ReconciliationRule (RuleTypeEnum ruleType=default(RuleTypeEnum)) | |
Initializes a new instance of the ReconciliationRule class. More... | |
override string | ToString () |
Returns the string presentation of the object More... | |
override bool | Equals (object input) |
Returns true if objects are equal More... | |
bool | Equals (ReconciliationRule input) |
Returns true if ReconciliationRule instances are equal More... | |
override int | GetHashCode () |
Gets the hash code More... | |
Protected Member Functions | |
ReconcileStringRule () | |
Initializes a new instance of the ReconcileStringRule class. More... | |
IEnumerable< System.ComponentModel.DataAnnotations.ValidationResult > | BaseValidate (ValidationContext validationContext) |
To validate all properties of the instance More... | |
![]() | |
ReconciliationRule () | |
Initializes a new instance of the ReconciliationRule class. More... | |
IEnumerable< System.ComponentModel.DataAnnotations.ValidationResult > | BaseValidate (ValidationContext validationContext) |
To validate all properties of the instance More... | |
Properties | |
ComparisonTypeEnum | ComparisonType [get, set] |
The available values are: Exact, Contains, CaseInsensitive, ContainsAnyCase, IsOneOf More... | |
Dictionary< string, List< string > > | OneOfCandidates [get, set] |
For cases of "IsOneOf" a set is required to match values against. Fuzzy matching of strings against one of a set. There can be cases where systems "A" and "B" might use different terms for the same logical entity. A common case would be comparison of something like a day count fraction where some convention like the "actual 365" convention might be represented as one of ["A365", "Act365", "Actual365"] or similar. This is to allow this kind of fuzzy matching of values. Note that as this is exhaustive comparison across sets it will be slow and should therefore be used sparingly. More... | |
AggregateSpec | AppliesTo [get, set] |
Gets or Sets AppliesTo More... | |
![]() | |
RuleTypeEnum | RuleType [get, set] |
The available values are: ReconcileNumericRule, ReconcileDateTimeRule, ReconcileStringRule, ReconcileExact More... | |
Comparison of string values
The available values are: Exact, Contains, CaseInsensitive, ContainsAnyCase, IsOneOf
The available values are: Exact, Contains, CaseInsensitive, ContainsAnyCase, IsOneOf
|
inlineprotected |
Initializes a new instance of the ReconcileStringRule class.
|
inline |
Initializes a new instance of the ReconcileStringRule class.
comparisonType | The available values are: Exact, Contains, CaseInsensitive, ContainsAnyCase, IsOneOf (required). |
oneOfCandidates | For cases of "IsOneOf" a set is required to match values against. Fuzzy matching of strings against one of a set. There can be cases where systems "A" and "B" might use different terms for the same logical entity. A common case would be comparison of something like a day count fraction where some convention like the "actual 365" convention might be represented as one of ["A365", "Act365", "Actual365"] or similar. This is to allow this kind of fuzzy matching of values. Note that as this is exhaustive comparison across sets it will be slow and should therefore be used sparingly.. |
appliesTo | appliesTo (required). |
ruleType | The available values are: ReconcileNumericRule, ReconcileDateTimeRule, ReconcileStringRule, ReconcileExact (required) (default to "ReconcileStringRule"). |
|
inlineprotected |
To validate all properties of the instance
validationContext | Validation context |
|
inline |
Returns true if objects are equal
input | Object to be compared |
|
inline |
Returns true if ReconcileStringRule instances are equal
input | Instance of ReconcileStringRule to be compared |
|
inline |
Gets the hash code
|
inlinevirtual |
Returns the JSON string presentation of the object
Reimplemented from Lusid.Sdk.Model.ReconciliationRule.
|
inline |
Returns the string presentation of the object
|
getset |
Gets or Sets AppliesTo
|
getset |
The available values are: Exact, Contains, CaseInsensitive, ContainsAnyCase, IsOneOf
The available values are: Exact, Contains, CaseInsensitive, ContainsAnyCase, IsOneOf
|
getset |
For cases of "IsOneOf" a set is required to match values against. Fuzzy matching of strings against one of a set. There can be cases where systems "A" and "B" might use different terms for the same logical entity. A common case would be comparison of something like a day count fraction where some convention like the "actual 365" convention might be represented as one of ["A365", "Act365", "Actual365"] or similar. This is to allow this kind of fuzzy matching of values. Note that as this is exhaustive comparison across sets it will be slow and should therefore be used sparingly.
For cases of "IsOneOf" a set is required to match values against. Fuzzy matching of strings against one of a set. There can be cases where systems "A" and "B" might use different terms for the same logical entity. A common case would be comparison of something like a day count fraction where some convention like the "actual 365" convention might be represented as one of ["A365", "Act365", "Actual365"] or similar. This is to allow this kind of fuzzy matching of values. Note that as this is exhaustive comparison across sets it will be slow and should therefore be used sparingly.