Skip to content

Commit 4bf73b8

Browse files
committed
SDK update.
1 parent 4230fdc commit 4bf73b8

File tree

3 files changed

+13
-1
lines changed

3 files changed

+13
-1
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.36.2124
1+
1.36.2125

swas-open/include/alibabacloud/swas-open/model/StartTerminalSessionRequest.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,15 @@ class ALIBABACLOUD_SWAS_OPEN_EXPORT StartTerminalSessionRequest : public RpcServ
3030
public:
3131
StartTerminalSessionRequest();
3232
~StartTerminalSessionRequest();
33+
std::string getCommandLine() const;
34+
void setCommandLine(const std::string &commandLine);
3335
std::string getInstanceId() const;
3436
void setInstanceId(const std::string &instanceId);
3537
std::string getRegionId() const;
3638
void setRegionId(const std::string &regionId);
3739

3840
private:
41+
std::string commandLine_;
3942
std::string instanceId_;
4043
std::string regionId_;
4144
};

swas-open/src/model/StartTerminalSessionRequest.cc

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,15 @@ StartTerminalSessionRequest::StartTerminalSessionRequest()
2525

2626
StartTerminalSessionRequest::~StartTerminalSessionRequest() {}
2727

28+
std::string StartTerminalSessionRequest::getCommandLine() const {
29+
return commandLine_;
30+
}
31+
32+
void StartTerminalSessionRequest::setCommandLine(const std::string &commandLine) {
33+
commandLine_ = commandLine;
34+
setParameter(std::string("CommandLine"), commandLine);
35+
}
36+
2837
std::string StartTerminalSessionRequest::getInstanceId() const {
2938
return instanceId_;
3039
}

0 commit comments

Comments
 (0)