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

CreateRelationshipRequest More...

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

Public Member Functions

 CreateRelationshipRequest (Dictionary< string, string > sourceEntityId=default(Dictionary< string, string >), Dictionary< string, string > targetEntityId=default(Dictionary< string, string >), DateTimeOrCutLabel effectiveFrom=default(DateTimeOrCutLabel), DateTimeOrCutLabel effectiveUntil=default(DateTimeOrCutLabel))
 Initializes a new instance of the CreateRelationshipRequest 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 (CreateRelationshipRequest input)
 Returns true if CreateRelationshipRequest instances are equal More...
 
override int GetHashCode ()
 Gets the hash code More...
 

Protected Member Functions

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

Properties

Dictionary< string, string > SourceEntityId [get, set]
 The identifier of the source entity. More...
 
Dictionary< string, string > TargetEntityId [get, set]
 The identifier of the target entity. More...
 
DateTimeOrCutLabel EffectiveFrom [get, set]
 The effective date of the relationship to be created More...
 
DateTimeOrCutLabel EffectiveUntil [get, set]
 The effective datetime until which the relationship is valid. If not supplied this will be valid indefinitely. More...
 

Detailed Description

CreateRelationshipRequest

Constructor & Destructor Documentation

◆ CreateRelationshipRequest() [1/2]

Lusid.Sdk.Model.CreateRelationshipRequest.CreateRelationshipRequest ( )
inlineprotected

Initializes a new instance of the CreateRelationshipRequest class.

◆ CreateRelationshipRequest() [2/2]

Lusid.Sdk.Model.CreateRelationshipRequest.CreateRelationshipRequest ( Dictionary< string, string >  sourceEntityId = default(Dictionary<string, string>),
Dictionary< string, string >  targetEntityId = default(Dictionary<string, string>),
DateTimeOrCutLabel  effectiveFrom = default(DateTimeOrCutLabel),
DateTimeOrCutLabel  effectiveUntil = default(DateTimeOrCutLabel) 
)
inline

Initializes a new instance of the CreateRelationshipRequest class.

Parameters
sourceEntityIdThe identifier of the source entity. (required).
targetEntityIdThe identifier of the target entity. (required).
effectiveFromThe effective date of the relationship to be created.
effectiveUntilThe effective datetime until which the relationship is valid. If not supplied this will be valid indefinitely..

Member Function Documentation

◆ Equals() [1/2]

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

Returns true if CreateRelationshipRequest instances are equal

Parameters
inputInstance of CreateRelationshipRequest to be compared
Returns
Boolean

◆ Equals() [2/2]

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

Returns true if objects are equal

Parameters
inputObject to be compared
Returns
Boolean

◆ GetHashCode()

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

Gets the hash code

Returns
Hash code

◆ ToJson()

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

Returns the JSON string presentation of the object

Returns
JSON string presentation of the object

◆ ToString()

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

Returns the string presentation of the object

Returns
String presentation of the object

Property Documentation

◆ EffectiveFrom

DateTimeOrCutLabel Lusid.Sdk.Model.CreateRelationshipRequest.EffectiveFrom
getset

The effective date of the relationship to be created

The effective date of the relationship to be created

◆ EffectiveUntil

DateTimeOrCutLabel Lusid.Sdk.Model.CreateRelationshipRequest.EffectiveUntil
getset

The effective datetime until which the relationship is valid. If not supplied this will be valid indefinitely.

The effective datetime until which the relationship is valid. If not supplied this will be valid indefinitely.

◆ SourceEntityId

Dictionary<string, string> Lusid.Sdk.Model.CreateRelationshipRequest.SourceEntityId
getset

The identifier of the source entity.

The identifier of the source entity.

◆ TargetEntityId

Dictionary<string, string> Lusid.Sdk.Model.CreateRelationshipRequest.TargetEntityId
getset

The identifier of the target entity.

The identifier of the target entity.


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