Msg.User

g GObject.Object GObject.Object Msg.User Msg.User GObject.Object->Msg.User

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new ()

class

new_from_json (json_object)

get_company_name ()

get_department ()

get_display_name ()

get_given_name ()

get_mail ()

get_mail_name ()

get_mobile_phone ()

get_office_location ()

get_surname ()

Virtual Methods

Inherited:

GObject.Object (7)

Properties

None

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Class Details

class Msg.User(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

Msg.UserClass

Handling of user specific functions.

classmethod new()
Returns:

the newly created MsgUser

Return type:

Msg.User

Creates a new MsgUser.

classmethod new_from_json(json_object)
Parameters:

json_object (Json.Object) – The json object to parse

Raises:

GLib.Error

Returns:

the newly created MsgUser

Return type:

Msg.User

Creates a new MsgUser from json response object.

get_company_name()
Returns:

company name of user or None if not existing

Return type:

str

get_department()
Returns:

department of user or None if not existing

Return type:

str

get_display_name()
Returns:

display name of user or None if not existing

Return type:

str

get_given_name()
Returns:

given name of user or None if not existing

Return type:

str

get_mail()
Returns:

mail of user or None if not existing

Return type:

str

get_mail_name()
Return type:

str

get_mobile_phone()
Returns:

mobile phone of user or None if not existing

Return type:

str

get_office_location()
Returns:

office location of user or None if not existing

Return type:

str

get_surname()
Returns:

surname of user or None if not existing

Return type:

str