models_v2.user module

class models_v2.user.User(name=None, sid=None, domain=None)[source]

Bases: object

Implementation of the ‘User’ model.

Specifies a user object.

Attributes:

name (string): Specifies the name of the user. sid (string): Specifies the sid of the user. domain (string): Specifies the domain of the user.

classmethod from_dictionary(dictionary)[source]

Creates an instance of this model from a dictionary

Args:

dictionary (dictionary): A dictionary representation of the object as obtained from the deserialization of the server’s response. The keys MUST match property names in the API description.

Returns:

object: An instance of this structure class.