Encrypt Dialog Content.

This commit is contained in:
sdk-team
2021-06-16 05:40:01 +00:00
parent c3c8160946
commit c99e90b98e
4 changed files with 18 additions and 15 deletions

View File

@@ -1,3 +1,6 @@
2021-06-16 Version: 1.36.787
- Encrypt Dialog Content.
2021-06-15 Version: 1.36.786
- Add ListDevopsProjects.

View File

@@ -1 +1 @@
1.36.786
1.36.787

View File

@@ -35,16 +35,16 @@ namespace AlibabaCloud
ReplyTicketRequest();
~ReplyTicketRequest();
std::string getSecContent()const;
void setSecContent(const std::string& secContent);
std::string getContent()const;
void setContent(const std::string& content);
bool getEncrypt()const;
void setEncrypt(bool encrypt);
std::string getTicketId()const;
void setTicketId(const std::string& ticketId);
private:
std::string secContent_;
std::string content_;
bool encrypt_;
std::string ticketId_;
};

View File

@@ -27,17 +27,6 @@ ReplyTicketRequest::ReplyTicketRequest() :
ReplyTicketRequest::~ReplyTicketRequest()
{}
std::string ReplyTicketRequest::getSecContent()const
{
return secContent_;
}
void ReplyTicketRequest::setSecContent(const std::string& secContent)
{
secContent_ = secContent;
setBodyParameter("SecContent", secContent);
}
std::string ReplyTicketRequest::getContent()const
{
return content_;
@@ -49,6 +38,17 @@ void ReplyTicketRequest::setContent(const std::string& content)
setBodyParameter("Content", content);
}
bool ReplyTicketRequest::getEncrypt()const
{
return encrypt_;
}
void ReplyTicketRequest::setEncrypt(bool encrypt)
{
encrypt_ = encrypt;
setBodyParameter("Encrypt", encrypt ? "true" : "false");
}
std::string ReplyTicketRequest::getTicketId()const
{
return ticketId_;