<?php

namespace CustomerManagement\StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for Update2GigSensorGroupResponse StructType
 * @subpackage Structs
 */
class Update2GigSensorGroupResponse extends AbstractStructBase
{
    /**
     * The Update2GigSensorGroupResult
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \CustomerManagement\StructType\Update2GigSensorGroupOutput
     */
    public $Update2GigSensorGroupResult;
    /**
     * Constructor method for Update2GigSensorGroupResponse
     * @uses Update2GigSensorGroupResponse::setUpdate2GigSensorGroupResult()
     * @param \CustomerManagement\StructType\Update2GigSensorGroupOutput $update2GigSensorGroupResult
     */
    public function __construct(\CustomerManagement\StructType\Update2GigSensorGroupOutput $update2GigSensorGroupResult = null)
    {
        $this
            ->setUpdate2GigSensorGroupResult($update2GigSensorGroupResult);
    }
    /**
     * Get Update2GigSensorGroupResult value
     * @return \CustomerManagement\StructType\Update2GigSensorGroupOutput|null
     */
    public function getUpdate2GigSensorGroupResult()
    {
        return $this->Update2GigSensorGroupResult;
    }
    /**
     * Set Update2GigSensorGroupResult value
     * @param \CustomerManagement\StructType\Update2GigSensorGroupOutput $update2GigSensorGroupResult
     * @return \CustomerManagement\StructType\Update2GigSensorGroupResponse
     */
    public function setUpdate2GigSensorGroupResult(\CustomerManagement\StructType\Update2GigSensorGroupOutput $update2GigSensorGroupResult = null)
    {
        $this->Update2GigSensorGroupResult = $update2GigSensorGroupResult;
        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 \CustomerManagement\StructType\Update2GigSensorGroupResponse
     */
    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__;
    }
}
