LUSID C# SDK
|
Comparison of date time values More...
Public Types | |
enum class | ComparisonTypeEnum { Exact = 1 , AbsoluteDifference = 2 } |
The available values are: Exact, AbsoluteDifference More... | |
![]() | |
enum class | RuleTypeEnum { ReconcileNumericRule = 1 , ReconcileDateTimeRule = 2 , ReconcileStringRule = 3 , ReconcileExact = 4 } |
The available values are: ReconcileNumericRule, ReconcileDateTimeRule, ReconcileStringRule, ReconcileExact More... | |
Public Member Functions | |
ReconcileDateTimeRule (ComparisonTypeEnum comparisonType=default(ComparisonTypeEnum), decimal tolerance=default(decimal), AggregateSpec appliesTo=default(AggregateSpec), RuleTypeEnum ruleType=default(RuleTypeEnum)) | |
Initializes a new instance of the ReconcileDateTimeRule 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 (ReconcileDateTimeRule input) |
Returns true if ReconcileDateTimeRule 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 | |
ReconcileDateTimeRule () | |
Initializes a new instance of the ReconcileDateTimeRule 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, AbsoluteDifference More... | |
decimal | Tolerance [get, set] |
For a numeric type only (i.e. decimal, integer, date or datetime offset possibly controversially), this is the quantity used in the comparison. The units of the tolerance must be set appropriately for the item being compared. For a number such as a currency or amount that will be a simple quantity, for a DateTime or DateTimeOffset it should be days. If fewer than a single day then this should be passed as a fraction. 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 date time values
|
inlineprotected |
Initializes a new instance of the ReconcileDateTimeRule class.
|
inline |
Initializes a new instance of the ReconcileDateTimeRule class.
comparisonType | The available values are: Exact, AbsoluteDifference (required). |
tolerance | For a numeric type only (i.e. decimal, integer, date or datetime offset possibly controversially), this is the quantity used in the comparison. The units of the tolerance must be set appropriately for the item being compared. For a number such as a currency or amount that will be a simple quantity, for a DateTime or DateTimeOffset it should be days. If fewer than a single day then this should be passed as a fraction.. |
appliesTo | appliesTo (required). |
ruleType | The available values are: ReconcileNumericRule, ReconcileDateTimeRule, ReconcileStringRule, ReconcileExact (required) (default to "ReconcileDateTimeRule"). |
|
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 ReconcileDateTimeRule instances are equal
input | Instance of ReconcileDateTimeRule 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, AbsoluteDifference
The available values are: Exact, AbsoluteDifference
|
getset |
For a numeric type only (i.e. decimal, integer, date or datetime offset possibly controversially), this is the quantity used in the comparison. The units of the tolerance must be set appropriately for the item being compared. For a number such as a currency or amount that will be a simple quantity, for a DateTime or DateTimeOffset it should be days. If fewer than a single day then this should be passed as a fraction.
For a numeric type only (i.e. decimal, integer, date or datetime offset possibly controversially), this is the quantity used in the comparison. The units of the tolerance must be set appropriately for the item being compared. For a number such as a currency or amount that will be a simple quantity, for a DateTime or DateTimeOffset it should be days. If fewer than a single day then this should be passed as a fraction.