<?php

namespace Koalamon\IntegrationBundle\Integration;

class Integration
{
    private $name;
    private $image;
    private $description;
    private $url;
    private $activeElements;
    private $totalElements;

    /**
     * Integration constructor.
     *
     * @param $name
     * @param $image
     * @param $description
     * @param $url
     */
    public function __construct($name, $image, $description, $url = null, $activeElements = null, $totalElements = null)
    {
        $this->name = $name;
        $this->image = $image;
        $this->description = $description;
        $this->url = $url;
        $this->activeElements = $activeElements;
        $this->totalElements = $totalElements;
    }

    /**
     * @return mixed
     */
    public function getName()
    {
        return $this->name;
    }

    /**
     * @return mixed
     */
    public function getImage()
    {
        return $this->image;
    }

    /**
     * @return mixed
     */
    public function getDescription()
    {
        return $this->description;
    }

    /**
     * @return mixed
     */
    public function getUrl()
    {
        return $this->url;
    }

    /**
     * @return null
     */
    public function getActiveElements()
    {
        return $this->activeElements;
    }

    /**
     * @return null
     */
    public function getTotalElements()
    {
        return $this->totalElements;
    }

    /**
     * @param null $activeElements
     */
    public function setActiveElements($activeElements)
    {
        $this->activeElements = $activeElements;
    }

    public function setUrl($url)
    {
        $this->url = $url;
    }
}