-Fix return message field type

This commit is contained in:
sdk-team
2023-08-02 01:59:00 +00:00
parent 12a2e32e06
commit c5e8e9a8a8
13 changed files with 22 additions and 15 deletions

View File

@@ -36,6 +36,7 @@ namespace AlibabaCloud
{
struct TaskResult
{
std::string alphaUrl;
int videoDuration;
std::string failCode;
std::string subtitlesUrl;

View File

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

View File

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

View File

@@ -44,6 +44,7 @@ public:
bool isAlpha;
std::string backgroundImageUrl;
bool isSubtitles;
bool subtitleEmbedded;
int resolution;
int alphaFormat;
};

View File

@@ -47,6 +47,7 @@ public:
bool isAlpha;
std::string backgroundImageUrl;
bool isSubtitles;
bool subtitleEmbedded;
int resolution;
int alphaFormat;
};