<?php

namespace NoahVet\Reef\Jane\Exception;

class RevokeBadRequestException extends BadRequestException
{
    /**
     * @var \NoahVet\Reef\Jane\Model\OauthV2RevokeGetResponse400
     */
    protected $oauthV2RevokeGetResponse400;

    /**
     * @var \Psr\Http\Message\ResponseInterface
     */
    protected $response;

    public function __construct(\NoahVet\Reef\Jane\Model\OauthV2RevokeGetResponse400 $oauthV2RevokeGetResponse400, \Psr\Http\Message\ResponseInterface $response)
    {
        parent::__construct('Wrong or missing parameters');
        $this->oauthV2RevokeGetResponse400 = $oauthV2RevokeGetResponse400;
        $this->response = $response;
    }

    public function getOauthV2RevokeGetResponse400(): \NoahVet\Reef\Jane\Model\OauthV2RevokeGetResponse400
    {
        return $this->oauthV2RevokeGetResponse400;
    }

    public function getResponse(): \Psr\Http\Message\ResponseInterface
    {
        return $this->response;
    }
}
