xxxxxxxxxx
use \WsdlToPhp\PackageBase\AbstractStructBase;
/**
* This class stands for CreateUserAndUpdateJobOrg StructType
* @subpackage Structs
*/
class CreateUserAndUpdateJobOrg extends AbstractStructBase
{
/**
* The usr
* Meta informations extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 1
* - ref: s1:usr
* @var User
*/
public $usr;
/**
* The isNew
* Meta informations extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 1
* @var bool
*/
public $isNew;
/**
* The jobs
* Meta informations extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 0
* @var ArrayOfString
*/
public $jobs;
/**
* The orgs
* Meta informations extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 0
* @var ArrayOfString
*/
public $orgs;
/**
* Constructor method for CreateUserAndUpdateJobOrg
* @uses CreateUserAndUpdateJobOrg::setUsr()
* @uses CreateUserAndUpdateJobOrg::setIsNew()
* @uses CreateUserAndUpdateJobOrg::setJobs()
* @uses CreateUserAndUpdateJobOrg::setOrgs()
* @param User $usr
* @param bool $isNew
* @param ArrayOfString $jobs
* @param ArrayOfString $orgs
*/
public function __construct(User $usr = null, $isNew = null, ArrayOfString $jobs = null, ArrayOfString $orgs = null)
{
$this
->setUsr($usr)
->setIsNew($isNew)
->setJobs($jobs)
->setOrgs($orgs);
}
/**
* Get usr value
* @return User
*/
public function getUsr()
{
return $this->usr;
}
/**
* Set usr value
* @param User $usr
* @return CreateUserAndUpdateJobOrg
*/
public function setUsr(User $usr = null)
{
$this->usr = $usr;
return $this;
}
/**
* Get isNew value
* @return bool
*/
public function getIsNew()
{
return $this->isNew;
}
/**
* Set isNew value
* @param bool $isNew
* @return CreateUserAndUpdateJobOrg
*/
public function setIsNew($isNew = null)
{
$this->isNew = $isNew;
return $this;
}
/**
* Get jobs value
* @return ArrayOfString|null
*/
public function getJobs()
{
return $this->jobs;
}
/**
* Set jobs value
* @param ArrayOfString $jobs
* @return CreateUserAndUpdateJobOrg
*/
public function setJobs(ArrayOfString $jobs = null)
{
$this->jobs = $jobs;
return $this;
}
/**
* Get orgs value
* @return ArrayOfString|null
*/
public function getOrgs()
{
return $this->orgs;
}
/**
* Set orgs value
* @param ArrayOfString $orgs
* @return CreateUserAndUpdateJobOrg
*/
public function setOrgs(ArrayOfString $orgs = null)
{
$this->orgs = $orgs;
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 CreateUserAndUpdateJobOrg
*/
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