xxxxxxxxxx
use \WsdlToPhp\PackageBase\AbstractStructBase;
/**
* This class stands for UserRequiredCompetencyPropertyBase StructType
* @subpackage Structs
*/
abstract class UserRequiredCompetencyPropertyBase extends Entity
{
/**
* The Id
* Meta informations extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 0
* @var string
*/
public $Id;
/**
* The UserId
* Meta informations extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 0
* @var string
*/
public $UserId;
/**
* The User
* Meta informations extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 0
* @var User
*/
public $User;
/**
* The CompetencyId
* Meta informations extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 0
* @var string
*/
public $CompetencyId;
/**
* The Competency
* Meta informations extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 0
* @var Competency
*/
public $Competency;
/**
* The PriorityId
* Meta informations extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 0
* @var string
*/
public $PriorityId;
/**
* The Priority
* Meta informations extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 0
* @var Priority
*/
public $Priority;
/**
* The Note
* Meta informations extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 0
* @var string
*/
public $Note;
/**
* Constructor method for UserRequiredCompetencyPropertyBase
* @uses UserRequiredCompetencyPropertyBase::setId()
* @uses UserRequiredCompetencyPropertyBase::setUserId()
* @uses UserRequiredCompetencyPropertyBase::setUser()
* @uses UserRequiredCompetencyPropertyBase::setCompetencyId()
* @uses UserRequiredCompetencyPropertyBase::setCompetency()
* @uses UserRequiredCompetencyPropertyBase::setPriorityId()
* @uses UserRequiredCompetencyPropertyBase::setPriority()
* @uses UserRequiredCompetencyPropertyBase::setNote()
* @param string $id
* @param string $userId
* @param User $user
* @param string $competencyId
* @param Competency $competency
* @param string $priorityId
* @param Priority $priority
* @param string $note
*/
public function __construct($id = null, $userId = null, User $user = null, $competencyId = null, Competency $competency = null, $priorityId = null, Priority $priority = null, $note = null)
{
$this
->setId($id)
->setUserId($userId)
->setUser($user)
->setCompetencyId($competencyId)
->setCompetency($competency)
->setPriorityId($priorityId)
->setPriority($priority)
->setNote($note);
}
/**
* Get Id value
* @return string|null
*/
public function getId()
{
return $this->Id;
}
/**
* Set Id value
* @param string $id
* @return UserRequiredCompetencyPropertyBase
*/
public function setId($id = null)
{
// validation for constraint: string
if (!is_null($id) && !is_string($id)) {
throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($id)), __LINE__);
}
$this->Id = $id;
return $this;
}
/**
* Get UserId value
* @return string|null
*/
public function getUserId()
{
return $this->UserId;
}
/**
* Set UserId value
* @param string $userId
* @return UserRequiredCompetencyPropertyBase
*/
public function setUserId($userId = null)
{
// validation for constraint: string
if (!is_null($userId) && !is_string($userId)) {
throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($userId)), __LINE__);
}
$this->UserId = $userId;
return $this;
}
/**
* Get User value
* @return User|null
*/
public function getUser()
{
return $this->User;
}
/**
* Set User value
* @param User $user
* @return UserRequiredCompetencyPropertyBase
*/
public function setUser(User $user = null)
{
$this->User = $user;
return $this;
}
/**
* Get CompetencyId value
* @return string|null
*/
public function getCompetencyId()
{
return $this->CompetencyId;
}
/**
* Set CompetencyId value
* @param string $competencyId
* @return UserRequiredCompetencyPropertyBase
*/
public function setCompetencyId($competencyId = null)
{
// validation for constraint: string
if (!is_null($competencyId) && !is_string($competencyId)) {
throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($competencyId)), __LINE__);
}
$this->CompetencyId = $competencyId;
return $this;
}
/**
* Get Competency value
* @return Competency|null
*/
public function getCompetency()
{
return $this->Competency;
}
/**
* Set Competency value
* @param Competency $competency
* @return UserRequiredCompetencyPropertyBase
*/
public function setCompetency(Competency $competency = null)
{
$this->Competency = $competency;
return $this;
}
/**
* Get PriorityId value
* @return string|null
*/
public function getPriorityId()
{
return $this->PriorityId;
}
/**
* Set PriorityId value
* @param string $priorityId
* @return UserRequiredCompetencyPropertyBase
*/
public function setPriorityId($priorityId = null)
{
// validation for constraint: string
if (!is_null($priorityId) && !is_string($priorityId)) {
throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($priorityId)), __LINE__);
}
$this->PriorityId = $priorityId;
return $this;
}
/**
* Get Priority value
* @return Priority|null
*/
public function getPriority()
{
return $this->Priority;
}
/**
* Set Priority value
* @param Priority $priority
* @return UserRequiredCompetencyPropertyBase
*/
public function setPriority(Priority $priority = null)
{
$this->Priority = $priority;
return $this;
}
/**
* Get Note value
* @return string|null
*/
public function getNote()
{
return $this->Note;
}
/**
* Set Note value
* @param string $note
* @return UserRequiredCompetencyPropertyBase
*/
public function setNote($note = null)
{
// validation for constraint: string
if (!is_null($note) && !is_string($note)) {
throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($note)), __LINE__);
}
$this->Note = $note;
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 UserRequiredCompetencyPropertyBase
*/
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