<?php

namespace Google\AdsApi\AdWords\v201806\cm;


/**
 * This file was generated from WSDL. DO NOT EDIT.
 */
class RealTimeBiddingSetting extends \Google\AdsApi\AdWords\v201806\cm\Setting
{

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

    /**
     * @param string $SettingType
     * @param boolean $optIn
     */
    public function __construct($SettingType = null, $optIn = null)
    {
      parent::__construct($SettingType);
      $this->optIn = $optIn;
    }

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

    /**
     * @param boolean $optIn
     * @return \Google\AdsApi\AdWords\v201806\cm\RealTimeBiddingSetting
     */
    public function setOptIn($optIn)
    {
      $this->optIn = $optIn;
      return $this;
    }

}
