<?php
use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for downloadIWDContent StructType
 * @subpackage Structs
 */
class DownloadIWDContent extends AbstractStructBase
{
    /**
     * The idEnvelope
     * @var int
     */
    public $idEnvelope;
    /**
     * Constructor method for downloadIWDContent
     * @uses DownloadIWDContent::setIdEnvelope()
     * @param int $idEnvelope
     */
    public function __construct($idEnvelope = null)
    {
        $this
            ->setIdEnvelope($idEnvelope);
    }
    /**
     * Get idEnvelope value
     * @return int|null
     */
    public function getIdEnvelope()
    {
        return $this->idEnvelope;
    }
    /**
     * Set idEnvelope value
     * @param int $idEnvelope
     * @return DownloadIWDContent
     */
    public function setIdEnvelope($idEnvelope = null)
    {
        $this->idEnvelope = $idEnvelope;
        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 DownloadIWDContent
     */
    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__;
    }
}
