Resource Description for BoardingPattern

Properties for BoardingPattern

Property Name Type Required Is Collection?
Property Name Type Required Is Collection?
accommodationRoom Room
effectiveDate DateTime
endDate DateTime
fridayBoardingStatus BoardingStatus
mondayBoardingStatus BoardingStatus
saturdayBoardingStatus BoardingStatus
student Student
sundayBoardingStatus BoardingStatus
thursdayBoardingStatus BoardingStatus
tuesdayBoardingStatus BoardingStatus
wednesdayBoardingStatus BoardingStatus

SDK Example for PHP

<?PHP

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

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

$boardingPattern = BoardingPattern::retrieve(5433);

$student = $boardingPattern->getStudent();
$effectiveDate = $boardingPattern->getEffectiveDate();
$endDate = $boardingPattern->getEndDate();
$mondayBoardingStatus = $boardingPattern->getMondayBoardingStatus();
$tuesdayBoardingStatus = $boardingPattern->getTuesdayBoardingStatus();
$wednesdayBoardingStatus = $boardingPattern->getWednesdayBoardingStatus();
$thursdayBoardingStatus = $boardingPattern->getThursdayBoardingStatus();
$fridayBoardingStatus = $boardingPattern->getFridayBoardingStatus();
$saturdayBoardingStatus = $boardingPattern->getSaturdayBoardingStatus();
$sundayBoardingStatus = $boardingPattern->getSundayBoardingStatus();
$accommodationRoom = $boardingPattern->getAccommodationRoom();

 

Related Resources