<?php

namespace Google\AdsApi\AdWords\v201806\cm;


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

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

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

    /**
     * @param string $ListReturnValueType
     * @param \Google\AdsApi\AdWords\v201806\cm\AdGroupAd[] $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\AdGroupAd[]
     */
    public function getValue()
    {
      return $this->value;
    }

    /**
     * @param \Google\AdsApi\AdWords\v201806\cm\AdGroupAd[] $value
     * @return \Google\AdsApi\AdWords\v201806\cm\AdGroupAdReturnValue
     */
    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\AdGroupAdReturnValue
     */
    public function setPartialFailureErrors(array $partialFailureErrors)
    {
      $this->partialFailureErrors = $partialFailureErrors;
      return $this;
    }

}
