<?php

namespace \NineDotMedia\viapost-php;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for MailBatch StructType
 * @subpackage Structs
 */
class MailBatch extends AbstractStructBase
{
    /**
     * The onePage
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 1
     * @var int
     */
    public $onePage;
    /**
     * The twoPages
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 1
     * @var int
     */
    public $twoPages;
    /**
     * The threePages
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 1
     * @var int
     */
    public $threePages;
    /**
     * The fourPages
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 1
     * @var int
     */
    public $fourPages;
    /**
     * The fivePages
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 1
     * @var int
     */
    public $fivePages;
    /**
     * The sixPages
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 1
     * @var int
     */
    public $sixPages;
    /**
     * The sevenPages
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 1
     * @var int
     */
    public $sevenPages;
    /**
     * The eightPages
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 1
     * @var int
     */
    public $eightPages;
    /**
     * The ninePages
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 1
     * @var int
     */
    public $ninePages;
    /**
     * The tenPages
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 1
     * @var int
     */
    public $tenPages;
    /**
     * The elevenpages
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 1
     * @var int
     */
    public $elevenpages;
    /**
     * The twelvePages
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 1
     * @var int
     */
    public $twelvePages;
    /**
     * The thirteenPages
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 1
     * @var int
     */
    public $thirteenPages;
    /**
     * The fourteenPages
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 1
     * @var int
     */
    public $fourteenPages;
    /**
     * The fifteenPages
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 1
     * @var int
     */
    public $fifteenPages;
    /**
     * The sixteenPages
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 1
     * @var int
     */
    public $sixteenPages;
    /**
     * Constructor method for MailBatch
     * @uses MailBatch::setOnePage()
     * @uses MailBatch::setTwoPages()
     * @uses MailBatch::setThreePages()
     * @uses MailBatch::setFourPages()
     * @uses MailBatch::setFivePages()
     * @uses MailBatch::setSixPages()
     * @uses MailBatch::setSevenPages()
     * @uses MailBatch::setEightPages()
     * @uses MailBatch::setNinePages()
     * @uses MailBatch::setTenPages()
     * @uses MailBatch::setElevenpages()
     * @uses MailBatch::setTwelvePages()
     * @uses MailBatch::setThirteenPages()
     * @uses MailBatch::setFourteenPages()
     * @uses MailBatch::setFifteenPages()
     * @uses MailBatch::setSixteenPages()
     * @param int $onePage
     * @param int $twoPages
     * @param int $threePages
     * @param int $fourPages
     * @param int $fivePages
     * @param int $sixPages
     * @param int $sevenPages
     * @param int $eightPages
     * @param int $ninePages
     * @param int $tenPages
     * @param int $elevenpages
     * @param int $twelvePages
     * @param int $thirteenPages
     * @param int $fourteenPages
     * @param int $fifteenPages
     * @param int $sixteenPages
     */
    public function __construct($onePage = null, $twoPages = null, $threePages = null, $fourPages = null, $fivePages = null, $sixPages = null, $sevenPages = null, $eightPages = null, $ninePages = null, $tenPages = null, $elevenpages = null, $twelvePages = null, $thirteenPages = null, $fourteenPages = null, $fifteenPages = null, $sixteenPages = null)
    {
        $this
            ->setOnePage($onePage)
            ->setTwoPages($twoPages)
            ->setThreePages($threePages)
            ->setFourPages($fourPages)
            ->setFivePages($fivePages)
            ->setSixPages($sixPages)
            ->setSevenPages($sevenPages)
            ->setEightPages($eightPages)
            ->setNinePages($ninePages)
            ->setTenPages($tenPages)
            ->setElevenpages($elevenpages)
            ->setTwelvePages($twelvePages)
            ->setThirteenPages($thirteenPages)
            ->setFourteenPages($fourteenPages)
            ->setFifteenPages($fifteenPages)
            ->setSixteenPages($sixteenPages);
    }
    /**
     * Get onePage value
     * @return int
     */
    public function getOnePage()
    {
        return $this->onePage;
    }
    /**
     * Set onePage value
     * @param int $onePage
     * @return \\NineDotMedia\viapost-php\MailBatch
     */
    public function setOnePage($onePage = null)
    {
        // validation for constraint: int
        if (!is_null($onePage) && !(is_int($onePage) || ctype_digit($onePage))) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide an integer value, %s given', var_export($onePage, true), gettype($onePage)), __LINE__);
        }
        $this->onePage = $onePage;
        return $this;
    }
    /**
     * Get twoPages value
     * @return int
     */
    public function getTwoPages()
    {
        return $this->twoPages;
    }
    /**
     * Set twoPages value
     * @param int $twoPages
     * @return \\NineDotMedia\viapost-php\MailBatch
     */
    public function setTwoPages($twoPages = null)
    {
        // validation for constraint: int
        if (!is_null($twoPages) && !(is_int($twoPages) || ctype_digit($twoPages))) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide an integer value, %s given', var_export($twoPages, true), gettype($twoPages)), __LINE__);
        }
        $this->twoPages = $twoPages;
        return $this;
    }
    /**
     * Get threePages value
     * @return int
     */
    public function getThreePages()
    {
        return $this->threePages;
    }
    /**
     * Set threePages value
     * @param int $threePages
     * @return \\NineDotMedia\viapost-php\MailBatch
     */
    public function setThreePages($threePages = null)
    {
        // validation for constraint: int
        if (!is_null($threePages) && !(is_int($threePages) || ctype_digit($threePages))) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide an integer value, %s given', var_export($threePages, true), gettype($threePages)), __LINE__);
        }
        $this->threePages = $threePages;
        return $this;
    }
    /**
     * Get fourPages value
     * @return int
     */
    public function getFourPages()
    {
        return $this->fourPages;
    }
    /**
     * Set fourPages value
     * @param int $fourPages
     * @return \\NineDotMedia\viapost-php\MailBatch
     */
    public function setFourPages($fourPages = null)
    {
        // validation for constraint: int
        if (!is_null($fourPages) && !(is_int($fourPages) || ctype_digit($fourPages))) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide an integer value, %s given', var_export($fourPages, true), gettype($fourPages)), __LINE__);
        }
        $this->fourPages = $fourPages;
        return $this;
    }
    /**
     * Get fivePages value
     * @return int
     */
    public function getFivePages()
    {
        return $this->fivePages;
    }
    /**
     * Set fivePages value
     * @param int $fivePages
     * @return \\NineDotMedia\viapost-php\MailBatch
     */
    public function setFivePages($fivePages = null)
    {
        // validation for constraint: int
        if (!is_null($fivePages) && !(is_int($fivePages) || ctype_digit($fivePages))) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide an integer value, %s given', var_export($fivePages, true), gettype($fivePages)), __LINE__);
        }
        $this->fivePages = $fivePages;
        return $this;
    }
    /**
     * Get sixPages value
     * @return int
     */
    public function getSixPages()
    {
        return $this->sixPages;
    }
    /**
     * Set sixPages value
     * @param int $sixPages
     * @return \\NineDotMedia\viapost-php\MailBatch
     */
    public function setSixPages($sixPages = null)
    {
        // validation for constraint: int
        if (!is_null($sixPages) && !(is_int($sixPages) || ctype_digit($sixPages))) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide an integer value, %s given', var_export($sixPages, true), gettype($sixPages)), __LINE__);
        }
        $this->sixPages = $sixPages;
        return $this;
    }
    /**
     * Get sevenPages value
     * @return int
     */
    public function getSevenPages()
    {
        return $this->sevenPages;
    }
    /**
     * Set sevenPages value
     * @param int $sevenPages
     * @return \\NineDotMedia\viapost-php\MailBatch
     */
    public function setSevenPages($sevenPages = null)
    {
        // validation for constraint: int
        if (!is_null($sevenPages) && !(is_int($sevenPages) || ctype_digit($sevenPages))) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide an integer value, %s given', var_export($sevenPages, true), gettype($sevenPages)), __LINE__);
        }
        $this->sevenPages = $sevenPages;
        return $this;
    }
    /**
     * Get eightPages value
     * @return int
     */
    public function getEightPages()
    {
        return $this->eightPages;
    }
    /**
     * Set eightPages value
     * @param int $eightPages
     * @return \\NineDotMedia\viapost-php\MailBatch
     */
    public function setEightPages($eightPages = null)
    {
        // validation for constraint: int
        if (!is_null($eightPages) && !(is_int($eightPages) || ctype_digit($eightPages))) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide an integer value, %s given', var_export($eightPages, true), gettype($eightPages)), __LINE__);
        }
        $this->eightPages = $eightPages;
        return $this;
    }
    /**
     * Get ninePages value
     * @return int
     */
    public function getNinePages()
    {
        return $this->ninePages;
    }
    /**
     * Set ninePages value
     * @param int $ninePages
     * @return \\NineDotMedia\viapost-php\MailBatch
     */
    public function setNinePages($ninePages = null)
    {
        // validation for constraint: int
        if (!is_null($ninePages) && !(is_int($ninePages) || ctype_digit($ninePages))) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide an integer value, %s given', var_export($ninePages, true), gettype($ninePages)), __LINE__);
        }
        $this->ninePages = $ninePages;
        return $this;
    }
    /**
     * Get tenPages value
     * @return int
     */
    public function getTenPages()
    {
        return $this->tenPages;
    }
    /**
     * Set tenPages value
     * @param int $tenPages
     * @return \\NineDotMedia\viapost-php\MailBatch
     */
    public function setTenPages($tenPages = null)
    {
        // validation for constraint: int
        if (!is_null($tenPages) && !(is_int($tenPages) || ctype_digit($tenPages))) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide an integer value, %s given', var_export($tenPages, true), gettype($tenPages)), __LINE__);
        }
        $this->tenPages = $tenPages;
        return $this;
    }
    /**
     * Get elevenpages value
     * @return int
     */
    public function getElevenpages()
    {
        return $this->elevenpages;
    }
    /**
     * Set elevenpages value
     * @param int $elevenpages
     * @return \\NineDotMedia\viapost-php\MailBatch
     */
    public function setElevenpages($elevenpages = null)
    {
        // validation for constraint: int
        if (!is_null($elevenpages) && !(is_int($elevenpages) || ctype_digit($elevenpages))) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide an integer value, %s given', var_export($elevenpages, true), gettype($elevenpages)), __LINE__);
        }
        $this->elevenpages = $elevenpages;
        return $this;
    }
    /**
     * Get twelvePages value
     * @return int
     */
    public function getTwelvePages()
    {
        return $this->twelvePages;
    }
    /**
     * Set twelvePages value
     * @param int $twelvePages
     * @return \\NineDotMedia\viapost-php\MailBatch
     */
    public function setTwelvePages($twelvePages = null)
    {
        // validation for constraint: int
        if (!is_null($twelvePages) && !(is_int($twelvePages) || ctype_digit($twelvePages))) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide an integer value, %s given', var_export($twelvePages, true), gettype($twelvePages)), __LINE__);
        }
        $this->twelvePages = $twelvePages;
        return $this;
    }
    /**
     * Get thirteenPages value
     * @return int
     */
    public function getThirteenPages()
    {
        return $this->thirteenPages;
    }
    /**
     * Set thirteenPages value
     * @param int $thirteenPages
     * @return \\NineDotMedia\viapost-php\MailBatch
     */
    public function setThirteenPages($thirteenPages = null)
    {
        // validation for constraint: int
        if (!is_null($thirteenPages) && !(is_int($thirteenPages) || ctype_digit($thirteenPages))) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide an integer value, %s given', var_export($thirteenPages, true), gettype($thirteenPages)), __LINE__);
        }
        $this->thirteenPages = $thirteenPages;
        return $this;
    }
    /**
     * Get fourteenPages value
     * @return int
     */
    public function getFourteenPages()
    {
        return $this->fourteenPages;
    }
    /**
     * Set fourteenPages value
     * @param int $fourteenPages
     * @return \\NineDotMedia\viapost-php\MailBatch
     */
    public function setFourteenPages($fourteenPages = null)
    {
        // validation for constraint: int
        if (!is_null($fourteenPages) && !(is_int($fourteenPages) || ctype_digit($fourteenPages))) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide an integer value, %s given', var_export($fourteenPages, true), gettype($fourteenPages)), __LINE__);
        }
        $this->fourteenPages = $fourteenPages;
        return $this;
    }
    /**
     * Get fifteenPages value
     * @return int
     */
    public function getFifteenPages()
    {
        return $this->fifteenPages;
    }
    /**
     * Set fifteenPages value
     * @param int $fifteenPages
     * @return \\NineDotMedia\viapost-php\MailBatch
     */
    public function setFifteenPages($fifteenPages = null)
    {
        // validation for constraint: int
        if (!is_null($fifteenPages) && !(is_int($fifteenPages) || ctype_digit($fifteenPages))) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide an integer value, %s given', var_export($fifteenPages, true), gettype($fifteenPages)), __LINE__);
        }
        $this->fifteenPages = $fifteenPages;
        return $this;
    }
    /**
     * Get sixteenPages value
     * @return int
     */
    public function getSixteenPages()
    {
        return $this->sixteenPages;
    }
    /**
     * Set sixteenPages value
     * @param int $sixteenPages
     * @return \\NineDotMedia\viapost-php\MailBatch
     */
    public function setSixteenPages($sixteenPages = null)
    {
        // validation for constraint: int
        if (!is_null($sixteenPages) && !(is_int($sixteenPages) || ctype_digit($sixteenPages))) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide an integer value, %s given', var_export($sixteenPages, true), gettype($sixteenPages)), __LINE__);
        }
        $this->sixteenPages = $sixteenPages;
        return $this;
    }
}
