<?php

namespace SGCIS\Struct;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for UpdateProfileResponse Struct
 * @subpackage Structs
 */
class UpdateProfileResponse extends ServiceResponseBase
{
    /**
     * The Person
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \SGCIS\Struct\Person
     */
    public $Person;
    /**
     * Constructor method for UpdateProfileResponse
     * @uses UpdateProfileResponse::setPerson()
     * @param \SGCIS\Struct\Person $person
     */
    public function __construct(\SGCIS\Struct\Person $person = null)
    {
        $this
            ->setPerson($person);
    }
    /**
     * Get Person value
     * @return \SGCIS\Struct\Person|null
     */
    public function getPerson()
    {
        return $this->Person;
    }
    /**
     * Set Person value
     * @param \SGCIS\Struct\Person $person
     * @return \SGCIS\Struct\UpdateProfileResponse
     */
    public function setPerson(\SGCIS\Struct\Person $person = null)
    {
        $this->Person = $person;
        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 \SGCIS\Struct\UpdateProfileResponse
     */
    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__;
    }
}
