<?php

namespace patest\StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for GetMyTickets-Response StructType
 * Meta information extracted from the WSDL
 * - nillable: true
 * - type: tns:GetMyTickets-Response
 * @subpackage Structs
 */
class GetMyTickets_Response extends ExtensibleDataContract
{
    /**
     * The EventIds
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * - nillable: true
     * @var \patest\ArrayType\ArrayOfguid
     */
    public $EventIds;
    /**
     * The OnlineManagementInfo
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * - nillable: true
     * @var \patest\ArrayType\ArrayOfKeyValueOfguidArrayOfKeyValueOfguidEventOnlineManagementInfohpjoQDeaox8ieOcg
     */
    public $OnlineManagementInfo;
    /**
     * The TicketViewEventConfigurations
     * Meta information extracted from the WSDL
     * - minOccurs: 0
     * - nillable: true
     * @var \patest\ArrayType\ArrayOfKeyValueOfguidTicketViewEventConfigurationhpjoQDea
     */
    public $TicketViewEventConfigurations;
    /**
     * Constructor method for GetMyTickets-Response
     * @uses GetMyTickets_Response::setEventIds()
     * @uses GetMyTickets_Response::setOnlineManagementInfo()
     * @uses GetMyTickets_Response::setTicketViewEventConfigurations()
     * @param \patest\ArrayType\ArrayOfguid $eventIds
     * @param \patest\ArrayType\ArrayOfKeyValueOfguidArrayOfKeyValueOfguidEventOnlineManagementInfohpjoQDeaox8ieOcg $onlineManagementInfo
     * @param \patest\ArrayType\ArrayOfKeyValueOfguidTicketViewEventConfigurationhpjoQDea $ticketViewEventConfigurations
     */
    public function __construct(\patest\ArrayType\ArrayOfguid $eventIds = null, \patest\ArrayType\ArrayOfKeyValueOfguidArrayOfKeyValueOfguidEventOnlineManagementInfohpjoQDeaox8ieOcg $onlineManagementInfo = null, \patest\ArrayType\ArrayOfKeyValueOfguidTicketViewEventConfigurationhpjoQDea $ticketViewEventConfigurations = null)
    {
        $this
            ->setEventIds($eventIds)
            ->setOnlineManagementInfo($onlineManagementInfo)
            ->setTicketViewEventConfigurations($ticketViewEventConfigurations);
    }
    /**
     * Get EventIds 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 getEventIds()
    {
        return isset($this->EventIds) ? $this->EventIds : null;
    }
    /**
     * Set EventIds 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 $eventIds
     * @return \patest\StructType\GetMyTickets_Response
     */
    public function setEventIds(\patest\ArrayType\ArrayOfguid $eventIds = null)
    {
        if (is_null($eventIds) || (is_array($eventIds) && empty($eventIds))) {
            unset($this->EventIds);
        } else {
            $this->EventIds = $eventIds;
        }
        return $this;
    }
    /**
     * Get OnlineManagementInfo 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\ArrayOfKeyValueOfguidArrayOfKeyValueOfguidEventOnlineManagementInfohpjoQDeaox8ieOcg|null
     */
    public function getOnlineManagementInfo()
    {
        return isset($this->OnlineManagementInfo) ? $this->OnlineManagementInfo : null;
    }
    /**
     * Set OnlineManagementInfo 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\ArrayOfKeyValueOfguidArrayOfKeyValueOfguidEventOnlineManagementInfohpjoQDeaox8ieOcg $onlineManagementInfo
     * @return \patest\StructType\GetMyTickets_Response
     */
    public function setOnlineManagementInfo(\patest\ArrayType\ArrayOfKeyValueOfguidArrayOfKeyValueOfguidEventOnlineManagementInfohpjoQDeaox8ieOcg $onlineManagementInfo = null)
    {
        if (is_null($onlineManagementInfo) || (is_array($onlineManagementInfo) && empty($onlineManagementInfo))) {
            unset($this->OnlineManagementInfo);
        } else {
            $this->OnlineManagementInfo = $onlineManagementInfo;
        }
        return $this;
    }
    /**
     * Get TicketViewEventConfigurations 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\ArrayOfKeyValueOfguidTicketViewEventConfigurationhpjoQDea|null
     */
    public function getTicketViewEventConfigurations()
    {
        return isset($this->TicketViewEventConfigurations) ? $this->TicketViewEventConfigurations : null;
    }
    /**
     * Set TicketViewEventConfigurations 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\ArrayOfKeyValueOfguidTicketViewEventConfigurationhpjoQDea $ticketViewEventConfigurations
     * @return \patest\StructType\GetMyTickets_Response
     */
    public function setTicketViewEventConfigurations(\patest\ArrayType\ArrayOfKeyValueOfguidTicketViewEventConfigurationhpjoQDea $ticketViewEventConfigurations = null)
    {
        if (is_null($ticketViewEventConfigurations) || (is_array($ticketViewEventConfigurations) && empty($ticketViewEventConfigurations))) {
            unset($this->TicketViewEventConfigurations);
        } else {
            $this->TicketViewEventConfigurations = $ticketViewEventConfigurations;
        }
        return $this;
    }
}
