xxxxxxxxxx
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
->setPopulationLevel($populationLevel)
->setForUsrId($forUsrId);
}
/**
* Get populationLevel value
* @return int
*/
public function getPopulationLevel()
{
return $this->populationLevel;
}
/**
* Set populationLevel value
* @param int $populationLevel
* @return GetRequiredCompetencies
*/
public function setPopulationLevel($populationLevel = null)
{
// validation for constraint: int
if (!is_null($populationLevel) && !is_numeric($populationLevel)) {
throw new \InvalidArgumentException(sprintf('Invalid value, please provide a numeric value, "%s" given', gettype($populationLevel)), __LINE__);
}
$this->populationLevel = $populationLevel;
return $this;
}
/**
* Get forUsrId value
* @return string|null
*/
public function getForUsrId()
{
return $this->forUsrId;
}
/**
* Set forUsrId value
* @param string $forUsrId
* @return GetRequiredCompetencies
*/
public function setForUsrId($forUsrId = null)
{
// validation for constraint: string
if (!is_null($forUsrId) && !is_string($forUsrId)) {
throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($forUsrId)), __LINE__);
}
$this->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__;
}
}
Don't be shy, don't hesitate to contact us for any subject, we'll be glad to help.
This platform is provided to give developpers and non developpers a way to easily consume SOAP Web Services or share their own SOAP Web Services with extra features powered by the platform.
© 2025 Providr.IO