<?php

namespace patest\StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for ApplyLayer-Response StructType
 * Meta information extracted from the WSDL
 * - nillable: true
 * - type: tns:ApplyLayer-Response
 * @subpackage Structs
 */
class ApplyLayer_Response extends ExtensibleDataContract
{
    /**
     * The SeriesNonMatchingRestrictionsChildEventIds
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * - nillable: true
     * @var \patest\ArrayType\ArrayOfguid
     */
    public $SeriesNonMatchingRestrictionsChildEventIds;
    /**
     * The SeriesNonMatchingRestrictionsChildSubSeriesIds
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * - nillable: true
     * @var \patest\ArrayType\ArrayOfguid
     */
    public $SeriesNonMatchingRestrictionsChildSubSeriesIds;
    /**
     * Constructor method for ApplyLayer-Response
     * @uses ApplyLayer_Response::setSeriesNonMatchingRestrictionsChildEventIds()
     * @uses ApplyLayer_Response::setSeriesNonMatchingRestrictionsChildSubSeriesIds()
     * @param \patest\ArrayType\ArrayOfguid $seriesNonMatchingRestrictionsChildEventIds
     * @param \patest\ArrayType\ArrayOfguid $seriesNonMatchingRestrictionsChildSubSeriesIds
     */
    public function __construct(\patest\ArrayType\ArrayOfguid $seriesNonMatchingRestrictionsChildEventIds = null, \patest\ArrayType\ArrayOfguid $seriesNonMatchingRestrictionsChildSubSeriesIds = null)
    {
        $this
            ->setSeriesNonMatchingRestrictionsChildEventIds($seriesNonMatchingRestrictionsChildEventIds)
            ->setSeriesNonMatchingRestrictionsChildSubSeriesIds($seriesNonMatchingRestrictionsChildSubSeriesIds);
    }
    /**
     * Get SeriesNonMatchingRestrictionsChildEventIds 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\ArrayOfguid|null
     */
    public function getSeriesNonMatchingRestrictionsChildEventIds()
    {
        return isset($this->SeriesNonMatchingRestrictionsChildEventIds) ? $this->SeriesNonMatchingRestrictionsChildEventIds : null;
    }
    /**
     * Set SeriesNonMatchingRestrictionsChildEventIds 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\ArrayOfguid $seriesNonMatchingRestrictionsChildEventIds
     * @return \patest\StructType\ApplyLayer_Response
     */
    public function setSeriesNonMatchingRestrictionsChildEventIds(\patest\ArrayType\ArrayOfguid $seriesNonMatchingRestrictionsChildEventIds = null)
    {
        if (is_null($seriesNonMatchingRestrictionsChildEventIds) || (is_array($seriesNonMatchingRestrictionsChildEventIds) && empty($seriesNonMatchingRestrictionsChildEventIds))) {
            unset($this->SeriesNonMatchingRestrictionsChildEventIds);
        } else {
            $this->SeriesNonMatchingRestrictionsChildEventIds = $seriesNonMatchingRestrictionsChildEventIds;
        }
        return $this;
    }
    /**
     * Get SeriesNonMatchingRestrictionsChildSubSeriesIds 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\ArrayOfguid|null
     */
    public function getSeriesNonMatchingRestrictionsChildSubSeriesIds()
    {
        return isset($this->SeriesNonMatchingRestrictionsChildSubSeriesIds) ? $this->SeriesNonMatchingRestrictionsChildSubSeriesIds : null;
    }
    /**
     * Set SeriesNonMatchingRestrictionsChildSubSeriesIds 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\ArrayOfguid $seriesNonMatchingRestrictionsChildSubSeriesIds
     * @return \patest\StructType\ApplyLayer_Response
     */
    public function setSeriesNonMatchingRestrictionsChildSubSeriesIds(\patest\ArrayType\ArrayOfguid $seriesNonMatchingRestrictionsChildSubSeriesIds = null)
    {
        if (is_null($seriesNonMatchingRestrictionsChildSubSeriesIds) || (is_array($seriesNonMatchingRestrictionsChildSubSeriesIds) && empty($seriesNonMatchingRestrictionsChildSubSeriesIds))) {
            unset($this->SeriesNonMatchingRestrictionsChildSubSeriesIds);
        } else {
            $this->SeriesNonMatchingRestrictionsChildSubSeriesIds = $seriesNonMatchingRestrictionsChildSubSeriesIds;
        }
        return $this;
    }
}
