<?php

/**
 * Generated by phpSPO model generator 2020-05-26T22:10:14+00:00 
 */
namespace Office365\Graph;

use Office365\Runtime\ClientObject;
use Office365\Runtime\ResourcePath;
class MobileAppAssignment extends ClientObject
{
    /**
     * @return DeviceAndAppManagementAssignmentTarget
     */
    public function getTarget()
    {
        if (!$this->isPropertyAvailable("Target")) {
            return null;
        }
        return $this->getProperty("Target");
    }
    /**
     * @var DeviceAndAppManagementAssignmentTarget
     */
    public function setTarget($value)
    {
        $this->setProperty("Target", $value, true);
    }
    /**
     * @return MobileAppAssignmentSettings
     */
    public function getSettings()
    {
        if (!$this->isPropertyAvailable("Settings")) {
            return null;
        }
        return $this->getProperty("Settings");
    }
    /**
     * @var MobileAppAssignmentSettings
     */
    public function setSettings($value)
    {
        $this->setProperty("Settings", $value, true);
    }
}