xxxxxxxxxx
use \WsdlToPhp\PackageBase\AbstractStructBase;
/**
* This class stands for JobSharedDomainPropertyBase StructType
* @subpackage Structs
*/
abstract class JobSharedDomainPropertyBase 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 DomainId
* Meta informations extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 0
* @var string
*/
public $DomainId;
/**
* The Domain
* Meta informations extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 0
* @var Domain
*/
public $Domain;
/**
* Constructor method for JobSharedDomainPropertyBase
* @uses JobSharedDomainPropertyBase::setId()
* @uses JobSharedDomainPropertyBase::setJobId()
* @uses JobSharedDomainPropertyBase::setJob()
* @uses JobSharedDomainPropertyBase::setDomainId()
* @uses JobSharedDomainPropertyBase::setDomain()
* @param string $id
* @param string $jobId
* @param Job $job
* @param string $domainId
* @param Domain $domain
*/
public function __construct($id = null, $jobId = null, Job $job = null, $domainId = null, Domain $domain = null)
{
$this
->setId($id)
->setJobId($jobId)
->setJob($job)
->setDomainId($domainId)
->setDomain($domain);
}
/**
* Get Id value
* @return string|null
*/
public function getId()
{
return $this->Id;
}
/**
* Set Id value
* @param string $id
* @return JobSharedDomainPropertyBase
*/
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 JobSharedDomainPropertyBase
*/
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 JobSharedDomainPropertyBase
*/
public function setJob(Job $job = null)
{
$this->Job = $job;
return $this;
}
/**
* Get DomainId value
* @return string|null
*/
public function getDomainId()
{
return $this->DomainId;
}
/**
* Set DomainId value
* @param string $domainId
* @return JobSharedDomainPropertyBase
*/
public function setDomainId($domainId = null)
{
// validation for constraint: string
if (!is_null($domainId) && !is_string($domainId)) {
throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($domainId)), __LINE__);
}
$this->DomainId = $domainId;
return $this;
}
/**
* Get Domain value
* @return Domain|null
*/
public function getDomain()
{
return $this->Domain;
}
/**
* Set Domain value
* @param Domain $domain
* @return JobSharedDomainPropertyBase
*/
public function setDomain(Domain $domain = null)
{
$this->Domain = $domain;
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 JobSharedDomainPropertyBase
*/
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