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

Representation of a Relation between a requested entity with the stated entity as RelationedEntityId More...

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

Public Member Functions

 Relation (ModelVersion version=default(ModelVersion), ResourceId relationDefinitionId=default(ResourceId), Dictionary< string, string > relatedEntityId=default(Dictionary< string, string >), string traversalDirection=default(string), string traversalDescription=default(string), DateTimeOffset effectiveFrom=default(DateTimeOffset))
 Initializes a new instance of the Relation 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 (Relation input)
 Returns true if Relation instances are equal More...
 
override int GetHashCode ()
 Gets the hash code More...
 

Protected Member Functions

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

Properties

ModelVersion _Version [get, set]
 Gets or Sets _Version More...
 
ResourceId RelationDefinitionId [get, set]
 Gets or Sets RelationDefinitionId More...
 
Dictionary< string, string > RelatedEntityId [get, set]
 Gets or Sets RelatedEntityId More...
 
string TraversalDirection [get, set]
 Gets or Sets TraversalDirection More...
 
string TraversalDescription [get, set]
 Gets or Sets TraversalDescription More...
 
DateTimeOffset EffectiveFrom [get, set]
 Gets or Sets EffectiveFrom More...
 

Detailed Description

Representation of a Relation between a requested entity with the stated entity as RelationedEntityId

Constructor & Destructor Documentation

◆ Relation() [1/2]

Lusid.Sdk.Model.Relation.Relation ( )
inlineprotected

Initializes a new instance of the Relation class.

◆ Relation() [2/2]

Lusid.Sdk.Model.Relation.Relation ( ModelVersion  version = default(ModelVersion),
ResourceId  relationDefinitionId = default(ResourceId),
Dictionary< string, string >  relatedEntityId = default(Dictionary<string, string>),
string  traversalDirection = default(string),
string  traversalDescription = default(string),
DateTimeOffset  effectiveFrom = default(DateTimeOffset) 
)
inline

Initializes a new instance of the Relation class.

Parameters
versionversion.
relationDefinitionIdrelationDefinitionId (required).
relatedEntityIdrelatedEntityId (required).
traversalDirectiontraversalDirection (required).
traversalDescriptiontraversalDescription (required).
effectiveFromeffectiveFrom.

Member Function Documentation

◆ Equals() [1/2]

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

Returns true if objects are equal

Parameters
inputObject to be compared
Returns
Boolean

◆ Equals() [2/2]

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

Returns true if Relation instances are equal

Parameters
inputInstance of Relation to be compared
Returns
Boolean

◆ GetHashCode()

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

Gets the hash code

Returns
Hash code

◆ ToJson()

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

Returns the JSON string presentation of the object

Returns
JSON string presentation of the object

◆ ToString()

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

Returns the string presentation of the object

Returns
String presentation of the object

Property Documentation

◆ _Version

ModelVersion Lusid.Sdk.Model.Relation._Version
getset

Gets or Sets _Version

◆ EffectiveFrom

DateTimeOffset Lusid.Sdk.Model.Relation.EffectiveFrom
getset

Gets or Sets EffectiveFrom

◆ RelatedEntityId

Dictionary<string, string> Lusid.Sdk.Model.Relation.RelatedEntityId
getset

Gets or Sets RelatedEntityId

◆ RelationDefinitionId

ResourceId Lusid.Sdk.Model.Relation.RelationDefinitionId
getset

Gets or Sets RelationDefinitionId

◆ TraversalDescription

string Lusid.Sdk.Model.Relation.TraversalDescription
getset

Gets or Sets TraversalDescription

◆ TraversalDirection

string Lusid.Sdk.Model.Relation.TraversalDirection
getset

Gets or Sets TraversalDirection


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