src/Model/Alert.php
public function withActionLocalized(Localized $localized): Alert
    {
        $cloned = clone $this;

        $cloned->actionLocalized = $localized;

        return $cloned;
    }
public function withActionLocalized(Localized $localized): Alert
    {
        $cloned = clone $this;

        $cloned->actionLocalized = $localized;

        return $cloned;
    }
With localized action

@param Localized $localized

@return Alert