Representation of a Relationship between a requested entity with the stated entity as RelatedEntityId
More...
|
ModelVersion | _Version [get, set] |
| Gets or Sets _Version More...
|
|
ResourceId | RelationshipDefinitionId [get, set] |
| Gets or Sets RelationshipDefinitionId More...
|
|
RelatedEntity | RelatedEntity [get, set] |
| Gets or Sets RelatedEntity More...
|
|
string | TraversalDirection [get, set] |
| Direction of relationship between the requested entity and related entity. This can be 'In' or 'Out'. Read more about relationships traversal direction in LUSID Knowledge Base here https://support.lusid.com/knowledgebase/article/KA-01679. More...
|
|
string | TraversalDescription [get, set] |
| Description of the relationship based on relationship's traversal direction. If 'TraversalDirection' is 'Out', this description would be 'OutwardDescription' from the associated relationship definition. If 'TraversalDirection' is 'In', this description would be 'InwardDescription' from the associated relationship definition. More...
|
|
DateTimeOffset | EffectiveFrom [get, set] |
| The effective datetime from which the relationship is valid. More...
|
|
DateTimeOffset | EffectiveUntil [get, set] |
| The effective datetime until which the relationship is valid. If no future deletions are present or an effective until has not been set for the relationship, this will be indefinite and represented by the maximum date. More...
|
|
Representation of a Relationship between a requested entity with the stated entity as RelatedEntityId
◆ Relationship() [1/2]
Lusid.Sdk.Model.Relationship.Relationship |
( |
| ) |
|
|
inlineprotected |
◆ Relationship() [2/2]
Lusid.Sdk.Model.Relationship.Relationship |
( |
ModelVersion |
version = default(ModelVersion) , |
|
|
ResourceId |
relationshipDefinitionId = default(ResourceId) , |
|
|
RelatedEntity |
relatedEntity = default(RelatedEntity) , |
|
|
string |
traversalDirection = default(string) , |
|
|
string |
traversalDescription = default(string) , |
|
|
DateTimeOffset |
effectiveFrom = default(DateTimeOffset) , |
|
|
DateTimeOffset |
effectiveUntil = default(DateTimeOffset) |
|
) |
| |
|
inline |
Initializes a new instance of the Relationship class.
- Parameters
-
version | version. |
relationshipDefinitionId | relationshipDefinitionId (required). |
relatedEntity | relatedEntity (required). |
traversalDirection | Direction of relationship between the requested entity and related entity. This can be 'In' or 'Out'. Read more about relationships traversal direction in LUSID Knowledge Base here https://support.lusid.com/knowledgebase/article/KA-01679. (required). |
traversalDescription | Description of the relationship based on relationship's traversal direction. If 'TraversalDirection' is 'Out', this description would be 'OutwardDescription' from the associated relationship definition. If 'TraversalDirection' is 'In', this description would be 'InwardDescription' from the associated relationship definition. (required). |
effectiveFrom | The effective datetime from which the relationship is valid.. |
effectiveUntil | The effective datetime until which the relationship is valid. If no future deletions are present or an effective until has not been set for the relationship, this will be indefinite and represented by the maximum date.. |
◆ Equals() [1/2]
override bool Lusid.Sdk.Model.Relationship.Equals |
( |
object |
input | ) |
|
|
inline |
Returns true if objects are equal
- Parameters
-
input | Object to be compared |
- Returns
- Boolean
◆ Equals() [2/2]
bool Lusid.Sdk.Model.Relationship.Equals |
( |
Relationship |
input | ) |
|
|
inline |
Returns true if Relationship instances are equal
- Parameters
-
- Returns
- Boolean
◆ GetHashCode()
override int Lusid.Sdk.Model.Relationship.GetHashCode |
( |
| ) |
|
|
inline |
Gets the hash code
- Returns
- Hash code
◆ ToJson()
virtual string Lusid.Sdk.Model.Relationship.ToJson |
( |
| ) |
|
|
inlinevirtual |
Returns the JSON string presentation of the object
- Returns
- JSON string presentation of the object
◆ ToString()
override string Lusid.Sdk.Model.Relationship.ToString |
( |
| ) |
|
|
inline |
Returns the string presentation of the object
- Returns
- String presentation of the object
◆ _Version
◆ EffectiveFrom
DateTimeOffset Lusid.Sdk.Model.Relationship.EffectiveFrom |
|
getset |
The effective datetime from which the relationship is valid.
The effective datetime from which the relationship is valid.
◆ EffectiveUntil
DateTimeOffset Lusid.Sdk.Model.Relationship.EffectiveUntil |
|
getset |
The effective datetime until which the relationship is valid. If no future deletions are present or an effective until has not been set for the relationship, this will be indefinite and represented by the maximum date.
The effective datetime until which the relationship is valid. If no future deletions are present or an effective until has not been set for the relationship, this will be indefinite and represented by the maximum date.
◆ RelatedEntity
◆ RelationshipDefinitionId
ResourceId Lusid.Sdk.Model.Relationship.RelationshipDefinitionId |
|
getset |
Gets or Sets RelationshipDefinitionId
◆ TraversalDescription
string Lusid.Sdk.Model.Relationship.TraversalDescription |
|
getset |
Description of the relationship based on relationship's traversal direction. If 'TraversalDirection' is 'Out', this description would be 'OutwardDescription' from the associated relationship definition. If 'TraversalDirection' is 'In', this description would be 'InwardDescription' from the associated relationship definition.
Description of the relationship based on relationship's traversal direction. If 'TraversalDirection' is 'Out', this description would be 'OutwardDescription' from the associated relationship definition. If 'TraversalDirection' is 'In', this description would be 'InwardDescription' from the associated relationship definition.
◆ TraversalDirection
string Lusid.Sdk.Model.Relationship.TraversalDirection |
|
getset |
The documentation for this class was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/lusid-sdk-csharp/checkouts/latest/sdk/Lusid.Sdk/Model/Relationship.cs