<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 JobUserPropertyBase StructType
 * @subpackage Structs
 */
abstract class JobUserPropertyBase extends Entity
{
    /**
     * The IsPrimaryJob
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 1
     * @var bool
     */
    public $IsPrimaryJob;
    /**
     * The Id
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var string
     */
    public $Id;
    /**
     * The JobId
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var string
     */
    public $JobId;
    /**
     * The Job
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var Job
     */
    public $Job;
    /**
     * 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 Note
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var string
     */
    public $Note;
    /**
     * Constructor method for JobUserPropertyBase
     * @uses JobUserPropertyBase::setIsPrimaryJob()
     * @uses JobUserPropertyBase::setId()
     * @uses JobUserPropertyBase::setJobId()
     * @uses JobUserPropertyBase::setJob()
     * @uses JobUserPropertyBase::setUserId()
     * @uses JobUserPropertyBase::setUser()
     * @uses JobUserPropertyBase::setNote()
     * @param bool $isPrimaryJob
     * @param string $id
     * @param string $jobId
     * @param Job $job
     * @param string $userId
     * @param User $user
     * @param string $note
     */
    public function __construct($isPrimaryJob = null, $id = null, $jobId = null, Job $job = null, $userId = null, User $user = null, $note = null)
    {
        $this
            -&gt;setIsPrimaryJob($isPrimaryJob)
            -&gt;setId($id)
            -&gt;setJobId($jobId)
            -&gt;setJob($job)
            -&gt;setUserId($userId)
            -&gt;setUser($user)
            -&gt;setNote($note);
    }
    /**
     * Get IsPrimaryJob value
     * @return bool
     */
    public function getIsPrimaryJob()
    {
        return $this-&gt;IsPrimaryJob;
    }
    /**
     * Set IsPrimaryJob value
     * @param bool $isPrimaryJob
     * @return JobUserPropertyBase
     */
    public function setIsPrimaryJob($isPrimaryJob = null)
    {
        $this-&gt;IsPrimaryJob = $isPrimaryJob;
        return $this;
    }
    /**
     * Get Id value
     * @return string|null
     */
    public function getId()
    {
        return $this-&gt;Id;
    }
    /**
     * Set Id value
     * @param string $id
     * @return JobUserPropertyBase
     */
    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 JobId value
     * @return string|null
     */
    public function getJobId()
    {
        return $this-&gt;JobId;
    }
    /**
     * Set JobId value
     * @param string $jobId
     * @return JobUserPropertyBase
     */
    public function setJobId($jobId = null)
    {
        // validation for constraint: string
        if (!is_null($jobId) &amp;&amp; !is_string($jobId)) {
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($jobId)), __LINE__);
        }
        $this-&gt;JobId = $jobId;
        return $this;
    }
    /**
     * Get Job value
     * @return Job|null
     */
    public function getJob()
    {
        return $this-&gt;Job;
    }
    /**
     * Set Job value
     * @param Job $job
     * @return JobUserPropertyBase
     */
    public function setJob(Job $job = null)
    {
        $this-&gt;Job = $job;
        return $this;
    }
    /**
     * Get UserId value
     * @return string|null
     */
    public function getUserId()
    {
        return $this-&gt;UserId;
    }
    /**
     * Set UserId value
     * @param string $userId
     * @return JobUserPropertyBase
     */
    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 JobUserPropertyBase
     */
    public function setUser(User $user = null)
    {
        $this-&gt;User = $user;
        return $this;
    }
    /**
     * Get Note value
     * @return string|null
     */
    public function getNote()
    {
        return $this-&gt;Note;
    }
    /**
     * Set Note value
     * @param string $note
     * @return JobUserPropertyBase
     */
    public function setNote($note = null)
    {
        // validation for constraint: string
        if (!is_null($note) &amp;&amp; !is_string($note)) {
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($note)), __LINE__);
        }
        $this-&gt;Note = $note;
        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 JobUserPropertyBase
     */
    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>