<?php

namespace SGCIS\Struct;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for GetCustomFieldsResponse Struct
 * @subpackage Structs
 */
class GetCustomFieldsResponse extends AbstractStructBase
{
    /**
     * The GetCustomFieldsResult
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \SGCIS\Struct\CustomFieldResponse
     */
    public $GetCustomFieldsResult;
    /**
     * Constructor method for GetCustomFieldsResponse
     * @uses GetCustomFieldsResponse::setGetCustomFieldsResult()
     * @param \SGCIS\Struct\CustomFieldResponse $getCustomFieldsResult
     */
    public function __construct(\SGCIS\Struct\CustomFieldResponse $getCustomFieldsResult = null)
    {
        $this
            ->setGetCustomFieldsResult($getCustomFieldsResult);
    }
    /**
     * Get GetCustomFieldsResult value
     * @return \SGCIS\Struct\CustomFieldResponse|null
     */
    public function getGetCustomFieldsResult()
    {
        return $this->GetCustomFieldsResult;
    }
    /**
     * Set GetCustomFieldsResult value
     * @param \SGCIS\Struct\CustomFieldResponse $getCustomFieldsResult
     * @return \SGCIS\Struct\GetCustomFieldsResponse
     */
    public function setGetCustomFieldsResult(\SGCIS\Struct\CustomFieldResponse $getCustomFieldsResult = null)
    {
        $this->GetCustomFieldsResult = $getCustomFieldsResult;
        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 \SGCIS\Struct\GetCustomFieldsResponse
     */
    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__;
    }
}
