10use Bitrix\Dav\Internals\EO_DavConnection;
29 parent::__construct($davConnection);
35 return $this->data->getId();
40 return $this->data->getName();
50 return $this->data->getSynchronized()
51 ?
new Date($this->data->getSynchronized())
60 return $this->data->getSyncToken() ??
null;
68 return $this->data->getLastResult() ??
null;
79 'ACCOUNT_TYPE' => $this->data->getAccountType(),
80 'SERVER_SCHEME' => $this->data->getServerScheme(),
81 'SERVER_HOST' => $this->data->getServerHost(),
82 'SERVER_PORT' => $this->data->getServerPort(),
83 'SERVER_USERNAME' => $this->data->getServerUsername(),
84 'SERVER_PASSWORD' => $this->data->getServerPassword(),
85 'SERVER_PATH' => $this->data->getServerPath(),
99 return Helper::getRole(
100 $this->data->getEntityId(),
101 $this->data->getEntityType()
115 return $this->data[
'IS_DELETED'] ??
false;
123 return $this->data->getSyncStatus();
133 return $this->data->getNextSyncTry()
134 ?
new Date($this->data->getSynchronized())
__construct(EO_DavConnection $davConnection)