/**
  * Service Call: RequestPermissions
  * @param RequestPermissionsRequest $requestPermissionsRequest
  * @param mixed $apiCredential - Optional API credential - can either be
  * 		a username configured in sdk_config.ini or a ICredential object
  *      created dynamically 		
  * @return Types\Perm\RequestPermissionsResponse
  * @throws APIException
  */
 public function RequestPermissions($requestPermissionsRequest, $apiCredential = NULL)
 {
     $ret = new RequestPermissionsResponse();
     $resp = $this->call('Permissions', 'RequestPermissions', $requestPermissionsRequest, $apiCredential);
     $ret->init(PPUtils::nvpToMap($resp));
     return $ret;
 }
 /**
  * Service Call: RequestPermissions
  * @param RequestPermissionsRequest $requestPermissionsRequest
  * @param mixed $apiCredential - Optional API credential - can either be
  * 		a username configured in sdk_config.ini or a ICredential object
  *      created dynamically
  * @return Types\Perm\RequestPermissionsResponse
  * @throws APIException
  */
 public function RequestPermissions($requestPermissionsRequest, $apiCredential = NULL)
 {
     $apiContext = new PPApiContext($this->config);
     $handlers = array(new PPPlatformServiceHandler($apiCredential, self::$SDK_NAME, self::$SDK_VERSION));
     $ret = new RequestPermissionsResponse();
     $resp = $this->call('Permissions', 'RequestPermissions', $requestPermissionsRequest, $apiContext, $handlers);
     $ret->init(PPUtils::nvpToMap($resp));
     return $ret;
 }