Update SplitVideoParts.
This commit is contained in:
@@ -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_;
|
||||
};
|
||||
|
||||
@@ -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_;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user