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

A condition to be evaluated. Each supported CriterionType has a corresponding schema. More...

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

Public Types

enum class  CriterionTypeEnum { PropertyValueEquals = 1 , PropertyValueIn = 2 , SubHoldingKeyValueEquals = 3 }
 The available values are: PropertyValueEquals, PropertyValueIn, SubHoldingKeyValueEquals More...
 

Public Member Functions

 MatchCriterion (CriterionTypeEnum criterionType=default(CriterionTypeEnum))
 Initializes a new instance of the MatchCriterion 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 (MatchCriterion input)
 Returns true if MatchCriterion instances are equal More...
 
override int GetHashCode ()
 Gets the hash code More...
 

Protected Member Functions

 MatchCriterion ()
 Initializes a new instance of the MatchCriterion class. More...
 
IEnumerable< System.ComponentModel.DataAnnotations.ValidationResult > BaseValidate (ValidationContext validationContext)
 To validate all properties of the instance More...
 

Properties

CriterionTypeEnum CriterionType [get, set]
 The available values are: PropertyValueEquals, PropertyValueIn, SubHoldingKeyValueEquals More...
 

Detailed Description

A condition to be evaluated. Each supported CriterionType has a corresponding schema.

Member Enumeration Documentation

◆ CriterionTypeEnum

The available values are: PropertyValueEquals, PropertyValueIn, SubHoldingKeyValueEquals

The available values are: PropertyValueEquals, PropertyValueIn, SubHoldingKeyValueEquals

Enumerator
PropertyValueEquals 

Enum PropertyValueEquals for value: PropertyValueEquals

PropertyValueIn 

Enum PropertyValueIn for value: PropertyValueIn

SubHoldingKeyValueEquals 

Enum SubHoldingKeyValueEquals for value: SubHoldingKeyValueEquals

Constructor & Destructor Documentation

◆ MatchCriterion() [1/2]

Lusid.Sdk.Model.MatchCriterion.MatchCriterion ( )
inlineprotected

Initializes a new instance of the MatchCriterion class.

◆ MatchCriterion() [2/2]

Lusid.Sdk.Model.MatchCriterion.MatchCriterion ( CriterionTypeEnum  criterionType = default(CriterionTypeEnum))
inline

Initializes a new instance of the MatchCriterion class.

Parameters
criterionTypeThe available values are: PropertyValueEquals, PropertyValueIn, SubHoldingKeyValueEquals (required).

Member Function Documentation

◆ BaseValidate()

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

To validate all properties of the instance

Parameters
validationContextValidation context
Returns
Validation Result

◆ Equals() [1/2]

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

Returns true if MatchCriterion instances are equal

Parameters
inputInstance of MatchCriterion to be compared
Returns
Boolean

◆ Equals() [2/2]

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

Returns true if objects are equal

Parameters
inputObject to be compared
Returns
Boolean

◆ GetHashCode()

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

Gets the hash code

Returns
Hash code

◆ ToJson()

virtual string Lusid.Sdk.Model.MatchCriterion.ToJson ( )
inlinevirtual

Returns the JSON string presentation of the object

Returns
JSON string presentation of the object

Reimplemented in Lusid.Sdk.Model.SubHoldingKeyValueEquals, Lusid.Sdk.Model.PropertyValueIn, and Lusid.Sdk.Model.PropertyValueEquals.

◆ ToString()

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

Returns the string presentation of the object

Returns
String presentation of the object

Property Documentation

◆ CriterionType

CriterionTypeEnum Lusid.Sdk.Model.MatchCriterion.CriterionType
getset

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