-Fix return message field type
This commit is contained in:
@@ -36,6 +36,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
struct TaskResult
|
||||
{
|
||||
std::string alphaUrl;
|
||||
int videoDuration;
|
||||
std::string failCode;
|
||||
std::string subtitlesUrl;
|
||||
|
||||
@@ -44,7 +44,7 @@ namespace AlibabaCloud
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
std::string getCode()const;
|
||||
std::string getSuccess()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
@@ -52,7 +52,7 @@ namespace AlibabaCloud
|
||||
std::string message_;
|
||||
Data data_;
|
||||
std::string code_;
|
||||
std::string success_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -44,7 +44,7 @@ namespace AlibabaCloud
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
std::string getCode()const;
|
||||
std::string getSuccess()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
@@ -52,7 +52,7 @@ namespace AlibabaCloud
|
||||
std::string message_;
|
||||
Data data_;
|
||||
std::string code_;
|
||||
std::string success_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -44,6 +44,7 @@ public:
|
||||
bool isAlpha;
|
||||
std::string backgroundImageUrl;
|
||||
bool isSubtitles;
|
||||
bool subtitleEmbedded;
|
||||
int resolution;
|
||||
int alphaFormat;
|
||||
};
|
||||
|
||||
@@ -47,6 +47,7 @@ public:
|
||||
bool isAlpha;
|
||||
std::string backgroundImageUrl;
|
||||
bool isSubtitles;
|
||||
bool subtitleEmbedded;
|
||||
int resolution;
|
||||
int alphaFormat;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user