def __init__(self, cfg, login, pswd, request_type):
Request.__init__(self, cfg, login, pswd)<EOL>self._response_cfg = self._cfg[ImportRequest.__CFG_KEY_RESPONSE]<EOL>self._content_root = self._response_cfg[<EOL>ImportRequest.__CFG_KEY_CONTENT_ROOT] if ImportRequest.__CFG_KEY_CONTENT_ROOT in self._response_cfg else None<EOL>self._logger.debug('<STR_LIT>'.format(self._response_cfg))<EOL>if request_type == ImportRequest.TYPE_GET_LIST:<EOL><INDENT>self.__perform_list_request()<EOL><DEDENT>elif request_type == ImportRequest.TYPE_GET_SINGLE_OBJECT:<EOL><INDENT>self.__perform_single_object_request()<EOL><DEDENT>else:<EOL><INDENT>raise NotImplementedError('<STR_LIT>'.format(request_type))<EOL><DEDENT>
Constructor
:param cfg: request configuration
:param login:
:param pswd:
:param request_type: TYPE_GET_SINGLE_OBJECT or TYPE_GET_LIST = 'list'