<?php
 
 
 

namespace PhpWA\Protocol\Proto\SyncActionValue;

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




class PinAction extends \Google\Protobuf\Internal\Message
{
    


    protected $pinned = null;

    








    public function __construct($data = NULL) {
        \PhpWA\Protocol\Proto\Metadata\WAProto::initOnce();
        parent::__construct($data);
    }

    



    public function getPinned()
    {
        return isset($this->pinned) ? $this->pinned : false;
    }

    public function hasPinned()
    {
        return isset($this->pinned);
    }

    public function clearPinned()
    {
        unset($this->pinned);
    }

    




    public function setPinned($var)
    {
        GPBUtil::checkBool($var);
        $this->pinned = $var;

        return $this;
    }

}

