<?php
use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for getDraft StructType
 * Meta informations extracted from the WSDL
 * - type: s0:getDraft
 * @subpackage Structs
 */
class GetDraft extends AbstractStructBase
{
    /**
     * The paramGetDraft
     * @var ParamGetDraft
     */
    public $paramGetDraft;
    /**
     * Constructor method for getDraft
     * @uses GetDraft::setParamGetDraft()
     * @param ParamGetDraft $paramGetDraft
     */
    public function __construct(ParamGetDraft $paramGetDraft = null)
    {
        $this
            ->setParamGetDraft($paramGetDraft);
    }
    /**
     * Get paramGetDraft value
     * @return ParamGetDraft|null
     */
    public function getParamGetDraft()
    {
        return $this->paramGetDraft;
    }
    /**
     * Set paramGetDraft value
     * @param ParamGetDraft $paramGetDraft
     * @return GetDraft
     */
    public function setParamGetDraft(ParamGetDraft $paramGetDraft = null)
    {
        $this->paramGetDraft = $paramGetDraft;
        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 GetDraft
     */
    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__;
    }
}
