<?php

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

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for confidentialAccess StructType
 * @subpackage Structs
 */
class ConfidentialAccess extends AbstractStructBase
{
    /**
     * The confidentialAccessMode
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 1
     * - nillable: true
     * @var string
     */
    public $confidentialAccessMode;
    /**
     * The confidentialAccessLevel
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 1
     * - nillable: true
     * @var string
     */
    public $confidentialAccessLevel;
    /**
     * Constructor method for confidentialAccess
     * @uses ConfidentialAccess::setConfidentialAccessMode()
     * @uses ConfidentialAccess::setConfidentialAccessLevel()
     * @param string $confidentialAccessMode
     * @param string $confidentialAccessLevel
     */
    public function __construct($confidentialAccessMode = null, $confidentialAccessLevel = null)
    {
        $this
            ->setConfidentialAccessMode($confidentialAccessMode)
            ->setConfidentialAccessLevel($confidentialAccessLevel);
    }
    /**
     * Get confidentialAccessMode value
     * @return string
     */
    public function getConfidentialAccessMode()
    {
        return $this->confidentialAccessMode;
    }
    /**
     * Set confidentialAccessMode value
     * @param string $confidentialAccessMode
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\ConfidentialAccess
     */
    public function setConfidentialAccessMode($confidentialAccessMode = null)
    {
        $this->confidentialAccessMode = $confidentialAccessMode;
        return $this;
    }
    /**
     * Get confidentialAccessLevel value
     * @return string
     */
    public function getConfidentialAccessLevel()
    {
        return $this->confidentialAccessLevel;
    }
    /**
     * Set confidentialAccessLevel value
     * @param string $confidentialAccessLevel
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\ConfidentialAccess
     */
    public function setConfidentialAccessLevel($confidentialAccessLevel = null)
    {
        $this->confidentialAccessLevel = $confidentialAccessLevel;
        return $this;
    }
}
