<?php
use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for GetTotaleNotificheDaNotificare_Result StructType
 * Meta information extracted from the WSDL
 * - nillable: true
 * - type: tns:GetTotaleNotificheDaNotificare_Result
 * @subpackage Structs
 */
class GetTotaleNotificheDaNotificare_Result extends WebService_GenericResult
{
    /**
     * The TotaleNotfiche
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var int
     */
    public $TotaleNotfiche;
    /**
     * Constructor method for GetTotaleNotificheDaNotificare_Result
     * @uses GetTotaleNotificheDaNotificare_Result::setTotaleNotfiche()
     * @param int $totaleNotfiche
     */
    public function __construct($totaleNotfiche = null)
    {
        $this
            ->setTotaleNotfiche($totaleNotfiche);
    }
    /**
     * Get TotaleNotfiche value
     * @return int|null
     */
    public function getTotaleNotfiche()
    {
        return $this->TotaleNotfiche;
    }
    /**
     * Set TotaleNotfiche value
     * @param int $totaleNotfiche
     * @return GetTotaleNotificheDaNotificare_Result
     */
    public function setTotaleNotfiche($totaleNotfiche = null)
    {
        // validation for constraint: int
        if (!is_null($totaleNotfiche) && !(is_int($totaleNotfiche) || ctype_digit($totaleNotfiche))) {
            throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide an integer value, %s given', var_export($totaleNotfiche, true), gettype($totaleNotfiche)), __LINE__);
        }
        $this->TotaleNotfiche = $totaleNotfiche;
        return $this;
    }
}
