<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 ActivityAttemptPropertyBase StructType
 * @subpackage Structs
 */
abstract class ActivityAttemptPropertyBase extends Entity
{
    /**
     * The StartDate
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 1
     * @var NullableDateTime
     */
    public $StartDate;
    /**
     * The EndDate
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 1
     * @var NullableDateTime
     */
    public $EndDate;
    /**
     * The IsWaived
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 1
     * @var int
     */
    public $IsWaived;
    /**
     * The IsComplete
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 1
     * @var string
     */
    public $IsComplete;
    /**
     * The Success
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 1
     * @var string
     */
    public $Success;
    /**
     * The Score
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 1
     * @var NullableDecimal
     */
    public $Score;
    /**
     * The Grade
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 1
     * @var NullableInt32
     */
    public $Grade;
    /**
     * The ElapsedSeconds
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 1
     * @var NullableDouble
     */
    public $ElapsedSeconds;
    /**
     * The MergedSkills
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 1
     * @var NullableInt32
     */
    public $MergedSkills;
    /**
     * The HasAttended
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 1
     * @var NullableInt32
     */
    public $HasAttended;
    /**
     * The Source
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 1
     * @var NullableInt32
     */
    public $Source;
    /**
     * 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 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 RegistrationId
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var string
     */
    public $RegistrationId;
    /**
     * The Registration
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var ActivityRegistration
     */
    public $Registration;
    /**
     * The Note
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var string
     */
    public $Note;
    /**
     * Constructor method for ActivityAttemptPropertyBase
     * @uses ActivityAttemptPropertyBase::setStartDate()
     * @uses ActivityAttemptPropertyBase::setEndDate()
     * @uses ActivityAttemptPropertyBase::setIsWaived()
     * @uses ActivityAttemptPropertyBase::setIsComplete()
     * @uses ActivityAttemptPropertyBase::setSuccess()
     * @uses ActivityAttemptPropertyBase::setScore()
     * @uses ActivityAttemptPropertyBase::setGrade()
     * @uses ActivityAttemptPropertyBase::setElapsedSeconds()
     * @uses ActivityAttemptPropertyBase::setMergedSkills()
     * @uses ActivityAttemptPropertyBase::setHasAttended()
     * @uses ActivityAttemptPropertyBase::setSource()
     * @uses ActivityAttemptPropertyBase::setId()
     * @uses ActivityAttemptPropertyBase::setUserId()
     * @uses ActivityAttemptPropertyBase::setUser()
     * @uses ActivityAttemptPropertyBase::setActivityId()
     * @uses ActivityAttemptPropertyBase::setActivity()
     * @uses ActivityAttemptPropertyBase::setRegistrationId()
     * @uses ActivityAttemptPropertyBase::setRegistration()
     * @uses ActivityAttemptPropertyBase::setNote()
     * @param NullableDateTime $startDate
     * @param NullableDateTime $endDate
     * @param int $isWaived
     * @param string $isComplete
     * @param string $success
     * @param NullableDecimal $score
     * @param NullableInt32 $grade
     * @param NullableDouble $elapsedSeconds
     * @param NullableInt32 $mergedSkills
     * @param NullableInt32 $hasAttended
     * @param NullableInt32 $source
     * @param string $id
     * @param string $userId
     * @param User $user
     * @param string $activityId
     * @param Activity $activity
     * @param string $registrationId
     * @param ActivityRegistration $registration
     * @param string $note
     */
    public function __construct(NullableDateTime $startDate = null, NullableDateTime $endDate = null, $isWaived = null, $isComplete = null, $success = null, NullableDecimal $score = null, NullableInt32 $grade = null, NullableDouble $elapsedSeconds = null, NullableInt32 $mergedSkills = null, NullableInt32 $hasAttended = null, NullableInt32 $source = null, $id = null, $userId = null, User $user = null, $activityId = null, Activity $activity = null, $registrationId = null, ActivityRegistration $registration = null, $note = null)
    {
        $this
            -&gt;setStartDate($startDate)
            -&gt;setEndDate($endDate)
            -&gt;setIsWaived($isWaived)
            -&gt;setIsComplete($isComplete)
            -&gt;setSuccess($success)
            -&gt;setScore($score)
            -&gt;setGrade($grade)
            -&gt;setElapsedSeconds($elapsedSeconds)
            -&gt;setMergedSkills($mergedSkills)
            -&gt;setHasAttended($hasAttended)
            -&gt;setSource($source)
            -&gt;setId($id)
            -&gt;setUserId($userId)
            -&gt;setUser($user)
            -&gt;setActivityId($activityId)
            -&gt;setActivity($activity)
            -&gt;setRegistrationId($registrationId)
            -&gt;setRegistration($registration)
            -&gt;setNote($note);
    }
    /**
     * Get StartDate value
     * @return NullableDateTime
     */
    public function getStartDate()
    {
        return $this-&gt;StartDate;
    }
    /**
     * Set StartDate value
     * @param NullableDateTime $startDate
     * @return ActivityAttemptPropertyBase
     */
    public function setStartDate(NullableDateTime $startDate = null)
    {
        $this-&gt;StartDate = $startDate;
        return $this;
    }
    /**
     * Get EndDate value
     * @return NullableDateTime
     */
    public function getEndDate()
    {
        return $this-&gt;EndDate;
    }
    /**
     * Set EndDate value
     * @param NullableDateTime $endDate
     * @return ActivityAttemptPropertyBase
     */
    public function setEndDate(NullableDateTime $endDate = null)
    {
        $this-&gt;EndDate = $endDate;
        return $this;
    }
    /**
     * Get IsWaived value
     * @return int
     */
    public function getIsWaived()
    {
        return $this-&gt;IsWaived;
    }
    /**
     * Set IsWaived value
     * @param int $isWaived
     * @return ActivityAttemptPropertyBase
     */
    public function setIsWaived($isWaived = null)
    {
        // validation for constraint: int
        if (!is_null($isWaived) &amp;&amp; !is_numeric($isWaived)) {
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a numeric value, "%s" given', gettype($isWaived)), __LINE__);
        }
        $this-&gt;IsWaived = $isWaived;
        return $this;
    }
    /**
     * Get IsComplete value
     * @return string
     */
    public function getIsComplete()
    {
        return $this-&gt;IsComplete;
    }
    /**
     * Set IsComplete value
     * @uses CompletionStatus::valueIsValid()
     * @uses CompletionStatus::getValidValues()
     * @throws \InvalidArgumentException
     * @param string $isComplete
     * @return ActivityAttemptPropertyBase
     */
    public function setIsComplete($isComplete = null)
    {
        // validation for constraint: enumeration
        if (!CompletionStatus::valueIsValid($isComplete)) {
            throw new \InvalidArgumentException(sprintf('Value "%s" is invalid, please use one of: %s', $isComplete, implode(', ', CompletionStatus::getValidValues())), __LINE__);
        }
        $this-&gt;IsComplete = $isComplete;
        return $this;
    }
    /**
     * Get Success value
     * @return string
     */
    public function getSuccess()
    {
        return $this-&gt;Success;
    }
    /**
     * Set Success value
     * @uses SuccessStatus::valueIsValid()
     * @uses SuccessStatus::getValidValues()
     * @throws \InvalidArgumentException
     * @param string $success
     * @return ActivityAttemptPropertyBase
     */
    public function setSuccess($success = null)
    {
        // validation for constraint: enumeration
        if (!SuccessStatus::valueIsValid($success)) {
            throw new \InvalidArgumentException(sprintf('Value "%s" is invalid, please use one of: %s', $success, implode(', ', SuccessStatus::getValidValues())), __LINE__);
        }
        $this-&gt;Success = $success;
        return $this;
    }
    /**
     * Get Score value
     * @return NullableDecimal
     */
    public function getScore()
    {
        return $this-&gt;Score;
    }
    /**
     * Set Score value
     * @param NullableDecimal $score
     * @return ActivityAttemptPropertyBase
     */
    public function setScore(NullableDecimal $score = null)
    {
        $this-&gt;Score = $score;
        return $this;
    }
    /**
     * Get Grade value
     * @return NullableInt32
     */
    public function getGrade()
    {
        return $this-&gt;Grade;
    }
    /**
     * Set Grade value
     * @param NullableInt32 $grade
     * @return ActivityAttemptPropertyBase
     */
    public function setGrade(NullableInt32 $grade = null)
    {
        $this-&gt;Grade = $grade;
        return $this;
    }
    /**
     * Get ElapsedSeconds value
     * @return NullableDouble
     */
    public function getElapsedSeconds()
    {
        return $this-&gt;ElapsedSeconds;
    }
    /**
     * Set ElapsedSeconds value
     * @param NullableDouble $elapsedSeconds
     * @return ActivityAttemptPropertyBase
     */
    public function setElapsedSeconds(NullableDouble $elapsedSeconds = null)
    {
        $this-&gt;ElapsedSeconds = $elapsedSeconds;
        return $this;
    }
    /**
     * Get MergedSkills value
     * @return NullableInt32
     */
    public function getMergedSkills()
    {
        return $this-&gt;MergedSkills;
    }
    /**
     * Set MergedSkills value
     * @param NullableInt32 $mergedSkills
     * @return ActivityAttemptPropertyBase
     */
    public function setMergedSkills(NullableInt32 $mergedSkills = null)
    {
        $this-&gt;MergedSkills = $mergedSkills;
        return $this;
    }
    /**
     * Get HasAttended value
     * @return NullableInt32
     */
    public function getHasAttended()
    {
        return $this-&gt;HasAttended;
    }
    /**
     * Set HasAttended value
     * @param NullableInt32 $hasAttended
     * @return ActivityAttemptPropertyBase
     */
    public function setHasAttended(NullableInt32 $hasAttended = null)
    {
        $this-&gt;HasAttended = $hasAttended;
        return $this;
    }
    /**
     * Get Source value
     * @return NullableInt32
     */
    public function getSource()
    {
        return $this-&gt;Source;
    }
    /**
     * Set Source value
     * @param NullableInt32 $source
     * @return ActivityAttemptPropertyBase
     */
    public function setSource(NullableInt32 $source = null)
    {
        $this-&gt;Source = $source;
        return $this;
    }
    /**
     * Get Id value
     * @return string|null
     */
    public function getId()
    {
        return $this-&gt;Id;
    }
    /**
     * Set Id value
     * @param string $id
     * @return ActivityAttemptPropertyBase
     */
    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 UserId value
     * @return string|null
     */
    public function getUserId()
    {
        return $this-&gt;UserId;
    }
    /**
     * Set UserId value
     * @param string $userId
     * @return ActivityAttemptPropertyBase
     */
    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 ActivityAttemptPropertyBase
     */
    public function setUser(User $user = null)
    {
        $this-&gt;User = $user;
        return $this;
    }
    /**
     * Get ActivityId value
     * @return string|null
     */
    public function getActivityId()
    {
        return $this-&gt;ActivityId;
    }
    /**
     * Set ActivityId value
     * @param string $activityId
     * @return ActivityAttemptPropertyBase
     */
    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 ActivityAttemptPropertyBase
     */
    public function setActivity(Activity $activity = null)
    {
        $this-&gt;Activity = $activity;
        return $this;
    }
    /**
     * Get RegistrationId value
     * @return string|null
     */
    public function getRegistrationId()
    {
        return $this-&gt;RegistrationId;
    }
    /**
     * Set RegistrationId value
     * @param string $registrationId
     * @return ActivityAttemptPropertyBase
     */
    public function setRegistrationId($registrationId = null)
    {
        // validation for constraint: string
        if (!is_null($registrationId) &amp;&amp; !is_string($registrationId)) {
            throw new \InvalidArgumentException(sprintf('Invalid value, please provide a string, "%s" given', gettype($registrationId)), __LINE__);
        }
        $this-&gt;RegistrationId = $registrationId;
        return $this;
    }
    /**
     * Get Registration value
     * @return ActivityRegistration|null
     */
    public function getRegistration()
    {
        return $this-&gt;Registration;
    }
    /**
     * Set Registration value
     * @param ActivityRegistration $registration
     * @return ActivityAttemptPropertyBase
     */
    public function setRegistration(ActivityRegistration $registration = null)
    {
        $this-&gt;Registration = $registration;
        return $this;
    }
    /**
     * Get Note value
     * @return string|null
     */
    public function getNote()
    {
        return $this-&gt;Note;
    }
    /**
     * Set Note value
     * @param string $note
     * @return ActivityAttemptPropertyBase
     */
    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 ActivityAttemptPropertyBase
     */
    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>