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_mail ()

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_mail()
Returns:

mail of user or None if not existing

Return type:

str