xxxxxxxxxx
use \WsdlToPhp\PackageBase\AbstractStructBase;
/**
* This class stands for JobRequiredCompetencyPropertyBase StructType
* @subpackage Structs
*/
abstract class JobRequiredCompetencyPropertyBase extends Entity
{
/**
* The Id
* Meta informations extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 0
* @var string
*/
public $Id;
/**
* The JobId
* Meta informations extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 0
* @var string
*/
public $JobId;
/**
* The Job
* Meta informations extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 0
* @var Job
*/
public $Job;
/**
* 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;
/**
* Constructor method for JobRequiredCompetencyPropertyBase
* @uses JobRequiredCompetencyPropertyBase::setId()
* @uses JobRequiredCompetencyPropertyBase::setJobId()
* @uses JobRequiredCompetencyPropertyBase::setJob()
* @uses JobRequiredCompetencyPropertyBase::setCompetencyId()
* @uses JobRequiredCompetencyPropertyBase::setCompetency()
* @uses JobRequiredCompetencyPropertyBase::setPriorityId()
* @uses JobRequiredCompetencyPropertyBase::setPriority()
* @param string $id
* @param string $jobId
* @param Job $job
* @param string $competencyId
* @param Competency $competency
* @param string $priorityId
* @param Priority $priority
*/
public function __construct($id = null, $jobId = null, Job $job = null, $competencyId = null, Competency $competency = null, $priorityId = null, Priority $priority = null)
{
$this
->setId($id)
->setJobId($jobId)
->setJob($job)
->setCompetencyId($competencyId)
->setCompetency($competency)
->setPriorityId($priorityId)
->setPriority($priority);
}
/**
* Get Id value
* @return string|null
*/
public function getId()
{
return $this->Id;
}
/**
* Set Id value
* @param string $id
* @return JobRequiredCompetencyPropertyBase
*/
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 JobId value
* @return string|null
*/
public function getJobId()
{
return $this->JobId;
}
/**
* Set JobId value
* @param string $jobId
* @return JobRequiredCompetencyPropertyBase
*/
public function setJobId($jobId = null)
{
// validation for constraint: string
if (!is_null($jobId) && !is_string($jobId)) {
throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($jobId)), __LINE__);
}
$this->JobId = $jobId;
return $this;
}
/**
* Get Job value
* @return Job|null
*/
public function getJob()
{
return $this->Job;
}
/**
* Set Job value
* @param Job $job
* @return JobRequiredCompetencyPropertyBase
*/
public function setJob(Job $job = null)
{
$this->Job = $job;
return $this;
}
/**
* Get CompetencyId value
* @return string|null
*/
public function getCompetencyId()
{
return $this->CompetencyId;
}
/**
* Set CompetencyId value
* @param string $competencyId
* @return JobRequiredCompetencyPropertyBase
*/
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 JobRequiredCompetencyPropertyBase
*/
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 JobRequiredCompetencyPropertyBase
*/
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 JobRequiredCompetencyPropertyBase
*/
public function setPriority(Priority $priority = null)
{
$this->Priority = $priority;
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 JobRequiredCompetencyPropertyBase
*/
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