Resource Description for EmailAddress

Properties for EmailAddress

Property Name Type Required Is Collection?
Property Name Type Required Is Collection?
dataOrder int
disposable bool
emailAddress string
emailAddressOwner mixed
emailAddressType string
free bool
role bool

SDK Example for PHP

<?PHP

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

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

$emailAddress = EmailAddress::retrieve(5433);

$emailAddressOwner = $emailAddress->getEmailAddressOwner();
$emailAddressType = $emailAddress->getEmailAddressType();
$emailAddress = $emailAddress->getEmailAddress();
$dataOrder = $emailAddress->getDataOrder();