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

RelationshipDefinition More...

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

Public Member Functions

 RelationshipDefinition (ModelVersion version=default(ModelVersion), ResourceId relationshipDefinitionId=default(ResourceId), string sourceEntityType=default(string), string targetEntityType=default(string), string displayName=default(string), string outwardDescription=default(string), string inwardDescription=default(string), string lifeTime=default(string), string relationshipCardinality=default(string), List< Link > links=default(List< Link >))
 Initializes a new instance of the RelationshipDefinition 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 (RelationshipDefinition input)
 Returns true if RelationshipDefinition instances are equal More...
 
override int GetHashCode ()
 Gets the hash code More...
 

Protected Member Functions

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

Properties

ModelVersion _Version [get, set]
 Gets or Sets _Version More...
 
ResourceId RelationshipDefinitionId [get, set]
 Gets or Sets RelationshipDefinitionId More...
 
string SourceEntityType [get, set]
 The entity type of the source entity object. More...
 
string TargetEntityType [get, set]
 The entity type of the target entity object. More...
 
string DisplayName [get, set]
 The display name of the relationship. More...
 
string OutwardDescription [get, set]
 The description to relate source entity object and target entity object More...
 
string InwardDescription [get, set]
 The description to relate target entity object and source entity object More...
 
string LifeTime [get, set]
 Describes how the relationships can change over time. More...
 
string RelationshipCardinality [get, set]
 Describes the cardinality of the relationship between source entity and target entity. More...
 
List< LinkLinks [get, set]
 Gets or Sets Links More...
 

Detailed Description

RelationshipDefinition

Constructor & Destructor Documentation

◆ RelationshipDefinition() [1/2]

Lusid.Sdk.Model.RelationshipDefinition.RelationshipDefinition ( )
inlineprotected

Initializes a new instance of the RelationshipDefinition class.

◆ RelationshipDefinition() [2/2]

Lusid.Sdk.Model.RelationshipDefinition.RelationshipDefinition ( ModelVersion  version = default(ModelVersion),
ResourceId  relationshipDefinitionId = default(ResourceId),
string  sourceEntityType = default(string),
string  targetEntityType = default(string),
string  displayName = default(string),
string  outwardDescription = default(string),
string  inwardDescription = default(string),
string  lifeTime = default(string),
string  relationshipCardinality = default(string),
List< Link links = default(List<Link>) 
)
inline

Initializes a new instance of the RelationshipDefinition class.

Parameters
versionversion.
relationshipDefinitionIdrelationshipDefinitionId (required).
sourceEntityTypeThe entity type of the source entity object. (required).
targetEntityTypeThe entity type of the target entity object. (required).
displayNameThe display name of the relationship. (required).
outwardDescriptionThe description to relate source entity object and target entity object (required).
inwardDescriptionThe description to relate target entity object and source entity object (required).
lifeTimeDescribes how the relationships can change over time. (required).
relationshipCardinalityDescribes the cardinality of the relationship between source entity and target entity. (required).
linkslinks.

Member Function Documentation

◆ Equals() [1/2]

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

Returns true if objects are equal

Parameters
inputObject to be compared
Returns
Boolean

◆ Equals() [2/2]

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

Returns true if RelationshipDefinition instances are equal

Parameters
inputInstance of RelationshipDefinition to be compared
Returns
Boolean

◆ GetHashCode()

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

Gets the hash code

Returns
Hash code

◆ ToJson()

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

Returns the JSON string presentation of the object

Returns
JSON string presentation of the object

◆ ToString()

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

Returns the string presentation of the object

Returns
String presentation of the object

Property Documentation

◆ _Version

ModelVersion Lusid.Sdk.Model.RelationshipDefinition._Version
getset

Gets or Sets _Version

◆ DisplayName

string Lusid.Sdk.Model.RelationshipDefinition.DisplayName
getset

The display name of the relationship.

The display name of the relationship.

◆ InwardDescription

string Lusid.Sdk.Model.RelationshipDefinition.InwardDescription
getset

The description to relate target entity object and source entity object

The description to relate target entity object and source entity object

◆ LifeTime

string Lusid.Sdk.Model.RelationshipDefinition.LifeTime
getset

Describes how the relationships can change over time.

Describes how the relationships can change over time.

◆ Links

List<Link> Lusid.Sdk.Model.RelationshipDefinition.Links
getset

Gets or Sets Links

◆ OutwardDescription

string Lusid.Sdk.Model.RelationshipDefinition.OutwardDescription
getset

The description to relate source entity object and target entity object

The description to relate source entity object and target entity object

◆ RelationshipCardinality

string Lusid.Sdk.Model.RelationshipDefinition.RelationshipCardinality
getset

Describes the cardinality of the relationship between source entity and target entity.

Describes the cardinality of the relationship between source entity and target entity.

◆ RelationshipDefinitionId

ResourceId Lusid.Sdk.Model.RelationshipDefinition.RelationshipDefinitionId
getset

Gets or Sets RelationshipDefinitionId

◆ SourceEntityType

string Lusid.Sdk.Model.RelationshipDefinition.SourceEntityType
getset

The entity type of the source entity object.

The entity type of the source entity object.

◆ TargetEntityType

string Lusid.Sdk.Model.RelationshipDefinition.TargetEntityType
getset

The entity type of the target entity object.

The entity type of the target entity object.


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