<?php

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

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for XMediaResourceListMember StructType
 * @subpackage Structs
 */
class XMediaResourceListMember extends AbstractStructBase
{
    /**
     * The mediaResourceGroupName
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 1
     * @var \\Losc\CucmBundle\Model\Webservice\StructType\XFkType
     */
    public $mediaResourceGroupName;
    /**
     * The order
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 1
     * @var string
     */
    public $order;
    /**
     * Constructor method for XMediaResourceListMember
     * @uses XMediaResourceListMember::setMediaResourceGroupName()
     * @uses XMediaResourceListMember::setOrder()
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\XFkType $mediaResourceGroupName
     * @param string $order
     */
    public function __construct(\\Losc\CucmBundle\Model\Webservice\StructType\XFkType $mediaResourceGroupName = null, $order = null)
    {
        $this
            ->setMediaResourceGroupName($mediaResourceGroupName)
            ->setOrder($order);
    }
    /**
     * Get mediaResourceGroupName value
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\XFkType
     */
    public function getMediaResourceGroupName()
    {
        return $this->mediaResourceGroupName;
    }
    /**
     * Set mediaResourceGroupName value
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\XFkType $mediaResourceGroupName
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\XMediaResourceListMember
     */
    public function setMediaResourceGroupName(\\Losc\CucmBundle\Model\Webservice\StructType\XFkType $mediaResourceGroupName = null)
    {
        $this->mediaResourceGroupName = $mediaResourceGroupName;
        return $this;
    }
    /**
     * Get order value
     * @return string
     */
    public function getOrder()
    {
        return $this->order;
    }
    /**
     * Set order value
     * @param string $order
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\XMediaResourceListMember
     */
    public function setOrder($order = null)
    {
        $this->order = $order;
        return $this;
    }
}
