<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for StopMonitoringServicePermissionStructure StructType
 * Meta informations extracted from the WSDL
 * - documentation: Type for Monitoring Service Permission.
 * @subpackage Structs
 */
class StopMonitoringServicePermissionStructure extends AbstractPermissionStructure
{
    /**
     * The OperatorPermissions
     * Meta informations extracted from the WSDL
     * - ref: OperatorPermissions
     * @var \StructType\OperatorPermissions
     */
    public $OperatorPermissions;
    /**
     * The LinePermissions
     * Meta informations extracted from the WSDL
     * - ref: LinePermissions
     * @var \StructType\LinePermissions
     */
    public $LinePermissions;
    /**
     * The StopMonitorPermissions
     * @var \StructType\StopMonitorPermissions
     */
    public $StopMonitorPermissions;
    /**
     * The Extensions
     * Meta informations extracted from the WSDL
     * - minOccurs: 0
     * - ref: Extensions
     * @var \StructType\ExtensionsStructure
     */
    public $Extensions;
    /**
     * Constructor method for StopMonitoringServicePermissionStructure
     * @uses StopMonitoringServicePermissionStructure::setOperatorPermissions()
     * @uses StopMonitoringServicePermissionStructure::setLinePermissions()
     * @uses StopMonitoringServicePermissionStructure::setStopMonitorPermissions()
     * @uses StopMonitoringServicePermissionStructure::setExtensions()
     * @param \StructType\OperatorPermissions $operatorPermissions
     * @param \StructType\LinePermissions $linePermissions
     * @param \StructType\StopMonitorPermissions $stopMonitorPermissions
     * @param \StructType\ExtensionsStructure $extensions
     */
    public function __construct(\StructType\OperatorPermissions $operatorPermissions = null, \StructType\LinePermissions $linePermissions = null, \StructType\StopMonitorPermissions $stopMonitorPermissions = null, \StructType\ExtensionsStructure $extensions = null)
    {
        $this
            ->setOperatorPermissions($operatorPermissions)
            ->setLinePermissions($linePermissions)
            ->setStopMonitorPermissions($stopMonitorPermissions)
            ->setExtensions($extensions);
    }
    /**
     * Get OperatorPermissions value
     * @return \StructType\OperatorPermissions|null
     */
    public function getOperatorPermissions()
    {
        return $this->OperatorPermissions;
    }
    /**
     * Set OperatorPermissions value
     * @param \StructType\OperatorPermissions $operatorPermissions
     * @return \StructType\StopMonitoringServicePermissionStructure
     */
    public function setOperatorPermissions(\StructType\OperatorPermissions $operatorPermissions = null)
    {
        $this->OperatorPermissions = $operatorPermissions;
        return $this;
    }
    /**
     * Get LinePermissions value
     * @return \StructType\LinePermissions|null
     */
    public function getLinePermissions()
    {
        return $this->LinePermissions;
    }
    /**
     * Set LinePermissions value
     * @param \StructType\LinePermissions $linePermissions
     * @return \StructType\StopMonitoringServicePermissionStructure
     */
    public function setLinePermissions(\StructType\LinePermissions $linePermissions = null)
    {
        $this->LinePermissions = $linePermissions;
        return $this;
    }
    /**
     * Get StopMonitorPermissions value
     * @return \StructType\StopMonitorPermissions|null
     */
    public function getStopMonitorPermissions()
    {
        return $this->StopMonitorPermissions;
    }
    /**
     * Set StopMonitorPermissions value
     * @param \StructType\StopMonitorPermissions $stopMonitorPermissions
     * @return \StructType\StopMonitoringServicePermissionStructure
     */
    public function setStopMonitorPermissions(\StructType\StopMonitorPermissions $stopMonitorPermissions = null)
    {
        $this->StopMonitorPermissions = $stopMonitorPermissions;
        return $this;
    }
    /**
     * Get Extensions value
     * @return \StructType\ExtensionsStructure|null
     */
    public function getExtensions()
    {
        return $this->Extensions;
    }
    /**
     * Set Extensions value
     * @param \StructType\ExtensionsStructure $extensions
     * @return \StructType\StopMonitoringServicePermissionStructure
     */
    public function setExtensions(\StructType\ExtensionsStructure $extensions = null)
    {
        $this->Extensions = $extensions;
        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 \StructType\StopMonitoringServicePermissionStructure
     */
    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__;
    }
}
