<?php
use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for getOutboxBook StructType
 * @subpackage Structs
 */
class GetOutboxBook extends AbstractStructBase
{
    /**
     * The idEnvelope
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 1
     * @var int
     */
    public $idEnvelope;
    /**
     * The includeNierejestrowane
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var bool
     */
    public $includeNierejestrowane;
    /**
     * Constructor method for getOutboxBook
     * @uses GetOutboxBook::setIdEnvelope()
     * @uses GetOutboxBook::setIncludeNierejestrowane()
     * @param int $idEnvelope
     * @param bool $includeNierejestrowane
     */
    public function __construct($idEnvelope = null, $includeNierejestrowane = null)
    {
        $this
            ->setIdEnvelope($idEnvelope)
            ->setIncludeNierejestrowane($includeNierejestrowane);
    }
    /**
     * Get idEnvelope value
     * @return int
     */
    public function getIdEnvelope()
    {
        return $this->idEnvelope;
    }
    /**
     * Set idEnvelope value
     * @param int $idEnvelope
     * @return GetOutboxBook
     */
    public function setIdEnvelope($idEnvelope = null)
    {
        $this->idEnvelope = $idEnvelope;
        return $this;
    }
    /**
     * Get includeNierejestrowane value
     * @return bool|null
     */
    public function getIncludeNierejestrowane()
    {
        return $this->includeNierejestrowane;
    }
    /**
     * Set includeNierejestrowane value
     * @param bool $includeNierejestrowane
     * @return GetOutboxBook
     */
    public function setIncludeNierejestrowane($includeNierejestrowane = null)
    {
        $this->includeNierejestrowane = $includeNierejestrowane;
        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 GetOutboxBook
     */
    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__;
    }
}
