<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

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