models_v2.credentials module

class models_v2.credentials.Credentials(username=None, password=None)[source]

Bases: object

Implementation of the ‘Credentials’ model.

Specifies the object to hold username and password.

Attributes:

username (string): Specifies the username to access target entity. password (string): Specifies the password to access target entity.

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.