Publish sdk.
This commit is contained in:
@@ -48,10 +48,14 @@ public:
|
||||
void setRouteName(const std::string &routeName);
|
||||
std::string getEmail() const;
|
||||
void setEmail(const std::string &email);
|
||||
std::string getHmSignName() const;
|
||||
void setHmSignName(const std::string &hmSignName);
|
||||
std::string getPackSign() const;
|
||||
void setPackSign(const std::string &packSign);
|
||||
std::string getPackName() const;
|
||||
void setPackName(const std::string &packName);
|
||||
std::string getHmAppIdentifier() const;
|
||||
void setHmAppIdentifier(const std::string &hmAppIdentifier);
|
||||
long getCuApiCode() const;
|
||||
void setCuApiCode(long cuApiCode);
|
||||
std::string getSceneType() const;
|
||||
@@ -72,6 +76,8 @@ public:
|
||||
void setSchemeName(const std::string &schemeName);
|
||||
std::string getSmsSignName() const;
|
||||
void setSmsSignName(const std::string &smsSignName);
|
||||
std::string getHmPackageName() const;
|
||||
void setHmPackageName(const std::string &hmPackageName);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
@@ -83,8 +89,10 @@ private:
|
||||
std::string ipWhiteList_;
|
||||
std::string routeName_;
|
||||
std::string email_;
|
||||
std::string hmSignName_;
|
||||
std::string packSign_;
|
||||
std::string packName_;
|
||||
std::string hmAppIdentifier_;
|
||||
long cuApiCode_;
|
||||
std::string sceneType_;
|
||||
std::string resourceOwnerAccount_;
|
||||
@@ -95,6 +103,7 @@ private:
|
||||
long cmApiCode_;
|
||||
std::string schemeName_;
|
||||
std::string smsSignName_;
|
||||
std::string hmPackageName_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dypnsapi
|
||||
|
||||
@@ -38,21 +38,36 @@ public:
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getSceneCode() const;
|
||||
void setSceneCode(const std::string &sceneCode);
|
||||
int getCuApiCode() const;
|
||||
void setCuApiCode(int cuApiCode);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
|
||||
int getCtApiCode() const;
|
||||
void setCtApiCode(int ctApiCode);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getVersion() const;
|
||||
void setVersion(const std::string &version);
|
||||
std::string getUrl() const;
|
||||
void setUrl(const std::string &url);
|
||||
int getBizType() const;
|
||||
void setBizType(int bizType);
|
||||
int getCmApiCode() const;
|
||||
void setCmApiCode(int cmApiCode);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string origin_;
|
||||
std::string accessKeyId_;
|
||||
std::string sceneCode_;
|
||||
int cuApiCode_;
|
||||
std::string resourceOwnerAccount_;
|
||||
int ctApiCode_;
|
||||
long ownerId_;
|
||||
std::string version_;
|
||||
std::string url_;
|
||||
int bizType_;
|
||||
int cmApiCode_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dypnsapi
|
||||
|
||||
@@ -106,6 +106,15 @@ void CreateVerifySchemeRequest::setEmail(const std::string &email) {
|
||||
setParameter(std::string("Email"), email);
|
||||
}
|
||||
|
||||
std::string CreateVerifySchemeRequest::getHmSignName() const {
|
||||
return hmSignName_;
|
||||
}
|
||||
|
||||
void CreateVerifySchemeRequest::setHmSignName(const std::string &hmSignName) {
|
||||
hmSignName_ = hmSignName;
|
||||
setParameter(std::string("HmSignName"), hmSignName);
|
||||
}
|
||||
|
||||
std::string CreateVerifySchemeRequest::getPackSign() const {
|
||||
return packSign_;
|
||||
}
|
||||
@@ -124,6 +133,15 @@ void CreateVerifySchemeRequest::setPackName(const std::string &packName) {
|
||||
setParameter(std::string("PackName"), packName);
|
||||
}
|
||||
|
||||
std::string CreateVerifySchemeRequest::getHmAppIdentifier() const {
|
||||
return hmAppIdentifier_;
|
||||
}
|
||||
|
||||
void CreateVerifySchemeRequest::setHmAppIdentifier(const std::string &hmAppIdentifier) {
|
||||
hmAppIdentifier_ = hmAppIdentifier;
|
||||
setParameter(std::string("HmAppIdentifier"), hmAppIdentifier);
|
||||
}
|
||||
|
||||
long CreateVerifySchemeRequest::getCuApiCode() const {
|
||||
return cuApiCode_;
|
||||
}
|
||||
@@ -214,3 +232,12 @@ void CreateVerifySchemeRequest::setSmsSignName(const std::string &smsSignName) {
|
||||
setParameter(std::string("SmsSignName"), smsSignName);
|
||||
}
|
||||
|
||||
std::string CreateVerifySchemeRequest::getHmPackageName() const {
|
||||
return hmPackageName_;
|
||||
}
|
||||
|
||||
void CreateVerifySchemeRequest::setHmPackageName(const std::string &hmPackageName) {
|
||||
hmPackageName_ = hmPackageName;
|
||||
setParameter(std::string("HmPackageName"), hmPackageName);
|
||||
}
|
||||
|
||||
|
||||
@@ -61,6 +61,15 @@ void GetAuthTokenRequest::setSceneCode(const std::string &sceneCode) {
|
||||
setParameter(std::string("SceneCode"), sceneCode);
|
||||
}
|
||||
|
||||
int GetAuthTokenRequest::getCuApiCode() const {
|
||||
return cuApiCode_;
|
||||
}
|
||||
|
||||
void GetAuthTokenRequest::setCuApiCode(int cuApiCode) {
|
||||
cuApiCode_ = cuApiCode;
|
||||
setParameter(std::string("CuApiCode"), std::to_string(cuApiCode));
|
||||
}
|
||||
|
||||
std::string GetAuthTokenRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
@@ -70,6 +79,15 @@ void GetAuthTokenRequest::setResourceOwnerAccount(const std::string &resourceOwn
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
}
|
||||
|
||||
int GetAuthTokenRequest::getCtApiCode() const {
|
||||
return ctApiCode_;
|
||||
}
|
||||
|
||||
void GetAuthTokenRequest::setCtApiCode(int ctApiCode) {
|
||||
ctApiCode_ = ctApiCode;
|
||||
setParameter(std::string("CtApiCode"), std::to_string(ctApiCode));
|
||||
}
|
||||
|
||||
long GetAuthTokenRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
@@ -79,6 +97,15 @@ void GetAuthTokenRequest::setOwnerId(long ownerId) {
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string GetAuthTokenRequest::getVersion() const {
|
||||
return version_;
|
||||
}
|
||||
|
||||
void GetAuthTokenRequest::setVersion(const std::string &version) {
|
||||
version_ = version;
|
||||
setParameter(std::string("Version"), version);
|
||||
}
|
||||
|
||||
std::string GetAuthTokenRequest::getUrl() const {
|
||||
return url_;
|
||||
}
|
||||
@@ -88,3 +115,21 @@ void GetAuthTokenRequest::setUrl(const std::string &url) {
|
||||
setParameter(std::string("Url"), url);
|
||||
}
|
||||
|
||||
int GetAuthTokenRequest::getBizType() const {
|
||||
return bizType_;
|
||||
}
|
||||
|
||||
void GetAuthTokenRequest::setBizType(int bizType) {
|
||||
bizType_ = bizType;
|
||||
setParameter(std::string("BizType"), std::to_string(bizType));
|
||||
}
|
||||
|
||||
int GetAuthTokenRequest::getCmApiCode() const {
|
||||
return cmApiCode_;
|
||||
}
|
||||
|
||||
void GetAuthTokenRequest::setCmApiCode(int cmApiCode) {
|
||||
cmApiCode_ = cmApiCode;
|
||||
setParameter(std::string("CmApiCode"), std::to_string(cmApiCode));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user