Resource Description for SiteTravelTime

Properties for SiteTravelTime

Property Name Type Required Is Collection?
Property Name Type Required Is Collection?
site1 Site
site2 Site
travelTime int

SDK Example for PHP

<?PHP

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

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

$siteTravelTime = SiteTravelTime::retrieve(5433);

$site1 = $siteTravelTime->getSite1();
$site2 = $siteTravelTime->getSite2();
$travelTime = $siteTravelTime->getTravelTime();

 

Related Resources

See also: Site, Site