<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 UserCodePropertyBase StructType
 * @subpackage Structs
 */
abstract class UserCodePropertyBase extends Entity
{
    /**
     * The Id
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var string
     */
    public $Id;
    /**
     * The Name
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var string
     */
    public $Name;
    /**
     * Constructor method for UserCodePropertyBase
     * @uses UserCodePropertyBase::setId()
     * @uses UserCodePropertyBase::setName()
     * @param string $id
     * @param string $name
     */
    public function __construct($id = null, $name = null)
    {
        $this
            -&gt;setId($id)
            -&gt;setName($name);
    }
    /**
     * Get Id value
     * @return string|null
     */
    public function getId()
    {
        return $this-&gt;Id;
    }
    /**
     * Set Id value
     * @param string $id
     * @return UserCodePropertyBase
     */
    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 Name value
     * @return string|null
     */
    public function getName()
    {
        return $this-&gt;Name;
    }
    /**
     * Set Name value
     * @param string $name
     * @return UserCodePropertyBase
     */
    public function setName($name = null)
    {
        // validation for constraint: string
        if (!is_null($name) &amp;&amp; !is_string($name)) {
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($name)), __LINE__);
        }
        $this-&gt;Name = $name;
        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 UserCodePropertyBase
     */
    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>