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

FieldDefinition More...

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

Public Member Functions

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

Protected Member Functions

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

Properties

string Key [get, set]
 Gets or Sets Key More...
 
bool IsRequired [get, set]
 Gets or Sets IsRequired More...
 
bool IsUnique [get, set]
 Gets or Sets IsUnique More...
 

Detailed Description

FieldDefinition

Constructor & Destructor Documentation

◆ FieldDefinition() [1/2]

Lusid.Sdk.Model.FieldDefinition.FieldDefinition ( )
inlineprotected

Initializes a new instance of the FieldDefinition class.

◆ FieldDefinition() [2/2]

Lusid.Sdk.Model.FieldDefinition.FieldDefinition ( string  key = default(string),
bool  isRequired = default(bool),
bool  isUnique = default(bool) 
)
inline

Initializes a new instance of the FieldDefinition class.

Parameters
keykey (required).
isRequiredisRequired (required).
isUniqueisUnique (required).

Member Function Documentation

◆ Equals() [1/2]

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

Returns true if FieldDefinition instances are equal

Parameters
inputInstance of FieldDefinition to be compared
Returns
Boolean

◆ Equals() [2/2]

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

Returns true if objects are equal

Parameters
inputObject to be compared
Returns
Boolean

◆ GetHashCode()

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

Gets the hash code

Returns
Hash code

◆ ToJson()

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

Returns the JSON string presentation of the object

Returns
JSON string presentation of the object

◆ ToString()

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

Returns the string presentation of the object

Returns
String presentation of the object

Property Documentation

◆ IsRequired

bool Lusid.Sdk.Model.FieldDefinition.IsRequired
getset

Gets or Sets IsRequired

◆ IsUnique

bool Lusid.Sdk.Model.FieldDefinition.IsUnique
getset

Gets or Sets IsUnique

◆ Key

string Lusid.Sdk.Model.FieldDefinition.Key
getset

Gets or Sets Key


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