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

Comparison of date time values More...

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

Public Types

enum class  ComparisonTypeEnum { Exact = 1 , AbsoluteDifference = 2 }
 The available values are: Exact, AbsoluteDifference More...
 
- Public Types inherited from Lusid.Sdk.Model.ReconciliationRule
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...
 
- Public Member Functions inherited from Lusid.Sdk.Model.ReconciliationRule
 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...
 
- Protected Member Functions inherited from Lusid.Sdk.Model.ReconciliationRule
 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...
 
- Properties inherited from Lusid.Sdk.Model.ReconciliationRule
RuleTypeEnum RuleType [get, set]
 The available values are: ReconcileNumericRule, ReconcileDateTimeRule, ReconcileStringRule, ReconcileExact More...
 

Detailed Description

Comparison of date time values

Member Enumeration Documentation

◆ ComparisonTypeEnum

The available values are: Exact, AbsoluteDifference

The available values are: Exact, AbsoluteDifference

Enumerator
Exact 

Enum Exact for value: Exact

AbsoluteDifference 

Enum AbsoluteDifference for value: AbsoluteDifference

Constructor & Destructor Documentation

◆ ReconcileDateTimeRule() [1/2]

Lusid.Sdk.Model.ReconcileDateTimeRule.ReconcileDateTimeRule ( )
inlineprotected

Initializes a new instance of the ReconcileDateTimeRule class.

◆ ReconcileDateTimeRule() [2/2]

Lusid.Sdk.Model.ReconcileDateTimeRule.ReconcileDateTimeRule ( ComparisonTypeEnum  comparisonType = default(ComparisonTypeEnum),
decimal  tolerance = default(decimal),
AggregateSpec  appliesTo = default(AggregateSpec),
RuleTypeEnum  ruleType = default(RuleTypeEnum) 
)
inline

Initializes a new instance of the ReconcileDateTimeRule class.

Parameters
comparisonTypeThe available values are: Exact, AbsoluteDifference (required).
toleranceFor 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..
appliesToappliesTo (required).
ruleTypeThe available values are: ReconcileNumericRule, ReconcileDateTimeRule, ReconcileStringRule, ReconcileExact (required) (default to "ReconcileDateTimeRule").

Member Function Documentation

◆ BaseValidate()

IEnumerable<System.ComponentModel.DataAnnotations.ValidationResult> Lusid.Sdk.Model.ReconcileDateTimeRule.BaseValidate ( ValidationContext  validationContext)
inlineprotected

To validate all properties of the instance

Parameters
validationContextValidation context
Returns
Validation Result

◆ Equals() [1/2]

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

Returns true if objects are equal

Parameters
inputObject to be compared
Returns
Boolean

◆ Equals() [2/2]

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

Returns true if ReconcileDateTimeRule instances are equal

Parameters
inputInstance of ReconcileDateTimeRule to be compared
Returns
Boolean

◆ GetHashCode()

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

Gets the hash code

Returns
Hash code

◆ ToJson()

override string Lusid.Sdk.Model.ReconcileDateTimeRule.ToJson ( )
inlinevirtual

Returns the JSON string presentation of the object

Returns
JSON string presentation of the object

Reimplemented from Lusid.Sdk.Model.ReconciliationRule.

◆ ToString()

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

Returns the string presentation of the object

Returns
String presentation of the object

Property Documentation

◆ AppliesTo

AggregateSpec Lusid.Sdk.Model.ReconcileDateTimeRule.AppliesTo
getset

Gets or Sets AppliesTo

◆ ComparisonType

ComparisonTypeEnum Lusid.Sdk.Model.ReconcileDateTimeRule.ComparisonType
getset

The available values are: Exact, AbsoluteDifference

The available values are: Exact, AbsoluteDifference

◆ Tolerance

decimal Lusid.Sdk.Model.ReconcileDateTimeRule.Tolerance
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.


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