188 lines
3.5 KiB
PHP
188 lines
3.5 KiB
PHP
<?php
|
|
/*
|
|
* Copyright 2014 Google Inc.
|
|
*
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
|
* use this file except in compliance with the License. You may obtain a copy of
|
|
* the License at
|
|
*
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
* License for the specific language governing permissions and limitations under
|
|
* the License.
|
|
*/
|
|
|
|
namespace Google\Service\SA360;
|
|
|
|
class GoogleAdsSearchads360V0ResourcesAdGroupAd extends \Google\Collection
|
|
{
|
|
protected $collection_key = 'labels';
|
|
protected $adType = GoogleAdsSearchads360V0ResourcesAd::class;
|
|
protected $adDataType = '';
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $creationTime;
|
|
/**
|
|
* @var string[]
|
|
*/
|
|
public $effectiveLabels;
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $engineId;
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $engineStatus;
|
|
/**
|
|
* @var string[]
|
|
*/
|
|
public $labels;
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $lastModifiedTime;
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $resourceName;
|
|
/**
|
|
* @var string
|
|
*/
|
|
public $status;
|
|
|
|
/**
|
|
* @param GoogleAdsSearchads360V0ResourcesAd
|
|
*/
|
|
public function setAd(GoogleAdsSearchads360V0ResourcesAd $ad)
|
|
{
|
|
$this->ad = $ad;
|
|
}
|
|
/**
|
|
* @return GoogleAdsSearchads360V0ResourcesAd
|
|
*/
|
|
public function getAd()
|
|
{
|
|
return $this->ad;
|
|
}
|
|
/**
|
|
* @param string
|
|
*/
|
|
public function setCreationTime($creationTime)
|
|
{
|
|
$this->creationTime = $creationTime;
|
|
}
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getCreationTime()
|
|
{
|
|
return $this->creationTime;
|
|
}
|
|
/**
|
|
* @param string[]
|
|
*/
|
|
public function setEffectiveLabels($effectiveLabels)
|
|
{
|
|
$this->effectiveLabels = $effectiveLabels;
|
|
}
|
|
/**
|
|
* @return string[]
|
|
*/
|
|
public function getEffectiveLabels()
|
|
{
|
|
return $this->effectiveLabels;
|
|
}
|
|
/**
|
|
* @param string
|
|
*/
|
|
public function setEngineId($engineId)
|
|
{
|
|
$this->engineId = $engineId;
|
|
}
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getEngineId()
|
|
{
|
|
return $this->engineId;
|
|
}
|
|
/**
|
|
* @param string
|
|
*/
|
|
public function setEngineStatus($engineStatus)
|
|
{
|
|
$this->engineStatus = $engineStatus;
|
|
}
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getEngineStatus()
|
|
{
|
|
return $this->engineStatus;
|
|
}
|
|
/**
|
|
* @param string[]
|
|
*/
|
|
public function setLabels($labels)
|
|
{
|
|
$this->labels = $labels;
|
|
}
|
|
/**
|
|
* @return string[]
|
|
*/
|
|
public function getLabels()
|
|
{
|
|
return $this->labels;
|
|
}
|
|
/**
|
|
* @param string
|
|
*/
|
|
public function setLastModifiedTime($lastModifiedTime)
|
|
{
|
|
$this->lastModifiedTime = $lastModifiedTime;
|
|
}
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getLastModifiedTime()
|
|
{
|
|
return $this->lastModifiedTime;
|
|
}
|
|
/**
|
|
* @param string
|
|
*/
|
|
public function setResourceName($resourceName)
|
|
{
|
|
$this->resourceName = $resourceName;
|
|
}
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getResourceName()
|
|
{
|
|
return $this->resourceName;
|
|
}
|
|
/**
|
|
* @param string
|
|
*/
|
|
public function setStatus($status)
|
|
{
|
|
$this->status = $status;
|
|
}
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function getStatus()
|
|
{
|
|
return $this->status;
|
|
}
|
|
}
|
|
|
|
// Adding a class alias for backwards compatibility with the previous class name.
|
|
class_alias(GoogleAdsSearchads360V0ResourcesAdGroupAd::class, 'Google_Service_SA360_GoogleAdsSearchads360V0ResourcesAdGroupAd');
|