Resource Description for SessionRoomAssetRequirement

Properties for SessionRoomAssetRequirement

Property Name Type Required Is Collection?
Property Name Type Required Is Collection?
quantity int
roomAsset RoomAsset
session Session

SDK Example for PHP

<?PHP

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

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

$sessionRoomAssetRequirement = SessionRoomAssetRequirement::retrieve(5433);

$session = $sessionRoomAssetRequirement->getSession();
$roomAsset = $sessionRoomAssetRequirement->getRoomAsset();
$quantity = $sessionRoomAssetRequirement->getQuantity();

 

Related Resources

See also: Session, RoomAsset