xxxxxxxxxx
use \WsdlToPhp\PackageBase\AbstractStructBase;
/**
* This class stands for AspenContextIdentity StructType
* @subpackage Structs
*/
class AspenContextIdentity extends AbstractStructBase
{
/**
* The UsrPk
* Meta informations extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 1
* @var int
*/
public $UsrPk;
/**
* The EmpPk
* Meta informations extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 1
* @var int
*/
public $EmpPk;
/**
* The LangPk
* Meta informations extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 1
* @var int
*/
public $LangPk;
/**
* The DomainPk
* Meta informations extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 1
* @var int
*/
public $DomainPk;
/**
* The MustChangePassword
* Meta informations extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 1
* @var int
*/
public $MustChangePassword;
/**
* The Username
* Meta informations extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 0
* @var string
*/
public $Username;
/**
* The VcUserId
* Meta informations extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 0
* @var string
*/
public $VcUserId;
/**
* The Email
* Meta informations extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 0
* @var string
*/
public $Email;
/**
* Constructor method for AspenContextIdentity
* @uses AspenContextIdentity::setUsrPk()
* @uses AspenContextIdentity::setEmpPk()
* @uses AspenContextIdentity::setLangPk()
* @uses AspenContextIdentity::setDomainPk()
* @uses AspenContextIdentity::setMustChangePassword()
* @uses AspenContextIdentity::setUsername()
* @uses AspenContextIdentity::setVcUserId()
* @uses AspenContextIdentity::setEmail()
* @param int $usrPk
* @param int $empPk
* @param int $langPk
* @param int $domainPk
* @param int $mustChangePassword
* @param string $username
* @param string $vcUserId
* @param string $email
*/
public function __construct($usrPk = null, $empPk = null, $langPk = null, $domainPk = null, $mustChangePassword = null, $username = null, $vcUserId = null, $email = null)
{
$this
->setUsrPk($usrPk)
->setEmpPk($empPk)
->setLangPk($langPk)
->setDomainPk($domainPk)
->setMustChangePassword($mustChangePassword)
->setUsername($username)
->setVcUserId($vcUserId)
->setEmail($email);
}
/**
* Get UsrPk value
* @return int
*/
public function getUsrPk()
{
return $this->UsrPk;
}
/**
* Set UsrPk value
* @param int $usrPk
* @return AspenContextIdentity
*/
public function setUsrPk($usrPk = null)
{
// validation for constraint: int
if (!is_null($usrPk) && !is_numeric($usrPk)) {
throw new \InvalidArgumentException(sprintf('Invalid value, please provide a numeric value, "%s" given', gettype($usrPk)), __LINE__);
}
$this->UsrPk = $usrPk;
return $this;
}
/**
* Get EmpPk value
* @return int
*/
public function getEmpPk()
{
return $this->EmpPk;
}
/**
* Set EmpPk value
* @param int $empPk
* @return AspenContextIdentity
*/
public function setEmpPk($empPk = null)
{
// validation for constraint: int
if (!is_null($empPk) && !is_numeric($empPk)) {
throw new \InvalidArgumentException(sprintf('Invalid value, please provide a numeric value, "%s" given', gettype($empPk)), __LINE__);
}
$this->EmpPk = $empPk;
return $this;
}
/**
* Get LangPk value
* @return int
*/
public function getLangPk()
{
return $this->LangPk;
}
/**
* Set LangPk value
* @param int $langPk
* @return AspenContextIdentity
*/
public function setLangPk($langPk = null)
{
// validation for constraint: int
if (!is_null($langPk) && !is_numeric($langPk)) {
throw new \InvalidArgumentException(sprintf('Invalid value, please provide a numeric value, "%s" given', gettype($langPk)), __LINE__);
}
$this->LangPk = $langPk;
return $this;
}
/**
* Get DomainPk value
* @return int
*/
public function getDomainPk()
{
return $this->DomainPk;
}
/**
* Set DomainPk value
* @param int $domainPk
* @return AspenContextIdentity
*/
public function setDomainPk($domainPk = null)
{
// validation for constraint: int
if (!is_null($domainPk) && !is_numeric($domainPk)) {
throw new \InvalidArgumentException(sprintf('Invalid value, please provide a numeric value, "%s" given', gettype($domainPk)), __LINE__);
}
$this->DomainPk = $domainPk;
return $this;
}
/**
* Get MustChangePassword value
* @return int
*/
public function getMustChangePassword()
{
return $this->MustChangePassword;
}
/**
* Set MustChangePassword value
* @param int $mustChangePassword
* @return AspenContextIdentity
*/
public function setMustChangePassword($mustChangePassword = null)
{
// validation for constraint: int
if (!is_null($mustChangePassword) && !is_numeric($mustChangePassword)) {
throw new \InvalidArgumentException(sprintf('Invalid value, please provide a numeric value, "%s" given', gettype($mustChangePassword)), __LINE__);
}
$this->MustChangePassword = $mustChangePassword;
return $this;
}
/**
* Get Username value
* @return string|null
*/
public function getUsername()
{
return $this->Username;
}
/**
* Set Username value
* @param string $username
* @return AspenContextIdentity
*/
public function setUsername($username = null)
{
// validation for constraint: string
if (!is_null($username) && !is_string($username)) {
throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($username)), __LINE__);
}
$this->Username = $username;
return $this;
}
/**
* Get VcUserId value
* @return string|null
*/
public function getVcUserId()
{
return $this->VcUserId;
}
/**
* Set VcUserId value
* @param string $vcUserId
* @return AspenContextIdentity
*/
public function setVcUserId($vcUserId = null)
{
// validation for constraint: string
if (!is_null($vcUserId) && !is_string($vcUserId)) {
throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($vcUserId)), __LINE__);
}
$this->VcUserId = $vcUserId;
return $this;
}
/**
* Get Email value
* @return string|null
*/
public function getEmail()
{
return $this->Email;
}
/**
* Set Email value
* @param string $email
* @return AspenContextIdentity
*/
public function setEmail($email = null)
{
// validation for constraint: string
if (!is_null($email) && !is_string($email)) {
throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($email)), __LINE__);
}
$this->Email = $email;
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 AspenContextIdentity
*/
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