<?php

namespace CustomerManagement\StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

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