由颍川发起的CSB SDK自动发布, 版本号:1.5.1

Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
This commit is contained in:
haowei.yao
2018-04-10 15:07:36 +08:00
parent 4fa1912a54
commit 7f8b47c92f
10 changed files with 53 additions and 43 deletions

View File

@@ -69,17 +69,6 @@ void FindApprovalOrderListRequest::setServiceName(const std::string& serviceName
setParameter("ServiceName", serviceName);
}
int FindApprovalOrderListRequest::getPageNum()const
{
return pageNum_;
}
void FindApprovalOrderListRequest::setPageNum(int pageNum)
{
pageNum_ = pageNum;
setParameter("PageNum", std::to_string(pageNum));
}
long FindApprovalOrderListRequest::getServiceId()const
{
return serviceId_;
@@ -91,6 +80,17 @@ void FindApprovalOrderListRequest::setServiceId(long serviceId)
setParameter("ServiceId", std::to_string(serviceId));
}
int FindApprovalOrderListRequest::getPageNum()const
{
return pageNum_;
}
void FindApprovalOrderListRequest::setPageNum(int pageNum)
{
pageNum_ = pageNum;
setParameter("PageNum", std::to_string(pageNum));
}
bool FindApprovalOrderListRequest::getOnlyPending()const
{
return onlyPending_;

View File

@@ -25,17 +25,6 @@ FindApproveServiceListRequest::FindApproveServiceListRequest() :
FindApproveServiceListRequest::~FindApproveServiceListRequest()
{}
std::string FindApproveServiceListRequest::getProjectName()const
{
return projectName_;
}
void FindApproveServiceListRequest::setProjectName(const std::string& projectName)
{
projectName_ = projectName;
setParameter("ProjectName", projectName);
}
std::string FindApproveServiceListRequest::getApproveLevel()const
{
return approveLevel_;
@@ -47,6 +36,17 @@ void FindApproveServiceListRequest::setApproveLevel(const std::string& approveLe
setParameter("ApproveLevel", approveLevel);
}
std::string FindApproveServiceListRequest::getProjectName()const
{
return projectName_;
}
void FindApproveServiceListRequest::setProjectName(const std::string& projectName)
{
projectName_ = projectName;
setParameter("ProjectName", projectName);
}
bool FindApproveServiceListRequest::getShowDelService()const
{
return showDelService_;

View File

@@ -36,17 +36,6 @@ void FindServiceListRequest::setProjectName(const std::string& projectName)
setParameter("ProjectName", projectName);
}
bool FindServiceListRequest::getShowDelService()const
{
return showDelService_;
}
void FindServiceListRequest::setShowDelService(bool showDelService)
{
showDelService_ = showDelService;
setParameter("ShowDelService", std::to_string(showDelService));
}
int FindServiceListRequest::getCasShowType()const
{
return casShowType_;
@@ -58,6 +47,17 @@ void FindServiceListRequest::setCasShowType(int casShowType)
setParameter("CasShowType", std::to_string(casShowType));
}
bool FindServiceListRequest::getShowDelService()const
{
return showDelService_;
}
void FindServiceListRequest::setShowDelService(bool showDelService)
{
showDelService_ = showDelService;
setParameter("ShowDelService", std::to_string(showDelService));
}
long FindServiceListRequest::getCsbId()const
{
return csbId_;

View File

@@ -91,6 +91,8 @@ void FindServiceListResult::parse(const std::string &payload)
serviceObject.status = std::stoi(value["Status"].asString());
if(!value["UserId"].isNull())
serviceObject.userId = value["UserId"].asString();
if(!value["CasTargets"].isNull())
serviceObject.casTargets = value["CasTargets"].asString();
data_.serviceList.push_back(serviceObject);
}
if(!value["Message"].isNull())