由颍川发起的CSB SDK自动发布, 版本号:1.5.1
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
2018-04-10 Version: 1.5.1
|
||||
1, publish Project API.
|
||||
2, publish Service API.
|
||||
3, publish Service order API.
|
||||
4, publish Credential API.
|
||||
5, publish CAS API.
|
||||
|
||||
2018-04-08 Version: 1.5.0
|
||||
1, Add voice asynchronous scan interface.
|
||||
|
||||
|
||||
@@ -43,10 +43,10 @@ namespace AlibabaCloud
|
||||
void setAlias(const std::string& alias);
|
||||
std::string getServiceName()const;
|
||||
void setServiceName(const std::string& serviceName);
|
||||
int getPageNum()const;
|
||||
void setPageNum(int pageNum);
|
||||
long getServiceId()const;
|
||||
void setServiceId(long serviceId);
|
||||
int getPageNum()const;
|
||||
void setPageNum(int pageNum);
|
||||
bool getOnlyPending()const;
|
||||
void setOnlyPending(bool onlyPending);
|
||||
|
||||
@@ -55,8 +55,8 @@ namespace AlibabaCloud
|
||||
std::string regionId_;
|
||||
std::string alias_;
|
||||
std::string serviceName_;
|
||||
int pageNum_;
|
||||
long serviceId_;
|
||||
int pageNum_;
|
||||
bool onlyPending_;
|
||||
|
||||
};
|
||||
|
||||
@@ -35,10 +35,10 @@ namespace AlibabaCloud
|
||||
FindApproveServiceListRequest();
|
||||
~FindApproveServiceListRequest();
|
||||
|
||||
std::string getProjectName()const;
|
||||
void setProjectName(const std::string& projectName);
|
||||
std::string getApproveLevel()const;
|
||||
void setApproveLevel(const std::string& approveLevel);
|
||||
std::string getProjectName()const;
|
||||
void setProjectName(const std::string& projectName);
|
||||
bool getShowDelService()const;
|
||||
void setShowDelService(bool showDelService);
|
||||
long getCsbId()const;
|
||||
@@ -51,8 +51,8 @@ namespace AlibabaCloud
|
||||
void setServiceName(const std::string& serviceName);
|
||||
|
||||
private:
|
||||
std::string projectName_;
|
||||
std::string approveLevel_;
|
||||
std::string projectName_;
|
||||
bool showDelService_;
|
||||
long csbId_;
|
||||
std::string regionId_;
|
||||
|
||||
@@ -37,10 +37,10 @@ namespace AlibabaCloud
|
||||
|
||||
std::string getProjectName()const;
|
||||
void setProjectName(const std::string& projectName);
|
||||
bool getShowDelService()const;
|
||||
void setShowDelService(bool showDelService);
|
||||
int getCasShowType()const;
|
||||
void setCasShowType(int casShowType);
|
||||
bool getShowDelService()const;
|
||||
void setShowDelService(bool showDelService);
|
||||
long getCsbId()const;
|
||||
void setCsbId(long csbId);
|
||||
std::string getRegionId()const;
|
||||
@@ -54,8 +54,8 @@ namespace AlibabaCloud
|
||||
|
||||
private:
|
||||
std::string projectName_;
|
||||
bool showDelService_;
|
||||
int casShowType_;
|
||||
bool showDelService_;
|
||||
long csbId_;
|
||||
std::string regionId_;
|
||||
std::string alias_;
|
||||
|
||||
@@ -56,6 +56,7 @@ namespace AlibabaCloud
|
||||
std::string serviceVersion;
|
||||
std::string interfaceName;
|
||||
long id;
|
||||
std::string casTargets;
|
||||
};
|
||||
int currentPage;
|
||||
int pageNumber;
|
||||
|
||||
@@ -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_;
|
||||
|
||||
@@ -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_;
|
||||
|
||||
@@ -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_;
|
||||
|
||||
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user