gs2 1.4.56 → 1.4.58
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/money2/model/AppleAppStoreSubscriptionContent.d.ts +13 -0
- package/money2/model/AppleAppStoreSubscriptionContent.js +48 -0
- package/money2/model/AppleAppStoreSubscriptionContent.js.map +1 -0
- package/money2/model/AppleAppStoreSubscriptionContent.ts +48 -0
- package/money2/model/GooglePlaySubscriptionContent.d.ts +13 -0
- package/money2/model/GooglePlaySubscriptionContent.js +48 -0
- package/money2/model/GooglePlaySubscriptionContent.js.map +1 -0
- package/money2/model/GooglePlaySubscriptionContent.ts +48 -0
- package/money2/model/Namespace.d.ts +20 -0
- package/money2/model/Namespace.js +72 -2
- package/money2/model/Namespace.js.map +1 -1
- package/money2/model/Namespace.ts +71 -0
- package/money2/model/NotificationSetting.d.ts +21 -0
- package/money2/model/NotificationSetting.js +76 -0
- package/money2/model/NotificationSetting.js.map +1 -0
- package/money2/model/NotificationSetting.ts +76 -0
- package/money2/model/StoreSubscriptionContentModel.d.ts +48 -0
- package/money2/model/StoreSubscriptionContentModel.js +216 -0
- package/money2/model/StoreSubscriptionContentModel.js.map +1 -0
- package/money2/model/StoreSubscriptionContentModel.ts +230 -0
- package/money2/model/StoreSubscriptionContentModelMaster.d.ts +64 -0
- package/money2/model/StoreSubscriptionContentModelMaster.js +272 -0
- package/money2/model/StoreSubscriptionContentModelMaster.js.map +1 -0
- package/money2/model/StoreSubscriptionContentModelMaster.ts +286 -0
- package/money2/model/SubscribeTransaction.d.ts +10 -5
- package/money2/model/SubscribeTransaction.js +50 -16
- package/money2/model/SubscribeTransaction.js.map +1 -1
- package/money2/model/SubscribeTransaction.ts +52 -15
- package/money2/model/SubscriptionStatus.d.ts +32 -0
- package/money2/model/SubscriptionStatus.js +119 -0
- package/money2/model/SubscriptionStatus.js.map +1 -0
- package/money2/model/SubscriptionStatus.ts +123 -0
- package/money2/model/index.d.ts +7 -1
- package/money2/model/index.js +13 -1
- package/money2/model/index.js.map +1 -1
- package/money2/model/index.ts +12 -0
- package/money2/request/AllocateSubscriptionStatusByUserIdRequest.d.ts +38 -0
- package/money2/request/AllocateSubscriptionStatusByUserIdRequest.js +126 -0
- package/money2/request/AllocateSubscriptionStatusByUserIdRequest.js.map +1 -0
- package/money2/request/AllocateSubscriptionStatusByUserIdRequest.ts +133 -0
- package/money2/request/AllocateSubscriptionStatusRequest.d.ts +34 -0
- package/money2/request/AllocateSubscriptionStatusRequest.js +112 -0
- package/money2/request/AllocateSubscriptionStatusRequest.js.map +1 -0
- package/money2/request/AllocateSubscriptionStatusRequest.ts +119 -0
- package/money2/request/CreateNamespaceRequest.d.ts +20 -0
- package/money2/request/CreateNamespaceRequest.js +72 -2
- package/money2/request/CreateNamespaceRequest.js.map +1 -1
- package/money2/request/CreateNamespaceRequest.ts +70 -0
- package/money2/request/CreateStoreSubscriptionContentModelMasterRequest.d.ts +54 -0
- package/money2/request/CreateStoreSubscriptionContentModelMasterRequest.js +184 -0
- package/money2/request/CreateStoreSubscriptionContentModelMasterRequest.js.map +1 -0
- package/money2/request/CreateStoreSubscriptionContentModelMasterRequest.ts +188 -0
- package/money2/request/DeleteStoreSubscriptionContentModelMasterRequest.d.ts +25 -0
- package/money2/request/DeleteStoreSubscriptionContentModelMasterRequest.js +83 -0
- package/money2/request/DeleteStoreSubscriptionContentModelMasterRequest.js.map +1 -0
- package/money2/request/DeleteStoreSubscriptionContentModelMasterRequest.ts +90 -0
- package/money2/request/DescribeStoreSubscriptionContentModelMastersRequest.d.ts +29 -0
- package/money2/request/DescribeStoreSubscriptionContentModelMastersRequest.js +97 -0
- package/money2/request/DescribeStoreSubscriptionContentModelMastersRequest.js.map +1 -0
- package/money2/request/DescribeStoreSubscriptionContentModelMastersRequest.ts +104 -0
- package/money2/request/DescribeStoreSubscriptionContentModelsRequest.d.ts +21 -0
- package/money2/request/DescribeStoreSubscriptionContentModelsRequest.js +69 -0
- package/money2/request/DescribeStoreSubscriptionContentModelsRequest.js.map +1 -0
- package/money2/request/DescribeStoreSubscriptionContentModelsRequest.ts +76 -0
- package/money2/request/DescribeSubscriptionStatusesByUserIdRequest.d.ts +29 -0
- package/money2/request/DescribeSubscriptionStatusesByUserIdRequest.js +97 -0
- package/money2/request/DescribeSubscriptionStatusesByUserIdRequest.js.map +1 -0
- package/money2/request/DescribeSubscriptionStatusesByUserIdRequest.ts +104 -0
- package/money2/request/DescribeSubscriptionStatusesRequest.d.ts +25 -0
- package/money2/request/DescribeSubscriptionStatusesRequest.js +83 -0
- package/money2/request/DescribeSubscriptionStatusesRequest.js.map +1 -0
- package/money2/request/DescribeSubscriptionStatusesRequest.ts +90 -0
- package/money2/request/GetStoreSubscriptionContentModelMasterRequest.d.ts +25 -0
- package/money2/request/GetStoreSubscriptionContentModelMasterRequest.js +83 -0
- package/money2/request/GetStoreSubscriptionContentModelMasterRequest.js.map +1 -0
- package/money2/request/GetStoreSubscriptionContentModelMasterRequest.ts +90 -0
- package/money2/request/GetStoreSubscriptionContentModelRequest.d.ts +25 -0
- package/money2/request/GetStoreSubscriptionContentModelRequest.js +83 -0
- package/money2/request/GetStoreSubscriptionContentModelRequest.js.map +1 -0
- package/money2/request/GetStoreSubscriptionContentModelRequest.ts +90 -0
- package/money2/request/GetSubscriptionStatusByUserIdRequest.d.ts +33 -0
- package/money2/request/GetSubscriptionStatusByUserIdRequest.js +111 -0
- package/money2/request/GetSubscriptionStatusByUserIdRequest.js.map +1 -0
- package/money2/request/GetSubscriptionStatusByUserIdRequest.ts +118 -0
- package/money2/request/GetSubscriptionStatusRequest.d.ts +29 -0
- package/money2/request/GetSubscriptionStatusRequest.js +97 -0
- package/money2/request/GetSubscriptionStatusRequest.js.map +1 -0
- package/money2/request/GetSubscriptionStatusRequest.ts +104 -0
- package/money2/request/TakeoverSubscriptionStatusByUserIdRequest.d.ts +38 -0
- package/money2/request/TakeoverSubscriptionStatusByUserIdRequest.js +126 -0
- package/money2/request/TakeoverSubscriptionStatusByUserIdRequest.js.map +1 -0
- package/money2/request/TakeoverSubscriptionStatusByUserIdRequest.ts +133 -0
- package/money2/request/TakeoverSubscriptionStatusRequest.d.ts +34 -0
- package/money2/request/TakeoverSubscriptionStatusRequest.js +112 -0
- package/money2/request/TakeoverSubscriptionStatusRequest.js.map +1 -0
- package/money2/request/TakeoverSubscriptionStatusRequest.ts +119 -0
- package/money2/request/UpdateNamespaceRequest.d.ts +20 -0
- package/money2/request/UpdateNamespaceRequest.js +72 -2
- package/money2/request/UpdateNamespaceRequest.js.map +1 -1
- package/money2/request/UpdateNamespaceRequest.ts +70 -0
- package/money2/request/UpdateStoreSubscriptionContentModelMasterRequest.d.ts +54 -0
- package/money2/request/UpdateStoreSubscriptionContentModelMasterRequest.js +184 -0
- package/money2/request/UpdateStoreSubscriptionContentModelMasterRequest.js.map +1 -0
- package/money2/request/UpdateStoreSubscriptionContentModelMasterRequest.ts +188 -0
- package/money2/request/index.d.ts +16 -1
- package/money2/request/index.js +32 -1
- package/money2/request/index.js.map +1 -1
- package/money2/request/index.ts +30 -0
- package/money2/rest.d.ts +15 -0
- package/money2/rest.js +435 -4
- package/money2/rest.js.map +1 -1
- package/money2/rest.ts +491 -0
- package/money2/result/AllocateSubscriptionStatusByUserIdResult.d.ts +14 -0
- package/money2/result/AllocateSubscriptionStatusByUserIdResult.js +48 -0
- package/money2/result/AllocateSubscriptionStatusByUserIdResult.js.map +1 -0
- package/money2/result/AllocateSubscriptionStatusByUserIdResult.ts +47 -0
- package/money2/result/AllocateSubscriptionStatusResult.d.ts +14 -0
- package/money2/result/AllocateSubscriptionStatusResult.js +48 -0
- package/money2/result/AllocateSubscriptionStatusResult.js.map +1 -0
- package/money2/result/AllocateSubscriptionStatusResult.ts +47 -0
- package/money2/result/CreateStoreSubscriptionContentModelMasterResult.d.ts +14 -0
- package/money2/result/CreateStoreSubscriptionContentModelMasterResult.js +48 -0
- package/money2/result/CreateStoreSubscriptionContentModelMasterResult.js.map +1 -0
- package/money2/result/CreateStoreSubscriptionContentModelMasterResult.ts +47 -0
- package/money2/result/DeleteStoreSubscriptionContentModelMasterResult.d.ts +14 -0
- package/money2/result/DeleteStoreSubscriptionContentModelMasterResult.js +48 -0
- package/money2/result/DeleteStoreSubscriptionContentModelMasterResult.js.map +1 -0
- package/money2/result/DeleteStoreSubscriptionContentModelMasterResult.ts +47 -0
- package/money2/result/DescribeStoreSubscriptionContentModelMastersResult.d.ts +18 -0
- package/money2/result/DescribeStoreSubscriptionContentModelMastersResult.js +67 -0
- package/money2/result/DescribeStoreSubscriptionContentModelMastersResult.js.map +1 -0
- package/money2/result/DescribeStoreSubscriptionContentModelMastersResult.ts +72 -0
- package/money2/result/DescribeStoreSubscriptionContentModelsResult.d.ts +14 -0
- package/money2/result/DescribeStoreSubscriptionContentModelsResult.js +53 -0
- package/money2/result/DescribeStoreSubscriptionContentModelsResult.js.map +1 -0
- package/money2/result/DescribeStoreSubscriptionContentModelsResult.ts +55 -0
- package/money2/result/DescribeSubscriptionStatusesByUserIdResult.d.ts +14 -0
- package/money2/result/DescribeSubscriptionStatusesByUserIdResult.js +53 -0
- package/money2/result/DescribeSubscriptionStatusesByUserIdResult.js.map +1 -0
- package/money2/result/DescribeSubscriptionStatusesByUserIdResult.ts +55 -0
- package/money2/result/DescribeSubscriptionStatusesResult.d.ts +14 -0
- package/money2/result/DescribeSubscriptionStatusesResult.js +53 -0
- package/money2/result/DescribeSubscriptionStatusesResult.js.map +1 -0
- package/money2/result/DescribeSubscriptionStatusesResult.ts +55 -0
- package/money2/result/GetStoreSubscriptionContentModelMasterResult.d.ts +14 -0
- package/money2/result/GetStoreSubscriptionContentModelMasterResult.js +48 -0
- package/money2/result/GetStoreSubscriptionContentModelMasterResult.js.map +1 -0
- package/money2/result/GetStoreSubscriptionContentModelMasterResult.ts +47 -0
- package/money2/result/GetStoreSubscriptionContentModelResult.d.ts +14 -0
- package/money2/result/GetStoreSubscriptionContentModelResult.js +48 -0
- package/money2/result/GetStoreSubscriptionContentModelResult.js.map +1 -0
- package/money2/result/GetStoreSubscriptionContentModelResult.ts +47 -0
- package/money2/result/GetSubscriptionStatusByUserIdResult.d.ts +14 -0
- package/money2/result/GetSubscriptionStatusByUserIdResult.js +48 -0
- package/money2/result/GetSubscriptionStatusByUserIdResult.js.map +1 -0
- package/money2/result/GetSubscriptionStatusByUserIdResult.ts +47 -0
- package/money2/result/GetSubscriptionStatusResult.d.ts +14 -0
- package/money2/result/GetSubscriptionStatusResult.js +48 -0
- package/money2/result/GetSubscriptionStatusResult.js.map +1 -0
- package/money2/result/GetSubscriptionStatusResult.ts +47 -0
- package/money2/result/TakeoverSubscriptionStatusByUserIdResult.d.ts +14 -0
- package/money2/result/TakeoverSubscriptionStatusByUserIdResult.js +48 -0
- package/money2/result/TakeoverSubscriptionStatusByUserIdResult.js.map +1 -0
- package/money2/result/TakeoverSubscriptionStatusByUserIdResult.ts +47 -0
- package/money2/result/TakeoverSubscriptionStatusResult.d.ts +14 -0
- package/money2/result/TakeoverSubscriptionStatusResult.js +48 -0
- package/money2/result/TakeoverSubscriptionStatusResult.js.map +1 -0
- package/money2/result/TakeoverSubscriptionStatusResult.ts +47 -0
- package/money2/result/UpdateStoreSubscriptionContentModelMasterResult.d.ts +14 -0
- package/money2/result/UpdateStoreSubscriptionContentModelMasterResult.js +48 -0
- package/money2/result/UpdateStoreSubscriptionContentModelMasterResult.js.map +1 -0
- package/money2/result/UpdateStoreSubscriptionContentModelMasterResult.ts +47 -0
- package/money2/result/index.d.ts +16 -1
- package/money2/result/index.js +32 -1
- package/money2/result/index.js.map +1 -1
- package/money2/result/index.ts +30 -0
- package/package.json +1 -1
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
|
|
4
|
+
Reserved.
|
|
5
|
+
|
|
6
|
+
Licensed under the Apache License, Version 2.0 (the "License").
|
|
7
|
+
You may not use this file except in compliance with the License.
|
|
8
|
+
A copy of the License is located at
|
|
9
|
+
|
|
10
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
|
|
12
|
+
or in the "license" file accompanying this file. This file is distributed
|
|
13
|
+
on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
14
|
+
express or implied. See the License for the specific language governing
|
|
15
|
+
permissions and limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
var GetSubscriptionStatusRequest = /** @class */ (function () {
|
|
19
|
+
function GetSubscriptionStatusRequest() {
|
|
20
|
+
this.requestId = null;
|
|
21
|
+
this.contextStack = null;
|
|
22
|
+
this.namespaceName = null;
|
|
23
|
+
this.accessToken = null;
|
|
24
|
+
this.contentName = null;
|
|
25
|
+
}
|
|
26
|
+
GetSubscriptionStatusRequest.prototype.getRequestId = function () {
|
|
27
|
+
return this.requestId;
|
|
28
|
+
};
|
|
29
|
+
GetSubscriptionStatusRequest.prototype.setRequestId = function (requestId) {
|
|
30
|
+
this.requestId = requestId;
|
|
31
|
+
return this;
|
|
32
|
+
};
|
|
33
|
+
GetSubscriptionStatusRequest.prototype.withRequestId = function (requestId) {
|
|
34
|
+
this.requestId = requestId;
|
|
35
|
+
return this;
|
|
36
|
+
};
|
|
37
|
+
GetSubscriptionStatusRequest.prototype.getContextStack = function () {
|
|
38
|
+
return this.contextStack;
|
|
39
|
+
};
|
|
40
|
+
GetSubscriptionStatusRequest.prototype.setContextStack = function (contextStack) {
|
|
41
|
+
this.contextStack = contextStack;
|
|
42
|
+
return this;
|
|
43
|
+
};
|
|
44
|
+
GetSubscriptionStatusRequest.prototype.withContextStack = function (contextStack) {
|
|
45
|
+
this.contextStack = contextStack;
|
|
46
|
+
return this;
|
|
47
|
+
};
|
|
48
|
+
GetSubscriptionStatusRequest.prototype.getNamespaceName = function () {
|
|
49
|
+
return this.namespaceName;
|
|
50
|
+
};
|
|
51
|
+
GetSubscriptionStatusRequest.prototype.setNamespaceName = function (namespaceName) {
|
|
52
|
+
this.namespaceName = namespaceName;
|
|
53
|
+
return this;
|
|
54
|
+
};
|
|
55
|
+
GetSubscriptionStatusRequest.prototype.withNamespaceName = function (namespaceName) {
|
|
56
|
+
this.namespaceName = namespaceName;
|
|
57
|
+
return this;
|
|
58
|
+
};
|
|
59
|
+
GetSubscriptionStatusRequest.prototype.getAccessToken = function () {
|
|
60
|
+
return this.accessToken;
|
|
61
|
+
};
|
|
62
|
+
GetSubscriptionStatusRequest.prototype.setAccessToken = function (accessToken) {
|
|
63
|
+
this.accessToken = accessToken;
|
|
64
|
+
return this;
|
|
65
|
+
};
|
|
66
|
+
GetSubscriptionStatusRequest.prototype.withAccessToken = function (accessToken) {
|
|
67
|
+
this.accessToken = accessToken;
|
|
68
|
+
return this;
|
|
69
|
+
};
|
|
70
|
+
GetSubscriptionStatusRequest.prototype.getContentName = function () {
|
|
71
|
+
return this.contentName;
|
|
72
|
+
};
|
|
73
|
+
GetSubscriptionStatusRequest.prototype.setContentName = function (contentName) {
|
|
74
|
+
this.contentName = contentName;
|
|
75
|
+
return this;
|
|
76
|
+
};
|
|
77
|
+
GetSubscriptionStatusRequest.prototype.withContentName = function (contentName) {
|
|
78
|
+
this.contentName = contentName;
|
|
79
|
+
return this;
|
|
80
|
+
};
|
|
81
|
+
GetSubscriptionStatusRequest.fromDict = function (data) {
|
|
82
|
+
return new GetSubscriptionStatusRequest()
|
|
83
|
+
.withNamespaceName(data["namespaceName"])
|
|
84
|
+
.withAccessToken(data["accessToken"])
|
|
85
|
+
.withContentName(data["contentName"]);
|
|
86
|
+
};
|
|
87
|
+
GetSubscriptionStatusRequest.prototype.toDict = function () {
|
|
88
|
+
return {
|
|
89
|
+
"namespaceName": this.getNamespaceName(),
|
|
90
|
+
"accessToken": this.getAccessToken(),
|
|
91
|
+
"contentName": this.getContentName(),
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
return GetSubscriptionStatusRequest;
|
|
95
|
+
}());
|
|
96
|
+
exports.default = GetSubscriptionStatusRequest;
|
|
97
|
+
//# sourceMappingURL=GetSubscriptionStatusRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GetSubscriptionStatusRequest.js","sourceRoot":"","sources":["GetSubscriptionStatusRequest.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAMH;IAAA;QAEY,cAAS,GAAgB,IAAI,CAAC;QAC9B,iBAAY,GAAgB,IAAI,CAAC;QACjC,kBAAa,GAAgB,IAAI,CAAC;QAClC,gBAAW,GAAgB,IAAI,CAAC;QAChC,gBAAW,GAAgB,IAAI,CAAC;IA6E5C,CAAC;IA3EU,mDAAY,GAAnB;QACI,OAAO,IAAI,CAAC,SAAS,CAAC;IAC1B,CAAC;IAEM,mDAAY,GAAnB,UAAoB,SAAsB;QACtC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,oDAAa,GAApB,UAAqB,SAAsB;QACvC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,sDAAe,GAAtB;QACI,OAAO,IAAI,CAAC,YAAY,CAAC;IAC7B,CAAC;IAEM,sDAAe,GAAtB,UAAuB,YAAyB;QAC5C,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,uDAAgB,GAAvB,UAAwB,YAAyB;QAC7C,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,uDAAgB,GAAvB;QACI,OAAO,IAAI,CAAC,aAAa,CAAC;IAC9B,CAAC;IACM,uDAAgB,GAAvB,UAAwB,aAA0B;QAC9C,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,wDAAiB,GA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ights
|
|
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 IRequest from '../../core/interface/IRequest';
|
|
18
|
+
|
|
19
|
+
import * as Gs2Money2 from '../model'
|
|
20
|
+
|
|
21
|
+
export default class GetSubscriptionStatusRequest implements IRequest {
|
|
22
|
+
|
|
23
|
+
private requestId: string|null = null;
|
|
24
|
+
private contextStack: string|null = null;
|
|
25
|
+
private namespaceName: string|null = null;
|
|
26
|
+
private accessToken: string|null = null;
|
|
27
|
+
private contentName: string|null = null;
|
|
28
|
+
|
|
29
|
+
public getRequestId(): string|null {
|
|
30
|
+
return this.requestId;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
public setRequestId(requestId: string|null) {
|
|
34
|
+
this.requestId = requestId;
|
|
35
|
+
return this;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
public withRequestId(requestId: string|null): this {
|
|
39
|
+
this.requestId = requestId;
|
|
40
|
+
return this;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
public getContextStack(): string|null {
|
|
44
|
+
return this.contextStack;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
public setContextStack(contextStack: string|null) {
|
|
48
|
+
this.contextStack = contextStack;
|
|
49
|
+
return this;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
public withContextStack(contextStack: string|null): this {
|
|
53
|
+
this.contextStack = contextStack;
|
|
54
|
+
return this;
|
|
55
|
+
}
|
|
56
|
+
public getNamespaceName(): string|null {
|
|
57
|
+
return this.namespaceName;
|
|
58
|
+
}
|
|
59
|
+
public setNamespaceName(namespaceName: string|null) {
|
|
60
|
+
this.namespaceName = namespaceName;
|
|
61
|
+
return this;
|
|
62
|
+
}
|
|
63
|
+
public withNamespaceName(namespaceName: string|null): this {
|
|
64
|
+
this.namespaceName = namespaceName;
|
|
65
|
+
return this;
|
|
66
|
+
}
|
|
67
|
+
public getAccessToken(): string|null {
|
|
68
|
+
return this.accessToken;
|
|
69
|
+
}
|
|
70
|
+
public setAccessToken(accessToken: string|null) {
|
|
71
|
+
this.accessToken = accessToken;
|
|
72
|
+
return this;
|
|
73
|
+
}
|
|
74
|
+
public withAccessToken(accessToken: string|null): this {
|
|
75
|
+
this.accessToken = accessToken;
|
|
76
|
+
return this;
|
|
77
|
+
}
|
|
78
|
+
public getContentName(): string|null {
|
|
79
|
+
return this.contentName;
|
|
80
|
+
}
|
|
81
|
+
public setContentName(contentName: string|null) {
|
|
82
|
+
this.contentName = contentName;
|
|
83
|
+
return this;
|
|
84
|
+
}
|
|
85
|
+
public withContentName(contentName: string|null): this {
|
|
86
|
+
this.contentName = contentName;
|
|
87
|
+
return this;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
public static fromDict(data: {[key: string]: any}): GetSubscriptionStatusRequest {
|
|
91
|
+
return new GetSubscriptionStatusRequest()
|
|
92
|
+
.withNamespaceName(data["namespaceName"])
|
|
93
|
+
.withAccessToken(data["accessToken"])
|
|
94
|
+
.withContentName(data["contentName"]);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
public toDict(): {[key: string]: any} {
|
|
98
|
+
return {
|
|
99
|
+
"namespaceName": this.getNamespaceName(),
|
|
100
|
+
"accessToken": this.getAccessToken(),
|
|
101
|
+
"contentName": this.getContentName(),
|
|
102
|
+
};
|
|
103
|
+
}
|
|
104
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import IRequest from '../../core/interface/IRequest';
|
|
2
|
+
import * as Gs2Money2 from '../model';
|
|
3
|
+
export default class TakeoverSubscriptionStatusByUserIdRequest implements IRequest {
|
|
4
|
+
private requestId;
|
|
5
|
+
private contextStack;
|
|
6
|
+
private namespaceName;
|
|
7
|
+
private userId;
|
|
8
|
+
private receipt;
|
|
9
|
+
private timeOffsetToken;
|
|
10
|
+
private duplicationAvoider;
|
|
11
|
+
getRequestId(): string | null;
|
|
12
|
+
setRequestId(requestId: string | null): this;
|
|
13
|
+
withRequestId(requestId: string | null): this;
|
|
14
|
+
getContextStack(): string | null;
|
|
15
|
+
setContextStack(contextStack: string | null): this;
|
|
16
|
+
withContextStack(contextStack: string | null): this;
|
|
17
|
+
getNamespaceName(): string | null;
|
|
18
|
+
setNamespaceName(namespaceName: string | null): this;
|
|
19
|
+
withNamespaceName(namespaceName: string | null): this;
|
|
20
|
+
getUserId(): string | null;
|
|
21
|
+
setUserId(userId: string | null): this;
|
|
22
|
+
withUserId(userId: string | null): this;
|
|
23
|
+
getReceipt(): Gs2Money2.Receipt | null;
|
|
24
|
+
setReceipt(receipt: Gs2Money2.Receipt | null): this;
|
|
25
|
+
withReceipt(receipt: Gs2Money2.Receipt | null): this;
|
|
26
|
+
getTimeOffsetToken(): string | null;
|
|
27
|
+
setTimeOffsetToken(timeOffsetToken: string | null): this;
|
|
28
|
+
withTimeOffsetToken(timeOffsetToken: string | null): this;
|
|
29
|
+
getDuplicationAvoider(): string | null;
|
|
30
|
+
setDuplicationAvoider(duplicationAvoider: string | null): this;
|
|
31
|
+
withDuplicationAvoider(duplicationAvoider: string | null): this;
|
|
32
|
+
static fromDict(data: {
|
|
33
|
+
[key: string]: any;
|
|
34
|
+
}): TakeoverSubscriptionStatusByUserIdRequest;
|
|
35
|
+
toDict(): {
|
|
36
|
+
[key: string]: any;
|
|
37
|
+
};
|
|
38
|
+
}
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
|
|
4
|
+
Reserved.
|
|
5
|
+
|
|
6
|
+
Licensed under the Apache License, Version 2.0 (the "License").
|
|
7
|
+
You may not use this file except in compliance with the License.
|
|
8
|
+
A copy of the License is located at
|
|
9
|
+
|
|
10
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
|
|
12
|
+
or in the "license" file accompanying this file. This file is distributed
|
|
13
|
+
on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
14
|
+
express or implied. See the License for the specific language governing
|
|
15
|
+
permissions and limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
var tslib_1 = require("tslib");
|
|
19
|
+
var Gs2Money2 = tslib_1.__importStar(require("../model"));
|
|
20
|
+
var TakeoverSubscriptionStatusByUserIdRequest = /** @class */ (function () {
|
|
21
|
+
function TakeoverSubscriptionStatusByUserIdRequest() {
|
|
22
|
+
this.requestId = null;
|
|
23
|
+
this.contextStack = null;
|
|
24
|
+
this.namespaceName = null;
|
|
25
|
+
this.userId = null;
|
|
26
|
+
this.receipt = null;
|
|
27
|
+
this.timeOffsetToken = null;
|
|
28
|
+
this.duplicationAvoider = null;
|
|
29
|
+
}
|
|
30
|
+
TakeoverSubscriptionStatusByUserIdRequest.prototype.getRequestId = function () {
|
|
31
|
+
return this.requestId;
|
|
32
|
+
};
|
|
33
|
+
TakeoverSubscriptionStatusByUserIdRequest.prototype.setRequestId = function (requestId) {
|
|
34
|
+
this.requestId = requestId;
|
|
35
|
+
return this;
|
|
36
|
+
};
|
|
37
|
+
TakeoverSubscriptionStatusByUserIdRequest.prototype.withRequestId = function (requestId) {
|
|
38
|
+
this.requestId = requestId;
|
|
39
|
+
return this;
|
|
40
|
+
};
|
|
41
|
+
TakeoverSubscriptionStatusByUserIdRequest.prototype.getContextStack = function () {
|
|
42
|
+
return this.contextStack;
|
|
43
|
+
};
|
|
44
|
+
TakeoverSubscriptionStatusByUserIdRequest.prototype.setContextStack = function (contextStack) {
|
|
45
|
+
this.contextStack = contextStack;
|
|
46
|
+
return this;
|
|
47
|
+
};
|
|
48
|
+
TakeoverSubscriptionStatusByUserIdRequest.prototype.withContextStack = function (contextStack) {
|
|
49
|
+
this.contextStack = contextStack;
|
|
50
|
+
return this;
|
|
51
|
+
};
|
|
52
|
+
TakeoverSubscriptionStatusByUserIdRequest.prototype.getNamespaceName = function () {
|
|
53
|
+
return this.namespaceName;
|
|
54
|
+
};
|
|
55
|
+
TakeoverSubscriptionStatusByUserIdRequest.prototype.setNamespaceName = function (namespaceName) {
|
|
56
|
+
this.namespaceName = namespaceName;
|
|
57
|
+
return this;
|
|
58
|
+
};
|
|
59
|
+
TakeoverSubscriptionStatusByUserIdRequest.prototype.withNamespaceName = function (namespaceName) {
|
|
60
|
+
this.namespaceName = namespaceName;
|
|
61
|
+
return this;
|
|
62
|
+
};
|
|
63
|
+
TakeoverSubscriptionStatusByUserIdRequest.prototype.getUserId = function () {
|
|
64
|
+
return this.userId;
|
|
65
|
+
};
|
|
66
|
+
TakeoverSubscriptionStatusByUserIdRequest.prototype.setUserId = function (userId) {
|
|
67
|
+
this.userId = userId;
|
|
68
|
+
return this;
|
|
69
|
+
};
|
|
70
|
+
TakeoverSubscriptionStatusByUserIdRequest.prototype.withUserId = function (userId) {
|
|
71
|
+
this.userId = userId;
|
|
72
|
+
return this;
|
|
73
|
+
};
|
|
74
|
+
TakeoverSubscriptionStatusByUserIdRequest.prototype.getReceipt = function () {
|
|
75
|
+
return this.receipt;
|
|
76
|
+
};
|
|
77
|
+
TakeoverSubscriptionStatusByUserIdRequest.prototype.setReceipt = function (receipt) {
|
|
78
|
+
this.receipt = receipt;
|
|
79
|
+
return this;
|
|
80
|
+
};
|
|
81
|
+
TakeoverSubscriptionStatusByUserIdRequest.prototype.withReceipt = function (receipt) {
|
|
82
|
+
this.receipt = receipt;
|
|
83
|
+
return this;
|
|
84
|
+
};
|
|
85
|
+
TakeoverSubscriptionStatusByUserIdRequest.prototype.getTimeOffsetToken = function () {
|
|
86
|
+
return this.timeOffsetToken;
|
|
87
|
+
};
|
|
88
|
+
TakeoverSubscriptionStatusByUserIdRequest.prototype.setTimeOffsetToken = function (timeOffsetToken) {
|
|
89
|
+
this.timeOffsetToken = timeOffsetToken;
|
|
90
|
+
return this;
|
|
91
|
+
};
|
|
92
|
+
TakeoverSubscriptionStatusByUserIdRequest.prototype.withTimeOffsetToken = function (timeOffsetToken) {
|
|
93
|
+
this.timeOffsetToken = timeOffsetToken;
|
|
94
|
+
return this;
|
|
95
|
+
};
|
|
96
|
+
TakeoverSubscriptionStatusByUserIdRequest.prototype.getDuplicationAvoider = function () {
|
|
97
|
+
return this.duplicationAvoider;
|
|
98
|
+
};
|
|
99
|
+
TakeoverSubscriptionStatusByUserIdRequest.prototype.setDuplicationAvoider = function (duplicationAvoider) {
|
|
100
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
101
|
+
return this;
|
|
102
|
+
};
|
|
103
|
+
TakeoverSubscriptionStatusByUserIdRequest.prototype.withDuplicationAvoider = function (duplicationAvoider) {
|
|
104
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
105
|
+
return this;
|
|
106
|
+
};
|
|
107
|
+
TakeoverSubscriptionStatusByUserIdRequest.fromDict = function (data) {
|
|
108
|
+
return new TakeoverSubscriptionStatusByUserIdRequest()
|
|
109
|
+
.withNamespaceName(data["namespaceName"])
|
|
110
|
+
.withUserId(data["userId"])
|
|
111
|
+
.withReceipt(Gs2Money2.Receipt.fromDict(data["receipt"]))
|
|
112
|
+
.withTimeOffsetToken(data["timeOffsetToken"]);
|
|
113
|
+
};
|
|
114
|
+
TakeoverSubscriptionStatusByUserIdRequest.prototype.toDict = function () {
|
|
115
|
+
var _a;
|
|
116
|
+
return {
|
|
117
|
+
"namespaceName": this.getNamespaceName(),
|
|
118
|
+
"userId": this.getUserId(),
|
|
119
|
+
"receipt": (_a = this.getReceipt()) === null || _a === void 0 ? void 0 : _a.toDict(),
|
|
120
|
+
"timeOffsetToken": this.getTimeOffsetToken(),
|
|
121
|
+
};
|
|
122
|
+
};
|
|
123
|
+
return TakeoverSubscriptionStatusByUserIdRequest;
|
|
124
|
+
}());
|
|
125
|
+
exports.default = TakeoverSubscriptionStatusByUserIdRequest;
|
|
126
|
+
//# sourceMappingURL=TakeoverSubscriptionStatusByUserIdRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TakeoverSubscriptionStatusByUserIdRequest.js","sourceRoot":"","sources":["TakeoverSubscriptionStatusByUserIdRequest.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIH,0DAAqC;AAErC;IAAA;QAEY,cAAS,GAAgB,IAAI,CAAC;QAC9B,iBAAY,GAAgB,IAAI,CAAC;QACjC,kBAAa,GAAgB,IAAI,CAAC;QAClC,WAAM,GAAgB,IAAI,CAAC;QAC3B,YAAO,GAA2B,IAAI,CAAC;QACvC,oBAAe,GAAgB,IAAI,CAAC;QACpC,uBAAkB,GAAgB,IAAI,CAAC;IAwGnD,CAAC;IAtGU,gEAAY,GAAnB;QACI,OAAO,IAAI,CAAC,SAAS,CAAC;IAC1B,CAAC;IAEM,gEAAY,GAAnB,UAAoB,SAAsB;QACtC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,iEAAa,GAApB,UAAqB,SAAsB;QACvC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,mEAAe,GAAtB;QACI,OAAO,IAAI,CAAC,YAAY,CAAC;IAC7B,CAAC;IAEM,mEAAe,GAAtB,UAAuB,YAAyB;QAC5C,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,oEAAgB,GAAvB,UAAwB,YAAyB;QAC7C,IAAI,C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CAAC;IAEM,yEAAqB,GAA5B;QACI,OAAO,IAAI,CAAC,kBAAkB,CAAC;IACnC,CAAC;IAEM,yEAAqB,GAA5B,UAA6B,kBAA+B;QACxD,IAAI,CAAC,kBAAkB,GAAG,kBAAkB,CAAC;QAC7C,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,0EAAsB,GAA7B,UAA8B,kBAA+B;QACzD,IAAI,CAAC,kBAAkB,GAAG,kBAAkB,CAAC;QAC7C,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,kDAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,yCAAyC,EAAE;aACjD,iBAAiB,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;aACxC,UAAU,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;aAC1B,WAAW,CAAC,SAAS,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC;aACxD,mBAAmB,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC,CAAC;IACtD,CAAC;IAEM,0DAAM,GAAb;;QACI,OAAO;YACH,eAAe,EAAE,IAAI,CAAC,gBAAgB,EAAE;YACxC,QAAQ,EAAE,IAAI,CAAC,SAAS,EAAE;YAC1B,SAAS,EAAE,MAAA,IAAI,CAAC,UAAU,EAAE,0CAAE,MAAM,EAAE;YACtC,iBAAiB,EAAE,IAAI,CAAC,kBAAkB,EAAE;SAC/C,CAAC;IACN,CAAC;IACL,gDAAC;AAAD,CAAC,AAhHD,IAgHC"}
|
|
@@ -0,0 +1,133 @@
|
|
|
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 IRequest from '../../core/interface/IRequest';
|
|
18
|
+
|
|
19
|
+
import * as Gs2Money2 from '../model'
|
|
20
|
+
|
|
21
|
+
export default class TakeoverSubscriptionStatusByUserIdRequest implements IRequest {
|
|
22
|
+
|
|
23
|
+
private requestId: string|null = null;
|
|
24
|
+
private contextStack: string|null = null;
|
|
25
|
+
private namespaceName: string|null = null;
|
|
26
|
+
private userId: string|null = null;
|
|
27
|
+
private receipt: Gs2Money2.Receipt|null = null;
|
|
28
|
+
private timeOffsetToken: string|null = null;
|
|
29
|
+
private duplicationAvoider: string|null = null;
|
|
30
|
+
|
|
31
|
+
public getRequestId(): string|null {
|
|
32
|
+
return this.requestId;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
public setRequestId(requestId: string|null) {
|
|
36
|
+
this.requestId = requestId;
|
|
37
|
+
return this;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
public withRequestId(requestId: string|null): this {
|
|
41
|
+
this.requestId = requestId;
|
|
42
|
+
return this;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
public getContextStack(): string|null {
|
|
46
|
+
return this.contextStack;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
public setContextStack(contextStack: string|null) {
|
|
50
|
+
this.contextStack = contextStack;
|
|
51
|
+
return this;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
public withContextStack(contextStack: string|null): this {
|
|
55
|
+
this.contextStack = contextStack;
|
|
56
|
+
return this;
|
|
57
|
+
}
|
|
58
|
+
public getNamespaceName(): string|null {
|
|
59
|
+
return this.namespaceName;
|
|
60
|
+
}
|
|
61
|
+
public setNamespaceName(namespaceName: string|null) {
|
|
62
|
+
this.namespaceName = namespaceName;
|
|
63
|
+
return this;
|
|
64
|
+
}
|
|
65
|
+
public withNamespaceName(namespaceName: string|null): this {
|
|
66
|
+
this.namespaceName = namespaceName;
|
|
67
|
+
return this;
|
|
68
|
+
}
|
|
69
|
+
public getUserId(): string|null {
|
|
70
|
+
return this.userId;
|
|
71
|
+
}
|
|
72
|
+
public setUserId(userId: string|null) {
|
|
73
|
+
this.userId = userId;
|
|
74
|
+
return this;
|
|
75
|
+
}
|
|
76
|
+
public withUserId(userId: string|null): this {
|
|
77
|
+
this.userId = userId;
|
|
78
|
+
return this;
|
|
79
|
+
}
|
|
80
|
+
public getReceipt(): Gs2Money2.Receipt|null {
|
|
81
|
+
return this.receipt;
|
|
82
|
+
}
|
|
83
|
+
public setReceipt(receipt: Gs2Money2.Receipt|null) {
|
|
84
|
+
this.receipt = receipt;
|
|
85
|
+
return this;
|
|
86
|
+
}
|
|
87
|
+
public withReceipt(receipt: Gs2Money2.Receipt|null): this {
|
|
88
|
+
this.receipt = receipt;
|
|
89
|
+
return this;
|
|
90
|
+
}
|
|
91
|
+
public getTimeOffsetToken(): string|null {
|
|
92
|
+
return this.timeOffsetToken;
|
|
93
|
+
}
|
|
94
|
+
public setTimeOffsetToken(timeOffsetToken: string|null) {
|
|
95
|
+
this.timeOffsetToken = timeOffsetToken;
|
|
96
|
+
return this;
|
|
97
|
+
}
|
|
98
|
+
public withTimeOffsetToken(timeOffsetToken: string|null): this {
|
|
99
|
+
this.timeOffsetToken = timeOffsetToken;
|
|
100
|
+
return this;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
public getDuplicationAvoider(): string|null {
|
|
104
|
+
return this.duplicationAvoider;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
public setDuplicationAvoider(duplicationAvoider: string|null) {
|
|
108
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
109
|
+
return this;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
public withDuplicationAvoider(duplicationAvoider: string|null): this {
|
|
113
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
114
|
+
return this;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
public static fromDict(data: {[key: string]: any}): TakeoverSubscriptionStatusByUserIdRequest {
|
|
118
|
+
return new TakeoverSubscriptionStatusByUserIdRequest()
|
|
119
|
+
.withNamespaceName(data["namespaceName"])
|
|
120
|
+
.withUserId(data["userId"])
|
|
121
|
+
.withReceipt(Gs2Money2.Receipt.fromDict(data["receipt"]))
|
|
122
|
+
.withTimeOffsetToken(data["timeOffsetToken"]);
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
public toDict(): {[key: string]: any} {
|
|
126
|
+
return {
|
|
127
|
+
"namespaceName": this.getNamespaceName(),
|
|
128
|
+
"userId": this.getUserId(),
|
|
129
|
+
"receipt": this.getReceipt()?.toDict(),
|
|
130
|
+
"timeOffsetToken": this.getTimeOffsetToken(),
|
|
131
|
+
};
|
|
132
|
+
}
|
|
133
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import IRequest from '../../core/interface/IRequest';
|
|
2
|
+
import * as Gs2Money2 from '../model';
|
|
3
|
+
export default class TakeoverSubscriptionStatusRequest implements IRequest {
|
|
4
|
+
private requestId;
|
|
5
|
+
private contextStack;
|
|
6
|
+
private namespaceName;
|
|
7
|
+
private accessToken;
|
|
8
|
+
private receipt;
|
|
9
|
+
private duplicationAvoider;
|
|
10
|
+
getRequestId(): string | null;
|
|
11
|
+
setRequestId(requestId: string | null): this;
|
|
12
|
+
withRequestId(requestId: string | null): this;
|
|
13
|
+
getContextStack(): string | null;
|
|
14
|
+
setContextStack(contextStack: string | null): this;
|
|
15
|
+
withContextStack(contextStack: string | null): this;
|
|
16
|
+
getNamespaceName(): string | null;
|
|
17
|
+
setNamespaceName(namespaceName: string | null): this;
|
|
18
|
+
withNamespaceName(namespaceName: string | null): this;
|
|
19
|
+
getAccessToken(): string | null;
|
|
20
|
+
setAccessToken(accessToken: string | null): this;
|
|
21
|
+
withAccessToken(accessToken: string | null): this;
|
|
22
|
+
getReceipt(): Gs2Money2.Receipt | null;
|
|
23
|
+
setReceipt(receipt: Gs2Money2.Receipt | null): this;
|
|
24
|
+
withReceipt(receipt: Gs2Money2.Receipt | null): this;
|
|
25
|
+
getDuplicationAvoider(): string | null;
|
|
26
|
+
setDuplicationAvoider(duplicationAvoider: string | null): this;
|
|
27
|
+
withDuplicationAvoider(duplicationAvoider: string | null): this;
|
|
28
|
+
static fromDict(data: {
|
|
29
|
+
[key: string]: any;
|
|
30
|
+
}): TakeoverSubscriptionStatusRequest;
|
|
31
|
+
toDict(): {
|
|
32
|
+
[key: string]: any;
|
|
33
|
+
};
|
|
34
|
+
}
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
|
|
4
|
+
Reserved.
|
|
5
|
+
|
|
6
|
+
Licensed under the Apache License, Version 2.0 (the "License").
|
|
7
|
+
You may not use this file except in compliance with the License.
|
|
8
|
+
A copy of the License is located at
|
|
9
|
+
|
|
10
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
|
|
12
|
+
or in the "license" file accompanying this file. This file is distributed
|
|
13
|
+
on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
14
|
+
express or implied. See the License for the specific language governing
|
|
15
|
+
permissions and limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
var tslib_1 = require("tslib");
|
|
19
|
+
var Gs2Money2 = tslib_1.__importStar(require("../model"));
|
|
20
|
+
var TakeoverSubscriptionStatusRequest = /** @class */ (function () {
|
|
21
|
+
function TakeoverSubscriptionStatusRequest() {
|
|
22
|
+
this.requestId = null;
|
|
23
|
+
this.contextStack = null;
|
|
24
|
+
this.namespaceName = null;
|
|
25
|
+
this.accessToken = null;
|
|
26
|
+
this.receipt = null;
|
|
27
|
+
this.duplicationAvoider = null;
|
|
28
|
+
}
|
|
29
|
+
TakeoverSubscriptionStatusRequest.prototype.getRequestId = function () {
|
|
30
|
+
return this.requestId;
|
|
31
|
+
};
|
|
32
|
+
TakeoverSubscriptionStatusRequest.prototype.setRequestId = function (requestId) {
|
|
33
|
+
this.requestId = requestId;
|
|
34
|
+
return this;
|
|
35
|
+
};
|
|
36
|
+
TakeoverSubscriptionStatusRequest.prototype.withRequestId = function (requestId) {
|
|
37
|
+
this.requestId = requestId;
|
|
38
|
+
return this;
|
|
39
|
+
};
|
|
40
|
+
TakeoverSubscriptionStatusRequest.prototype.getContextStack = function () {
|
|
41
|
+
return this.contextStack;
|
|
42
|
+
};
|
|
43
|
+
TakeoverSubscriptionStatusRequest.prototype.setContextStack = function (contextStack) {
|
|
44
|
+
this.contextStack = contextStack;
|
|
45
|
+
return this;
|
|
46
|
+
};
|
|
47
|
+
TakeoverSubscriptionStatusRequest.prototype.withContextStack = function (contextStack) {
|
|
48
|
+
this.contextStack = contextStack;
|
|
49
|
+
return this;
|
|
50
|
+
};
|
|
51
|
+
TakeoverSubscriptionStatusRequest.prototype.getNamespaceName = function () {
|
|
52
|
+
return this.namespaceName;
|
|
53
|
+
};
|
|
54
|
+
TakeoverSubscriptionStatusRequest.prototype.setNamespaceName = function (namespaceName) {
|
|
55
|
+
this.namespaceName = namespaceName;
|
|
56
|
+
return this;
|
|
57
|
+
};
|
|
58
|
+
TakeoverSubscriptionStatusRequest.prototype.withNamespaceName = function (namespaceName) {
|
|
59
|
+
this.namespaceName = namespaceName;
|
|
60
|
+
return this;
|
|
61
|
+
};
|
|
62
|
+
TakeoverSubscriptionStatusRequest.prototype.getAccessToken = function () {
|
|
63
|
+
return this.accessToken;
|
|
64
|
+
};
|
|
65
|
+
TakeoverSubscriptionStatusRequest.prototype.setAccessToken = function (accessToken) {
|
|
66
|
+
this.accessToken = accessToken;
|
|
67
|
+
return this;
|
|
68
|
+
};
|
|
69
|
+
TakeoverSubscriptionStatusRequest.prototype.withAccessToken = function (accessToken) {
|
|
70
|
+
this.accessToken = accessToken;
|
|
71
|
+
return this;
|
|
72
|
+
};
|
|
73
|
+
TakeoverSubscriptionStatusRequest.prototype.getReceipt = function () {
|
|
74
|
+
return this.receipt;
|
|
75
|
+
};
|
|
76
|
+
TakeoverSubscriptionStatusRequest.prototype.setReceipt = function (receipt) {
|
|
77
|
+
this.receipt = receipt;
|
|
78
|
+
return this;
|
|
79
|
+
};
|
|
80
|
+
TakeoverSubscriptionStatusRequest.prototype.withReceipt = function (receipt) {
|
|
81
|
+
this.receipt = receipt;
|
|
82
|
+
return this;
|
|
83
|
+
};
|
|
84
|
+
TakeoverSubscriptionStatusRequest.prototype.getDuplicationAvoider = function () {
|
|
85
|
+
return this.duplicationAvoider;
|
|
86
|
+
};
|
|
87
|
+
TakeoverSubscriptionStatusRequest.prototype.setDuplicationAvoider = function (duplicationAvoider) {
|
|
88
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
89
|
+
return this;
|
|
90
|
+
};
|
|
91
|
+
TakeoverSubscriptionStatusRequest.prototype.withDuplicationAvoider = function (duplicationAvoider) {
|
|
92
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
93
|
+
return this;
|
|
94
|
+
};
|
|
95
|
+
TakeoverSubscriptionStatusRequest.fromDict = function (data) {
|
|
96
|
+
return new TakeoverSubscriptionStatusRequest()
|
|
97
|
+
.withNamespaceName(data["namespaceName"])
|
|
98
|
+
.withAccessToken(data["accessToken"])
|
|
99
|
+
.withReceipt(Gs2Money2.Receipt.fromDict(data["receipt"]));
|
|
100
|
+
};
|
|
101
|
+
TakeoverSubscriptionStatusRequest.prototype.toDict = function () {
|
|
102
|
+
var _a;
|
|
103
|
+
return {
|
|
104
|
+
"namespaceName": this.getNamespaceName(),
|
|
105
|
+
"accessToken": this.getAccessToken(),
|
|
106
|
+
"receipt": (_a = this.getReceipt()) === null || _a === void 0 ? void 0 : _a.toDict(),
|
|
107
|
+
};
|
|
108
|
+
};
|
|
109
|
+
return TakeoverSubscriptionStatusRequest;
|
|
110
|
+
}());
|
|
111
|
+
exports.default = TakeoverSubscriptionStatusRequest;
|
|
112
|
+
//# sourceMappingURL=TakeoverSubscriptionStatusRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TakeoverSubscriptionStatusRequest.js","sourceRoot":"","sources":["TakeoverSubscriptionStatusRequest.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIH,0DAAqC;AAErC;IAAA;QAEY,cAAS,GAAgB,IAAI,CAAC;QAC9B,iBAAY,GAAgB,IAAI,CAAC;QACjC,kBAAa,GAAgB,IAAI,CAAC;QAClC,gBAAW,GAAgB,IAAI,CAAC;QAChC,YAAO,GAA2B,IAAI,CAAC;QACvC,uBAAkB,GAAgB,IAAI,CAAC;IA2FnD,CAAC;IAzFU,wDAAY,GAAnB;QACI,OAAO,IAAI,CAAC,SAAS,CAAC;IAC1B,CAAC;IAEM,wDAAY,GAAnB,UAAoB,SAAsB;QACtC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,yDAAa,GAApB,UAAqB,SAAsB;QACvC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,2DAAe,GAAtB;QACI,OAAO,IAAI,CAAC,YAAY,CAAC;IAC7B,CAAC;IAEM,2DAAe,GAAtB,UAAuB,YAAyB;QAC5C,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,4DAAgB,GAAvB,UAAwB,YAAyB;QAC7C,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,4DAAgB,GAAvB;QACI,OAAO,IAAI,CAAC,aAAa,CAAC;IAC9B,CA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