gs2 1.4.55 → 1.4.57
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/AppleAppStoreSetting.d.ts +4 -4
- package/money2/model/AppleAppStoreSetting.js +9 -9
- package/money2/model/AppleAppStoreSetting.js.map +1 -1
- package/money2/model/AppleAppStoreSetting.ts +9 -9
- 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/StoreSubscriptionContentModel.d.ts +44 -0
- package/money2/model/StoreSubscriptionContentModel.js +202 -0
- package/money2/model/StoreSubscriptionContentModel.js.map +1 -0
- package/money2/model/StoreSubscriptionContentModel.ts +216 -0
- package/money2/model/StoreSubscriptionContentModelMaster.d.ts +60 -0
- package/money2/model/StoreSubscriptionContentModelMaster.js +258 -0
- package/money2/model/StoreSubscriptionContentModelMaster.js.map +1 -0
- package/money2/model/StoreSubscriptionContentModelMaster.ts +272 -0
- package/money2/model/SubscribeTransaction.d.ts +6 -5
- package/money2/model/SubscribeTransaction.js +36 -16
- package/money2/model/SubscribeTransaction.js.map +1 -1
- package/money2/model/SubscribeTransaction.ts +38 -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 +6 -1
- package/money2/model/index.js +11 -1
- package/money2/model/index.js.map +1 -1
- package/money2/model/index.ts +10 -0
- package/money2/request/CreateStoreSubscriptionContentModelMasterRequest.d.ts +50 -0
- package/money2/request/CreateStoreSubscriptionContentModelMasterRequest.js +170 -0
- package/money2/request/CreateStoreSubscriptionContentModelMasterRequest.js.map +1 -0
- package/money2/request/CreateStoreSubscriptionContentModelMasterRequest.ts +174 -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/UpdateStoreSubscriptionContentModelMasterRequest.d.ts +50 -0
- package/money2/request/UpdateStoreSubscriptionContentModelMasterRequest.js +170 -0
- package/money2/request/UpdateStoreSubscriptionContentModelMasterRequest.js.map +1 -0
- package/money2/request/UpdateStoreSubscriptionContentModelMasterRequest.ts +174 -0
- package/money2/request/index.d.ts +12 -1
- package/money2/request/index.js +24 -1
- package/money2/request/index.js.map +1 -1
- package/money2/request/index.ts +22 -0
- package/money2/rest.d.ts +11 -0
- package/money2/rest.js +285 -0
- package/money2/rest.js.map +1 -1
- package/money2/rest.ts +329 -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/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 +12 -1
- package/money2/result/index.js +24 -1
- package/money2/result/index.js.map +1 -1
- package/money2/result/index.ts +22 -0
- package/package.json +1 -1
|
@@ -0,0 +1,48 @@
|
|
|
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 CreateStoreSubscriptionContentModelMasterResult = /** @class */ (function () {
|
|
21
|
+
function CreateStoreSubscriptionContentModelMasterResult() {
|
|
22
|
+
this.item = null;
|
|
23
|
+
}
|
|
24
|
+
CreateStoreSubscriptionContentModelMasterResult.prototype.getItem = function () {
|
|
25
|
+
return this.item;
|
|
26
|
+
};
|
|
27
|
+
CreateStoreSubscriptionContentModelMasterResult.prototype.setItem = function (item) {
|
|
28
|
+
this.item = item;
|
|
29
|
+
return this;
|
|
30
|
+
};
|
|
31
|
+
CreateStoreSubscriptionContentModelMasterResult.prototype.withItem = function (item) {
|
|
32
|
+
this.item = item;
|
|
33
|
+
return this;
|
|
34
|
+
};
|
|
35
|
+
CreateStoreSubscriptionContentModelMasterResult.fromDict = function (data) {
|
|
36
|
+
return new CreateStoreSubscriptionContentModelMasterResult()
|
|
37
|
+
.withItem(Gs2Money2.StoreSubscriptionContentModelMaster.fromDict(data["item"]));
|
|
38
|
+
};
|
|
39
|
+
CreateStoreSubscriptionContentModelMasterResult.prototype.toDict = function () {
|
|
40
|
+
var _a;
|
|
41
|
+
return {
|
|
42
|
+
"item": (_a = this.getItem()) === null || _a === void 0 ? void 0 : _a.toDict(),
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
return CreateStoreSubscriptionContentModelMasterResult;
|
|
46
|
+
}());
|
|
47
|
+
exports.default = CreateStoreSubscriptionContentModelMasterResult;
|
|
48
|
+
//# sourceMappingURL=CreateStoreSubscriptionContentModelMasterResult.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateStoreSubscriptionContentModelMasterResult.js","sourceRoot":"","sources":["CreateStoreSubscriptionContentModelMasterResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAGH,0DAAqC;AAErC;IAAA;QACY,SAAI,GAAuD,IAAI,CAAC;IA0B5E,CAAC;IAxBU,iEAAO,GAAd;QACI,OAAO,IAAI,CAAC,IAAI,CAAC;IACrB,CAAC;IAEM,iEAAO,GAAd,UAAe,IAAwD;QACnE,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,kEAAQ,GAAf,UAAgB,IAAwD;QACpE,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,wDAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,+CAA+C,EAAE;aACvD,QAAQ,CAAC,SAAS,CAAC,mCAAmC,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;IACxF,CAAC;IAEM,gEAAM,GAAb;;QACI,OAAO;YACH,MAAM,EAAE,MAAA,IAAI,CAAC,OAAO,EAAE,0CAAE,MAAM,EAAE;SACnC,CAAC;IACN,CAAC;IACL,sDAAC;AAAD,CAAC,AA3BD,IA2BC"}
|
|
@@ -0,0 +1,47 @@
|
|
|
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
|
+
import * as Gs2Money2 from '../model'
|
|
19
|
+
|
|
20
|
+
export default class CreateStoreSubscriptionContentModelMasterResult implements IResult {
|
|
21
|
+
private item: Gs2Money2.StoreSubscriptionContentModelMaster|null = null;
|
|
22
|
+
|
|
23
|
+
public getItem(): Gs2Money2.StoreSubscriptionContentModelMaster|null {
|
|
24
|
+
return this.item;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
public setItem(item: Gs2Money2.StoreSubscriptionContentModelMaster|null) {
|
|
28
|
+
this.item = item;
|
|
29
|
+
return this;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
public withItem(item: Gs2Money2.StoreSubscriptionContentModelMaster|null): this {
|
|
33
|
+
this.item = item;
|
|
34
|
+
return this;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
public static fromDict(data: {[key: string]: any}): CreateStoreSubscriptionContentModelMasterResult {
|
|
38
|
+
return new CreateStoreSubscriptionContentModelMasterResult()
|
|
39
|
+
.withItem(Gs2Money2.StoreSubscriptionContentModelMaster.fromDict(data["item"]));
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
public toDict(): {[key: string]: any} {
|
|
43
|
+
return {
|
|
44
|
+
"item": this.getItem()?.toDict(),
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import IResult from '../../core/interface/IResult';
|
|
2
|
+
import * as Gs2Money2 from '../model';
|
|
3
|
+
export default class DeleteStoreSubscriptionContentModelMasterResult implements IResult {
|
|
4
|
+
private item;
|
|
5
|
+
getItem(): Gs2Money2.StoreSubscriptionContentModelMaster | null;
|
|
6
|
+
setItem(item: Gs2Money2.StoreSubscriptionContentModelMaster | null): this;
|
|
7
|
+
withItem(item: Gs2Money2.StoreSubscriptionContentModelMaster | null): this;
|
|
8
|
+
static fromDict(data: {
|
|
9
|
+
[key: string]: any;
|
|
10
|
+
}): DeleteStoreSubscriptionContentModelMasterResult;
|
|
11
|
+
toDict(): {
|
|
12
|
+
[key: string]: any;
|
|
13
|
+
};
|
|
14
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
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 DeleteStoreSubscriptionContentModelMasterResult = /** @class */ (function () {
|
|
21
|
+
function DeleteStoreSubscriptionContentModelMasterResult() {
|
|
22
|
+
this.item = null;
|
|
23
|
+
}
|
|
24
|
+
DeleteStoreSubscriptionContentModelMasterResult.prototype.getItem = function () {
|
|
25
|
+
return this.item;
|
|
26
|
+
};
|
|
27
|
+
DeleteStoreSubscriptionContentModelMasterResult.prototype.setItem = function (item) {
|
|
28
|
+
this.item = item;
|
|
29
|
+
return this;
|
|
30
|
+
};
|
|
31
|
+
DeleteStoreSubscriptionContentModelMasterResult.prototype.withItem = function (item) {
|
|
32
|
+
this.item = item;
|
|
33
|
+
return this;
|
|
34
|
+
};
|
|
35
|
+
DeleteStoreSubscriptionContentModelMasterResult.fromDict = function (data) {
|
|
36
|
+
return new DeleteStoreSubscriptionContentModelMasterResult()
|
|
37
|
+
.withItem(Gs2Money2.StoreSubscriptionContentModelMaster.fromDict(data["item"]));
|
|
38
|
+
};
|
|
39
|
+
DeleteStoreSubscriptionContentModelMasterResult.prototype.toDict = function () {
|
|
40
|
+
var _a;
|
|
41
|
+
return {
|
|
42
|
+
"item": (_a = this.getItem()) === null || _a === void 0 ? void 0 : _a.toDict(),
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
return DeleteStoreSubscriptionContentModelMasterResult;
|
|
46
|
+
}());
|
|
47
|
+
exports.default = DeleteStoreSubscriptionContentModelMasterResult;
|
|
48
|
+
//# sourceMappingURL=DeleteStoreSubscriptionContentModelMasterResult.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DeleteStoreSubscriptionContentModelMasterResult.js","sourceRoot":"","sources":["DeleteStoreSubscriptionContentModelMasterResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAGH,0DAAqC;AAErC;IAAA;QACY,SAAI,GAAuD,IAAI,CAAC;IA0B5E,CAAC;IAxBU,iEAAO,GAAd;QACI,OAAO,IAAI,CAAC,IAAI,CAAC;IACrB,CAAC;IAEM,iEAAO,GAAd,UAAe,IAAwD;QACnE,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,kEAAQ,GAAf,UAAgB,IAAwD;QACpE,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,wDAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,+CAA+C,EAAE;aACvD,QAAQ,CAAC,SAAS,CAAC,mCAAmC,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;IACxF,CAAC;IAEM,gEAAM,GAAb;;QACI,OAAO;YACH,MAAM,EAAE,MAAA,IAAI,CAAC,OAAO,EAAE,0CAAE,MAAM,EAAE;SACnC,CAAC;IACN,CAAC;IACL,sDAAC;AAAD,CAAC,AA3BD,IA2BC"}
|
|
@@ -0,0 +1,47 @@
|
|
|
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
|
+
import * as Gs2Money2 from '../model'
|
|
19
|
+
|
|
20
|
+
export default class DeleteStoreSubscriptionContentModelMasterResult implements IResult {
|
|
21
|
+
private item: Gs2Money2.StoreSubscriptionContentModelMaster|null = null;
|
|
22
|
+
|
|
23
|
+
public getItem(): Gs2Money2.StoreSubscriptionContentModelMaster|null {
|
|
24
|
+
return this.item;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
public setItem(item: Gs2Money2.StoreSubscriptionContentModelMaster|null) {
|
|
28
|
+
this.item = item;
|
|
29
|
+
return this;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
public withItem(item: Gs2Money2.StoreSubscriptionContentModelMaster|null): this {
|
|
33
|
+
this.item = item;
|
|
34
|
+
return this;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
public static fromDict(data: {[key: string]: any}): DeleteStoreSubscriptionContentModelMasterResult {
|
|
38
|
+
return new DeleteStoreSubscriptionContentModelMasterResult()
|
|
39
|
+
.withItem(Gs2Money2.StoreSubscriptionContentModelMaster.fromDict(data["item"]));
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
public toDict(): {[key: string]: any} {
|
|
43
|
+
return {
|
|
44
|
+
"item": this.getItem()?.toDict(),
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import IResult from '../../core/interface/IResult';
|
|
2
|
+
import * as Gs2Money2 from '../model';
|
|
3
|
+
export default class DescribeStoreSubscriptionContentModelMastersResult implements IResult {
|
|
4
|
+
private items;
|
|
5
|
+
private nextPageToken;
|
|
6
|
+
getItems(): Gs2Money2.StoreSubscriptionContentModelMaster[] | null;
|
|
7
|
+
setItems(items: Gs2Money2.StoreSubscriptionContentModelMaster[] | null): this;
|
|
8
|
+
withItems(items: Gs2Money2.StoreSubscriptionContentModelMaster[] | null): this;
|
|
9
|
+
getNextPageToken(): string | null;
|
|
10
|
+
setNextPageToken(nextPageToken: string | null): this;
|
|
11
|
+
withNextPageToken(nextPageToken: string | null): this;
|
|
12
|
+
static fromDict(data: {
|
|
13
|
+
[key: string]: any;
|
|
14
|
+
}): DescribeStoreSubscriptionContentModelMastersResult;
|
|
15
|
+
toDict(): {
|
|
16
|
+
[key: string]: any;
|
|
17
|
+
};
|
|
18
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
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 DescribeStoreSubscriptionContentModelMastersResult = /** @class */ (function () {
|
|
21
|
+
function DescribeStoreSubscriptionContentModelMastersResult() {
|
|
22
|
+
this.items = null;
|
|
23
|
+
this.nextPageToken = null;
|
|
24
|
+
}
|
|
25
|
+
DescribeStoreSubscriptionContentModelMastersResult.prototype.getItems = function () {
|
|
26
|
+
return this.items;
|
|
27
|
+
};
|
|
28
|
+
DescribeStoreSubscriptionContentModelMastersResult.prototype.setItems = function (items) {
|
|
29
|
+
this.items = items;
|
|
30
|
+
return this;
|
|
31
|
+
};
|
|
32
|
+
DescribeStoreSubscriptionContentModelMastersResult.prototype.withItems = function (items) {
|
|
33
|
+
this.items = items;
|
|
34
|
+
return this;
|
|
35
|
+
};
|
|
36
|
+
DescribeStoreSubscriptionContentModelMastersResult.prototype.getNextPageToken = function () {
|
|
37
|
+
return this.nextPageToken;
|
|
38
|
+
};
|
|
39
|
+
DescribeStoreSubscriptionContentModelMastersResult.prototype.setNextPageToken = function (nextPageToken) {
|
|
40
|
+
this.nextPageToken = nextPageToken;
|
|
41
|
+
return this;
|
|
42
|
+
};
|
|
43
|
+
DescribeStoreSubscriptionContentModelMastersResult.prototype.withNextPageToken = function (nextPageToken) {
|
|
44
|
+
this.nextPageToken = nextPageToken;
|
|
45
|
+
return this;
|
|
46
|
+
};
|
|
47
|
+
DescribeStoreSubscriptionContentModelMastersResult.fromDict = function (data) {
|
|
48
|
+
return new DescribeStoreSubscriptionContentModelMastersResult()
|
|
49
|
+
.withItems(data.items ?
|
|
50
|
+
data.items.map(function (item) {
|
|
51
|
+
return Gs2Money2.StoreSubscriptionContentModelMaster.fromDict(item);
|
|
52
|
+
}) : null)
|
|
53
|
+
.withNextPageToken(data["nextPageToken"]);
|
|
54
|
+
};
|
|
55
|
+
DescribeStoreSubscriptionContentModelMastersResult.prototype.toDict = function () {
|
|
56
|
+
return {
|
|
57
|
+
"items": this.getItems() ?
|
|
58
|
+
this.getItems().map(function (item) {
|
|
59
|
+
return item.toDict();
|
|
60
|
+
}) : null,
|
|
61
|
+
"nextPageToken": this.getNextPageToken(),
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
return DescribeStoreSubscriptionContentModelMastersResult;
|
|
65
|
+
}());
|
|
66
|
+
exports.default = DescribeStoreSubscriptionContentModelMastersResult;
|
|
67
|
+
//# sourceMappingURL=DescribeStoreSubscriptionContentModelMastersResult.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DescribeStoreSubscriptionContentModelMastersResult.js","sourceRoot":"","sources":["DescribeStoreSubscriptionContentModelMastersResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAGH,0DAAqC;AAErC;IAAA;QACY,UAAK,GAAyD,IAAI,CAAC;QACnE,kBAAa,GAAgB,IAAI,CAAC;IAkD9C,CAAC;IAhDU,qEAAQ,GAAf;QACI,OAAO,IAAI,CAAC,KAAK,CAAC;IACtB,CAAC;IAEM,qEAAQ,GAAf,UAAgB,KAA2D;QACvE,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,sEAAS,GAAhB,UAAiB,KAA2D;QACxE,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,6EAAgB,GAAvB;QACI,OAAO,IAAI,CAAC,aAAa,CAAC;IAC9B,CAAC;IAEM,6EAAgB,GAAvB,UAAwB,aAA0B;QAC9C,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,8EAAiB,GAAxB,UAAyB,aAA0B;QAC/C,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,2DAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,kDAAkD,EAAE;aAC1D,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;YACnB,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,UAAC,IAA0B;gBACtC,OAAO,SAAS,CAAC,mCAAmC,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;YACxE,CAAC,CACJ,CAAC,CAAC,CAAC,IAAI,CAAC;aACR,iBAAiB,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC;IAClD,CAAC;IAEM,mEAAM,GAAb;QACI,OAAO;YACH,OAAO,EAAE,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAC;gBACtB,IAAI,CAAC,QAAQ,EAAG,CAAC,GAAG,CAAC,UAAC,IAAmD;oBACrE,OAAO,IAAI,CAAC,MAAM,EAAE,CAAC;gBACzB,CAAC,CACJ,CAAC,CAAC,CAAC,IAAI;YACR,eAAe,EAAE,IAAI,CAAC,gBAAgB,EAAE;SAC3C,CAAC;IACN,CAAC;IACL,yDAAC;AAAD,CAAC,AApDD,IAoDC"}
|
|
@@ -0,0 +1,72 @@
|
|
|
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
|
+
import * as Gs2Money2 from '../model'
|
|
19
|
+
|
|
20
|
+
export default class DescribeStoreSubscriptionContentModelMastersResult implements IResult {
|
|
21
|
+
private items: Gs2Money2.StoreSubscriptionContentModelMaster[]|null = null;
|
|
22
|
+
private nextPageToken: string|null = null;
|
|
23
|
+
|
|
24
|
+
public getItems(): Gs2Money2.StoreSubscriptionContentModelMaster[]|null {
|
|
25
|
+
return this.items;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
public setItems(items: Gs2Money2.StoreSubscriptionContentModelMaster[]|null) {
|
|
29
|
+
this.items = items;
|
|
30
|
+
return this;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
public withItems(items: Gs2Money2.StoreSubscriptionContentModelMaster[]|null): this {
|
|
34
|
+
this.items = items;
|
|
35
|
+
return this;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
public getNextPageToken(): string|null {
|
|
39
|
+
return this.nextPageToken;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
public setNextPageToken(nextPageToken: string|null) {
|
|
43
|
+
this.nextPageToken = nextPageToken;
|
|
44
|
+
return this;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
public withNextPageToken(nextPageToken: string|null): this {
|
|
48
|
+
this.nextPageToken = nextPageToken;
|
|
49
|
+
return this;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
public static fromDict(data: {[key: string]: any}): DescribeStoreSubscriptionContentModelMastersResult {
|
|
53
|
+
return new DescribeStoreSubscriptionContentModelMastersResult()
|
|
54
|
+
.withItems(data.items ?
|
|
55
|
+
data.items.map((item: {[key: string]: any}) => {
|
|
56
|
+
return Gs2Money2.StoreSubscriptionContentModelMaster.fromDict(item);
|
|
57
|
+
}
|
|
58
|
+
) : null)
|
|
59
|
+
.withNextPageToken(data["nextPageToken"]);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
public toDict(): {[key: string]: any} {
|
|
63
|
+
return {
|
|
64
|
+
"items": this.getItems() ?
|
|
65
|
+
this.getItems()!.map((item: Gs2Money2.StoreSubscriptionContentModelMaster) => {
|
|
66
|
+
return item.toDict();
|
|
67
|
+
}
|
|
68
|
+
) : null,
|
|
69
|
+
"nextPageToken": this.getNextPageToken(),
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import IResult from '../../core/interface/IResult';
|
|
2
|
+
import * as Gs2Money2 from '../model';
|
|
3
|
+
export default class DescribeStoreSubscriptionContentModelsResult implements IResult {
|
|
4
|
+
private items;
|
|
5
|
+
getItems(): Gs2Money2.StoreSubscriptionContentModel[] | null;
|
|
6
|
+
setItems(items: Gs2Money2.StoreSubscriptionContentModel[] | null): this;
|
|
7
|
+
withItems(items: Gs2Money2.StoreSubscriptionContentModel[] | null): this;
|
|
8
|
+
static fromDict(data: {
|
|
9
|
+
[key: string]: any;
|
|
10
|
+
}): DescribeStoreSubscriptionContentModelsResult;
|
|
11
|
+
toDict(): {
|
|
12
|
+
[key: string]: any;
|
|
13
|
+
};
|
|
14
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
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 DescribeStoreSubscriptionContentModelsResult = /** @class */ (function () {
|
|
21
|
+
function DescribeStoreSubscriptionContentModelsResult() {
|
|
22
|
+
this.items = null;
|
|
23
|
+
}
|
|
24
|
+
DescribeStoreSubscriptionContentModelsResult.prototype.getItems = function () {
|
|
25
|
+
return this.items;
|
|
26
|
+
};
|
|
27
|
+
DescribeStoreSubscriptionContentModelsResult.prototype.setItems = function (items) {
|
|
28
|
+
this.items = items;
|
|
29
|
+
return this;
|
|
30
|
+
};
|
|
31
|
+
DescribeStoreSubscriptionContentModelsResult.prototype.withItems = function (items) {
|
|
32
|
+
this.items = items;
|
|
33
|
+
return this;
|
|
34
|
+
};
|
|
35
|
+
DescribeStoreSubscriptionContentModelsResult.fromDict = function (data) {
|
|
36
|
+
return new DescribeStoreSubscriptionContentModelsResult()
|
|
37
|
+
.withItems(data.items ?
|
|
38
|
+
data.items.map(function (item) {
|
|
39
|
+
return Gs2Money2.StoreSubscriptionContentModel.fromDict(item);
|
|
40
|
+
}) : null);
|
|
41
|
+
};
|
|
42
|
+
DescribeStoreSubscriptionContentModelsResult.prototype.toDict = function () {
|
|
43
|
+
return {
|
|
44
|
+
"items": this.getItems() ?
|
|
45
|
+
this.getItems().map(function (item) {
|
|
46
|
+
return item.toDict();
|
|
47
|
+
}) : null,
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
return DescribeStoreSubscriptionContentModelsResult;
|
|
51
|
+
}());
|
|
52
|
+
exports.default = DescribeStoreSubscriptionContentModelsResult;
|
|
53
|
+
//# sourceMappingURL=DescribeStoreSubscriptionContentModelsResult.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DescribeStoreSubscriptionContentModelsResult.js","sourceRoot":"","sources":["DescribeStoreSubscriptionContentModelsResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAGH,0DAAqC;AAErC;IAAA;QACY,UAAK,GAAmD,IAAI,CAAC;IAkCzE,CAAC;IAhCU,+DAAQ,GAAf;QACI,OAAO,IAAI,CAAC,KAAK,CAAC;IACtB,CAAC;IAEM,+DAAQ,GAAf,UAAgB,KAAqD;QACjE,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,gEAAS,GAAhB,UAAiB,KAAqD;QAClE,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,qDAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,4CAA4C,EAAE;aACpD,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;YACnB,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,UAAC,IAA0B;gBACtC,OAAO,SAAS,CAAC,6BAA6B,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;YAClE,CAAC,CACJ,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC;IAClB,CAAC;IAEM,6DAAM,GAAb;QACI,OAAO;YACH,OAAO,EAAE,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAC;gBACtB,IAAI,CAAC,QAAQ,EAAG,CAAC,GAAG,CAAC,UAAC,IAA6C;oBAC/D,OAAO,IAAI,CAAC,MAAM,EAAE,CAAC;gBACzB,CAAC,CACJ,CAAC,CAAC,CAAC,IAAI;SACX,CAAC;IACN,CAAC;IACL,mDAAC;AAAD,CAAC,AAnCD,IAmCC"}
|
|
@@ -0,0 +1,55 @@
|
|
|
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
|
+
import * as Gs2Money2 from '../model'
|
|
19
|
+
|
|
20
|
+
export default class DescribeStoreSubscriptionContentModelsResult implements IResult {
|
|
21
|
+
private items: Gs2Money2.StoreSubscriptionContentModel[]|null = null;
|
|
22
|
+
|
|
23
|
+
public getItems(): Gs2Money2.StoreSubscriptionContentModel[]|null {
|
|
24
|
+
return this.items;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
public setItems(items: Gs2Money2.StoreSubscriptionContentModel[]|null) {
|
|
28
|
+
this.items = items;
|
|
29
|
+
return this;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
public withItems(items: Gs2Money2.StoreSubscriptionContentModel[]|null): this {
|
|
33
|
+
this.items = items;
|
|
34
|
+
return this;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
public static fromDict(data: {[key: string]: any}): DescribeStoreSubscriptionContentModelsResult {
|
|
38
|
+
return new DescribeStoreSubscriptionContentModelsResult()
|
|
39
|
+
.withItems(data.items ?
|
|
40
|
+
data.items.map((item: {[key: string]: any}) => {
|
|
41
|
+
return Gs2Money2.StoreSubscriptionContentModel.fromDict(item);
|
|
42
|
+
}
|
|
43
|
+
) : null);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
public toDict(): {[key: string]: any} {
|
|
47
|
+
return {
|
|
48
|
+
"items": this.getItems() ?
|
|
49
|
+
this.getItems()!.map((item: Gs2Money2.StoreSubscriptionContentModel) => {
|
|
50
|
+
return item.toDict();
|
|
51
|
+
}
|
|
52
|
+
) : null,
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import IResult from '../../core/interface/IResult';
|
|
2
|
+
import * as Gs2Money2 from '../model';
|
|
3
|
+
export default class DescribeSubscriptionStatusesByUserIdResult implements IResult {
|
|
4
|
+
private items;
|
|
5
|
+
getItems(): Gs2Money2.SubscriptionStatus[] | null;
|
|
6
|
+
setItems(items: Gs2Money2.SubscriptionStatus[] | null): this;
|
|
7
|
+
withItems(items: Gs2Money2.SubscriptionStatus[] | null): this;
|
|
8
|
+
static fromDict(data: {
|
|
9
|
+
[key: string]: any;
|
|
10
|
+
}): DescribeSubscriptionStatusesByUserIdResult;
|
|
11
|
+
toDict(): {
|
|
12
|
+
[key: string]: any;
|
|
13
|
+
};
|
|
14
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
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 DescribeSubscriptionStatusesByUserIdResult = /** @class */ (function () {
|
|
21
|
+
function DescribeSubscriptionStatusesByUserIdResult() {
|
|
22
|
+
this.items = null;
|
|
23
|
+
}
|
|
24
|
+
DescribeSubscriptionStatusesByUserIdResult.prototype.getItems = function () {
|
|
25
|
+
return this.items;
|
|
26
|
+
};
|
|
27
|
+
DescribeSubscriptionStatusesByUserIdResult.prototype.setItems = function (items) {
|
|
28
|
+
this.items = items;
|
|
29
|
+
return this;
|
|
30
|
+
};
|
|
31
|
+
DescribeSubscriptionStatusesByUserIdResult.prototype.withItems = function (items) {
|
|
32
|
+
this.items = items;
|
|
33
|
+
return this;
|
|
34
|
+
};
|
|
35
|
+
DescribeSubscriptionStatusesByUserIdResult.fromDict = function (data) {
|
|
36
|
+
return new DescribeSubscriptionStatusesByUserIdResult()
|
|
37
|
+
.withItems(data.items ?
|
|
38
|
+
data.items.map(function (item) {
|
|
39
|
+
return Gs2Money2.SubscriptionStatus.fromDict(item);
|
|
40
|
+
}) : null);
|
|
41
|
+
};
|
|
42
|
+
DescribeSubscriptionStatusesByUserIdResult.prototype.toDict = function () {
|
|
43
|
+
return {
|
|
44
|
+
"items": this.getItems() ?
|
|
45
|
+
this.getItems().map(function (item) {
|
|
46
|
+
return item.toDict();
|
|
47
|
+
}) : null,
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
return DescribeSubscriptionStatusesByUserIdResult;
|
|
51
|
+
}());
|
|
52
|
+
exports.default = DescribeSubscriptionStatusesByUserIdResult;
|
|
53
|
+
//# sourceMappingURL=DescribeSubscriptionStatusesByUserIdResult.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DescribeSubscriptionStatusesByUserIdResult.js","sourceRoot":"","sources":["DescribeSubscriptionStatusesByUserIdResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAGH,0DAAqC;AAErC;IAAA;QACY,UAAK,GAAwC,IAAI,CAAC;IAkC9D,CAAC;IAhCU,6DAAQ,GAAf;QACI,OAAO,IAAI,CAAC,KAAK,CAAC;IACtB,CAAC;IAEM,6DAAQ,GAAf,UAAgB,KAA0C;QACtD,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,8DAAS,GAAhB,UAAiB,KAA0C;QACvD,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,mDAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,0CAA0C,EAAE;aAClD,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;YACnB,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,UAAC,IAA0B;gBACtC,OAAO,SAAS,CAAC,kBAAkB,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;YACvD,CAAC,CACJ,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC;IAClB,CAAC;IAEM,2DAAM,GAAb;QACI,OAAO;YACH,OAAO,EAAE,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAC;gBACtB,IAAI,CAAC,QAAQ,EAAG,CAAC,GAAG,CAAC,UAAC,IAAkC;oBACpD,OAAO,IAAI,CAAC,MAAM,EAAE,CAAC;gBACzB,CAAC,CACJ,CAAC,CAAC,CAAC,IAAI;SACX,CAAC;IACN,CAAC;IACL,iDAAC;AAAD,CAAC,AAnCD,IAmCC"}
|
|
@@ -0,0 +1,55 @@
|
|
|
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
|
+
import * as Gs2Money2 from '../model'
|
|
19
|
+
|
|
20
|
+
export default class DescribeSubscriptionStatusesByUserIdResult implements IResult {
|
|
21
|
+
private items: Gs2Money2.SubscriptionStatus[]|null = null;
|
|
22
|
+
|
|
23
|
+
public getItems(): Gs2Money2.SubscriptionStatus[]|null {
|
|
24
|
+
return this.items;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
public setItems(items: Gs2Money2.SubscriptionStatus[]|null) {
|
|
28
|
+
this.items = items;
|
|
29
|
+
return this;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
public withItems(items: Gs2Money2.SubscriptionStatus[]|null): this {
|
|
33
|
+
this.items = items;
|
|
34
|
+
return this;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
public static fromDict(data: {[key: string]: any}): DescribeSubscriptionStatusesByUserIdResult {
|
|
38
|
+
return new DescribeSubscriptionStatusesByUserIdResult()
|
|
39
|
+
.withItems(data.items ?
|
|
40
|
+
data.items.map((item: {[key: string]: any}) => {
|
|
41
|
+
return Gs2Money2.SubscriptionStatus.fromDict(item);
|
|
42
|
+
}
|
|
43
|
+
) : null);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
public toDict(): {[key: string]: any} {
|
|
47
|
+
return {
|
|
48
|
+
"items": this.getItems() ?
|
|
49
|
+
this.getItems()!.map((item: Gs2Money2.SubscriptionStatus) => {
|
|
50
|
+
return item.toDict();
|
|
51
|
+
}
|
|
52
|
+
) : null,
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import IResult from '../../core/interface/IResult';
|
|
2
|
+
import * as Gs2Money2 from '../model';
|
|
3
|
+
export default class DescribeSubscriptionStatusesResult implements IResult {
|
|
4
|
+
private items;
|
|
5
|
+
getItems(): Gs2Money2.SubscriptionStatus[] | null;
|
|
6
|
+
setItems(items: Gs2Money2.SubscriptionStatus[] | null): this;
|
|
7
|
+
withItems(items: Gs2Money2.SubscriptionStatus[] | null): this;
|
|
8
|
+
static fromDict(data: {
|
|
9
|
+
[key: string]: any;
|
|
10
|
+
}): DescribeSubscriptionStatusesResult;
|
|
11
|
+
toDict(): {
|
|
12
|
+
[key: string]: any;
|
|
13
|
+
};
|
|
14
|
+
}
|