<?php

namespace CustomerManagement\StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for GetCustomerListWithTroubleConditionsCsvResponse StructType
 * @subpackage Structs
 */
class GetCustomerListWithTroubleConditionsCsvResponse extends AbstractStructBase
{
    /**
     * The GetCustomerListWithTroubleConditionsCsvResult
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var string
     */
    public $GetCustomerListWithTroubleConditionsCsvResult;
    /**
     * Constructor method for GetCustomerListWithTroubleConditionsCsvResponse
     * @uses GetCustomerListWithTroubleConditionsCsvResponse::setGetCustomerListWithTroubleConditionsCsvResult()
     * @param string $getCustomerListWithTroubleConditionsCsvResult
     */
    public function __construct($getCustomerListWithTroubleConditionsCsvResult = null)
    {
        $this
            ->setGetCustomerListWithTroubleConditionsCsvResult($getCustomerListWithTroubleConditionsCsvResult);
    }
    /**
     * Get GetCustomerListWithTroubleConditionsCsvResult value
     * @return string|null
     */
    public function getGetCustomerListWithTroubleConditionsCsvResult()
    {
        return $this->GetCustomerListWithTroubleConditionsCsvResult;
    }
    /**
     * Set GetCustomerListWithTroubleConditionsCsvResult value
     * @param string $getCustomerListWithTroubleConditionsCsvResult
     * @return \CustomerManagement\StructType\GetCustomerListWithTroubleConditionsCsvResponse
     */
    public function setGetCustomerListWithTroubleConditionsCsvResult($getCustomerListWithTroubleConditionsCsvResult = null)
    {
        // validation for constraint: string
        if (!is_null($getCustomerListWithTroubleConditionsCsvResult) && !is_string($getCustomerListWithTroubleConditionsCsvResult)) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($getCustomerListWithTroubleConditionsCsvResult, true), gettype($getCustomerListWithTroubleConditionsCsvResult)), __LINE__);
        }
        $this->GetCustomerListWithTroubleConditionsCsvResult = $getCustomerListWithTroubleConditionsCsvResult;
        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\GetCustomerListWithTroubleConditionsCsvResponse
     */
    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__;
    }
}
