<?php

namespace SGCIS\Struct;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for UserCharacteristicResponse Struct
 * @subpackage Structs
 */
class UserCharacteristicResponse extends ServiceResponseBase
{
    /**
     * The UserCharacteristic
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \SGCIS\Struct\UserCharacteristic
     */
    public $UserCharacteristic;
    /**
     * The UserCharacteristics
     * Meta informations extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \SGCIS\Array\ArrayOfUserCharacteristic
     */
    public $UserCharacteristics;
    /**
     * Constructor method for UserCharacteristicResponse
     * @uses UserCharacteristicResponse::setUserCharacteristic()
     * @uses UserCharacteristicResponse::setUserCharacteristics()
     * @param \SGCIS\Struct\UserCharacteristic $userCharacteristic
     * @param \SGCIS\Array\ArrayOfUserCharacteristic $userCharacteristics
     */
    public function __construct(\SGCIS\Struct\UserCharacteristic $userCharacteristic = null, \SGCIS\Array\ArrayOfUserCharacteristic $userCharacteristics = null)
    {
        $this
            ->setUserCharacteristic($userCharacteristic)
            ->setUserCharacteristics($userCharacteristics);
    }
    /**
     * Get UserCharacteristic value
     * @return \SGCIS\Struct\UserCharacteristic|null
     */
    public function getUserCharacteristic()
    {
        return $this->UserCharacteristic;
    }
    /**
     * Set UserCharacteristic value
     * @param \SGCIS\Struct\UserCharacteristic $userCharacteristic
     * @return \SGCIS\Struct\UserCharacteristicResponse
     */
    public function setUserCharacteristic(\SGCIS\Struct\UserCharacteristic $userCharacteristic = null)
    {
        $this->UserCharacteristic = $userCharacteristic;
        return $this;
    }
    /**
     * Get UserCharacteristics value
     * @return \SGCIS\Array\ArrayOfUserCharacteristic|null
     */
    public function getUserCharacteristics()
    {
        return $this->UserCharacteristics;
    }
    /**
     * Set UserCharacteristics value
     * @param \SGCIS\Array\ArrayOfUserCharacteristic $userCharacteristics
     * @return \SGCIS\Struct\UserCharacteristicResponse
     */
    public function setUserCharacteristics(\SGCIS\Array\ArrayOfUserCharacteristic $userCharacteristics = null)
    {
        $this->UserCharacteristics = $userCharacteristics;
        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\UserCharacteristicResponse
     */
    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__;
    }
}
