You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
57 lines
1.1 KiB
57 lines
1.1 KiB
<?php
|
|
/**
|
|
* Created by PhpStorm.
|
|
* User: zhangw
|
|
* Date: 2017/12/19
|
|
* Time: 下午6:39
|
|
*/
|
|
namespace UnitTest\Ft;
|
|
|
|
class TestRoaApiRequest extends \RoaAcsRequest
|
|
{
|
|
public function __construct()
|
|
{
|
|
parent::__construct("Ft", "2016-01-02", "TestRoaApi");
|
|
$this->setUriPattern("/web/cloudapi");
|
|
$this->setMethod("GET");
|
|
}
|
|
|
|
private $queryParam;
|
|
|
|
private $bodyParam;
|
|
|
|
private $headerParam;
|
|
|
|
public function getQueryParam()
|
|
{
|
|
return $this->queryParam;
|
|
}
|
|
|
|
public function setQueryParam($queryParam)
|
|
{
|
|
$this->queryParam = $queryParam;
|
|
$this->queryParameters["QueryParam"]=$queryParam;
|
|
}
|
|
|
|
public function getBodyParam()
|
|
{
|
|
return $this->bodyParam;
|
|
}
|
|
|
|
public function setBodyParam($bodyParam)
|
|
{
|
|
$this->bodyParam = $bodyParam;
|
|
$this->queryParameters["BodyParam"]=$bodyParam;
|
|
}
|
|
|
|
public function getHeaderParam()
|
|
{
|
|
return $this->headerParam;
|
|
}
|
|
|
|
public function setHeaderParam($headerParam)
|
|
{
|
|
$this->headerParam = $headerParam;
|
|
$this->headerParam["HeaderParam"]=$headerParam;
|
|
}
|
|
}
|