public function destroy($useMasterKey = false)
    {
        if (!$this->objectId)
        {
            return;
        }
        $sessionToken = null;
        if (AVUser::getCurrentUser())
        {
            $sessionToken = AVUser::getCurrentUser()->getSessionToken();
        }
        AVClient::_request('DELETE', '/classes/' . $this->className . '/' . $this->objectId, $sessionToken, null,
            $useMasterKey);
    }