Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 486350c

Browse files
committed
Update API Unbind: add request parameters AppInstancePersistentId.
1 parent 33a37e7 commit 486350c

File tree

3 files changed

+21
-3
lines changed

3 files changed

+21
-3
lines changed

‎appstream-center-20210903/ChangeLog.txt‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
2025年10月28日 Version: 2.0.5
2+
- Update API Unbind: add request parameters AppInstancePersistentId.
3+
4+
15
2025年10月15日 Version: 2.0.4
26
- Update API GetConnectionTicket: add response parameters Body.AvatarId.
37
- Update API GetConnectionTicket: add response parameters Body.NextPollIntervalMs.

‎appstream-center-20210903/include/alibabacloud/models/UnbindRequest.hpp‎

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ namespace Models
1616
DARABONBA_PTR_TO_JSON(AppId, appId_);
1717
DARABONBA_PTR_TO_JSON(AppInstanceGroupId, appInstanceGroupId_);
1818
DARABONBA_PTR_TO_JSON(AppInstanceId, appInstanceId_);
19+
DARABONBA_PTR_TO_JSON(AppInstancePersistentId, appInstancePersistentId_);
1920
DARABONBA_PTR_TO_JSON(ClientId, clientId_);
2021
DARABONBA_PTR_TO_JSON(ClientIp, clientIp_);
2122
DARABONBA_PTR_TO_JSON(ClientOS, clientOS_);
@@ -31,6 +32,7 @@ namespace Models
3132
DARABONBA_PTR_FROM_JSON(AppId, appId_);
3233
DARABONBA_PTR_FROM_JSON(AppInstanceGroupId, appInstanceGroupId_);
3334
DARABONBA_PTR_FROM_JSON(AppInstanceId, appInstanceId_);
35+
DARABONBA_PTR_FROM_JSON(AppInstancePersistentId, appInstancePersistentId_);
3436
DARABONBA_PTR_FROM_JSON(ClientId, clientId_);
3537
DARABONBA_PTR_FROM_JSON(ClientIp, clientIp_);
3638
DARABONBA_PTR_FROM_JSON(ClientOS, clientOS_);
@@ -54,9 +56,9 @@ namespace Models
5456
virtual void fromMap(const Darabonba::Json &obj) override { from_json(obj, *this); validate(); };
5557
virtual Darabonba::Json toMap() const override { Darabonba::Json obj; to_json(obj, *this); return obj; };
5658
virtual bool empty() const override { return this->appId_ == nullptr
57-
&& return this->appInstanceGroupId_ == nullptr && return this->appInstanceId_ == nullptr && return this->clientId_ == nullptr && return this->clientIp_ == nullptr && return this->clientOS_ == nullptr
58-
&& return this->clientVersion_ == nullptr && return this->endUserId_ == nullptr && return this->loginRegionId_ == nullptr && return this->loginToken_ == nullptr && return this->productType_ == nullptr
59-
&& return this->sessionId_ == nullptr && return this->tenantId_ == nullptr; };
59+
&& return this->appInstanceGroupId_ == nullptr && return this->appInstanceId_ == nullptr && return this->appInstancePersistentId_ == nullptr && return this->clientId_ == nullptr && return this->clientIp_ == nullptr
60+
&& return this->clientOS_ == nullptr && return this->clientVersion_ == nullptr && return this->endUserId_ == nullptr && return this->loginRegionId_ == nullptr && return this->loginToken_ == nullptr
61+
&& return this->productType_ == nullptr && returnthis->sessionId_ == nullptr && return this->tenantId_ == nullptr; };
6062
// appId Field Functions
6163
bool hasAppId() const { return this->appId_ != nullptr;};
6264
void deleteAppId() { this->appId_ = nullptr;};
@@ -78,6 +80,13 @@ namespace Models
7880
inline UnbindRequest& setAppInstanceId(string appInstanceId) { DARABONBA_PTR_SET_VALUE(appInstanceId_, appInstanceId) };
7981

8082

83+
// appInstancePersistentId Field Functions
84+
bool hasAppInstancePersistentId() const { return this->appInstancePersistentId_ != nullptr;};
85+
void deleteAppInstancePersistentId() { this->appInstancePersistentId_ = nullptr;};
86+
inline string appInstancePersistentId() const { DARABONBA_PTR_GET_DEFAULT(appInstancePersistentId_, "") };
87+
inline UnbindRequest& setAppInstancePersistentId(string appInstancePersistentId) { DARABONBA_PTR_SET_VALUE(appInstancePersistentId_, appInstancePersistentId) };
88+
89+
8190
// clientId Field Functions
8291
bool hasClientId() const { return this->clientId_ != nullptr;};
8392
void deleteClientId() { this->clientId_ = nullptr;};
@@ -153,6 +162,7 @@ namespace Models
153162
// This parameter is required.
154163
std::shared_ptr<string> appInstanceGroupId_ = nullptr;
155164
std::shared_ptr<string> appInstanceId_ = nullptr;
165+
std::shared_ptr<string> appInstancePersistentId_ = nullptr;
156166
std::shared_ptr<string> clientId_ = nullptr;
157167
std::shared_ptr<string> clientIp_ = nullptr;
158168
std::shared_ptr<string> clientOS_ = nullptr;

‎appstream-center-20210903/src/Client.cpp‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -861,6 +861,10 @@ UnbindResponse Client::unbindWithOptions(const UnbindRequest &request, const Dar
861861
body["AppInstanceId"] = request.appInstanceId();
862862
}
863863

864+
if (!!request.hasAppInstancePersistentId()) {
865+
body["AppInstancePersistentId"] = request.appInstancePersistentId();
866+
}
867+
864868
if (!!request.hasClientId()) {
865869
body["ClientId"] = request.clientId();
866870
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /