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

ComplianceRule More...

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

Public Member Functions

 ComplianceRule (string scope=default(string), string code=default(string), string displayName=default(string), string type=default(string), string propertyKey=default(string), string value=default(string), string addressKey=default(string), decimal lowerBound=default(decimal), decimal upperBound=default(decimal), string schedule=default(string), bool hardRequirement=default(bool), List< ResourceId > targetPortfolioIds=default(List< ResourceId >), string description=default(string), ModelVersion varVersion=default(ModelVersion))
 Initializes a new instance of the ComplianceRule 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 (ComplianceRule input)
 Returns true if ComplianceRule instances are equal More...
 
override int GetHashCode ()
 Gets the hash code More...
 

Protected Member Functions

 ComplianceRule ()
 Initializes a new instance of the ComplianceRule class. More...
 

Properties

string Scope [get, set]
 Gets or Sets Scope More...
 
string Code [get, set]
 Gets or Sets Code More...
 
string DisplayName [get, set]
 Gets or Sets DisplayName More...
 
string Type [get, set]
 Available values: RangeNumberSecurities, RangePercentSecurityType, RangePercentCash, RangePercentPropertyKey. More...
 
string PropertyKey [get, set]
 Gets or Sets PropertyKey More...
 
string Value [get, set]
 Gets or Sets Value More...
 
string AddressKey [get, set]
 Gets or Sets AddressKey More...
 
decimal LowerBound [get, set]
 Gets or Sets LowerBound More...
 
decimal UpperBound [get, set]
 Gets or Sets UpperBound More...
 
string Schedule [get, set]
 Available values: PreTrade, PostTrade, PreAndPostTrade. More...
 
bool HardRequirement [get, set]
 Gets or Sets HardRequirement More...
 
List< ResourceIdTargetPortfolioIds [get, set]
 Gets or Sets TargetPortfolioIds More...
 
string Description [get, set]
 Gets or Sets Description More...
 
ModelVersion VarVersion [get, set]
 Gets or Sets VarVersion More...
 

Detailed Description

ComplianceRule

Constructor & Destructor Documentation

◆ ComplianceRule() [1/2]

Lusid.Sdk.Model.ComplianceRule.ComplianceRule ( )
inlineprotected

Initializes a new instance of the ComplianceRule class.

◆ ComplianceRule() [2/2]

Lusid.Sdk.Model.ComplianceRule.ComplianceRule ( string  scope = default(string),
string  code = default(string),
string  displayName = default(string),
string  type = default(string),
string  propertyKey = default(string),
string  value = default(string),
string  addressKey = default(string),
decimal  lowerBound = default(decimal),
decimal  upperBound = default(decimal),
string  schedule = default(string),
bool  hardRequirement = default(bool),
List< ResourceId targetPortfolioIds = default(List<ResourceId>),
string  description = default(string),
ModelVersion  varVersion = default(ModelVersion) 
)
inline

Initializes a new instance of the ComplianceRule class.

Parameters
scopescope (required).
codecode (required).
displayNamedisplayName (required).
typeAvailable values: RangeNumberSecurities, RangePercentSecurityType, RangePercentCash, RangePercentPropertyKey. (required).
propertyKeypropertyKey.
valuevalue.
addressKeyaddressKey.
lowerBoundlowerBound (required).
upperBoundupperBound (required).
scheduleAvailable values: PreTrade, PostTrade, PreAndPostTrade. (required).
hardRequirementhardRequirement (required).
targetPortfolioIdstargetPortfolioIds (required).
descriptiondescription.
varVersionvarVersion.

Member Function Documentation

◆ Equals() [1/2]

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

Returns true if ComplianceRule instances are equal

Parameters
inputInstance of ComplianceRule to be compared
Returns
Boolean

◆ Equals() [2/2]

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

Returns true if objects are equal

Parameters
inputObject to be compared
Returns
Boolean

◆ GetHashCode()

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

Gets the hash code

Returns
Hash code

◆ ToJson()

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

Returns the JSON string presentation of the object

Returns
JSON string presentation of the object

◆ ToString()

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

Returns the string presentation of the object

Returns
String presentation of the object

Property Documentation

◆ AddressKey

string Lusid.Sdk.Model.ComplianceRule.AddressKey
getset

Gets or Sets AddressKey

◆ Code

string Lusid.Sdk.Model.ComplianceRule.Code
getset

Gets or Sets Code

◆ Description

string Lusid.Sdk.Model.ComplianceRule.Description
getset

Gets or Sets Description

◆ DisplayName

string Lusid.Sdk.Model.ComplianceRule.DisplayName
getset

Gets or Sets DisplayName

◆ HardRequirement

bool Lusid.Sdk.Model.ComplianceRule.HardRequirement
getset

Gets or Sets HardRequirement

◆ LowerBound

decimal Lusid.Sdk.Model.ComplianceRule.LowerBound
getset

Gets or Sets LowerBound

◆ PropertyKey

string Lusid.Sdk.Model.ComplianceRule.PropertyKey
getset

Gets or Sets PropertyKey

◆ Schedule

string Lusid.Sdk.Model.ComplianceRule.Schedule
getset

Available values: PreTrade, PostTrade, PreAndPostTrade.

Available values: PreTrade, PostTrade, PreAndPostTrade.

◆ Scope

string Lusid.Sdk.Model.ComplianceRule.Scope
getset

Gets or Sets Scope

◆ TargetPortfolioIds

List<ResourceId> Lusid.Sdk.Model.ComplianceRule.TargetPortfolioIds
getset

Gets or Sets TargetPortfolioIds

◆ Type

string Lusid.Sdk.Model.ComplianceRule.Type
getset

Available values: RangeNumberSecurities, RangePercentSecurityType, RangePercentCash, RangePercentPropertyKey.

Available values: RangeNumberSecurities, RangePercentSecurityType, RangePercentCash, RangePercentPropertyKey.

◆ UpperBound

decimal Lusid.Sdk.Model.ComplianceRule.UpperBound
getset

Gets or Sets UpperBound

◆ Value

string Lusid.Sdk.Model.ComplianceRule.Value
getset

Gets or Sets Value

◆ VarVersion

ModelVersion Lusid.Sdk.Model.ComplianceRule.VarVersion
getset

Gets or Sets VarVersion


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