<?php

namespace StructType;

use \WsdlToPhp\PackageBase\AbstractStructBase;

/**
 * This class stands for TXConnectGroups StructType
 * @subpackage Structs
 */
class TXConnectGroups extends AbstractStructBase
{
    /**
     * The ConnectGroups
     * Meta information extracted from the WSDL
     * - maxOccurs: 1
     * - minOccurs: 0
     * @var \ArrayType\ArrayOfConnectGroup
     */
    public $ConnectGroups;
    /**
     * Constructor method for TXConnectGroups
     * @uses TXConnectGroups::setConnectGroups()
     * @param \ArrayType\ArrayOfConnectGroup $connectGroups
     */
    public function __construct(\ArrayType\ArrayOfConnectGroup $connectGroups = null)
    {
        $this
            ->setConnectGroups($connectGroups);
    }
    /**
     * Get ConnectGroups value
     * @return \ArrayType\ArrayOfConnectGroup|null
     */
    public function getConnectGroups()
    {
        return $this->ConnectGroups;
    }
    /**
     * Set ConnectGroups value
     * @param \ArrayType\ArrayOfConnectGroup $connectGroups
     * @return \StructType\TXConnectGroups
     */
    public function setConnectGroups(\ArrayType\ArrayOfConnectGroup $connectGroups = null)
    {
        $this->ConnectGroups = $connectGroups;
        return $this;
    }
}
