<?php

namespace \Losc\CucmBundle\Model\Webservice\StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for removePhoneNtpReferences StructType
 * @subpackage Structs
 */
class RemovePhoneNtpReferences extends XCommonMembersExtension
{
    /**
     * The selectedPhoneNtpReference
     * Meta information extracted from the WSDL
     * - maxOccurs: unbounded
     * - minOccurs: 1
     * @var \\Losc\CucmBundle\Model\Webservice\StructType\XDateTimeGroupNtpReference[]
     */
    public $selectedPhoneNtpReference;
    /**
     * Constructor method for removePhoneNtpReferences
     * @uses RemovePhoneNtpReferences::setSelectedPhoneNtpReference()
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\XDateTimeGroupNtpReference[] $selectedPhoneNtpReference
     */
    public function __construct(array $selectedPhoneNtpReference = array())
    {
        $this
            ->setSelectedPhoneNtpReference($selectedPhoneNtpReference);
    }
    /**
     * Get selectedPhoneNtpReference value
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\XDateTimeGroupNtpReference[]
     */
    public function getSelectedPhoneNtpReference()
    {
        return $this->selectedPhoneNtpReference;
    }
    /**
     * Set selectedPhoneNtpReference value
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\XDateTimeGroupNtpReference[] $selectedPhoneNtpReference
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\RemovePhoneNtpReferences
     */
    public function setSelectedPhoneNtpReference(array $selectedPhoneNtpReference = array())
    {
        $this->selectedPhoneNtpReference = $selectedPhoneNtpReference;
        return $this;
    }
    /**
     * Add item to selectedPhoneNtpReference value
     * @throws \InvalidArgumentException
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\XDateTimeGroupNtpReference $item
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\RemovePhoneNtpReferences
     */
    public function addToSelectedPhoneNtpReference(\\Losc\CucmBundle\Model\Webservice\StructType\XDateTimeGroupNtpReference $item)
    {
        $this->selectedPhoneNtpReference[] = $item;
        return $this;
    }
}
