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

Identifiers of an entity More...

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

Public Member Functions

 ResourceId (string scope=default(string), string code=default(string))
 Initializes a new instance of the ResourceId 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 (ResourceId input)
 Returns true if ResourceId instances are equal More...
 
override int GetHashCode ()
 Gets the hash code More...
 

Protected Member Functions

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

Properties

string Scope [get, set]
 The scope used to identify an entity More...
 
string Code [get, set]
 The code used to identify an entity More...
 

Detailed Description

Identifiers of an entity

Constructor & Destructor Documentation

◆ ResourceId() [1/2]

Lusid.Sdk.Model.ResourceId.ResourceId ( )
inlineprotected

Initializes a new instance of the ResourceId class.

◆ ResourceId() [2/2]

Lusid.Sdk.Model.ResourceId.ResourceId ( string  scope = default(string),
string  code = default(string) 
)
inline

Initializes a new instance of the ResourceId class.

Parameters
scopeThe scope used to identify an entity (required).
codeThe code used to identify an entity (required).

Member Function Documentation

◆ Equals() [1/2]

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

Returns true if objects are equal

Parameters
inputObject to be compared
Returns
Boolean

◆ Equals() [2/2]

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

Returns true if ResourceId instances are equal

Parameters
inputInstance of ResourceId to be compared
Returns
Boolean

◆ GetHashCode()

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

Gets the hash code

Returns
Hash code

◆ ToJson()

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

Returns the JSON string presentation of the object

Returns
JSON string presentation of the object

◆ ToString()

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

Returns the string presentation of the object

Returns
String presentation of the object

Property Documentation

◆ Code

string Lusid.Sdk.Model.ResourceId.Code
getset

The code used to identify an entity

The code used to identify an entity

◆ Scope

string Lusid.Sdk.Model.ResourceId.Scope
getset

The scope used to identify an entity

The scope used to identify an entity


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