Resource Description for DataSetSubscription

Properties for DataSetSubscription

Property Name Type Required Is Collection?
Property Name Type Required Is Collection?
currentDataSetVersion int
dataSetIdentifier string
dataSetName string
entityType int
filters string
lastUpdatedDatetime DateTime
supplierIdentifier string

SDK Example for PHP

<?PHP

use Arbor\Api\Gateway\RestGateway;
use Arbor\Model\ModelBase;
use Arbor\Model\DataSetSubscription;

ModelBase::setDefaultGateway(
    new RestGateway(
        "https://my-school.arbor.sc/rest-v2",
        "my.username@my-school.arbor.sc",
        "3bh54435v3gh45"
    )
);

$dataSetSubscription = DataSetSubscription::retrieve(5433);

$dataSetName = $dataSetSubscription->getDataSetName();
$dataSetIdentifier = $dataSetSubscription->getDataSetIdentifier();
$supplierIdentifier = $dataSetSubscription->getSupplierIdentifier();
$entityType = $dataSetSubscription->getEntityType();
$lastUpdatedDatetime = $dataSetSubscription->getLastUpdatedDatetime();