<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 ActivityEquipmentPropertyBase StructType
 * @subpackage Structs
 */
abstract class ActivityEquipmentPropertyBase extends Entity
{
    /**
     * The ApprovalStatus
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 1
     * @var string
     */
    public $ApprovalStatus;
    /**
     * The Id
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var string
     */
    public $Id;
    /**
     * The ActivityId
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var string
     */
    public $ActivityId;
    /**
     * The Activity
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var Activity
     */
    public $Activity;
    /**
     * The EquipmentId
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var string
     */
    public $EquipmentId;
    /**
     * The Equipment
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var Equipment
     */
    public $Equipment;
    /**
     * The ApproverId
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var string
     */
    public $ApproverId;
    /**
     * The Approver
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var User
     */
    public $Approver;
    /**
     * The Notes
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var string
     */
    public $Notes;
    /**
     * Constructor method for ActivityEquipmentPropertyBase
     * @uses ActivityEquipmentPropertyBase::setApprovalStatus()
     * @uses ActivityEquipmentPropertyBase::setId()
     * @uses ActivityEquipmentPropertyBase::setActivityId()
     * @uses ActivityEquipmentPropertyBase::setActivity()
     * @uses ActivityEquipmentPropertyBase::setEquipmentId()
     * @uses ActivityEquipmentPropertyBase::setEquipment()
     * @uses ActivityEquipmentPropertyBase::setApproverId()
     * @uses ActivityEquipmentPropertyBase::setApprover()
     * @uses ActivityEquipmentPropertyBase::setNotes()
     * @param string $approvalStatus
     * @param string $id
     * @param string $activityId
     * @param Activity $activity
     * @param string $equipmentId
     * @param Equipment $equipment
     * @param string $approverId
     * @param User $approver
     * @param string $notes
     */
    public function __construct($approvalStatus = null, $id = null, $activityId = null, Activity $activity = null, $equipmentId = null, Equipment $equipment = null, $approverId = null, User $approver = null, $notes = null)
    {
        $this
            -&gt;setApprovalStatus($approvalStatus)
            -&gt;setId($id)
            -&gt;setActivityId($activityId)
            -&gt;setActivity($activity)
            -&gt;setEquipmentId($equipmentId)
            -&gt;setEquipment($equipment)
            -&gt;setApproverId($approverId)
            -&gt;setApprover($approver)
            -&gt;setNotes($notes);
    }
    /**
     * Get ApprovalStatus value
     * @return string
     */
    public function getApprovalStatus()
    {
        return $this-&gt;ApprovalStatus;
    }
    /**
     * Set ApprovalStatus value
     * @uses ApprovalStatus::valueIsValid()
     * @uses ApprovalStatus::getValidValues()
     * @throws \InvalidArgumentException
     * @param string $approvalStatus
     * @return ActivityEquipmentPropertyBase
     */
    public function setApprovalStatus($approvalStatus = null)
    {
        // validation for constraint: enumeration
        if (!ApprovalStatus::valueIsValid($approvalStatus)) {
            throw new \InvalidArgumentException(sprintf('Value "%s" is invalid, please use one of: %s', $approvalStatus, implode(', ', ApprovalStatus::getValidValues())), __LINE__);
        }
        $this-&gt;ApprovalStatus = $approvalStatus;
        return $this;
    }
    /**
     * Get Id value
     * @return string|null
     */
    public function getId()
    {
        return $this-&gt;Id;
    }
    /**
     * Set Id value
     * @param string $id
     * @return ActivityEquipmentPropertyBase
     */
    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 ActivityId value
     * @return string|null
     */
    public function getActivityId()
    {
        return $this-&gt;ActivityId;
    }
    /**
     * Set ActivityId value
     * @param string $activityId
     * @return ActivityEquipmentPropertyBase
     */
    public function setActivityId($activityId = null)
    {
        // validation for constraint: string
        if (!is_null($activityId) &amp;&amp; !is_string($activityId)) {
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($activityId)), __LINE__);
        }
        $this-&gt;ActivityId = $activityId;
        return $this;
    }
    /**
     * Get Activity value
     * @return Activity|null
     */
    public function getActivity()
    {
        return $this-&gt;Activity;
    }
    /**
     * Set Activity value
     * @param Activity $activity
     * @return ActivityEquipmentPropertyBase
     */
    public function setActivity(Activity $activity = null)
    {
        $this-&gt;Activity = $activity;
        return $this;
    }
    /**
     * Get EquipmentId value
     * @return string|null
     */
    public function getEquipmentId()
    {
        return $this-&gt;EquipmentId;
    }
    /**
     * Set EquipmentId value
     * @param string $equipmentId
     * @return ActivityEquipmentPropertyBase
     */
    public function setEquipmentId($equipmentId = null)
    {
        // validation for constraint: string
        if (!is_null($equipmentId) &amp;&amp; !is_string($equipmentId)) {
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($equipmentId)), __LINE__);
        }
        $this-&gt;EquipmentId = $equipmentId;
        return $this;
    }
    /**
     * Get Equipment value
     * @return Equipment|null
     */
    public function getEquipment()
    {
        return $this-&gt;Equipment;
    }
    /**
     * Set Equipment value
     * @param Equipment $equipment
     * @return ActivityEquipmentPropertyBase
     */
    public function setEquipment(Equipment $equipment = null)
    {
        $this-&gt;Equipment = $equipment;
        return $this;
    }
    /**
     * Get ApproverId value
     * @return string|null
     */
    public function getApproverId()
    {
        return $this-&gt;ApproverId;
    }
    /**
     * Set ApproverId value
     * @param string $approverId
     * @return ActivityEquipmentPropertyBase
     */
    public function setApproverId($approverId = null)
    {
        // validation for constraint: string
        if (!is_null($approverId) &amp;&amp; !is_string($approverId)) {
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($approverId)), __LINE__);
        }
        $this-&gt;ApproverId = $approverId;
        return $this;
    }
    /**
     * Get Approver value
     * @return User|null
     */
    public function getApprover()
    {
        return $this-&gt;Approver;
    }
    /**
     * Set Approver value
     * @param User $approver
     * @return ActivityEquipmentPropertyBase
     */
    public function setApprover(User $approver = null)
    {
        $this-&gt;Approver = $approver;
        return $this;
    }
    /**
     * Get Notes value
     * @return string|null
     */
    public function getNotes()
    {
        return $this-&gt;Notes;
    }
    /**
     * Set Notes value
     * @param string $notes
     * @return ActivityEquipmentPropertyBase
     */
    public function setNotes($notes = null)
    {
        // validation for constraint: string
        if (!is_null($notes) &amp;&amp; !is_string($notes)) {
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($notes)), __LINE__);
        }
        $this-&gt;Notes = $notes;
        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 ActivityEquipmentPropertyBase
     */
    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>