src/ServiceManagement/Models/GetDeploymentOptions.php
public function setSlot($slot)
    {
        Validate::isString($slot, 'slot');
        Validate::notNullOrEmpty($slot, 'slot');
        Validate::isTrue(
            DeploymentSlot::isValid($slot),
            sprintf(Resources::INVALID_SLOT, $slot)
        );

        $this->_slot = $slot;
    }
public function setSlot($slot)
    {
        Validate::isString($slot, 'slot');
        Validate::notNullOrEmpty($slot, 'slot');
        Validate::isTrue(
            DeploymentSlot::isValid($slot),
            sprintf(Resources::INVALID_SLOT, $slot)
        );

        $this->_slot = $slot;
    }
public function setSlot ( $ slot ) { Validate :: isString ( $ slot , 'slot' ) ; Validate :: notNullOrEmpty ( $ slot , 'slot' ) ; Validate :: isTrue ( DeploymentSlot :: isValid ( $ slot ) , sprintf ( Resources :: INVALID_SLOT , $ slot ) ) ; $ this -> _slot = $ slot ; }
Sets the deployment slot.

@param string $slot The deployment slot name
Sets the deployment slot .