<?php

namespace CustomerManagement\StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

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