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,83 @@
|
|
|
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 GetStoreSubscriptionContentModelMasterRequest = /** @class */ (function () {
|
|
19
|
+
function GetStoreSubscriptionContentModelMasterRequest() {
|
|
20
|
+
this.requestId = null;
|
|
21
|
+
this.contextStack = null;
|
|
22
|
+
this.namespaceName = null;
|
|
23
|
+
this.contentName = null;
|
|
24
|
+
}
|
|
25
|
+
GetStoreSubscriptionContentModelMasterRequest.prototype.getRequestId = function () {
|
|
26
|
+
return this.requestId;
|
|
27
|
+
};
|
|
28
|
+
GetStoreSubscriptionContentModelMasterRequest.prototype.setRequestId = function (requestId) {
|
|
29
|
+
this.requestId = requestId;
|
|
30
|
+
return this;
|
|
31
|
+
};
|
|
32
|
+
GetStoreSubscriptionContentModelMasterRequest.prototype.withRequestId = function (requestId) {
|
|
33
|
+
this.requestId = requestId;
|
|
34
|
+
return this;
|
|
35
|
+
};
|
|
36
|
+
GetStoreSubscriptionContentModelMasterRequest.prototype.getContextStack = function () {
|
|
37
|
+
return this.contextStack;
|
|
38
|
+
};
|
|
39
|
+
GetStoreSubscriptionContentModelMasterRequest.prototype.setContextStack = function (contextStack) {
|
|
40
|
+
this.contextStack = contextStack;
|
|
41
|
+
return this;
|
|
42
|
+
};
|
|
43
|
+
GetStoreSubscriptionContentModelMasterRequest.prototype.withContextStack = function (contextStack) {
|
|
44
|
+
this.contextStack = contextStack;
|
|
45
|
+
return this;
|
|
46
|
+
};
|
|
47
|
+
GetStoreSubscriptionContentModelMasterRequest.prototype.getNamespaceName = function () {
|
|
48
|
+
return this.namespaceName;
|
|
49
|
+
};
|
|
50
|
+
GetStoreSubscriptionContentModelMasterRequest.prototype.setNamespaceName = function (namespaceName) {
|
|
51
|
+
this.namespaceName = namespaceName;
|
|
52
|
+
return this;
|
|
53
|
+
};
|
|
54
|
+
GetStoreSubscriptionContentModelMasterRequest.prototype.withNamespaceName = function (namespaceName) {
|
|
55
|
+
this.namespaceName = namespaceName;
|
|
56
|
+
return this;
|
|
57
|
+
};
|
|
58
|
+
GetStoreSubscriptionContentModelMasterRequest.prototype.getContentName = function () {
|
|
59
|
+
return this.contentName;
|
|
60
|
+
};
|
|
61
|
+
GetStoreSubscriptionContentModelMasterRequest.prototype.setContentName = function (contentName) {
|
|
62
|
+
this.contentName = contentName;
|
|
63
|
+
return this;
|
|
64
|
+
};
|
|
65
|
+
GetStoreSubscriptionContentModelMasterRequest.prototype.withContentName = function (contentName) {
|
|
66
|
+
this.contentName = contentName;
|
|
67
|
+
return this;
|
|
68
|
+
};
|
|
69
|
+
GetStoreSubscriptionContentModelMasterRequest.fromDict = function (data) {
|
|
70
|
+
return new GetStoreSubscriptionContentModelMasterRequest()
|
|
71
|
+
.withNamespaceName(data["namespaceName"])
|
|
72
|
+
.withContentName(data["contentName"]);
|
|
73
|
+
};
|
|
74
|
+
GetStoreSubscriptionContentModelMasterRequest.prototype.toDict = function () {
|
|
75
|
+
return {
|
|
76
|
+
"namespaceName": this.getNamespaceName(),
|
|
77
|
+
"contentName": this.getContentName(),
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
return GetStoreSubscriptionContentModelMasterRequest;
|
|
81
|
+
}());
|
|
82
|
+
exports.default = GetStoreSubscriptionContentModelMasterRequest;
|
|
83
|
+
//# sourceMappingURL=GetStoreSubscriptionContentModelMasterRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GetStoreSubscriptionContentModelMasterRequest.js","sourceRoot":"","sources":["GetStoreSubscriptionContentModelMasterRequest.ts"],"names":[],"m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OAAO,IAAI,CAAC;IAChB,CAAC;IACM,uEAAe,GAAtB,UAAuB,WAAwB;QAC3C,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAC/B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,sDAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,6CAA6C,EAAE;aACrD,iBAAiB,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;aACxC,eAAe,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC;IAC9C,CAAC;IAEM,8DAAM,GAAb;QACI,OAAO;YACH,eAAe,EAAE,IAAI,CAAC,gBAAgB,EAAE;YACxC,aAAa,EAAE,IAAI,CAAC,cAAc,EAAE;SACvC,CAAC;IACN,CAAC;IACL,oDAAC;AAAD,CAAC,AArED,IAqEC"}
|
|
@@ -0,0 +1,90 @@
|
|
|
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 GetStoreSubscriptionContentModelMasterRequest implements IRequest {
|
|
22
|
+
|
|
23
|
+
private requestId: string|null = null;
|
|
24
|
+
private contextStack: string|null = null;
|
|
25
|
+
private namespaceName: string|null = null;
|
|
26
|
+
private contentName: string|null = null;
|
|
27
|
+
|
|
28
|
+
public getRequestId(): string|null {
|
|
29
|
+
return this.requestId;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
public setRequestId(requestId: string|null) {
|
|
33
|
+
this.requestId = requestId;
|
|
34
|
+
return this;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
public withRequestId(requestId: string|null): this {
|
|
38
|
+
this.requestId = requestId;
|
|
39
|
+
return this;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
public getContextStack(): string|null {
|
|
43
|
+
return this.contextStack;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
public setContextStack(contextStack: string|null) {
|
|
47
|
+
this.contextStack = contextStack;
|
|
48
|
+
return this;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
public withContextStack(contextStack: string|null): this {
|
|
52
|
+
this.contextStack = contextStack;
|
|
53
|
+
return this;
|
|
54
|
+
}
|
|
55
|
+
public getNamespaceName(): string|null {
|
|
56
|
+
return this.namespaceName;
|
|
57
|
+
}
|
|
58
|
+
public setNamespaceName(namespaceName: string|null) {
|
|
59
|
+
this.namespaceName = namespaceName;
|
|
60
|
+
return this;
|
|
61
|
+
}
|
|
62
|
+
public withNamespaceName(namespaceName: string|null): this {
|
|
63
|
+
this.namespaceName = namespaceName;
|
|
64
|
+
return this;
|
|
65
|
+
}
|
|
66
|
+
public getContentName(): string|null {
|
|
67
|
+
return this.contentName;
|
|
68
|
+
}
|
|
69
|
+
public setContentName(contentName: string|null) {
|
|
70
|
+
this.contentName = contentName;
|
|
71
|
+
return this;
|
|
72
|
+
}
|
|
73
|
+
public withContentName(contentName: string|null): this {
|
|
74
|
+
this.contentName = contentName;
|
|
75
|
+
return this;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
public static fromDict(data: {[key: string]: any}): GetStoreSubscriptionContentModelMasterRequest {
|
|
79
|
+
return new GetStoreSubscriptionContentModelMasterRequest()
|
|
80
|
+
.withNamespaceName(data["namespaceName"])
|
|
81
|
+
.withContentName(data["contentName"]);
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
public toDict(): {[key: string]: any} {
|
|
85
|
+
return {
|
|
86
|
+
"namespaceName": this.getNamespaceName(),
|
|
87
|
+
"contentName": this.getContentName(),
|
|
88
|
+
};
|
|
89
|
+
}
|
|
90
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import IRequest from '../../core/interface/IRequest';
|
|
2
|
+
export default class GetStoreSubscriptionContentModelRequest implements IRequest {
|
|
3
|
+
private requestId;
|
|
4
|
+
private contextStack;
|
|
5
|
+
private namespaceName;
|
|
6
|
+
private contentName;
|
|
7
|
+
getRequestId(): string | null;
|
|
8
|
+
setRequestId(requestId: string | null): this;
|
|
9
|
+
withRequestId(requestId: string | null): this;
|
|
10
|
+
getContextStack(): string | null;
|
|
11
|
+
setContextStack(contextStack: string | null): this;
|
|
12
|
+
withContextStack(contextStack: string | null): this;
|
|
13
|
+
getNamespaceName(): string | null;
|
|
14
|
+
setNamespaceName(namespaceName: string | null): this;
|
|
15
|
+
withNamespaceName(namespaceName: string | null): this;
|
|
16
|
+
getContentName(): string | null;
|
|
17
|
+
setContentName(contentName: string | null): this;
|
|
18
|
+
withContentName(contentName: string | null): this;
|
|
19
|
+
static fromDict(data: {
|
|
20
|
+
[key: string]: any;
|
|
21
|
+
}): GetStoreSubscriptionContentModelRequest;
|
|
22
|
+
toDict(): {
|
|
23
|
+
[key: string]: any;
|
|
24
|
+
};
|
|
25
|
+
}
|
|
@@ -0,0 +1,83 @@
|
|
|
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 GetStoreSubscriptionContentModelRequest = /** @class */ (function () {
|
|
19
|
+
function GetStoreSubscriptionContentModelRequest() {
|
|
20
|
+
this.requestId = null;
|
|
21
|
+
this.contextStack = null;
|
|
22
|
+
this.namespaceName = null;
|
|
23
|
+
this.contentName = null;
|
|
24
|
+
}
|
|
25
|
+
GetStoreSubscriptionContentModelRequest.prototype.getRequestId = function () {
|
|
26
|
+
return this.requestId;
|
|
27
|
+
};
|
|
28
|
+
GetStoreSubscriptionContentModelRequest.prototype.setRequestId = function (requestId) {
|
|
29
|
+
this.requestId = requestId;
|
|
30
|
+
return this;
|
|
31
|
+
};
|
|
32
|
+
GetStoreSubscriptionContentModelRequest.prototype.withRequestId = function (requestId) {
|
|
33
|
+
this.requestId = requestId;
|
|
34
|
+
return this;
|
|
35
|
+
};
|
|
36
|
+
GetStoreSubscriptionContentModelRequest.prototype.getContextStack = function () {
|
|
37
|
+
return this.contextStack;
|
|
38
|
+
};
|
|
39
|
+
GetStoreSubscriptionContentModelRequest.prototype.setContextStack = function (contextStack) {
|
|
40
|
+
this.contextStack = contextStack;
|
|
41
|
+
return this;
|
|
42
|
+
};
|
|
43
|
+
GetStoreSubscriptionContentModelRequest.prototype.withContextStack = function (contextStack) {
|
|
44
|
+
this.contextStack = contextStack;
|
|
45
|
+
return this;
|
|
46
|
+
};
|
|
47
|
+
GetStoreSubscriptionContentModelRequest.prototype.getNamespaceName = function () {
|
|
48
|
+
return this.namespaceName;
|
|
49
|
+
};
|
|
50
|
+
GetStoreSubscriptionContentModelRequest.prototype.setNamespaceName = function (namespaceName) {
|
|
51
|
+
this.namespaceName = namespaceName;
|
|
52
|
+
return this;
|
|
53
|
+
};
|
|
54
|
+
GetStoreSubscriptionContentModelRequest.prototype.withNamespaceName = function (namespaceName) {
|
|
55
|
+
this.namespaceName = namespaceName;
|
|
56
|
+
return this;
|
|
57
|
+
};
|
|
58
|
+
GetStoreSubscriptionContentModelRequest.prototype.getContentName = function () {
|
|
59
|
+
return this.contentName;
|
|
60
|
+
};
|
|
61
|
+
GetStoreSubscriptionContentModelRequest.prototype.setContentName = function (contentName) {
|
|
62
|
+
this.contentName = contentName;
|
|
63
|
+
return this;
|
|
64
|
+
};
|
|
65
|
+
GetStoreSubscriptionContentModelRequest.prototype.withContentName = function (contentName) {
|
|
66
|
+
this.contentName = contentName;
|
|
67
|
+
return this;
|
|
68
|
+
};
|
|
69
|
+
GetStoreSubscriptionContentModelRequest.fromDict = function (data) {
|
|
70
|
+
return new GetStoreSubscriptionContentModelRequest()
|
|
71
|
+
.withNamespaceName(data["namespaceName"])
|
|
72
|
+
.withContentName(data["contentName"]);
|
|
73
|
+
};
|
|
74
|
+
GetStoreSubscriptionContentModelRequest.prototype.toDict = function () {
|
|
75
|
+
return {
|
|
76
|
+
"namespaceName": this.getNamespaceName(),
|
|
77
|
+
"contentName": this.getContentName(),
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
return GetStoreSubscriptionContentModelRequest;
|
|
81
|
+
}());
|
|
82
|
+
exports.default = GetStoreSubscriptionContentModelRequest;
|
|
83
|
+
//# sourceMappingURL=GetStoreSubscriptionContentModelRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GetStoreSubscriptionContentModelRequest.js","sourceRoot":"","sources":["GetStoreSubscriptionContentModelRequest.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAMH;IAAA;QAEY,cAAS,GAAgB,IAAI,CAAC;QAC9B,iBAAY,GAAgB,IAAI,CAAC;QACjC,kBAAa,GAAgB,IAAI,CAAC;QAClC,gBA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AAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,uCAAuC,EAAE;aAC/C,iBAAiB,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;aACxC,eAAe,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC;IAC9C,CAAC;IAEM,wDAAM,GAAb;QACI,OAAO;YACH,eAAe,EAAE,IAAI,CAAC,gBAAgB,EAAE;YACxC,aAAa,EAAE,IAAI,CAAC,cAAc,EAAE;SACvC,CAAC;IACN,CAAC;IACL,8CAAC;AAAD,CAAC,AArED,IAqEC"}
|
|
@@ -0,0 +1,90 @@
|
|
|
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 GetStoreSubscriptionContentModelRequest implements IRequest {
|
|
22
|
+
|
|
23
|
+
private requestId: string|null = null;
|
|
24
|
+
private contextStack: string|null = null;
|
|
25
|
+
private namespaceName: string|null = null;
|
|
26
|
+
private contentName: string|null = null;
|
|
27
|
+
|
|
28
|
+
public getRequestId(): string|null {
|
|
29
|
+
return this.requestId;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
public setRequestId(requestId: string|null) {
|
|
33
|
+
this.requestId = requestId;
|
|
34
|
+
return this;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
public withRequestId(requestId: string|null): this {
|
|
38
|
+
this.requestId = requestId;
|
|
39
|
+
return this;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
public getContextStack(): string|null {
|
|
43
|
+
return this.contextStack;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
public setContextStack(contextStack: string|null) {
|
|
47
|
+
this.contextStack = contextStack;
|
|
48
|
+
return this;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
public withContextStack(contextStack: string|null): this {
|
|
52
|
+
this.contextStack = contextStack;
|
|
53
|
+
return this;
|
|
54
|
+
}
|
|
55
|
+
public getNamespaceName(): string|null {
|
|
56
|
+
return this.namespaceName;
|
|
57
|
+
}
|
|
58
|
+
public setNamespaceName(namespaceName: string|null) {
|
|
59
|
+
this.namespaceName = namespaceName;
|
|
60
|
+
return this;
|
|
61
|
+
}
|
|
62
|
+
public withNamespaceName(namespaceName: string|null): this {
|
|
63
|
+
this.namespaceName = namespaceName;
|
|
64
|
+
return this;
|
|
65
|
+
}
|
|
66
|
+
public getContentName(): string|null {
|
|
67
|
+
return this.contentName;
|
|
68
|
+
}
|
|
69
|
+
public setContentName(contentName: string|null) {
|
|
70
|
+
this.contentName = contentName;
|
|
71
|
+
return this;
|
|
72
|
+
}
|
|
73
|
+
public withContentName(contentName: string|null): this {
|
|
74
|
+
this.contentName = contentName;
|
|
75
|
+
return this;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
public static fromDict(data: {[key: string]: any}): GetStoreSubscriptionContentModelRequest {
|
|
79
|
+
return new GetStoreSubscriptionContentModelRequest()
|
|
80
|
+
.withNamespaceName(data["namespaceName"])
|
|
81
|
+
.withContentName(data["contentName"]);
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
public toDict(): {[key: string]: any} {
|
|
85
|
+
return {
|
|
86
|
+
"namespaceName": this.getNamespaceName(),
|
|
87
|
+
"contentName": this.getContentName(),
|
|
88
|
+
};
|
|
89
|
+
}
|
|
90
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import IRequest from '../../core/interface/IRequest';
|
|
2
|
+
export default class GetSubscriptionStatusByUserIdRequest implements IRequest {
|
|
3
|
+
private requestId;
|
|
4
|
+
private contextStack;
|
|
5
|
+
private namespaceName;
|
|
6
|
+
private userId;
|
|
7
|
+
private contentName;
|
|
8
|
+
private timeOffsetToken;
|
|
9
|
+
getRequestId(): string | null;
|
|
10
|
+
setRequestId(requestId: string | null): this;
|
|
11
|
+
withRequestId(requestId: string | null): this;
|
|
12
|
+
getContextStack(): string | null;
|
|
13
|
+
setContextStack(contextStack: string | null): this;
|
|
14
|
+
withContextStack(contextStack: string | null): this;
|
|
15
|
+
getNamespaceName(): string | null;
|
|
16
|
+
setNamespaceName(namespaceName: string | null): this;
|
|
17
|
+
withNamespaceName(namespaceName: string | null): this;
|
|
18
|
+
getUserId(): string | null;
|
|
19
|
+
setUserId(userId: string | null): this;
|
|
20
|
+
withUserId(userId: string | null): this;
|
|
21
|
+
getContentName(): string | null;
|
|
22
|
+
setContentName(contentName: string | null): this;
|
|
23
|
+
withContentName(contentName: string | null): this;
|
|
24
|
+
getTimeOffsetToken(): string | null;
|
|
25
|
+
setTimeOffsetToken(timeOffsetToken: string | null): this;
|
|
26
|
+
withTimeOffsetToken(timeOffsetToken: string | null): this;
|
|
27
|
+
static fromDict(data: {
|
|
28
|
+
[key: string]: any;
|
|
29
|
+
}): GetSubscriptionStatusByUserIdRequest;
|
|
30
|
+
toDict(): {
|
|
31
|
+
[key: string]: any;
|
|
32
|
+
};
|
|
33
|
+
}
|
|
@@ -0,0 +1,111 @@
|
|
|
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 GetSubscriptionStatusByUserIdRequest = /** @class */ (function () {
|
|
19
|
+
function GetSubscriptionStatusByUserIdRequest() {
|
|
20
|
+
this.requestId = null;
|
|
21
|
+
this.contextStack = null;
|
|
22
|
+
this.namespaceName = null;
|
|
23
|
+
this.userId = null;
|
|
24
|
+
this.contentName = null;
|
|
25
|
+
this.timeOffsetToken = null;
|
|
26
|
+
}
|
|
27
|
+
GetSubscriptionStatusByUserIdRequest.prototype.getRequestId = function () {
|
|
28
|
+
return this.requestId;
|
|
29
|
+
};
|
|
30
|
+
GetSubscriptionStatusByUserIdRequest.prototype.setRequestId = function (requestId) {
|
|
31
|
+
this.requestId = requestId;
|
|
32
|
+
return this;
|
|
33
|
+
};
|
|
34
|
+
GetSubscriptionStatusByUserIdRequest.prototype.withRequestId = function (requestId) {
|
|
35
|
+
this.requestId = requestId;
|
|
36
|
+
return this;
|
|
37
|
+
};
|
|
38
|
+
GetSubscriptionStatusByUserIdRequest.prototype.getContextStack = function () {
|
|
39
|
+
return this.contextStack;
|
|
40
|
+
};
|
|
41
|
+
GetSubscriptionStatusByUserIdRequest.prototype.setContextStack = function (contextStack) {
|
|
42
|
+
this.contextStack = contextStack;
|
|
43
|
+
return this;
|
|
44
|
+
};
|
|
45
|
+
GetSubscriptionStatusByUserIdRequest.prototype.withContextStack = function (contextStack) {
|
|
46
|
+
this.contextStack = contextStack;
|
|
47
|
+
return this;
|
|
48
|
+
};
|
|
49
|
+
GetSubscriptionStatusByUserIdRequest.prototype.getNamespaceName = function () {
|
|
50
|
+
return this.namespaceName;
|
|
51
|
+
};
|
|
52
|
+
GetSubscriptionStatusByUserIdRequest.prototype.setNamespaceName = function (namespaceName) {
|
|
53
|
+
this.namespaceName = namespaceName;
|
|
54
|
+
return this;
|
|
55
|
+
};
|
|
56
|
+
GetSubscriptionStatusByUserIdRequest.prototype.withNamespaceName = function (namespaceName) {
|
|
57
|
+
this.namespaceName = namespaceName;
|
|
58
|
+
return this;
|
|
59
|
+
};
|
|
60
|
+
GetSubscriptionStatusByUserIdRequest.prototype.getUserId = function () {
|
|
61
|
+
return this.userId;
|
|
62
|
+
};
|
|
63
|
+
GetSubscriptionStatusByUserIdRequest.prototype.setUserId = function (userId) {
|
|
64
|
+
this.userId = userId;
|
|
65
|
+
return this;
|
|
66
|
+
};
|
|
67
|
+
GetSubscriptionStatusByUserIdRequest.prototype.withUserId = function (userId) {
|
|
68
|
+
this.userId = userId;
|
|
69
|
+
return this;
|
|
70
|
+
};
|
|
71
|
+
GetSubscriptionStatusByUserIdRequest.prototype.getContentName = function () {
|
|
72
|
+
return this.contentName;
|
|
73
|
+
};
|
|
74
|
+
GetSubscriptionStatusByUserIdRequest.prototype.setContentName = function (contentName) {
|
|
75
|
+
this.contentName = contentName;
|
|
76
|
+
return this;
|
|
77
|
+
};
|
|
78
|
+
GetSubscriptionStatusByUserIdRequest.prototype.withContentName = function (contentName) {
|
|
79
|
+
this.contentName = contentName;
|
|
80
|
+
return this;
|
|
81
|
+
};
|
|
82
|
+
GetSubscriptionStatusByUserIdRequest.prototype.getTimeOffsetToken = function () {
|
|
83
|
+
return this.timeOffsetToken;
|
|
84
|
+
};
|
|
85
|
+
GetSubscriptionStatusByUserIdRequest.prototype.setTimeOffsetToken = function (timeOffsetToken) {
|
|
86
|
+
this.timeOffsetToken = timeOffsetToken;
|
|
87
|
+
return this;
|
|
88
|
+
};
|
|
89
|
+
GetSubscriptionStatusByUserIdRequest.prototype.withTimeOffsetToken = function (timeOffsetToken) {
|
|
90
|
+
this.timeOffsetToken = timeOffsetToken;
|
|
91
|
+
return this;
|
|
92
|
+
};
|
|
93
|
+
GetSubscriptionStatusByUserIdRequest.fromDict = function (data) {
|
|
94
|
+
return new GetSubscriptionStatusByUserIdRequest()
|
|
95
|
+
.withNamespaceName(data["namespaceName"])
|
|
96
|
+
.withUserId(data["userId"])
|
|
97
|
+
.withContentName(data["contentName"])
|
|
98
|
+
.withTimeOffsetToken(data["timeOffsetToken"]);
|
|
99
|
+
};
|
|
100
|
+
GetSubscriptionStatusByUserIdRequest.prototype.toDict = function () {
|
|
101
|
+
return {
|
|
102
|
+
"namespaceName": this.getNamespaceName(),
|
|
103
|
+
"userId": this.getUserId(),
|
|
104
|
+
"contentName": this.getContentName(),
|
|
105
|
+
"timeOffsetToken": this.getTimeOffsetToken(),
|
|
106
|
+
};
|
|
107
|
+
};
|
|
108
|
+
return GetSubscriptionStatusByUserIdRequest;
|
|
109
|
+
}());
|
|
110
|
+
exports.default = GetSubscriptionStatusByUserIdRequest;
|
|
111
|
+
//# sourceMappingURL=GetSubscriptionStatusByUserIdRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GetSubscriptionStatusByUserIdRequest.js","sourceRoot":"","sources":["GetSubscriptionStatusByUserIdRequest.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAMH;IAAA;QAEY,cAAS,GAAgB,IAAI,CAAC;QAC9B,iBAAY,GAAgB,IAAI,CAAC;QACjC,kBAAa,GAAgB,IAAI,CAAC;QAClC,WAAM,GAAgB,IAAI,CAAC;QAC3B,gBAAW,GAAgB,IAAI,CAAC;QAChC,oBAAe,GAAgB,IAAI,CAAC;IA0FhD,CAAC;IAxFU,2DAAY,GAAnB;QACI,OAAO,IAAI,CAAC,SAAS,CAAC;IAC1B,CAAC;IAEM,2DAAY,GAAnB,UAAoB,SAAsB;QACtC,IAAI,CAAC,SAAS,GAAG,SAAS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e,GAAtB,UAAuB,WAAwB;QAC3C,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAC/B,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,iEAAkB,GAAzB;QACI,OAAO,IAAI,CAAC,eAAe,CAAC;IAChC,CAAC;IACM,iEAAkB,GAAzB,UAA0B,eAA4B;QAClD,IAAI,CAAC,eAAe,GAAG,eAAe,CAAC;QACvC,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,kEAAmB,GAA1B,UAA2B,eAA4B;QACnD,IAAI,CAAC,eAAe,GAAG,eAAe,CAAC;QACvC,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,6CAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,oCAAoC,EAAE;aAC5C,iBAAiB,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;aACxC,UAAU,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;aAC1B,eAAe,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;aACpC,mBAAmB,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC,CAAC;IACtD,CAAC;IAEM,qDAAM,GAAb;QACI,OAAO;YACH,eAAe,EAAE,IAAI,CAAC,gBAAgB,EAAE;YACxC,QAAQ,EAAE,IAAI,CAAC,SAAS,EAAE;YAC1B,aAAa,EAAE,IAAI,CAAC,cAAc,EAAE;YACpC,iBAAiB,EAAE,IAAI,CAAC,kBAAkB,EAAE;SAC/C,CAAC;IACN,CAAC;IACL,2CAAC;AAAD,CAAC,AAjGD,IAiGC"}
|
|
@@ -0,0 +1,118 @@
|
|
|
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 GetSubscriptionStatusByUserIdRequest 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 contentName: string|null = null;
|
|
28
|
+
private timeOffsetToken: string|null = null;
|
|
29
|
+
|
|
30
|
+
public getRequestId(): string|null {
|
|
31
|
+
return this.requestId;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
public setRequestId(requestId: string|null) {
|
|
35
|
+
this.requestId = requestId;
|
|
36
|
+
return this;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
public withRequestId(requestId: string|null): this {
|
|
40
|
+
this.requestId = requestId;
|
|
41
|
+
return this;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
public getContextStack(): string|null {
|
|
45
|
+
return this.contextStack;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
public setContextStack(contextStack: string|null) {
|
|
49
|
+
this.contextStack = contextStack;
|
|
50
|
+
return this;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
public withContextStack(contextStack: string|null): this {
|
|
54
|
+
this.contextStack = contextStack;
|
|
55
|
+
return this;
|
|
56
|
+
}
|
|
57
|
+
public getNamespaceName(): string|null {
|
|
58
|
+
return this.namespaceName;
|
|
59
|
+
}
|
|
60
|
+
public setNamespaceName(namespaceName: string|null) {
|
|
61
|
+
this.namespaceName = namespaceName;
|
|
62
|
+
return this;
|
|
63
|
+
}
|
|
64
|
+
public withNamespaceName(namespaceName: string|null): this {
|
|
65
|
+
this.namespaceName = namespaceName;
|
|
66
|
+
return this;
|
|
67
|
+
}
|
|
68
|
+
public getUserId(): string|null {
|
|
69
|
+
return this.userId;
|
|
70
|
+
}
|
|
71
|
+
public setUserId(userId: string|null) {
|
|
72
|
+
this.userId = userId;
|
|
73
|
+
return this;
|
|
74
|
+
}
|
|
75
|
+
public withUserId(userId: string|null): this {
|
|
76
|
+
this.userId = userId;
|
|
77
|
+
return this;
|
|
78
|
+
}
|
|
79
|
+
public getContentName(): string|null {
|
|
80
|
+
return this.contentName;
|
|
81
|
+
}
|
|
82
|
+
public setContentName(contentName: string|null) {
|
|
83
|
+
this.contentName = contentName;
|
|
84
|
+
return this;
|
|
85
|
+
}
|
|
86
|
+
public withContentName(contentName: string|null): this {
|
|
87
|
+
this.contentName = contentName;
|
|
88
|
+
return this;
|
|
89
|
+
}
|
|
90
|
+
public getTimeOffsetToken(): string|null {
|
|
91
|
+
return this.timeOffsetToken;
|
|
92
|
+
}
|
|
93
|
+
public setTimeOffsetToken(timeOffsetToken: string|null) {
|
|
94
|
+
this.timeOffsetToken = timeOffsetToken;
|
|
95
|
+
return this;
|
|
96
|
+
}
|
|
97
|
+
public withTimeOffsetToken(timeOffsetToken: string|null): this {
|
|
98
|
+
this.timeOffsetToken = timeOffsetToken;
|
|
99
|
+
return this;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
public static fromDict(data: {[key: string]: any}): GetSubscriptionStatusByUserIdRequest {
|
|
103
|
+
return new GetSubscriptionStatusByUserIdRequest()
|
|
104
|
+
.withNamespaceName(data["namespaceName"])
|
|
105
|
+
.withUserId(data["userId"])
|
|
106
|
+
.withContentName(data["contentName"])
|
|
107
|
+
.withTimeOffsetToken(data["timeOffsetToken"]);
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
public toDict(): {[key: string]: any} {
|
|
111
|
+
return {
|
|
112
|
+
"namespaceName": this.getNamespaceName(),
|
|
113
|
+
"userId": this.getUserId(),
|
|
114
|
+
"contentName": this.getContentName(),
|
|
115
|
+
"timeOffsetToken": this.getTimeOffsetToken(),
|
|
116
|
+
};
|
|
117
|
+
}
|
|
118
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import IRequest from '../../core/interface/IRequest';
|
|
2
|
+
export default class GetSubscriptionStatusRequest implements IRequest {
|
|
3
|
+
private requestId;
|
|
4
|
+
private contextStack;
|
|
5
|
+
private namespaceName;
|
|
6
|
+
private accessToken;
|
|
7
|
+
private contentName;
|
|
8
|
+
getRequestId(): string | null;
|
|
9
|
+
setRequestId(requestId: string | null): this;
|
|
10
|
+
withRequestId(requestId: string | null): this;
|
|
11
|
+
getContextStack(): string | null;
|
|
12
|
+
setContextStack(contextStack: string | null): this;
|
|
13
|
+
withContextStack(contextStack: string | null): this;
|
|
14
|
+
getNamespaceName(): string | null;
|
|
15
|
+
setNamespaceName(namespaceName: string | null): this;
|
|
16
|
+
withNamespaceName(namespaceName: string | null): this;
|
|
17
|
+
getAccessToken(): string | null;
|
|
18
|
+
setAccessToken(accessToken: string | null): this;
|
|
19
|
+
withAccessToken(accessToken: string | null): this;
|
|
20
|
+
getContentName(): string | null;
|
|
21
|
+
setContentName(contentName: string | null): this;
|
|
22
|
+
withContentName(contentName: string | null): this;
|
|
23
|
+
static fromDict(data: {
|
|
24
|
+
[key: string]: any;
|
|
25
|
+
}): GetSubscriptionStatusRequest;
|
|
26
|
+
toDict(): {
|
|
27
|
+
[key: string]: any;
|
|
28
|
+
};
|
|
29
|
+
}
|