|
LUSID C# SDK
|
Base class for representing reconciliation rules in LUSID. Reconciliation rules describe how a comparison between two items in the reconciliation should be performed and what constitutes equality. This does not influence WHAT constitutes a match, but only whether once a line has been matched whether an item within it matches another item. If a rule is not given for an item, it will default to equality comparison. This base class should not be directly instantiated; each supported ReconciliationRuleType has a corresponding inherited class. More...

Public Types | |
| enum class | RuleTypeEnum { ReconcileNumericRule = 1 , ReconcileDateTimeRule = 2 , ReconcileStringRule = 3 , ReconcileExact = 4 } |
| Available values: ReconcileNumericRule, ReconcileDateTimeRule, ReconcileStringRule, ReconcileExact. More... | |
Public Member Functions | |
| 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... | |
| 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 (ReconciliationRule input) |
| Returns true if ReconciliationRule instances are equal More... | |
| override int | GetHashCode () |
| Gets the hash code More... | |
Protected Member Functions | |
| 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 | |
| RuleTypeEnum | RuleType [get, set] |
| Available values: ReconcileNumericRule, ReconcileDateTimeRule, ReconcileStringRule, ReconcileExact. More... | |
Base class for representing reconciliation rules in LUSID. Reconciliation rules describe how a comparison between two items in the reconciliation should be performed and what constitutes equality. This does not influence WHAT constitutes a match, but only whether once a line has been matched whether an item within it matches another item. If a rule is not given for an item, it will default to equality comparison. This base class should not be directly instantiated; each supported ReconciliationRuleType has a corresponding inherited class.
|
strong |
Available values: ReconcileNumericRule, ReconcileDateTimeRule, ReconcileStringRule, ReconcileExact.
Available values: ReconcileNumericRule, ReconcileDateTimeRule, ReconcileStringRule, ReconcileExact.
| Enumerator | |
|---|---|
| ReconcileNumericRule | Enum ReconcileNumericRule for value: ReconcileNumericRule |
| ReconcileDateTimeRule | Enum ReconcileDateTimeRule for value: ReconcileDateTimeRule |
| ReconcileStringRule | Enum ReconcileStringRule for value: ReconcileStringRule |
| ReconcileExact | Enum ReconcileExact for value: ReconcileExact |
|
inlineprotected |
Initializes a new instance of the ReconciliationRule class.
|
inline |
Initializes a new instance of the ReconciliationRule class.
| ruleType | Available values: ReconcileNumericRule, ReconcileDateTimeRule, ReconcileStringRule, ReconcileExact. (required). |
|
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 ReconciliationRule instances are equal
| input | Instance of ReconciliationRule to be compared |
|
inline |
Gets the hash code
|
inlinevirtual |
Returns the JSON string presentation of the object
Reimplemented in Lusid.Sdk.Model.ReconcileStringRule, Lusid.Sdk.Model.ReconcileNumericRule, and Lusid.Sdk.Model.ReconcileDateTimeRule.
|
inline |
Returns the string presentation of the object
|
getset |
Available values: ReconcileNumericRule, ReconcileDateTimeRule, ReconcileStringRule, ReconcileExact.
Available values: ReconcileNumericRule, ReconcileDateTimeRule, ReconcileStringRule, ReconcileExact.