Update SplitVideoParts.

This commit is contained in:
sdk-team
2023-03-14 02:49:27 +00:00
parent 05012978b8
commit a657203073
3 changed files with 25 additions and 1 deletions

View File

@@ -1 +1 @@
1.36.1499
1.36.1500

View File

@@ -32,6 +32,10 @@ public:
~SplitVideoPartsRequest();
std::string get_Template() const;
void set_Template(const std::string &_template);
int getMinTime() const;
void setMinTime(int minTime);
int getMaxTime() const;
void setMaxTime(int maxTime);
bool getAsync() const;
void setAsync(bool async);
std::string getVideoUrl() const;
@@ -39,6 +43,8 @@ public:
private:
std::string _template_;
int minTime_;
int maxTime_;
bool async_;
std::string videoUrl_;
};

View File

@@ -34,6 +34,24 @@ void SplitVideoPartsRequest::set_Template(const std::string &_template) {
setBodyParameter(std::string("Template"), _template);
}
int SplitVideoPartsRequest::getMinTime() const {
return minTime_;
}
void SplitVideoPartsRequest::setMinTime(int minTime) {
minTime_ = minTime;
setBodyParameter(std::string("MinTime"), std::to_string(minTime));
}
int SplitVideoPartsRequest::getMaxTime() const {
return maxTime_;
}
void SplitVideoPartsRequest::setMaxTime(int maxTime) {
maxTime_ = maxTime;
setBodyParameter(std::string("MaxTime"), std::to_string(maxTime));
}
bool SplitVideoPartsRequest::getAsync() const {
return async_;
}