Skip to content

Commit 43c9c8d

Browse files
committed
Update API RtcSipInviteMember: add request parameters TaskId.
1 parent af1ae74 commit 43c9c8d

File tree

3 files changed

+19
-1
lines changed

3 files changed

+19
-1
lines changed

rtc-20180111/ChangeLog.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
2025-11-19 Version: 5.3.1
2+
- Update API RtcSipInviteMember: add request parameters TaskId.
3+
4+
15
2025-11-06 Version: 5.3.0
26
- Support API CreateAppViewTemplate.
37
- Support API DeleteAppViewTemplate.

rtc-20180111/include/alibabacloud/models/RtcSipInviteMemberRequest.hpp

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ namespace Models
2626
DARABONBA_PTR_TO_JSON(SipUserAgent, sipUserAgent_);
2727
DARABONBA_PTR_TO_JSON(SipUserId, sipUserId_);
2828
DARABONBA_PTR_TO_JSON(SipUserPassword, sipUserPassword_);
29+
DARABONBA_PTR_TO_JSON(TaskId, taskId_);
2930
DARABONBA_PTR_TO_JSON(Uid, uid_);
3031
};
3132
friend void from_json(const Darabonba::Json& j, RtcSipInviteMemberRequest& obj) {
@@ -42,6 +43,7 @@ namespace Models
4243
DARABONBA_PTR_FROM_JSON(SipUserAgent, sipUserAgent_);
4344
DARABONBA_PTR_FROM_JSON(SipUserId, sipUserId_);
4445
DARABONBA_PTR_FROM_JSON(SipUserPassword, sipUserPassword_);
46+
DARABONBA_PTR_FROM_JSON(TaskId, taskId_);
4547
DARABONBA_PTR_FROM_JSON(Uid, uid_);
4648
};
4749
RtcSipInviteMemberRequest() = default ;
@@ -58,7 +60,7 @@ namespace Models
5860
virtual bool empty() const override { return this->appId_ == nullptr
5961
&& return this->appToken_ == nullptr && return this->callNumber_ == nullptr && return this->channelId_ == nullptr && return this->deviceType_ == nullptr && return this->registered_ == nullptr
6062
&& return this->serverAddress_ == nullptr && return this->sipDisplayName_ == nullptr && return this->sipRoomId_ == nullptr && return this->sipUri_ == nullptr && return this->sipUserAgent_ == nullptr
61-
&& return this->sipUserId_ == nullptr && return this->sipUserPassword_ == nullptr && return this->uid_ == nullptr; };
63+
&& return this->sipUserId_ == nullptr && return this->sipUserPassword_ == nullptr && return this->taskId_ == nullptr && return this->uid_ == nullptr; };
6264
// appId Field Functions
6365
bool hasAppId() const { return this->appId_ != nullptr;};
6466
void deleteAppId() { this->appId_ = nullptr;};
@@ -150,6 +152,13 @@ namespace Models
150152
inline RtcSipInviteMemberRequest& setSipUserPassword(string sipUserPassword) { DARABONBA_PTR_SET_VALUE(sipUserPassword_, sipUserPassword) };
151153

152154

155+
// taskId Field Functions
156+
bool hasTaskId() const { return this->taskId_ != nullptr;};
157+
void deleteTaskId() { this->taskId_ = nullptr;};
158+
inline string taskId() const { DARABONBA_PTR_GET_DEFAULT(taskId_, "") };
159+
inline RtcSipInviteMemberRequest& setTaskId(string taskId) { DARABONBA_PTR_SET_VALUE(taskId_, taskId) };
160+
161+
153162
// uid Field Functions
154163
bool hasUid() const { return this->uid_ != nullptr;};
155164
void deleteUid() { this->uid_ = nullptr;};
@@ -178,6 +187,7 @@ namespace Models
178187
// This parameter is required.
179188
std::shared_ptr<string> sipUserId_ = nullptr;
180189
std::shared_ptr<string> sipUserPassword_ = nullptr;
190+
std::shared_ptr<string> taskId_ = nullptr;
181191
// This parameter is required.
182192
std::shared_ptr<string> uid_ = nullptr;
183193
};

rtc-20180111/src/Client.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5834,6 +5834,10 @@ RtcSipInviteMemberResponse Client::rtcSipInviteMemberWithOptions(const RtcSipInv
58345834
query["SipUserPassword"] = request.sipUserPassword();
58355835
}
58365836

5837+
if (!!request.hasTaskId()) {
5838+
query["TaskId"] = request.taskId();
5839+
}
5840+
58375841
if (!!request.hasUid()) {
58385842
query["Uid"] = request.uid();
58395843
}

0 commit comments

Comments
 (0)