<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">&lt;?php
use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for DomainUserPropertyBase StructType
 * @subpackage Structs
 */
abstract class DomainUserPropertyBase extends Entity
{
    /**
     * The IsPrimary
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 1
     * @var bool
     */
    public $IsPrimary;
    /**
     * The Id
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var string
     */
    public $Id;
    /**
     * 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;
    /**
     * 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 SecurityRoleId
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var string
     */
    public $SecurityRoleId;
    /**
     * The SecurityRole
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var SecurityRole
     */
    public $SecurityRole;
    /**
     * Constructor method for DomainUserPropertyBase
     * @uses DomainUserPropertyBase::setIsPrimary()
     * @uses DomainUserPropertyBase::setId()
     * @uses DomainUserPropertyBase::setDomainId()
     * @uses DomainUserPropertyBase::setDomain()
     * @uses DomainUserPropertyBase::setUserId()
     * @uses DomainUserPropertyBase::setUser()
     * @uses DomainUserPropertyBase::setSecurityRoleId()
     * @uses DomainUserPropertyBase::setSecurityRole()
     * @param bool $isPrimary
     * @param string $id
     * @param string $domainId
     * @param Domain $domain
     * @param string $userId
     * @param User $user
     * @param string $securityRoleId
     * @param SecurityRole $securityRole
     */
    public function __construct($isPrimary = null, $id = null, $domainId = null, Domain $domain = null, $userId = null, User $user = null, $securityRoleId = null, SecurityRole $securityRole = null)
    {
        $this
            -&gt;setIsPrimary($isPrimary)
            -&gt;setId($id)
            -&gt;setDomainId($domainId)
            -&gt;setDomain($domain)
            -&gt;setUserId($userId)
            -&gt;setUser($user)
            -&gt;setSecurityRoleId($securityRoleId)
            -&gt;setSecurityRole($securityRole);
    }
    /**
     * Get IsPrimary value
     * @return bool
     */
    public function getIsPrimary()
    {
        return $this-&gt;IsPrimary;
    }
    /**
     * Set IsPrimary value
     * @param bool $isPrimary
     * @return DomainUserPropertyBase
     */
    public function setIsPrimary($isPrimary = null)
    {
        $this-&gt;IsPrimary = $isPrimary;
        return $this;
    }
    /**
     * Get Id value
     * @return string|null
     */
    public function getId()
    {
        return $this-&gt;Id;
    }
    /**
     * Set Id value
     * @param string $id
     * @return DomainUserPropertyBase
     */
    public function setId($id = null)
    {
        // validation for constraint: string
        if (!is_null($id) &amp;&amp; !is_string($id)) {
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($id)), __LINE__);
        }
        $this-&gt;Id = $id;
        return $this;
    }
    /**
     * Get DomainId value
     * @return string|null
     */
    public function getDomainId()
    {
        return $this-&gt;DomainId;
    }
    /**
     * Set DomainId value
     * @param string $domainId
     * @return DomainUserPropertyBase
     */
    public function setDomainId($domainId = null)
    {
        // validation for constraint: string
        if (!is_null($domainId) &amp;&amp; !is_string($domainId)) {
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($domainId)), __LINE__);
        }
        $this-&gt;DomainId = $domainId;
        return $this;
    }
    /**
     * Get Domain value
     * @return Domain|null
     */
    public function getDomain()
    {
        return $this-&gt;Domain;
    }
    /**
     * Set Domain value
     * @param Domain $domain
     * @return DomainUserPropertyBase
     */
    public function setDomain(Domain $domain = null)
    {
        $this-&gt;Domain = $domain;
        return $this;
    }
    /**
     * Get UserId value
     * @return string|null
     */
    public function getUserId()
    {
        return $this-&gt;UserId;
    }
    /**
     * Set UserId value
     * @param string $userId
     * @return DomainUserPropertyBase
     */
    public function setUserId($userId = null)
    {
        // validation for constraint: string
        if (!is_null($userId) &amp;&amp; !is_string($userId)) {
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($userId)), __LINE__);
        }
        $this-&gt;UserId = $userId;
        return $this;
    }
    /**
     * Get User value
     * @return User|null
     */
    public function getUser()
    {
        return $this-&gt;User;
    }
    /**
     * Set User value
     * @param User $user
     * @return DomainUserPropertyBase
     */
    public function setUser(User $user = null)
    {
        $this-&gt;User = $user;
        return $this;
    }
    /**
     * Get SecurityRoleId value
     * @return string|null
     */
    public function getSecurityRoleId()
    {
        return $this-&gt;SecurityRoleId;
    }
    /**
     * Set SecurityRoleId value
     * @param string $securityRoleId
     * @return DomainUserPropertyBase
     */
    public function setSecurityRoleId($securityRoleId = null)
    {
        // validation for constraint: string
        if (!is_null($securityRoleId) &amp;&amp; !is_string($securityRoleId)) {
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($securityRoleId)), __LINE__);
        }
        $this-&gt;SecurityRoleId = $securityRoleId;
        return $this;
    }
    /**
     * Get SecurityRole value
     * @return SecurityRole|null
     */
    public function getSecurityRole()
    {
        return $this-&gt;SecurityRole;
    }
    /**
     * Set SecurityRole value
     * @param SecurityRole $securityRole
     * @return DomainUserPropertyBase
     */
    public function setSecurityRole(SecurityRole $securityRole = null)
    {
        $this-&gt;SecurityRole = $securityRole;
        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 DomainUserPropertyBase
     */
    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__;
    }
}
</pre></body></html>