<?php

namespace App\Request;

use OpenApi\Annotations as OA;

/**
 * @OA\Schema()
 */
class Response200
{
    /**
     * @OA\Property(type="number", example=200)
     */
    private $status;

    /**
     * @OA\Property(type="boolean", example=false)
     */
    private $error;

    /**
     * @OA\Property(
     *    type="array",
     *    @OA\Items(
     *          @OA\Property(property="responseByEndPoint")
     *    )
     * )
     */
    private $data;

    /**
     * Get the value of status
     */ 
    public function getStatus()
    {
        return $this->status;
    }

    /**
     * Set the value of status
     *
     * @return  self
     */ 
    public function setStatus($status)
    {
        $this->status = $status;

        return $this;
    }

    /**
     * Get the value of error
     */ 
    public function getError()
    {
        return $this->error;
    }

    /**
     * Set the value of error
     *
     * @return  self
     */ 
    public function setError($error)
    {
        $this->error = $error;

        return $this;
    }

    /**
     * Get the value of data
     */ 
    public function getData()
    {
        return $this->data;
    }

    /**
     * Set the value of data
     *
     * @return  self
     */ 
    public function setData($data)
    {
        $this->data = $data;

        return $this;
    }
}
