Package comodit_client :: Package api :: Module organization :: Class User

Class User


A ComodIT user's representation.

Instance Methods
 
show(self, indent=0)
Prints user's representation to standard output in a user-friendly way.

Inherited from util.json_wrapper.JsonWrapper: __init__, dump_json, get_json, get_real_json, load_json, print_json, set_json

Inherited from object: __long__, __native__, __nonzero__, __unicode__, next

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties
string username
User's username.
string full_name
User's full name.
string email
User's e-mail.

Inherited from object: __class__

Method Details

show(self, indent=0)

 

Prints user's representation to standard output in a user-friendly way.

Parameters:
  • indent (int) - The number of spaces to put in front of each displayed line.

Property Details

username

User's username.

Get Method:
unreachable.username(self) - User's username.
Set Method:
unreachable.username(self, username) - Sets user's username.
Type:
string

full_name

User's full name.

Get Method:
unreachable.full_name(self) - User's full name.
Type:
string

email

User's e-mail.

Get Method:
unreachable.email(self) - User's e-mail.
Type:
string