Skip to content

Card Class

Luis edited this page Apr 29, 2019 · 6 revisions

Functions

string GetId()

Returns the id of the card.


table GetData( string suffix)

Returns data about the card.
This function is used by other functions.
The usage of this function is discouraged.


string GetName()

Returns the name of the card.


Board GetBoard()

Returns the card's board as a Board object.


List GetList()

Returns the card's list as a List object.


bool isSubscribed()

Returns whether the user is subscribed to the card.


bool isClosed()

Returns whether the card is closed (archived).


int GetPosition()

Returns the position of the card in the list.


string ClassName()

Returns "Card"


void SetProperty( string property, Variant value)

Sets properties of the card.
This function is used by other functions.
The usage of this function is discouraged.


void SetName( string name)

Sets the name of the card.


void SetDesc( string desc)

Sets the description of the card.


void Move( List list)

Moves the card to the specified list.


void Comment( string text)

Posts a comment to the card.


void Delete()

Deletes the card.
NOT REVERSIBLE!