src/Model/Aps.php
public function withAlert(Alert $alert): Aps
    {
        $cloned = clone $this;

        $cloned->alert = $alert;

        return $cloned;
    }
public function withAlert(Alert $alert): Aps
    {
        $cloned = clone $this;

        $cloned->alert = $alert;

        return $cloned;
    }
Set alert

@param Alert $alert

@return Aps