Fixed bugs for PauseEventStreaming and DeleteEventStreaming

This commit is contained in:
sdk-team
2024-03-14 07:33:22 +00:00
parent 4970164a9f
commit c5710477dc
5 changed files with 9 additions and 9 deletions

View File

@@ -1 +1 @@
1.36.1876
1.36.1877

View File

@@ -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_;
};

View File

@@ -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_;
};

View File

@@ -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_;
}

View File

@@ -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_;
}