<?php

namespace Google\AdsApi\AdManager\v202211;


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

    /**
     * @var int $id
     */
    protected $id = null;

    /**
     * @var string $name
     */
    protected $name = null;

    /**
     * @var int[] $companyIds
     */
    protected $companyIds = null;

    /**
     * @var int $impressionsLookback
     */
    protected $impressionsLookback = null;

    /**
     * @var int $clicksLookback
     */
    protected $clicksLookback = null;

    /**
     * @var string $status
     */
    protected $status = null;

    /**
     * @param int $id
     * @param string $name
     * @param int[] $companyIds
     * @param int $impressionsLookback
     * @param int $clicksLookback
     * @param string $status
     */
    public function __construct($id = null, $name = null, array $companyIds = null, $impressionsLookback = null, $clicksLookback = null, $status = null)
    {
      $this->id = $id;
      $this->name = $name;
      $this->companyIds = $companyIds;
      $this->impressionsLookback = $impressionsLookback;
      $this->clicksLookback = $clicksLookback;
      $this->status = $status;
    }

    /**
     * @return int
     */
    public function getId()
    {
      return $this->id;
    }

    /**
     * @param int $id
     * @return \Google\AdsApi\AdManager\v202211\ActivityGroup
     */
    public function setId($id)
    {
      $this->id = (!is_null($id) && PHP_INT_SIZE === 4)
          ? floatval($id) : $id;
      return $this;
    }

    /**
     * @return string
     */
    public function getName()
    {
      return $this->name;
    }

    /**
     * @param string $name
     * @return \Google\AdsApi\AdManager\v202211\ActivityGroup
     */
    public function setName($name)
    {
      $this->name = $name;
      return $this;
    }

    /**
     * @return int[]
     */
    public function getCompanyIds()
    {
      return $this->companyIds;
    }

    /**
     * @param int[]|null $companyIds
     * @return \Google\AdsApi\AdManager\v202211\ActivityGroup
     */
    public function setCompanyIds(array $companyIds = null)
    {
      $this->companyIds = $companyIds;
      return $this;
    }

    /**
     * @return int
     */
    public function getImpressionsLookback()
    {
      return $this->impressionsLookback;
    }

    /**
     * @param int $impressionsLookback
     * @return \Google\AdsApi\AdManager\v202211\ActivityGroup
     */
    public function setImpressionsLookback($impressionsLookback)
    {
      $this->impressionsLookback = $impressionsLookback;
      return $this;
    }

    /**
     * @return int
     */
    public function getClicksLookback()
    {
      return $this->clicksLookback;
    }

    /**
     * @param int $clicksLookback
     * @return \Google\AdsApi\AdManager\v202211\ActivityGroup
     */
    public function setClicksLookback($clicksLookback)
    {
      $this->clicksLookback = $clicksLookback;
      return $this;
    }

    /**
     * @return string
     */
    public function getStatus()
    {
      return $this->status;
    }

    /**
     * @param string $status
     * @return \Google\AdsApi\AdManager\v202211\ActivityGroup
     */
    public function setStatus($status)
    {
      $this->status = $status;
      return $this;
    }

}
