<?php
use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for GetProfilo_Result StructType
 * Meta information extracted from the WSDL
 * - nillable: true
 * - type: tns:GetProfilo_Result
 * @subpackage Structs
 */
class GetProfilo_Result extends AbstractStructBase
{
    /**
     * The Informazioni
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * @var AdditionaInformation
     */
    public $Informazioni;
    /**
     * The Utente
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * - nillable: true
     * @var UtentePCGav
     */
    public $Utente;
    /**
     * Constructor method for GetProfilo_Result
     * @uses GetProfilo_Result::setInformazioni()
     * @uses GetProfilo_Result::setUtente()
     * @param AdditionaInformation $informazioni
     * @param UtentePCGav $utente
     */
    public function __construct(AdditionaInformation $informazioni = null, UtentePCGav $utente = null)
    {
        $this
            ->setInformazioni($informazioni)
            ->setUtente($utente);
    }
    /**
     * Get Informazioni value
     * @return AdditionaInformation|null
     */
    public function getInformazioni()
    {
        return $this->Informazioni;
    }
    /**
     * Set Informazioni value
     * @param AdditionaInformation $informazioni
     * @return GetProfilo_Result
     */
    public function setInformazioni(AdditionaInformation $informazioni = null)
    {
        $this->Informazioni = $informazioni;
        return $this;
    }
    /**
     * 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 GetProfilo_Result
     */
    public function setUtente(UtentePCGav $utente = null)
    {
        if (is_null($utente) || (is_array($utente) && empty($utente))) {
            unset($this->Utente);
        } else {
            $this->Utente = $utente;
        }
        return $this;
    }
}
