gs2 1.3.6 → 1.3.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/account/request/CreateTakeOverByUserIdRequest.ts +15 -0
- package/src/account/request/DeleteBnlinkRequest.ts +113 -0
- package/src/account/request/DeleteTakeOverByUserIdentifierRequest.ts +15 -0
- package/src/account/request/DescribeBnlinksRequest.ts +181 -0
- package/src/account/request/GetBnlinkRequest.ts +113 -0
- package/src/account/request/SetBnlinkRequest.ts +113 -0
- package/src/account/request/UpdateTakeOverByUserIdRequest.ts +15 -0
- package/src/account/request/UpdateTimeOffsetRequest.ts +15 -0
- package/src/account/rest.ts +12 -0
- package/src/account/result/DeleteBnlinkResult.ts +48 -0
- package/src/account/result/DescribeBnlinksResult.ts +73 -0
- package/src/account/result/GetBnlinkResult.ts +48 -0
- package/src/account/result/SetBnlinkResult.ts +48 -0
- package/src/auth/model/AccessToken.ts +18 -11
- package/src/auth/request/LoginBySignatureRequest.ts +0 -17
- package/src/auth/rest.ts +0 -1
- package/src/chat/request/PostByUserIdRequest.ts +15 -0
- package/src/chat/request/SubscribeByUserIdRequest.ts +15 -0
- package/src/chat/request/UnsubscribeByUserIdRequest.ts +15 -0
- package/src/chat/request/UpdateNotificationTypeByUserIdRequest.ts +15 -0
- package/src/chat/rest.ts +12 -0
- package/src/datastore/request/DeleteDataObjectByUserIdRequest.ts +15 -0
- package/src/datastore/request/DoneUploadByUserIdRequest.ts +15 -0
- package/src/datastore/request/PrepareDownloadByGenerationAndUserIdRequest.ts +15 -0
- package/src/datastore/request/PrepareDownloadByUserIdAndDataObjectNameAndGenerationRequest.ts +15 -0
- package/src/datastore/request/PrepareDownloadByUserIdAndDataObjectNameRequest.ts +15 -0
- package/src/datastore/request/PrepareDownloadByUserIdRequest.ts +15 -0
- package/src/datastore/request/PrepareReUploadByUserIdRequest.ts +15 -0
- package/src/datastore/request/PrepareUploadByUserIdRequest.ts +15 -0
- package/src/datastore/request/UpdateDataObjectByUserIdRequest.ts +15 -0
- package/src/datastore/rest.ts +27 -0
- package/src/deploy/model/Event.ts +1 -1
- package/src/deploy/model/Output.ts +1 -1
- package/src/deploy/model/Resource.ts +1 -1
- package/src/deploy/model/Stack.ts +1 -1
- package/src/dictionary/request/AddEntriesByUserIdRequest.ts +15 -0
- package/src/dictionary/request/ResetByUserIdRequest.ts +15 -0
- package/src/dictionary/rest.ts +6 -0
- package/src/enhance/request/CreateProgressByUserIdRequest.ts +15 -0
- package/src/enhance/request/DeleteProgressByUserIdRequest.ts +15 -0
- package/src/enhance/request/DirectEnhanceByUserIdRequest.ts +15 -0
- package/src/enhance/request/EndByUserIdRequest.ts +15 -0
- package/src/enhance/request/StartByUserIdRequest.ts +15 -0
- package/src/enhance/rest.ts +15 -0
- package/src/exchange/request/AcquireByUserIdRequest.ts +15 -0
- package/src/exchange/request/AcquireForceByUserIdRequest.ts +15 -0
- package/src/exchange/request/CreateAwaitByUserIdRequest.ts +15 -0
- package/src/exchange/request/DeleteAwaitByUserIdRequest.ts +15 -0
- package/src/exchange/request/ExchangeByUserIdRequest.ts +15 -0
- package/src/exchange/request/SkipByUserIdRequest.ts +15 -0
- package/src/exchange/rest.ts +18 -0
- package/src/experience/request/AddExperienceByUserIdRequest.ts +15 -0
- package/src/experience/request/AddRankCapByUserIdRequest.ts +15 -0
- package/src/experience/request/DeleteStatusByUserIdRequest.ts +15 -0
- package/src/experience/request/SetExperienceByUserIdRequest.ts +15 -0
- package/src/experience/request/SetRankCapByUserIdRequest.ts +15 -0
- package/src/experience/rest.ts +15 -0
- package/src/formation/request/AcquireActionsToFormPropertiesRequest.ts +15 -0
- package/src/formation/request/AddMoldCapacityByUserIdRequest.ts +15 -0
- package/src/formation/request/DeleteFormByUserIdRequest.ts +15 -0
- package/src/formation/request/DeleteMoldByUserIdRequest.ts +15 -0
- package/src/formation/request/SetFormByUserIdRequest.ts +15 -0
- package/src/formation/request/SetMoldCapacityByUserIdRequest.ts +15 -0
- package/src/formation/rest.ts +18 -0
- package/src/friend/request/AcceptRequestByUserIdRequest.ts +15 -0
- package/src/friend/request/DeleteFriendByUserIdRequest.ts +15 -0
- package/src/friend/request/DeleteProfileByUserIdRequest.ts +15 -0
- package/src/friend/request/DeleteRequestByUserIdRequest.ts +15 -0
- package/src/friend/request/FollowByUserIdRequest.ts +15 -0
- package/src/friend/request/RegisterBlackListByUserIdRequest.ts +15 -0
- package/src/friend/request/RejectRequestByUserIdRequest.ts +15 -0
- package/src/friend/request/SendRequestByUserIdRequest.ts +15 -0
- package/src/friend/request/UnfollowByUserIdRequest.ts +15 -0
- package/src/friend/request/UnregisterBlackListByUserIdRequest.ts +15 -0
- package/src/friend/request/UpdateProfileByUserIdRequest.ts +15 -0
- package/src/friend/rest.ts +33 -0
- package/src/friend/result/DeleteProfileByUserIdResult.ts +18 -1
- package/src/gateway/request/DeleteFirebaseTokenByUserIdRequest.ts +15 -0
- package/src/gateway/request/SendMobileNotificationByUserIdRequest.ts +15 -0
- package/src/gateway/request/SendNotificationRequest.ts +15 -0
- package/src/gateway/request/SetFirebaseTokenByUserIdRequest.ts +15 -0
- package/src/gateway/request/SetUserIdByUserIdRequest.ts +15 -0
- package/src/gateway/rest.ts +15 -0
- package/src/inbox/request/DeleteMessageByUserIdRequest.ts +15 -0
- package/src/inbox/request/DeleteReceivedByUserIdRequest.ts +15 -0
- package/src/inbox/request/OpenMessageByUserIdRequest.ts +15 -0
- package/src/inbox/request/ReadMessageByUserIdRequest.ts +15 -0
- package/src/inbox/request/ReceiveGlobalMessageByUserIdRequest.ts +15 -0
- package/src/inbox/request/SendMessageByUserIdRequest.ts +15 -0
- package/src/inbox/request/UpdateReceivedByUserIdRequest.ts +15 -0
- package/src/inbox/rest.ts +21 -0
- package/src/inventory/request/AcquireItemSetByUserIdRequest.ts +15 -0
- package/src/inventory/request/AddCapacityByUserIdRequest.ts +15 -0
- package/src/inventory/request/AddReferenceOfByUserIdRequest.ts +15 -0
- package/src/inventory/request/ConsumeItemSetByUserIdRequest.ts +15 -0
- package/src/inventory/request/DeleteInventoryByUserIdRequest.ts +15 -0
- package/src/inventory/request/DeleteItemSetByUserIdRequest.ts +15 -0
- package/src/inventory/request/DeleteReferenceOfByUserIdRequest.ts +15 -0
- package/src/inventory/request/SetCapacityByUserIdRequest.ts +15 -0
- package/src/inventory/request/VerifyReferenceOfByUserIdRequest.ts +15 -0
- package/src/inventory/rest.ts +27 -0
- package/src/jobQueue/request/DeleteDeadLetterJobByUserIdRequest.ts +15 -0
- package/src/jobQueue/request/DeleteJobByUserIdRequest.ts +15 -0
- package/src/jobQueue/request/PushByUserIdRequest.ts +15 -0
- package/src/jobQueue/request/RunByUserIdRequest.ts +15 -0
- package/src/jobQueue/rest.ts +12 -0
- package/src/limit/request/CountUpByUserIdRequest.ts +15 -0
- package/src/limit/request/DeleteCounterByUserIdRequest.ts +15 -0
- package/src/limit/rest.ts +6 -0
- package/src/lock/request/DeleteMutexByUserIdRequest.ts +15 -0
- package/src/lock/request/LockByUserIdRequest.ts +15 -0
- package/src/lock/request/UnlockByUserIdRequest.ts +15 -0
- package/src/lock/rest.ts +9 -0
- package/src/lottery/model/Box.ts +44 -2
- package/src/lottery/request/DrawByUserIdRequest.ts +15 -0
- package/src/lottery/request/ResetBoxByUserIdRequest.ts +15 -0
- package/src/lottery/request/index.ts +0 -2
- package/src/lottery/rest.ts +6 -28
- package/src/lottery/result/DrawByStampSheetResult.ts +1 -18
- package/src/lottery/result/DrawByUserIdResult.ts +1 -18
- package/src/lottery/result/index.ts +0 -2
- package/src/matchmaking/request/CancelMatchmakingByUserIdRequest.ts +15 -0
- package/src/matchmaking/request/CreateGatheringByUserIdRequest.ts +15 -0
- package/src/matchmaking/request/DeleteRatingRequest.ts +15 -0
- package/src/matchmaking/request/DoMatchmakingByUserIdRequest.ts +15 -0
- package/src/matchmaking/request/UpdateGatheringByUserIdRequest.ts +15 -0
- package/src/matchmaking/rest.ts +15 -0
- package/src/mission/request/CompleteByUserIdRequest.ts +15 -0
- package/src/mission/request/DeleteCompleteByUserIdRequest.ts +15 -0
- package/src/mission/request/DeleteCounterByUserIdRequest.ts +15 -0
- package/src/mission/request/IncreaseCounterByUserIdRequest.ts +15 -0
- package/src/mission/request/ReceiveByUserIdRequest.ts +15 -0
- package/src/mission/rest.ts +15 -0
- package/src/money/request/DepositByUserIdRequest.ts +15 -0
- package/src/money/request/RecordReceiptRequest.ts +15 -0
- package/src/money/request/WithdrawByUserIdRequest.ts +15 -0
- package/src/money/rest.ts +9 -0
- package/src/project/result/DeleteAccountResult.ts +18 -1
- package/src/project/result/ForgetResult.ts +1 -18
- package/src/quest/request/CreateProgressByUserIdRequest.ts +15 -0
- package/src/quest/request/DeleteCompletedQuestListByUserIdRequest.ts +15 -0
- package/src/quest/request/DeleteProgressByUserIdRequest.ts +15 -0
- package/src/quest/request/EndByUserIdRequest.ts +15 -0
- package/src/quest/request/StartByUserIdRequest.ts +15 -0
- package/src/quest/rest.ts +15 -0
- package/src/ranking/request/PutScoreByUserIdRequest.ts +15 -0
- package/src/ranking/request/SubscribeByUserIdRequest.ts +15 -0
- package/src/ranking/request/UnsubscribeByUserIdRequest.ts +15 -0
- package/src/ranking/rest.ts +9 -0
- package/src/ranking/result/CalcRankingResult.ts +18 -1
- package/src/schedule/request/DeleteTriggerByUserIdRequest.ts +15 -0
- package/src/schedule/request/TriggerByUserIdRequest.ts +15 -0
- package/src/schedule/rest.ts +6 -0
- package/src/stamina/request/ConsumeStaminaByUserIdRequest.ts +15 -0
- package/src/stamina/request/DeleteStaminaByUserIdRequest.ts +15 -0
- package/src/stamina/request/RaiseMaxValueByUserIdRequest.ts +15 -0
- package/src/stamina/request/RecoverStaminaByUserIdRequest.ts +15 -0
- package/src/stamina/request/SetMaxValueByUserIdRequest.ts +15 -0
- package/src/stamina/request/SetRecoverIntervalByUserIdRequest.ts +15 -0
- package/src/stamina/request/SetRecoverValueByUserIdRequest.ts +15 -0
- package/src/stamina/request/UpdateStaminaByUserIdRequest.ts +15 -0
- package/src/stamina/rest.ts +24 -0
- package/src/version/request/AcceptBneAgreementByUserIdRequest.ts +138 -0
- package/src/version/request/AcceptBneAgreementRequest.ts +138 -0
- package/src/version/request/AcceptByUserIdRequest.ts +15 -0
- package/src/version/request/CheckVersionByUserIdRequest.ts +15 -0
- package/src/version/request/DeleteAcceptVersionByUserIdRequest.ts +15 -0
- package/src/version/request/DescribeBneAgreementTextUrlsByUserIdRequest.ts +130 -0
- package/src/version/request/DescribeBneAgreementTextUrlsRequest.ts +130 -0
- package/src/version/request/GetBneAgreementByUserIdRequest.ts +113 -0
- package/src/version/request/GetBneAgreementRequest.ts +113 -0
- package/src/version/request/GetBneAgreementUrlByUserIdRequest.ts +164 -0
- package/src/version/request/GetBneAgreementUrlRequest.ts +164 -0
- package/src/version/rest.ts +9 -0
- package/src/version/result/AcceptBneAgreementByUserIdResult.ts +56 -0
- package/src/version/result/AcceptBneAgreementResult.ts +56 -0
- package/src/version/result/DescribeBneAgreementTextUrlsByUserIdResult.ts +56 -0
- package/src/version/result/DescribeBneAgreementTextUrlsResult.ts +56 -0
- package/src/version/result/GetBneAgreementByUserIdResult.ts +56 -0
- package/src/version/result/GetBneAgreementResult.ts +56 -0
- package/src/version/result/GetBneAgreementUrlByUserIdResult.ts +48 -0
- package/src/version/result/GetBneAgreementUrlResult.ts +48 -0
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
|
|
3
|
+
Reserved.
|
|
4
|
+
|
|
5
|
+
Licensed under the Apache License, Version 2.0 (the "License").
|
|
6
|
+
You may not use this file except in compliance with the License.
|
|
7
|
+
A copy of the License is located at
|
|
8
|
+
|
|
9
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
|
|
11
|
+
or in the "license" file accompanying this file. This file is distributed
|
|
12
|
+
on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
13
|
+
express or implied. See the License for the specific language governing
|
|
14
|
+
permissions and limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
import IResult from '../../core/interface/IResult';
|
|
18
|
+
|
|
19
|
+
import * as Gs2Account from '../model'
|
|
20
|
+
|
|
21
|
+
export default class DeleteBnlinkResult implements IResult {
|
|
22
|
+
private item: Gs2Account.BandaiNamcoLink|null = null;
|
|
23
|
+
|
|
24
|
+
public getItem(): Gs2Account.BandaiNamcoLink|null {
|
|
25
|
+
return this.item;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
public setItem(item: Gs2Account.BandaiNamcoLink|null) {
|
|
29
|
+
this.item = item;
|
|
30
|
+
return this;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
public withItem(item: Gs2Account.BandaiNamcoLink|null): this {
|
|
34
|
+
this.item = item;
|
|
35
|
+
return this;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
public static fromDict(data: {[key: string]: any}): DeleteBnlinkResult {
|
|
39
|
+
return new DeleteBnlinkResult()
|
|
40
|
+
.withItem(Gs2Account.BandaiNamcoLink.fromDict(data["item"]));
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
public toDict(): {[key: string]: any} {
|
|
44
|
+
return {
|
|
45
|
+
"item": this.getItem()?.toDict(),
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
|
|
3
|
+
Reserved.
|
|
4
|
+
|
|
5
|
+
Licensed under the Apache License, Version 2.0 (the "License").
|
|
6
|
+
You may not use this file except in compliance with the License.
|
|
7
|
+
A copy of the License is located at
|
|
8
|
+
|
|
9
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
|
|
11
|
+
or in the "license" file accompanying this file. This file is distributed
|
|
12
|
+
on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
13
|
+
express or implied. See the License for the specific language governing
|
|
14
|
+
permissions and limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
import IResult from '../../core/interface/IResult';
|
|
18
|
+
|
|
19
|
+
import * as Gs2Account from '../model'
|
|
20
|
+
|
|
21
|
+
export default class DescribeBnlinksResult implements IResult {
|
|
22
|
+
private items: Gs2Account.BandaiNamcoLink[]|null = null;
|
|
23
|
+
private nextPageToken: string|null = null;
|
|
24
|
+
|
|
25
|
+
public getItems(): Gs2Account.BandaiNamcoLink[]|null {
|
|
26
|
+
return this.items;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
public setItems(items: Gs2Account.BandaiNamcoLink[]|null) {
|
|
30
|
+
this.items = items;
|
|
31
|
+
return this;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
public withItems(items: Gs2Account.BandaiNamcoLink[]|null): this {
|
|
35
|
+
this.items = items;
|
|
36
|
+
return this;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
public getNextPageToken(): string|null {
|
|
40
|
+
return this.nextPageToken;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
public setNextPageToken(nextPageToken: string|null) {
|
|
44
|
+
this.nextPageToken = nextPageToken;
|
|
45
|
+
return this;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
public withNextPageToken(nextPageToken: string|null): this {
|
|
49
|
+
this.nextPageToken = nextPageToken;
|
|
50
|
+
return this;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
public static fromDict(data: {[key: string]: any}): DescribeBnlinksResult {
|
|
54
|
+
return new DescribeBnlinksResult()
|
|
55
|
+
.withItems(data.items ?
|
|
56
|
+
data.items.map((item: {[key: string]: any}) => {
|
|
57
|
+
return Gs2Account.BandaiNamcoLink.fromDict(item);
|
|
58
|
+
}
|
|
59
|
+
) : [])
|
|
60
|
+
.withNextPageToken(data["nextPageToken"]);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
public toDict(): {[key: string]: any} {
|
|
64
|
+
return {
|
|
65
|
+
"items": this.getItems() ?
|
|
66
|
+
this.getItems()!.map((item: Gs2Account.BandaiNamcoLink) => {
|
|
67
|
+
return item.toDict();
|
|
68
|
+
}
|
|
69
|
+
) : [],
|
|
70
|
+
"nextPageToken": this.getNextPageToken(),
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
|
|
3
|
+
Reserved.
|
|
4
|
+
|
|
5
|
+
Licensed under the Apache License, Version 2.0 (the "License").
|
|
6
|
+
You may not use this file except in compliance with the License.
|
|
7
|
+
A copy of the License is located at
|
|
8
|
+
|
|
9
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
|
|
11
|
+
or in the "license" file accompanying this file. This file is distributed
|
|
12
|
+
on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
13
|
+
express or implied. See the License for the specific language governing
|
|
14
|
+
permissions and limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
import IResult from '../../core/interface/IResult';
|
|
18
|
+
|
|
19
|
+
import * as Gs2Account from '../model'
|
|
20
|
+
|
|
21
|
+
export default class GetBnlinkResult implements IResult {
|
|
22
|
+
private item: Gs2Account.BandaiNamcoLink|null = null;
|
|
23
|
+
|
|
24
|
+
public getItem(): Gs2Account.BandaiNamcoLink|null {
|
|
25
|
+
return this.item;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
public setItem(item: Gs2Account.BandaiNamcoLink|null) {
|
|
29
|
+
this.item = item;
|
|
30
|
+
return this;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
public withItem(item: Gs2Account.BandaiNamcoLink|null): this {
|
|
34
|
+
this.item = item;
|
|
35
|
+
return this;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
public static fromDict(data: {[key: string]: any}): GetBnlinkResult {
|
|
39
|
+
return new GetBnlinkResult()
|
|
40
|
+
.withItem(Gs2Account.BandaiNamcoLink.fromDict(data["item"]));
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
public toDict(): {[key: string]: any} {
|
|
44
|
+
return {
|
|
45
|
+
"item": this.getItem()?.toDict(),
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
|
|
3
|
+
Reserved.
|
|
4
|
+
|
|
5
|
+
Licensed under the Apache License, Version 2.0 (the "License").
|
|
6
|
+
You may not use this file except in compliance with the License.
|
|
7
|
+
A copy of the License is located at
|
|
8
|
+
|
|
9
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
|
|
11
|
+
or in the "license" file accompanying this file. This file is distributed
|
|
12
|
+
on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
13
|
+
express or implied. See the License for the specific language governing
|
|
14
|
+
permissions and limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
import IResult from '../../core/interface/IResult';
|
|
18
|
+
|
|
19
|
+
import * as Gs2Account from '../model'
|
|
20
|
+
|
|
21
|
+
export default class SetBnlinkResult implements IResult {
|
|
22
|
+
private item: Gs2Account.BandaiNamcoLink|null = null;
|
|
23
|
+
|
|
24
|
+
public getItem(): Gs2Account.BandaiNamcoLink|null {
|
|
25
|
+
return this.item;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
public setItem(item: Gs2Account.BandaiNamcoLink|null) {
|
|
29
|
+
this.item = item;
|
|
30
|
+
return this;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
public withItem(item: Gs2Account.BandaiNamcoLink|null): this {
|
|
34
|
+
this.item = item;
|
|
35
|
+
return this;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
public static fromDict(data: {[key: string]: any}): SetBnlinkResult {
|
|
39
|
+
return new SetBnlinkResult()
|
|
40
|
+
.withItem(Gs2Account.BandaiNamcoLink.fromDict(data["item"]));
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
public toDict(): {[key: string]: any} {
|
|
44
|
+
return {
|
|
45
|
+
"item": this.getItem()?.toDict(),
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
}
|
|
@@ -15,21 +15,12 @@ permissions and limitations under the License.
|
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
17
|
import IModel from '../../core/interface/IModel';
|
|
18
|
-
const grnFormat: string = "";
|
|
19
18
|
|
|
20
19
|
export default class AccessToken implements IModel {
|
|
21
20
|
private token: string|null = null;
|
|
22
21
|
private userId: string|null = null;
|
|
23
22
|
private expire: number|null = null;
|
|
24
|
-
|
|
25
|
-
public static isValid(grn: string): boolean {
|
|
26
|
-
return true;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
public static createGrn(
|
|
30
|
-
): string|null {
|
|
31
|
-
return grnFormat;
|
|
32
|
-
}
|
|
23
|
+
private timeOffset: number|null = null;
|
|
33
24
|
|
|
34
25
|
public getToken(): string|null {
|
|
35
26
|
return this.token;
|
|
@@ -73,6 +64,20 @@ export default class AccessToken implements IModel {
|
|
|
73
64
|
return this;
|
|
74
65
|
}
|
|
75
66
|
|
|
67
|
+
public getTimeOffset(): number|null {
|
|
68
|
+
return this.timeOffset;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
public setTimeOffset(timeOffset: number|null) {
|
|
72
|
+
this.timeOffset = timeOffset;
|
|
73
|
+
return this;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
public withTimeOffset(timeOffset: number|null): this {
|
|
77
|
+
this.timeOffset = timeOffset;
|
|
78
|
+
return this;
|
|
79
|
+
}
|
|
80
|
+
|
|
76
81
|
public static fromDict(data: {[key: string]: any}): AccessToken|null {
|
|
77
82
|
if (data == undefined || data == null) {
|
|
78
83
|
return null;
|
|
@@ -80,7 +85,8 @@ export default class AccessToken implements IModel {
|
|
|
80
85
|
return new AccessToken()
|
|
81
86
|
.withToken(data["token"])
|
|
82
87
|
.withUserId(data["userId"])
|
|
83
|
-
.withExpire(data["expire"])
|
|
88
|
+
.withExpire(data["expire"])
|
|
89
|
+
.withTimeOffset(data["timeOffset"]);
|
|
84
90
|
}
|
|
85
91
|
|
|
86
92
|
public toDict(): {[key: string]: any} {
|
|
@@ -88,6 +94,7 @@ export default class AccessToken implements IModel {
|
|
|
88
94
|
"token": this.getToken(),
|
|
89
95
|
"userId": this.getUserId(),
|
|
90
96
|
"expire": this.getExpire(),
|
|
97
|
+
"timeOffset": this.getTimeOffset(),
|
|
91
98
|
};
|
|
92
99
|
}
|
|
93
100
|
}
|
|
@@ -22,7 +22,6 @@ export default class LoginBySignatureRequest implements IRequest {
|
|
|
22
22
|
|
|
23
23
|
private requestId: string|null = null;
|
|
24
24
|
private contextStack: string|null = null;
|
|
25
|
-
private userId: string|null = null;
|
|
26
25
|
private keyId: string|null = null;
|
|
27
26
|
private body: string|null = null;
|
|
28
27
|
private signature: string|null = null;
|
|
@@ -55,20 +54,6 @@ export default class LoginBySignatureRequest implements IRequest {
|
|
|
55
54
|
return this;
|
|
56
55
|
}
|
|
57
56
|
|
|
58
|
-
public getUserId(): string|null {
|
|
59
|
-
return this.userId;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
public setUserId(userId: string|null) {
|
|
63
|
-
this.userId = userId;
|
|
64
|
-
return this;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
public withUserId(userId: string|null): this {
|
|
68
|
-
this.userId = userId;
|
|
69
|
-
return this;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
57
|
public getKeyId(): string|null {
|
|
73
58
|
return this.keyId;
|
|
74
59
|
}
|
|
@@ -113,7 +98,6 @@ export default class LoginBySignatureRequest implements IRequest {
|
|
|
113
98
|
|
|
114
99
|
public static fromDict(data: {[key: string]: any}): LoginBySignatureRequest {
|
|
115
100
|
return new LoginBySignatureRequest()
|
|
116
|
-
.withUserId(data["userId"])
|
|
117
101
|
.withKeyId(data["keyId"])
|
|
118
102
|
.withBody(data["body"])
|
|
119
103
|
.withSignature(data["signature"]);
|
|
@@ -121,7 +105,6 @@ export default class LoginBySignatureRequest implements IRequest {
|
|
|
121
105
|
|
|
122
106
|
public toDict(): {[key: string]: any} {
|
|
123
107
|
return {
|
|
124
|
-
"userId": this.getUserId(),
|
|
125
108
|
"keyId": this.getKeyId(),
|
|
126
109
|
"body": this.getBody(),
|
|
127
110
|
"signature": this.getSignature(),
|
package/src/auth/rest.ts
CHANGED
|
@@ -69,7 +69,6 @@ export default class Gs2AuthRestClient extends AbstractGs2RestClient {
|
|
|
69
69
|
}
|
|
70
70
|
const body: {[key: string]: any} = {
|
|
71
71
|
'contextStack': request.getContextStack() ?? null,
|
|
72
|
-
'userId': request.getUserId() ?? null,
|
|
73
72
|
'keyId': request.getKeyId() ?? null,
|
|
74
73
|
'body': request.getBody() ?? null,
|
|
75
74
|
'signature': request.getSignature() ?? null,
|
|
@@ -28,6 +28,7 @@ export default class PostByUserIdRequest implements IRequest {
|
|
|
28
28
|
private category: number|null = null;
|
|
29
29
|
private metadata: string|null = null;
|
|
30
30
|
private password: string|null = null;
|
|
31
|
+
private duplicationAvoider: string|null = null;
|
|
31
32
|
|
|
32
33
|
public getRequestId(): string|null {
|
|
33
34
|
return this.requestId;
|
|
@@ -141,6 +142,20 @@ export default class PostByUserIdRequest implements IRequest {
|
|
|
141
142
|
return this;
|
|
142
143
|
}
|
|
143
144
|
|
|
145
|
+
public getDuplicationAvoider(): string|null {
|
|
146
|
+
return this.duplicationAvoider;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
public setDuplicationAvoider(duplicationAvoider: string|null) {
|
|
150
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
151
|
+
return this;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
public withDuplicationAvoider(duplicationAvoider: string|null): this {
|
|
155
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
156
|
+
return this;
|
|
157
|
+
}
|
|
158
|
+
|
|
144
159
|
public static fromDict(data: {[key: string]: any}): PostByUserIdRequest {
|
|
145
160
|
return new PostByUserIdRequest()
|
|
146
161
|
.withNamespaceName(data["namespaceName"])
|
|
@@ -26,6 +26,7 @@ export default class SubscribeByUserIdRequest implements IRequest {
|
|
|
26
26
|
private roomName: string|null = null;
|
|
27
27
|
private userId: string|null = null;
|
|
28
28
|
private notificationTypes: Gs2Chat.NotificationType[]|null = null;
|
|
29
|
+
private duplicationAvoider: string|null = null;
|
|
29
30
|
|
|
30
31
|
public getRequestId(): string|null {
|
|
31
32
|
return this.requestId;
|
|
@@ -111,6 +112,20 @@ export default class SubscribeByUserIdRequest implements IRequest {
|
|
|
111
112
|
return this;
|
|
112
113
|
}
|
|
113
114
|
|
|
115
|
+
public getDuplicationAvoider(): string|null {
|
|
116
|
+
return this.duplicationAvoider;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
public setDuplicationAvoider(duplicationAvoider: string|null) {
|
|
120
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
121
|
+
return this;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
public withDuplicationAvoider(duplicationAvoider: string|null): this {
|
|
125
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
126
|
+
return this;
|
|
127
|
+
}
|
|
128
|
+
|
|
114
129
|
public static fromDict(data: {[key: string]: any}): SubscribeByUserIdRequest {
|
|
115
130
|
return new SubscribeByUserIdRequest()
|
|
116
131
|
.withNamespaceName(data["namespaceName"])
|
|
@@ -25,6 +25,7 @@ export default class UnsubscribeByUserIdRequest implements IRequest {
|
|
|
25
25
|
private namespaceName: string|null = null;
|
|
26
26
|
private roomName: string|null = null;
|
|
27
27
|
private userId: string|null = null;
|
|
28
|
+
private duplicationAvoider: string|null = null;
|
|
28
29
|
|
|
29
30
|
public getRequestId(): string|null {
|
|
30
31
|
return this.requestId;
|
|
@@ -96,6 +97,20 @@ export default class UnsubscribeByUserIdRequest implements IRequest {
|
|
|
96
97
|
return this;
|
|
97
98
|
}
|
|
98
99
|
|
|
100
|
+
public getDuplicationAvoider(): string|null {
|
|
101
|
+
return this.duplicationAvoider;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
public setDuplicationAvoider(duplicationAvoider: string|null) {
|
|
105
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
106
|
+
return this;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
public withDuplicationAvoider(duplicationAvoider: string|null): this {
|
|
110
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
111
|
+
return this;
|
|
112
|
+
}
|
|
113
|
+
|
|
99
114
|
public static fromDict(data: {[key: string]: any}): UnsubscribeByUserIdRequest {
|
|
100
115
|
return new UnsubscribeByUserIdRequest()
|
|
101
116
|
.withNamespaceName(data["namespaceName"])
|
|
@@ -26,6 +26,7 @@ export default class UpdateNotificationTypeByUserIdRequest implements IRequest {
|
|
|
26
26
|
private roomName: string|null = null;
|
|
27
27
|
private userId: string|null = null;
|
|
28
28
|
private notificationTypes: Gs2Chat.NotificationType[]|null = null;
|
|
29
|
+
private duplicationAvoider: string|null = null;
|
|
29
30
|
|
|
30
31
|
public getRequestId(): string|null {
|
|
31
32
|
return this.requestId;
|
|
@@ -111,6 +112,20 @@ export default class UpdateNotificationTypeByUserIdRequest implements IRequest {
|
|
|
111
112
|
return this;
|
|
112
113
|
}
|
|
113
114
|
|
|
115
|
+
public getDuplicationAvoider(): string|null {
|
|
116
|
+
return this.duplicationAvoider;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
public setDuplicationAvoider(duplicationAvoider: string|null) {
|
|
120
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
121
|
+
return this;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
public withDuplicationAvoider(duplicationAvoider: string|null): this {
|
|
125
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
126
|
+
return this;
|
|
127
|
+
}
|
|
128
|
+
|
|
114
129
|
public static fromDict(data: {[key: string]: any}): UpdateNotificationTypeByUserIdRequest {
|
|
115
130
|
return new UpdateNotificationTypeByUserIdRequest()
|
|
116
131
|
.withNamespaceName(data["namespaceName"])
|
package/src/chat/rest.ts
CHANGED
|
@@ -580,6 +580,9 @@ export default class Gs2ChatRestClient extends AbstractGs2RestClient {
|
|
|
580
580
|
if (request.getRequestId()) {
|
|
581
581
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
582
582
|
}
|
|
583
|
+
if (request.getDuplicationAvoider()) {
|
|
584
|
+
headers['X-GS2-DUPLICATION-AVOIDER'] = request.getDuplicationAvoider() ?? null;
|
|
585
|
+
}
|
|
583
586
|
const body: {[key: string]: any} = {
|
|
584
587
|
'contextStack': request.getContextStack() ?? null,
|
|
585
588
|
'category': request.getCategory() ?? null,
|
|
@@ -830,6 +833,9 @@ export default class Gs2ChatRestClient extends AbstractGs2RestClient {
|
|
|
830
833
|
if (request.getRequestId()) {
|
|
831
834
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
832
835
|
}
|
|
836
|
+
if (request.getDuplicationAvoider()) {
|
|
837
|
+
headers['X-GS2-DUPLICATION-AVOIDER'] = request.getDuplicationAvoider() ?? null;
|
|
838
|
+
}
|
|
833
839
|
const body: {[key: string]: any} = {
|
|
834
840
|
'contextStack': request.getContextStack() ?? null,
|
|
835
841
|
'notificationTypes': request.getNotificationTypes()?.map((item) => item.toDict()) ?? null,
|
|
@@ -956,6 +962,9 @@ export default class Gs2ChatRestClient extends AbstractGs2RestClient {
|
|
|
956
962
|
if (request.getRequestId()) {
|
|
957
963
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
958
964
|
}
|
|
965
|
+
if (request.getDuplicationAvoider()) {
|
|
966
|
+
headers['X-GS2-DUPLICATION-AVOIDER'] = request.getDuplicationAvoider() ?? null;
|
|
967
|
+
}
|
|
959
968
|
const body: {[key: string]: any} = {
|
|
960
969
|
'contextStack': request.getContextStack() ?? null,
|
|
961
970
|
'notificationTypes': request.getNotificationTypes()?.map((item) => item.toDict()) ?? null,
|
|
@@ -1019,6 +1028,9 @@ export default class Gs2ChatRestClient extends AbstractGs2RestClient {
|
|
|
1019
1028
|
if (request.getRequestId()) {
|
|
1020
1029
|
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
1021
1030
|
}
|
|
1031
|
+
if (request.getDuplicationAvoider()) {
|
|
1032
|
+
headers['X-GS2-DUPLICATION-AVOIDER'] = request.getDuplicationAvoider() ?? null;
|
|
1033
|
+
}
|
|
1022
1034
|
const params: {[key: string]: any} = {
|
|
1023
1035
|
'contextStack': request.getContextStack() ?? null,
|
|
1024
1036
|
};
|
|
@@ -25,6 +25,7 @@ export default class DeleteDataObjectByUserIdRequest implements IRequest {
|
|
|
25
25
|
private namespaceName: string|null = null;
|
|
26
26
|
private userId: string|null = null;
|
|
27
27
|
private dataObjectName: string|null = null;
|
|
28
|
+
private duplicationAvoider: string|null = null;
|
|
28
29
|
|
|
29
30
|
public getRequestId(): string|null {
|
|
30
31
|
return this.requestId;
|
|
@@ -96,6 +97,20 @@ export default class DeleteDataObjectByUserIdRequest implements IRequest {
|
|
|
96
97
|
return this;
|
|
97
98
|
}
|
|
98
99
|
|
|
100
|
+
public getDuplicationAvoider(): string|null {
|
|
101
|
+
return this.duplicationAvoider;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
public setDuplicationAvoider(duplicationAvoider: string|null) {
|
|
105
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
106
|
+
return this;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
public withDuplicationAvoider(duplicationAvoider: string|null): this {
|
|
110
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
111
|
+
return this;
|
|
112
|
+
}
|
|
113
|
+
|
|
99
114
|
public static fromDict(data: {[key: string]: any}): DeleteDataObjectByUserIdRequest {
|
|
100
115
|
return new DeleteDataObjectByUserIdRequest()
|
|
101
116
|
.withNamespaceName(data["namespaceName"])
|
|
@@ -25,6 +25,7 @@ export default class DoneUploadByUserIdRequest implements IRequest {
|
|
|
25
25
|
private namespaceName: string|null = null;
|
|
26
26
|
private dataObjectName: string|null = null;
|
|
27
27
|
private userId: string|null = null;
|
|
28
|
+
private duplicationAvoider: string|null = null;
|
|
28
29
|
|
|
29
30
|
public getRequestId(): string|null {
|
|
30
31
|
return this.requestId;
|
|
@@ -96,6 +97,20 @@ export default class DoneUploadByUserIdRequest implements IRequest {
|
|
|
96
97
|
return this;
|
|
97
98
|
}
|
|
98
99
|
|
|
100
|
+
public getDuplicationAvoider(): string|null {
|
|
101
|
+
return this.duplicationAvoider;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
public setDuplicationAvoider(duplicationAvoider: string|null) {
|
|
105
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
106
|
+
return this;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
public withDuplicationAvoider(duplicationAvoider: string|null): this {
|
|
110
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
111
|
+
return this;
|
|
112
|
+
}
|
|
113
|
+
|
|
99
114
|
public static fromDict(data: {[key: string]: any}): DoneUploadByUserIdRequest {
|
|
100
115
|
return new DoneUploadByUserIdRequest()
|
|
101
116
|
.withNamespaceName(data["namespaceName"])
|
|
@@ -26,6 +26,7 @@ export default class PrepareDownloadByGenerationAndUserIdRequest implements IReq
|
|
|
26
26
|
private userId: string|null = null;
|
|
27
27
|
private dataObjectId: string|null = null;
|
|
28
28
|
private generation: string|null = null;
|
|
29
|
+
private duplicationAvoider: string|null = null;
|
|
29
30
|
|
|
30
31
|
public getRequestId(): string|null {
|
|
31
32
|
return this.requestId;
|
|
@@ -111,6 +112,20 @@ export default class PrepareDownloadByGenerationAndUserIdRequest implements IReq
|
|
|
111
112
|
return this;
|
|
112
113
|
}
|
|
113
114
|
|
|
115
|
+
public getDuplicationAvoider(): string|null {
|
|
116
|
+
return this.duplicationAvoider;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
public setDuplicationAvoider(duplicationAvoider: string|null) {
|
|
120
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
121
|
+
return this;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
public withDuplicationAvoider(duplicationAvoider: string|null): this {
|
|
125
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
126
|
+
return this;
|
|
127
|
+
}
|
|
128
|
+
|
|
114
129
|
public static fromDict(data: {[key: string]: any}): PrepareDownloadByGenerationAndUserIdRequest {
|
|
115
130
|
return new PrepareDownloadByGenerationAndUserIdRequest()
|
|
116
131
|
.withNamespaceName(data["namespaceName"])
|
package/src/datastore/request/PrepareDownloadByUserIdAndDataObjectNameAndGenerationRequest.ts
CHANGED
|
@@ -26,6 +26,7 @@ export default class PrepareDownloadByUserIdAndDataObjectNameAndGenerationReques
|
|
|
26
26
|
private userId: string|null = null;
|
|
27
27
|
private dataObjectName: string|null = null;
|
|
28
28
|
private generation: string|null = null;
|
|
29
|
+
private duplicationAvoider: string|null = null;
|
|
29
30
|
|
|
30
31
|
public getRequestId(): string|null {
|
|
31
32
|
return this.requestId;
|
|
@@ -111,6 +112,20 @@ export default class PrepareDownloadByUserIdAndDataObjectNameAndGenerationReques
|
|
|
111
112
|
return this;
|
|
112
113
|
}
|
|
113
114
|
|
|
115
|
+
public getDuplicationAvoider(): string|null {
|
|
116
|
+
return this.duplicationAvoider;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
public setDuplicationAvoider(duplicationAvoider: string|null) {
|
|
120
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
121
|
+
return this;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
public withDuplicationAvoider(duplicationAvoider: string|null): this {
|
|
125
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
126
|
+
return this;
|
|
127
|
+
}
|
|
128
|
+
|
|
114
129
|
public static fromDict(data: {[key: string]: any}): PrepareDownloadByUserIdAndDataObjectNameAndGenerationRequest {
|
|
115
130
|
return new PrepareDownloadByUserIdAndDataObjectNameAndGenerationRequest()
|
|
116
131
|
.withNamespaceName(data["namespaceName"])
|
|
@@ -25,6 +25,7 @@ export default class PrepareDownloadByUserIdAndDataObjectNameRequest implements
|
|
|
25
25
|
private namespaceName: string|null = null;
|
|
26
26
|
private userId: string|null = null;
|
|
27
27
|
private dataObjectName: string|null = null;
|
|
28
|
+
private duplicationAvoider: string|null = null;
|
|
28
29
|
|
|
29
30
|
public getRequestId(): string|null {
|
|
30
31
|
return this.requestId;
|
|
@@ -96,6 +97,20 @@ export default class PrepareDownloadByUserIdAndDataObjectNameRequest implements
|
|
|
96
97
|
return this;
|
|
97
98
|
}
|
|
98
99
|
|
|
100
|
+
public getDuplicationAvoider(): string|null {
|
|
101
|
+
return this.duplicationAvoider;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
public setDuplicationAvoider(duplicationAvoider: string|null) {
|
|
105
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
106
|
+
return this;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
public withDuplicationAvoider(duplicationAvoider: string|null): this {
|
|
110
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
111
|
+
return this;
|
|
112
|
+
}
|
|
113
|
+
|
|
99
114
|
public static fromDict(data: {[key: string]: any}): PrepareDownloadByUserIdAndDataObjectNameRequest {
|
|
100
115
|
return new PrepareDownloadByUserIdAndDataObjectNameRequest()
|
|
101
116
|
.withNamespaceName(data["namespaceName"])
|
|
@@ -25,6 +25,7 @@ export default class PrepareDownloadByUserIdRequest implements IRequest {
|
|
|
25
25
|
private namespaceName: string|null = null;
|
|
26
26
|
private userId: string|null = null;
|
|
27
27
|
private dataObjectId: string|null = null;
|
|
28
|
+
private duplicationAvoider: string|null = null;
|
|
28
29
|
|
|
29
30
|
public getRequestId(): string|null {
|
|
30
31
|
return this.requestId;
|
|
@@ -96,6 +97,20 @@ export default class PrepareDownloadByUserIdRequest implements IRequest {
|
|
|
96
97
|
return this;
|
|
97
98
|
}
|
|
98
99
|
|
|
100
|
+
public getDuplicationAvoider(): string|null {
|
|
101
|
+
return this.duplicationAvoider;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
public setDuplicationAvoider(duplicationAvoider: string|null) {
|
|
105
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
106
|
+
return this;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
public withDuplicationAvoider(duplicationAvoider: string|null): this {
|
|
110
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
111
|
+
return this;
|
|
112
|
+
}
|
|
113
|
+
|
|
99
114
|
public static fromDict(data: {[key: string]: any}): PrepareDownloadByUserIdRequest {
|
|
100
115
|
return new PrepareDownloadByUserIdRequest()
|
|
101
116
|
.withNamespaceName(data["namespaceName"])
|