<?php

namespace Google\AdsApi\AdWords\v201806\cm;


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

    /**
     * @var \Google\AdsApi\AdWords\v201806\cm\AdGroup[] $value
     */
    protected $value = null;

    /**
     * @var \Google\AdsApi\AdWords\v201806\cm\ApiError[] $partialFailureErrors
     */
    protected $partialFailureErrors = null;

    /**
     * @param string $ListReturnValueType
     * @param \Google\AdsApi\AdWords\v201806\cm\AdGroup[] $value
     * @param \Google\AdsApi\AdWords\v201806\cm\ApiError[] $partialFailureErrors
     */
    public function __construct($ListReturnValueType = null, array $value = null, array $partialFailureErrors = null)
    {
      parent::__construct($ListReturnValueType);
      $this->value = $value;
      $this->partialFailureErrors = $partialFailureErrors;
    }

    /**
     * @return \Google\AdsApi\AdWords\v201806\cm\AdGroup[]
     */
    public function getValue()
    {
      return $this->value;
    }

    /**
     * @param \Google\AdsApi\AdWords\v201806\cm\AdGroup[] $value
     * @return \Google\AdsApi\AdWords\v201806\cm\AdGroupReturnValue
     */
    public function setValue(array $value)
    {
      $this->value = $value;
      return $this;
    }

    /**
     * @return \Google\AdsApi\AdWords\v201806\cm\ApiError[]
     */
    public function getPartialFailureErrors()
    {
      return $this->partialFailureErrors;
    }

    /**
     * @param \Google\AdsApi\AdWords\v201806\cm\ApiError[] $partialFailureErrors
     * @return \Google\AdsApi\AdWords\v201806\cm\AdGroupReturnValue
     */
    public function setPartialFailureErrors(array $partialFailureErrors)
    {
      $this->partialFailureErrors = $partialFailureErrors;
      return $this;
    }

}
