Browse Source

Update to support new apis.

sdk-team 2 years ago
parent
commit
150f012d41

+ 1 - 1
VERSION

@@ -1 +1 @@
-1.36.1872
+1.36.1873

+ 3 - 0
live/include/alibabacloud/live/model/CreateLiveMessageAppRequest.h

@@ -32,6 +32,8 @@ public:
 	~CreateLiveMessageAppRequest();
 	std::string getDataCenter() const;
 	void setDataCenter(const std::string &dataCenter);
+	int getMsgLifeCycle() const;
+	void setMsgLifeCycle(int msgLifeCycle);
 	std::string getAppName() const;
 	void setAppName(const std::string &appName);
 	int getAuditType() const;
@@ -43,6 +45,7 @@ public:
 
 private:
 	std::string dataCenter_;
+	int msgLifeCycle_;
 	std::string appName_;
 	int auditType_;
 	std::string auditUrl_;

+ 9 - 0
live/src/model/CreateLiveMessageAppRequest.cc

@@ -34,6 +34,15 @@ void CreateLiveMessageAppRequest::setDataCenter(const std::string &dataCenter) {
   setParameter(std::string("DataCenter"), dataCenter);
 }
 
+int CreateLiveMessageAppRequest::getMsgLifeCycle() const {
+  return msgLifeCycle_;
+}
+
+void CreateLiveMessageAppRequest::setMsgLifeCycle(int msgLifeCycle) {
+  msgLifeCycle_ = msgLifeCycle;
+  setParameter(std::string("MsgLifeCycle"), std::to_string(msgLifeCycle));
+}
+
 std::string CreateLiveMessageAppRequest::getAppName() const {
   return appName_;
 }