models_v2.create_user_session_request_params module

class models_v2.create_user_session_request_params.CreateUserSessionRequestParams(username=None, password=None, domain=None)[source]

Bases: object

Implementation of the ‘CreateUserSessionRequestParams’ model.

Specifies user session request parameters

Attributes:

username (string): Specifies the login name of the Cohesity user password (string): Specifies the password of the Cohesity user domain (string): Specifies the domain the user is logging in to. For a

local user the domain is LOCAL. For LDAP/AD user, the domain will map to a LDAP connection string. A user is uniquely identified by a combination of username and domain. LOCAL is the default domain.

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.