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