LUSID C# SDK
|
Base class for representing result key rules in LUSID, which describe how to resolve (unit) result data. This base class should not be directly instantiated; each supported ResultKeyRuleType has a corresponding inherited class. More...
Public Types | |
enum class | ResultKeyRuleTypeEnum { Invalid = 1 , ResultDataKeyRule = 2 , PortfolioResultDataKeyRule = 3 } |
The available values are: Invalid, ResultDataKeyRule, PortfolioResultDataKeyRule More... | |
Public Member Functions | |
ResultKeyRule (ResultKeyRuleTypeEnum resultKeyRuleType=default(ResultKeyRuleTypeEnum)) | |
Initializes a new instance of the ResultKeyRule 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 (ResultKeyRule input) |
Returns true if ResultKeyRule instances are equal More... | |
override int | GetHashCode () |
Gets the hash code More... | |
Protected Member Functions | |
ResultKeyRule () | |
Initializes a new instance of the ResultKeyRule class. More... | |
IEnumerable< System.ComponentModel.DataAnnotations.ValidationResult > | BaseValidate (ValidationContext validationContext) |
To validate all properties of the instance More... | |
Properties | |
ResultKeyRuleTypeEnum | ResultKeyRuleType [get, set] |
The available values are: Invalid, ResultDataKeyRule, PortfolioResultDataKeyRule More... | |
Base class for representing result key rules in LUSID, which describe how to resolve (unit) result data. This base class should not be directly instantiated; each supported ResultKeyRuleType has a corresponding inherited class.
The available values are: Invalid, ResultDataKeyRule, PortfolioResultDataKeyRule
The available values are: Invalid, ResultDataKeyRule, PortfolioResultDataKeyRule
Enumerator | |
---|---|
Invalid | Enum Invalid for value: Invalid |
ResultDataKeyRule | Enum ResultDataKeyRule for value: ResultDataKeyRule |
PortfolioResultDataKeyRule | Enum PortfolioResultDataKeyRule for value: PortfolioResultDataKeyRule |
|
inlineprotected |
Initializes a new instance of the ResultKeyRule class.
|
inline |
Initializes a new instance of the ResultKeyRule class.
resultKeyRuleType | The available values are: Invalid, ResultDataKeyRule, PortfolioResultDataKeyRule (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 ResultKeyRule instances are equal
input | Instance of ResultKeyRule to be compared |
|
inline |
Gets the hash code
|
inlinevirtual |
Returns the JSON string presentation of the object
Reimplemented in Lusid.Sdk.Model.ResultDataKeyRule, and Lusid.Sdk.Model.PortfolioResultDataKeyRule.
|
inline |
Returns the string presentation of the object
|
getset |
The available values are: Invalid, ResultDataKeyRule, PortfolioResultDataKeyRule
The available values are: Invalid, ResultDataKeyRule, PortfolioResultDataKeyRule