<?php
use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for GetCheckList_Richieste_Request StructType
 * Meta information extracted from the WSDL
 * - nillable: true
 * - type: tns:GetCheckList_Richieste_Request
 * @subpackage Structs
 */
class GetCheckList_Richieste_Request extends AbstractStructBase
{
    /**
     * The Utente
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * - nillable: true
     * @var UtentePCGav
     */
    public $Utente;
    /**
     * Constructor method for GetCheckList_Richieste_Request
     * @uses GetCheckList_Richieste_Request::setUtente()
     * @param UtentePCGav $utente
     */
    public function __construct(UtentePCGav $utente = null)
    {
        $this
            ->setUtente($utente);
    }
    /**
     * Get Utente value
     * An additional test has been added (isset) before returning the property value as
     * this property may have been unset before, due to the fact that this property is
     * removable from the request (nillable=true+minOccurs=0)
     * @return UtentePCGav|null
     */
    public function getUtente()
    {
        return isset($this->Utente) ? $this->Utente : null;
    }
    /**
     * Set Utente value
     * This property is removable from request (nillable=true+minOccurs=0), therefore
     * if the value assigned to this property is null, it is removed from this object
     * @param UtentePCGav $utente
     * @return GetCheckList_Richieste_Request
     */
    public function setUtente(UtentePCGav $utente = null)
    {
        if (is_null($utente) || (is_array($utente) && empty($utente))) {
            unset($this->Utente);
        } else {
            $this->Utente = $utente;
        }
        return $this;
    }
}
