xxxxxxxxxx
use \WsdlToPhp\PackageBase\AbstractStructBase;
/**
* This class stands for UserAcquiredCertificationPropertyBase StructType
* @subpackage Structs
*/
abstract class UserAcquiredCertificationPropertyBase 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 CertificationId
* Meta informations extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 0
* @var string
*/
public $CertificationId;
/**
* The Certification
* Meta informations extracted from the WSDL
* - maxOccurs: 1
* - minOccurs: 0
* @var Activity
*/
public $Certification;
/**
* Constructor method for UserAcquiredCertificationPropertyBase
* @uses UserAcquiredCertificationPropertyBase::setId()
* @uses UserAcquiredCertificationPropertyBase::setUserId()
* @uses UserAcquiredCertificationPropertyBase::setUser()
* @uses UserAcquiredCertificationPropertyBase::setCertificationId()
* @uses UserAcquiredCertificationPropertyBase::setCertification()
* @param string $id
* @param string $userId
* @param User $user
* @param string $certificationId
* @param Activity $certification
*/
public function __construct($id = null, $userId = null, User $user = null, $certificationId = null, Activity $certification = null)
{
$this
->setId($id)
->setUserId($userId)
->setUser($user)
->setCertificationId($certificationId)
->setCertification($certification);
}
/**
* Get Id value
* @return string|null
*/
public function getId()
{
return $this->Id;
}
/**
* Set Id value
* @param string $id
* @return UserAcquiredCertificationPropertyBase
*/
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 UserAcquiredCertificationPropertyBase
*/
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 UserAcquiredCertificationPropertyBase
*/
public function setUser(User $user = null)
{
$this->User = $user;
return $this;
}
/**
* Get CertificationId value
* @return string|null
*/
public function getCertificationId()
{
return $this->CertificationId;
}
/**
* Set CertificationId value
* @param string $certificationId
* @return UserAcquiredCertificationPropertyBase
*/
public function setCertificationId($certificationId = null)
{
// validation for constraint: string
if (!is_null($certificationId) && !is_string($certificationId)) {
throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($certificationId)), __LINE__);
}
$this->CertificationId = $certificationId;
return $this;
}
/**
* Get Certification value
* @return Activity|null
*/
public function getCertification()
{
return $this->Certification;
}
/**
* Set Certification value
* @param Activity $certification
* @return UserAcquiredCertificationPropertyBase
*/
public function setCertification(Activity $certification = null)
{
$this->Certification = $certification;
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 UserAcquiredCertificationPropertyBase
*/
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