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

An account More...

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

Public Types

enum class  StatusEnum { Active = 1 , Inactive = 2 , Deleted = 3 }
 The Account status. Can be Active, Inactive or Deleted. The available values are: Active, Inactive, Deleted More...
 

Public Member Functions

 Account (string code=default(string), string description=default(string), string type=default(string), StatusEnum status=default(StatusEnum), string control=default(string), Dictionary< string, Property > properties=default(Dictionary< string, Property >))
 Initializes a new instance of the Account 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 (Account input)
 Returns true if Account instances are equal More...
 
override int GetHashCode ()
 Gets the hash code More...
 

Protected Member Functions

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

Properties

StatusEnum Status [get, set]
 The Account status. Can be Active, Inactive or Deleted. The available values are: Active, Inactive, Deleted More...
 
string Code [get, set]
 The code given for the Account. More...
 
string Description [get, set]
 A description for the Account. More...
 
string Type [get, set]
 The Account type. Can have the values: Asset/Liabilities/Income/Expense/Capital/Revenue. More...
 
string Control [get, set]
 This allows users to specify whether this a protected Account that prevents direct manual journal adjustment. Can have the values: System/ManualIt will default to “Manual”. More...
 
Dictionary< string, PropertyProperties [get, set]
 A set of properties for the Account. More...
 

Detailed Description

An account

Member Enumeration Documentation

◆ StatusEnum

The Account status. Can be Active, Inactive or Deleted. The available values are: Active, Inactive, Deleted

The Account status. Can be Active, Inactive or Deleted. The available values are: Active, Inactive, Deleted

Enumerator
Active 

Enum Active for value: Active

Inactive 

Enum Inactive for value: Inactive

Deleted 

Enum Deleted for value: Deleted

Constructor & Destructor Documentation

◆ Account() [1/2]

Lusid.Sdk.Model.Account.Account ( )
inlineprotected

Initializes a new instance of the Account class.

◆ Account() [2/2]

Lusid.Sdk.Model.Account.Account ( string  code = default(string),
string  description = default(string),
string  type = default(string),
StatusEnum  status = default(StatusEnum),
string  control = default(string),
Dictionary< string, Property properties = default(Dictionary<string, Property>) 
)
inline

Initializes a new instance of the Account class.

Parameters
codeThe code given for the Account. (required).
descriptionA description for the Account..
typeThe Account type. Can have the values: Asset/Liabilities/Income/Expense/Capital/Revenue. (required).
statusThe Account status. Can be Active, Inactive or Deleted. The available values are: Active, Inactive, Deleted (required).
controlThis allows users to specify whether this a protected Account that prevents direct manual journal adjustment. Can have the values: System/ManualIt will default to “Manual”..
propertiesA set of properties for the Account..

Member Function Documentation

◆ Equals() [1/2]

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

Returns true if Account instances are equal

Parameters
inputInstance of Account to be compared
Returns
Boolean

◆ Equals() [2/2]

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

Returns true if objects are equal

Parameters
inputObject to be compared
Returns
Boolean

◆ GetHashCode()

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

Gets the hash code

Returns
Hash code

◆ ToJson()

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

Returns the JSON string presentation of the object

Returns
JSON string presentation of the object

◆ ToString()

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

Returns the string presentation of the object

Returns
String presentation of the object

Property Documentation

◆ Code

string Lusid.Sdk.Model.Account.Code
getset

The code given for the Account.

The code given for the Account.

◆ Control

string Lusid.Sdk.Model.Account.Control
getset

This allows users to specify whether this a protected Account that prevents direct manual journal adjustment. Can have the values: System/ManualIt will default to “Manual”.

This allows users to specify whether this a protected Account that prevents direct manual journal adjustment. Can have the values: System/ManualIt will default to “Manual”.

◆ Description

string Lusid.Sdk.Model.Account.Description
getset

A description for the Account.

A description for the Account.

◆ Properties

Dictionary<string, Property> Lusid.Sdk.Model.Account.Properties
getset

A set of properties for the Account.

A set of properties for the Account.

◆ Status

StatusEnum Lusid.Sdk.Model.Account.Status
getset

The Account status. Can be Active, Inactive or Deleted. The available values are: Active, Inactive, Deleted

The Account status. Can be Active, Inactive or Deleted. The available values are: Active, Inactive, Deleted

◆ Type

string Lusid.Sdk.Model.Account.Type
getset

The Account type. Can have the values: Asset/Liabilities/Income/Expense/Capital/Revenue.

The Account type. Can have the values: Asset/Liabilities/Income/Expense/Capital/Revenue.


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