<?php

namespace ShopMagicVendor\Getresponse\Sdk\Operation\Model;

class LastClickDateCondition extends ConditionType
{
    /** @var string */
    private $operatorType;
    /** @var string */
    private $operator;
    /** @var string */
    private $value;
    /**
     * @param string $operatorType
     * @param string $operator
     * @param string $value
     */
    public function __construct($operatorType, $operator, $value)
    {
        parent::__construct('last_click_date');
        $this->operatorType = $operatorType;
        $this->operator = $operator;
        $this->value = $value;
    }
    public function jsonSerialize(): array
    {
        $data = ['operatorType' => $this->operatorType, 'operator' => $this->operator, 'value' => $this->value];
        return array_merge(parent::jsonSerialize(), $this->filterUnsetFields($data));
    }
}
