<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/ads/googleads/v25/services/smart_campaign_setting_service.proto

namespace Google\Ads\GoogleAds\V25\Services;

use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\GPBUtil;
use Google\Protobuf\RepeatedField;

/**
 * Details related to paused Smart campaigns.
 *
 * Generated from protobuf message <code>google.ads.googleads.v25.services.SmartCampaignPausedDetails</code>
 */
class SmartCampaignPausedDetails extends \Google\Protobuf\Internal\Message
{
    /**
     * The timestamp of when the campaign was last paused.
     * The timestamp is in the customer’s timezone and in
     * “yyyy-MM-dd HH:mm:ss” format.
     *
     * Generated from protobuf field <code>optional string paused_date_time = 1;</code>
     */
    protected $paused_date_time = null;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $paused_date_time
     *           The timestamp of when the campaign was last paused.
     *           The timestamp is in the customer’s timezone and in
     *           “yyyy-MM-dd HH:mm:ss” format.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Ads\GoogleAds\V25\Services\SmartCampaignSettingService::initOnce();
        parent::__construct($data);
    }

    /**
     * The timestamp of when the campaign was last paused.
     * The timestamp is in the customer’s timezone and in
     * “yyyy-MM-dd HH:mm:ss” format.
     *
     * Generated from protobuf field <code>optional string paused_date_time = 1;</code>
     * @return string
     */
    public function getPausedDateTime()
    {
        return isset($this->paused_date_time) ? $this->paused_date_time : '';
    }

    public function hasPausedDateTime()
    {
        return isset($this->paused_date_time);
    }

    public function clearPausedDateTime()
    {
        unset($this->paused_date_time);
    }

    /**
     * The timestamp of when the campaign was last paused.
     * The timestamp is in the customer’s timezone and in
     * “yyyy-MM-dd HH:mm:ss” format.
     *
     * Generated from protobuf field <code>optional string paused_date_time = 1;</code>
     * @param string $var
     * @return $this
     */
    public function setPausedDateTime($var)
    {
        GPBUtil::checkString($var, True);
        $this->paused_date_time = $var;

        return $this;
    }

}

