models_v2.credentials_1 module

class models_v2.credentials_1.Credentials1(password=None, username=None)[source]

Bases: object

Implementation of the ‘Credentials1’ model.

Specifies credentials to access the Universal Data Adapter source. For e.g.: To perform backup and recovery tasks with Oracle Recovery Manager (RMAN), specify credentials for a user having ‘SYSDBA’ or ‘SYSBACKUP’ administrative privilege.

Attributes:

password (string): Specifies the password to access target entity. username (string): Specifies the username 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.