Resource Description for CalendarEntryMapping

Properties for CalendarEntryMapping

Property Name Type Required Is Collection?
Property Name Type Required Is Collection?
calendar Calendar
endDatetime DateTime
event mixed
mapped mixed
startDatetime DateTime
timeslotBlocked bool

SDK Example for PHP

<?PHP

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

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

$calendarEntryMapping = CalendarEntryMapping::retrieve(5433);

$event = $calendarEntryMapping->getEvent();
$startDatetime = $calendarEntryMapping->getStartDatetime();
$endDatetime = $calendarEntryMapping->getEndDatetime();
$mapped = $calendarEntryMapping->getMapped();
$calendar = $calendarEntryMapping->getCalendar();
$timeslotBlocked = $calendarEntryMapping->getTimeslotBlocked();

 

Related Resources

See also: Calendar