Fixed bugs for PauseEventStreaming and DeleteEventStreaming
This commit is contained in:
@@ -39,7 +39,7 @@ namespace AlibabaCloud
|
||||
~DeleteEventStreamingResult();
|
||||
std::string getMessage()const;
|
||||
bool getData()const;
|
||||
bool getCode()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
@@ -47,7 +47,7 @@ namespace AlibabaCloud
|
||||
private:
|
||||
std::string message_;
|
||||
bool data_;
|
||||
bool code_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
|
||||
@@ -39,7 +39,7 @@ namespace AlibabaCloud
|
||||
~PauseEventStreamingResult();
|
||||
std::string getMessage()const;
|
||||
bool getData()const;
|
||||
bool getCode()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
@@ -47,7 +47,7 @@ namespace AlibabaCloud
|
||||
private:
|
||||
std::string message_;
|
||||
bool data_;
|
||||
bool code_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
|
||||
@@ -44,7 +44,7 @@ void DeleteEventStreamingResult::parse(const std::string &payload)
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString() == "true";
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString() == "true";
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
@@ -60,7 +60,7 @@ bool DeleteEventStreamingResult::getData()const
|
||||
return data_;
|
||||
}
|
||||
|
||||
bool DeleteEventStreamingResult::getCode()const
|
||||
std::string DeleteEventStreamingResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
@@ -44,7 +44,7 @@ void PauseEventStreamingResult::parse(const std::string &payload)
|
||||
if(!value["Data"].isNull())
|
||||
data_ = value["Data"].asString() == "true";
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString() == "true";
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
@@ -60,7 +60,7 @@ bool PauseEventStreamingResult::getData()const
|
||||
return data_;
|
||||
}
|
||||
|
||||
bool PauseEventStreamingResult::getCode()const
|
||||
std::string PauseEventStreamingResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user