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

ReconcileNumericRule More...

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

Public Types

enum class  ComparisonTypeEnum { Exact = 1 , AbsoluteDifference = 2 , RelativeDifference = 3 }
 The available values are: Exact, AbsoluteDifference, RelativeDifference 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

 ReconcileNumericRule (ComparisonTypeEnum comparisonType=default(ComparisonTypeEnum), decimal tolerance=default(decimal), AggregateSpec appliesTo=default(AggregateSpec), RuleTypeEnum ruleType=default(RuleTypeEnum))
 Initializes a new instance of the ReconcileNumericRule 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 (ReconcileNumericRule input)
 Returns true if ReconcileNumericRule 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

 ReconcileNumericRule ()
 Initializes a new instance of the ReconcileNumericRule 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, RelativeDifference 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

ReconcileNumericRule

Member Enumeration Documentation

◆ ComparisonTypeEnum

The available values are: Exact, AbsoluteDifference, RelativeDifference

The available values are: Exact, AbsoluteDifference, RelativeDifference

Enumerator
Exact 

Enum Exact for value: Exact

AbsoluteDifference 

Enum AbsoluteDifference for value: AbsoluteDifference

RelativeDifference 

Enum RelativeDifference for value: RelativeDifference

Constructor & Destructor Documentation

◆ ReconcileNumericRule() [1/2]

Lusid.Sdk.Model.ReconcileNumericRule.ReconcileNumericRule ( )
inlineprotected

Initializes a new instance of the ReconcileNumericRule class.

◆ ReconcileNumericRule() [2/2]

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

Initializes a new instance of the ReconcileNumericRule class.

Parameters
comparisonTypeThe available values are: Exact, AbsoluteDifference, RelativeDifference (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 "ReconcileNumericRule").

Member Function Documentation

◆ BaseValidate()

IEnumerable<System.ComponentModel.DataAnnotations.ValidationResult> Lusid.Sdk.Model.ReconcileNumericRule.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.ReconcileNumericRule.Equals ( object  input)
inline

Returns true if objects are equal

Parameters
inputObject to be compared
Returns
Boolean

◆ Equals() [2/2]

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

Returns true if ReconcileNumericRule instances are equal

Parameters
inputInstance of ReconcileNumericRule to be compared
Returns
Boolean

◆ GetHashCode()

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

Gets the hash code

Returns
Hash code

◆ ToJson()

override string Lusid.Sdk.Model.ReconcileNumericRule.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.ReconcileNumericRule.ToString ( )
inline

Returns the string presentation of the object

Returns
String presentation of the object

Property Documentation

◆ AppliesTo

AggregateSpec Lusid.Sdk.Model.ReconcileNumericRule.AppliesTo
getset

Gets or Sets AppliesTo

◆ ComparisonType

ComparisonTypeEnum Lusid.Sdk.Model.ReconcileNumericRule.ComparisonType
getset

The available values are: Exact, AbsoluteDifference, RelativeDifference

The available values are: Exact, AbsoluteDifference, RelativeDifference

◆ Tolerance

decimal Lusid.Sdk.Model.ReconcileNumericRule.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: