<?php
use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for AddApplicationUserCapfProfileReq StructType
 * @subpackage Structs
 */
class AddApplicationUserCapfProfileReq extends APIRequest
{
    /**
     * The applicationUserCapfProfile
     * @var XApplicationUserCapfProfile
     */
    public $applicationUserCapfProfile;
    /**
     * Constructor method for AddApplicationUserCapfProfileReq
     * @uses AddApplicationUserCapfProfileReq::setApplicationUserCapfProfile()
     * @param XApplicationUserCapfProfile $applicationUserCapfProfile
     */
    public function __construct(XApplicationUserCapfProfile $applicationUserCapfProfile = null)
    {
        $this
            ->setApplicationUserCapfProfile($applicationUserCapfProfile);
    }
    /**
     * Get applicationUserCapfProfile value
     * @return XApplicationUserCapfProfile|null
     */
    public function getApplicationUserCapfProfile()
    {
        return $this->applicationUserCapfProfile;
    }
    /**
     * Set applicationUserCapfProfile value
     * @param XApplicationUserCapfProfile $applicationUserCapfProfile
     * @return AddApplicationUserCapfProfileReq
     */
    public function setApplicationUserCapfProfile(XApplicationUserCapfProfile $applicationUserCapfProfile = null)
    {
        $this->applicationUserCapfProfile = $applicationUserCapfProfile;
        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 AddApplicationUserCapfProfileReq
     */
    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__;
    }
}
