<?php

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

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for XDateTimeGroupNtpReference StructType
 * @subpackage Structs
 */
class XDateTimeGroupNtpReference extends AbstractStructBase
{
    /**
     * The phoneNtpName
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 1
     * @var \\Losc\CucmBundle\Model\Webservice\StructType\XFkType
     */
    public $phoneNtpName;
    /**
     * The selectionOrder
     * Meta information extracted from the WSDL
     * - default: 0
     * - maxOccurs: 1
     * - minOccurs: 1
     * - nillable: true
     * @var string
     */
    public $selectionOrder;
    /**
     * Constructor method for XDateTimeGroupNtpReference
     * @uses XDateTimeGroupNtpReference::setPhoneNtpName()
     * @uses XDateTimeGroupNtpReference::setSelectionOrder()
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\XFkType $phoneNtpName
     * @param string $selectionOrder
     */
    public function __construct(\\Losc\CucmBundle\Model\Webservice\StructType\XFkType $phoneNtpName = null, $selectionOrder = '0')
    {
        $this
            ->setPhoneNtpName($phoneNtpName)
            ->setSelectionOrder($selectionOrder);
    }
    /**
     * Get phoneNtpName value
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\XFkType
     */
    public function getPhoneNtpName()
    {
        return $this->phoneNtpName;
    }
    /**
     * Set phoneNtpName value
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\XFkType $phoneNtpName
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\XDateTimeGroupNtpReference
     */
    public function setPhoneNtpName(\\Losc\CucmBundle\Model\Webservice\StructType\XFkType $phoneNtpName = null)
    {
        $this->phoneNtpName = $phoneNtpName;
        return $this;
    }
    /**
     * Get selectionOrder value
     * @return string
     */
    public function getSelectionOrder()
    {
        return $this->selectionOrder;
    }
    /**
     * Set selectionOrder value
     * @param string $selectionOrder
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\XDateTimeGroupNtpReference
     */
    public function setSelectionOrder($selectionOrder = '0')
    {
        $this->selectionOrder = $selectionOrder;
        return $this;
    }
}
