<?php

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

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for XPresenceGroupMember StructType
 * @subpackage Structs
 */
class XPresenceGroupMember extends AbstractStructBase
{
    /**
     * The presenceGroupName
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 1
     * @var \\Losc\CucmBundle\Model\Webservice\StructType\XFkType
     */
    public $presenceGroupName;
    /**
     * The subscriptionPermission
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 1
     * @var string
     */
    public $subscriptionPermission;
    /**
     * Constructor method for XPresenceGroupMember
     * @uses XPresenceGroupMember::setPresenceGroupName()
     * @uses XPresenceGroupMember::setSubscriptionPermission()
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\XFkType $presenceGroupName
     * @param string $subscriptionPermission
     */
    public function __construct(\\Losc\CucmBundle\Model\Webservice\StructType\XFkType $presenceGroupName = null, $subscriptionPermission = null)
    {
        $this
            ->setPresenceGroupName($presenceGroupName)
            ->setSubscriptionPermission($subscriptionPermission);
    }
    /**
     * Get presenceGroupName value
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\XFkType
     */
    public function getPresenceGroupName()
    {
        return $this->presenceGroupName;
    }
    /**
     * Set presenceGroupName value
     * @param \\Losc\CucmBundle\Model\Webservice\StructType\XFkType $presenceGroupName
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\XPresenceGroupMember
     */
    public function setPresenceGroupName(\\Losc\CucmBundle\Model\Webservice\StructType\XFkType $presenceGroupName = null)
    {
        $this->presenceGroupName = $presenceGroupName;
        return $this;
    }
    /**
     * Get subscriptionPermission value
     * @return string
     */
    public function getSubscriptionPermission()
    {
        return $this->subscriptionPermission;
    }
    /**
     * Set subscriptionPermission value
     * @param string $subscriptionPermission
     * @return \\Losc\CucmBundle\Model\Webservice\StructType\XPresenceGroupMember
     */
    public function setSubscriptionPermission($subscriptionPermission = null)
    {
        $this->subscriptionPermission = $subscriptionPermission;
        return $this;
    }
}
