<?php

namespace Google\AdsApi\AdManager\v202205;


/**
 * This file was generated from WSDL. DO NOT EDIT.
 */
class BandwidthGroupTargeting
{

    /**
     * @var boolean $isTargeted
     */
    protected $isTargeted = null;

    /**
     * @var \Google\AdsApi\AdManager\v202205\Technology[] $bandwidthGroups
     */
    protected $bandwidthGroups = null;

    /**
     * @param boolean $isTargeted
     * @param \Google\AdsApi\AdManager\v202205\Technology[] $bandwidthGroups
     */
    public function __construct($isTargeted = null, array $bandwidthGroups = null)
    {
      $this->isTargeted = $isTargeted;
      $this->bandwidthGroups = $bandwidthGroups;
    }

    /**
     * @return boolean
     */
    public function getIsTargeted()
    {
      return $this->isTargeted;
    }

    /**
     * @param boolean $isTargeted
     * @return \Google\AdsApi\AdManager\v202205\BandwidthGroupTargeting
     */
    public function setIsTargeted($isTargeted)
    {
      $this->isTargeted = $isTargeted;
      return $this;
    }

    /**
     * @return \Google\AdsApi\AdManager\v202205\Technology[]
     */
    public function getBandwidthGroups()
    {
      return $this->bandwidthGroups;
    }

    /**
     * @param \Google\AdsApi\AdManager\v202205\Technology[]|null $bandwidthGroups
     * @return \Google\AdsApi\AdManager\v202205\BandwidthGroupTargeting
     */
    public function setBandwidthGroups(array $bandwidthGroups = null)
    {
      $this->bandwidthGroups = $bandwidthGroups;
      return $this;
    }

}
