<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">&lt;?php
use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for GetRequiredCompetencies StructType
 * @subpackage Structs
 */
class GetRequiredCompetencies extends AbstractStructBase
{
    /**
     * The populationLevel
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 1
     * @var int
     */
    public $populationLevel;
    /**
     * The forUsrId
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var string
     */
    public $forUsrId;
    /**
     * Constructor method for GetRequiredCompetencies
     * @uses GetRequiredCompetencies::setPopulationLevel()
     * @uses GetRequiredCompetencies::setForUsrId()
     * @param int $populationLevel
     * @param string $forUsrId
     */
    public function __construct($populationLevel = null, $forUsrId = null)
    {
        $this
            -&gt;setPopulationLevel($populationLevel)
            -&gt;setForUsrId($forUsrId);
    }
    /**
     * Get populationLevel value
     * @return int
     */
    public function getPopulationLevel()
    {
        return $this-&gt;populationLevel;
    }
    /**
     * Set populationLevel value
     * @param int $populationLevel
     * @return GetRequiredCompetencies
     */
    public function setPopulationLevel($populationLevel = null)
    {
        // validation for constraint: int
        if (!is_null($populationLevel) &amp;&amp; !is_numeric($populationLevel)) {
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a numeric value, "%s" given', gettype($populationLevel)), __LINE__);
        }
        $this-&gt;populationLevel = $populationLevel;
        return $this;
    }
    /**
     * Get forUsrId value
     * @return string|null
     */
    public function getForUsrId()
    {
        return $this-&gt;forUsrId;
    }
    /**
     * Set forUsrId value
     * @param string $forUsrId
     * @return GetRequiredCompetencies
     */
    public function setForUsrId($forUsrId = null)
    {
        // validation for constraint: string
        if (!is_null($forUsrId) &amp;&amp; !is_string($forUsrId)) {
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($forUsrId)), __LINE__);
        }
        $this-&gt;forUsrId = $forUsrId;
        return $this;
    }
    /**
     * Method called when an object has been exported with var_export() functions
     * It allows to return an object instantiated with the values
     * @see AbstractStructBase::__set_state()
     * @uses AbstractStructBase::__set_state()
     * @param array $array the exported values
     * @return GetRequiredCompetencies
     */
    public static function __set_state(array $array)
    {
        return parent::__set_state($array);
    }
    /**
     * Method returning the class name
     * @return string __CLASS__
     */
    public function __toString()
    {
        return __CLASS__;
    }
}
</pre></body></html>