<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: proApiV1Prop.proto

namespace Rv\Data\API_v1_Prop_Request\PutProp;

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

/**
 * Generated from protobuf message <code>rv.data.API_v1_Prop_Request.PutProp.AutoClearChange</code>
 */
class AutoClearChange extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>bool auto_clear_enabled = 1;</code>
     */
    protected $auto_clear_enabled = false;
    /**
     * Generated from protobuf field <code>double auto_clear_duration = 2;</code>
     */
    protected $auto_clear_duration = 0.0;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type bool $auto_clear_enabled
     *     @type float $auto_clear_duration
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\ProApiV1Prop::initOnce();
        parent::__construct($data);
    }

    /**
     * Generated from protobuf field <code>bool auto_clear_enabled = 1;</code>
     * @return bool
     */
    public function getAutoClearEnabled()
    {
        return $this->auto_clear_enabled;
    }

    /**
     * Generated from protobuf field <code>bool auto_clear_enabled = 1;</code>
     * @param bool $var
     * @return $this
     */
    public function setAutoClearEnabled($var)
    {
        GPBUtil::checkBool($var);
        $this->auto_clear_enabled = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>double auto_clear_duration = 2;</code>
     * @return float
     */
    public function getAutoClearDuration()
    {
        return $this->auto_clear_duration;
    }

    /**
     * Generated from protobuf field <code>double auto_clear_duration = 2;</code>
     * @param float $var
     * @return $this
     */
    public function setAutoClearDuration($var)
    {
        GPBUtil::checkDouble($var);
        $this->auto_clear_duration = $var;

        return $this;
    }

}

