<?php

namespace patest\StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for GetEventSaleStatusCachingResidue-Response StructType
 * Meta information extracted from the WSDL
 * - nillable: true
 * - type: tns:GetEventSaleStatusCachingResidue-Response
 * @subpackage Structs
 */
class GetEventSaleStatusCachingResidue_Response extends AbstractStructBase
{
    /**
     * The ClientTypeNames
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * - nillable: true
     * @var \patest\ArrayType\ArrayOfstring
     */
    public $ClientTypeNames;
    /**
     * The Inflections
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * - nillable: true
     * @var \patest\ArrayType\ArrayOfdateTime
     */
    public $Inflections;
    /**
     * Constructor method for GetEventSaleStatusCachingResidue-Response
     * @uses GetEventSaleStatusCachingResidue_Response::setClientTypeNames()
     * @uses GetEventSaleStatusCachingResidue_Response::setInflections()
     * @param \patest\ArrayType\ArrayOfstring $clientTypeNames
     * @param \patest\ArrayType\ArrayOfdateTime $inflections
     */
    public function __construct(\patest\ArrayType\ArrayOfstring $clientTypeNames = null, \patest\ArrayType\ArrayOfdateTime $inflections = null)
    {
        $this
            ->setClientTypeNames($clientTypeNames)
            ->setInflections($inflections);
    }
    /**
     * Get ClientTypeNames 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 \patest\ArrayType\ArrayOfstring|null
     */
    public function getClientTypeNames()
    {
        return isset($this->ClientTypeNames) ? $this->ClientTypeNames : null;
    }
    /**
     * Set ClientTypeNames 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 \patest\ArrayType\ArrayOfstring $clientTypeNames
     * @return \patest\StructType\GetEventSaleStatusCachingResidue_Response
     */
    public function setClientTypeNames(\patest\ArrayType\ArrayOfstring $clientTypeNames = null)
    {
        if (is_null($clientTypeNames) || (is_array($clientTypeNames) && empty($clientTypeNames))) {
            unset($this->ClientTypeNames);
        } else {
            $this->ClientTypeNames = $clientTypeNames;
        }
        return $this;
    }
    /**
     * Get Inflections 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 \patest\ArrayType\ArrayOfdateTime|null
     */
    public function getInflections()
    {
        return isset($this->Inflections) ? $this->Inflections : null;
    }
    /**
     * Set Inflections 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 \patest\ArrayType\ArrayOfdateTime $inflections
     * @return \patest\StructType\GetEventSaleStatusCachingResidue_Response
     */
    public function setInflections(\patest\ArrayType\ArrayOfdateTime $inflections = null)
    {
        if (is_null($inflections) || (is_array($inflections) && empty($inflections))) {
            unset($this->Inflections);
        } else {
            $this->Inflections = $inflections;
        }
        return $this;
    }
}
