<?php

namespace \Losc\CucmBundle\Model\Webservice\StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for UpdatePageLayoutPreferencesReq StructType
 * @subpackage Structs
 */
class UpdatePageLayoutPreferencesReq extends APIRequest
{
    /**
     * The pageName
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 1
     * @var string
     */
    public $pageName;
    /**
     * The pageSections
     * Meta information extracted from the WSDL
     * - minOccurs: 1
     * @var \\Losc\CucmBundle\Model\Webservice\StructType\PageSections
     */
    public $pageSections;
    /**
     * Constructor method for UpdatePageLayoutPreferencesReq
     * @uses UpdatePageLayoutPreferencesReq::setPageName()
     * @uses UpdatePageLayoutPreferencesReq::setPageSections()
     * @param string $pageName
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\PageSections $pageSections
     */
    public function __construct($pageName = null, \\Losc\CucmBundle\Model\Webservice\StructType\PageSections $pageSections = null)
    {
        $this
            ->setPageName($pageName)
            ->setPageSections($pageSections);
    }
    /**
     * Get pageName value
     * @return string
     */
    public function getPageName()
    {
        return $this->pageName;
    }
    /**
     * Set pageName value
     * @param string $pageName
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\UpdatePageLayoutPreferencesReq
     */
    public function setPageName($pageName = null)
    {
        $this->pageName = $pageName;
        return $this;
    }
    /**
     * Get pageSections value
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\PageSections
     */
    public function getPageSections()
    {
        return $this->pageSections;
    }
    /**
     * Set pageSections value
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\PageSections $pageSections
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\UpdatePageLayoutPreferencesReq
     */
    public function setPageSections(\\Losc\CucmBundle\Model\Webservice\StructType\PageSections $pageSections = null)
    {
        $this->pageSections = $pageSections;
        return $this;
    }
}
