gs2 1.3.259 → 1.3.261
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/account/model/PlatformId.d.ts +40 -0
- package/account/model/PlatformId.js +205 -0
- package/account/model/PlatformId.js.map +1 -0
- package/account/model/PlatformId.ts +221 -0
- package/account/model/PlatformUser.d.ts +21 -0
- package/account/model/PlatformUser.js +76 -0
- package/account/model/PlatformUser.js.map +1 -0
- package/account/model/PlatformUser.ts +74 -0
- package/account/model/index.d.ts +3 -1
- package/account/model/index.js +5 -1
- package/account/model/index.js.map +1 -1
- package/account/model/index.ts +4 -0
- package/account/request/CreatePlatformIdByUserIdRequest.d.ts +41 -0
- package/account/request/CreatePlatformIdByUserIdRequest.js +137 -0
- package/account/request/CreatePlatformIdByUserIdRequest.js.map +1 -0
- package/account/request/CreatePlatformIdByUserIdRequest.ts +147 -0
- package/account/request/CreatePlatformIdRequest.d.ts +37 -0
- package/account/request/CreatePlatformIdRequest.js +123 -0
- package/account/request/CreatePlatformIdRequest.js.map +1 -0
- package/account/request/CreatePlatformIdRequest.ts +133 -0
- package/account/request/DeletePlatformIdByUserIdRequest.d.ts +37 -0
- package/account/request/DeletePlatformIdByUserIdRequest.js +123 -0
- package/account/request/DeletePlatformIdByUserIdRequest.js.map +1 -0
- package/account/request/DeletePlatformIdByUserIdRequest.ts +133 -0
- package/account/request/DeletePlatformIdByUserIdentifierRequest.d.ts +33 -0
- package/account/request/DeletePlatformIdByUserIdentifierRequest.js +109 -0
- package/account/request/DeletePlatformIdByUserIdentifierRequest.js.map +1 -0
- package/account/request/DeletePlatformIdByUserIdentifierRequest.ts +119 -0
- package/account/request/DeletePlatformIdRequest.d.ts +37 -0
- package/account/request/DeletePlatformIdRequest.js +123 -0
- package/account/request/DeletePlatformIdRequest.js.map +1 -0
- package/account/request/DeletePlatformIdRequest.ts +133 -0
- package/account/request/DescribePlatformIdsByUserIdRequest.d.ts +37 -0
- package/account/request/DescribePlatformIdsByUserIdRequest.js +125 -0
- package/account/request/DescribePlatformIdsByUserIdRequest.js.map +1 -0
- package/account/request/DescribePlatformIdsByUserIdRequest.ts +132 -0
- package/account/request/DescribePlatformIdsRequest.d.ts +33 -0
- package/account/request/DescribePlatformIdsRequest.js +111 -0
- package/account/request/DescribePlatformIdsRequest.js.map +1 -0
- package/account/request/DescribePlatformIdsRequest.ts +118 -0
- package/account/request/FindPlatformIdByUserIdRequest.d.ts +41 -0
- package/account/request/FindPlatformIdByUserIdRequest.js +137 -0
- package/account/request/FindPlatformIdByUserIdRequest.js.map +1 -0
- package/account/request/FindPlatformIdByUserIdRequest.ts +147 -0
- package/account/request/FindPlatformIdRequest.d.ts +37 -0
- package/account/request/FindPlatformIdRequest.js +123 -0
- package/account/request/FindPlatformIdRequest.js.map +1 -0
- package/account/request/FindPlatformIdRequest.ts +133 -0
- package/account/request/GetPlatformIdByUserIdRequest.d.ts +33 -0
- package/account/request/GetPlatformIdByUserIdRequest.js +111 -0
- package/account/request/GetPlatformIdByUserIdRequest.js.map +1 -0
- package/account/request/GetPlatformIdByUserIdRequest.ts +118 -0
- package/account/request/GetPlatformIdRequest.d.ts +29 -0
- package/account/request/GetPlatformIdRequest.js +97 -0
- package/account/request/GetPlatformIdRequest.js.map +1 -0
- package/account/request/GetPlatformIdRequest.ts +104 -0
- package/account/request/index.d.ts +12 -1
- package/account/request/index.js +23 -1
- package/account/request/index.js.map +1 -1
- package/account/request/index.ts +22 -0
- package/account/rest.d.ts +11 -0
- package/account/rest.js +325 -0
- package/account/rest.js.map +1 -1
- package/account/rest.ts +369 -0
- package/account/result/CreatePlatformIdByUserIdResult.d.ts +14 -0
- package/account/result/CreatePlatformIdByUserIdResult.js +48 -0
- package/account/result/CreatePlatformIdByUserIdResult.js.map +1 -0
- package/account/result/CreatePlatformIdByUserIdResult.ts +47 -0
- package/account/result/CreatePlatformIdResult.d.ts +14 -0
- package/account/result/CreatePlatformIdResult.js +48 -0
- package/account/result/CreatePlatformIdResult.js.map +1 -0
- package/account/result/CreatePlatformIdResult.ts +47 -0
- package/account/result/DeletePlatformIdByUserIdResult.d.ts +14 -0
- package/account/result/DeletePlatformIdByUserIdResult.js +48 -0
- package/account/result/DeletePlatformIdByUserIdResult.js.map +1 -0
- package/account/result/DeletePlatformIdByUserIdResult.ts +47 -0
- package/account/result/DeletePlatformIdByUserIdentifierResult.d.ts +14 -0
- package/account/result/DeletePlatformIdByUserIdentifierResult.js +48 -0
- package/account/result/DeletePlatformIdByUserIdentifierResult.js.map +1 -0
- package/account/result/DeletePlatformIdByUserIdentifierResult.ts +47 -0
- package/account/result/DeletePlatformIdResult.d.ts +14 -0
- package/account/result/DeletePlatformIdResult.js +48 -0
- package/account/result/DeletePlatformIdResult.js.map +1 -0
- package/account/result/DeletePlatformIdResult.ts +47 -0
- package/account/result/DescribePlatformIdsByUserIdResult.d.ts +18 -0
- package/account/result/DescribePlatformIdsByUserIdResult.js +67 -0
- package/account/result/DescribePlatformIdsByUserIdResult.js.map +1 -0
- package/account/result/DescribePlatformIdsByUserIdResult.ts +72 -0
- package/account/result/DescribePlatformIdsResult.d.ts +18 -0
- package/account/result/DescribePlatformIdsResult.js +67 -0
- package/account/result/DescribePlatformIdsResult.js.map +1 -0
- package/account/result/DescribePlatformIdsResult.ts +72 -0
- package/account/result/FindPlatformIdByUserIdResult.d.ts +14 -0
- package/account/result/FindPlatformIdByUserIdResult.js +48 -0
- package/account/result/FindPlatformIdByUserIdResult.js.map +1 -0
- package/account/result/FindPlatformIdByUserIdResult.ts +47 -0
- package/account/result/FindPlatformIdResult.d.ts +14 -0
- package/account/result/FindPlatformIdResult.js +48 -0
- package/account/result/FindPlatformIdResult.js.map +1 -0
- package/account/result/FindPlatformIdResult.ts +47 -0
- package/account/result/GetPlatformIdByUserIdResult.d.ts +14 -0
- package/account/result/GetPlatformIdByUserIdResult.js +48 -0
- package/account/result/GetPlatformIdByUserIdResult.js.map +1 -0
- package/account/result/GetPlatformIdByUserIdResult.ts +47 -0
- package/account/result/GetPlatformIdResult.d.ts +14 -0
- package/account/result/GetPlatformIdResult.js +48 -0
- package/account/result/GetPlatformIdResult.js.map +1 -0
- package/account/result/GetPlatformIdResult.ts +47 -0
- package/account/result/index.d.ts +12 -1
- package/account/result/index.js +23 -1
- package/account/result/index.js.map +1 -1
- package/account/result/index.ts +22 -0
- package/identifier/request/LoginRequest.js +2 -2
- package/identifier/request/LoginRequest.js.map +1 -1
- package/identifier/request/LoginRequest.ts +2 -2
- package/package.json +1 -1
- package/serialKey/rest.js +1 -1
- package/serialKey/rest.js.map +1 -1
- package/serialKey/rest.ts +1 -1
|
@@ -0,0 +1,123 @@
|
|
|
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 DeletePlatformIdRequest = /** @class */ (function () {
|
|
19
|
+
function DeletePlatformIdRequest() {
|
|
20
|
+
this.requestId = null;
|
|
21
|
+
this.contextStack = null;
|
|
22
|
+
this.namespaceName = null;
|
|
23
|
+
this.accessToken = null;
|
|
24
|
+
this.type = null;
|
|
25
|
+
this.userIdentifier = null;
|
|
26
|
+
this.duplicationAvoider = null;
|
|
27
|
+
}
|
|
28
|
+
DeletePlatformIdRequest.prototype.getRequestId = function () {
|
|
29
|
+
return this.requestId;
|
|
30
|
+
};
|
|
31
|
+
DeletePlatformIdRequest.prototype.setRequestId = function (requestId) {
|
|
32
|
+
this.requestId = requestId;
|
|
33
|
+
return this;
|
|
34
|
+
};
|
|
35
|
+
DeletePlatformIdRequest.prototype.withRequestId = function (requestId) {
|
|
36
|
+
this.requestId = requestId;
|
|
37
|
+
return this;
|
|
38
|
+
};
|
|
39
|
+
DeletePlatformIdRequest.prototype.getContextStack = function () {
|
|
40
|
+
return this.contextStack;
|
|
41
|
+
};
|
|
42
|
+
DeletePlatformIdRequest.prototype.setContextStack = function (contextStack) {
|
|
43
|
+
this.contextStack = contextStack;
|
|
44
|
+
return this;
|
|
45
|
+
};
|
|
46
|
+
DeletePlatformIdRequest.prototype.withContextStack = function (contextStack) {
|
|
47
|
+
this.contextStack = contextStack;
|
|
48
|
+
return this;
|
|
49
|
+
};
|
|
50
|
+
DeletePlatformIdRequest.prototype.getNamespaceName = function () {
|
|
51
|
+
return this.namespaceName;
|
|
52
|
+
};
|
|
53
|
+
DeletePlatformIdRequest.prototype.setNamespaceName = function (namespaceName) {
|
|
54
|
+
this.namespaceName = namespaceName;
|
|
55
|
+
return this;
|
|
56
|
+
};
|
|
57
|
+
DeletePlatformIdRequest.prototype.withNamespaceName = function (namespaceName) {
|
|
58
|
+
this.namespaceName = namespaceName;
|
|
59
|
+
return this;
|
|
60
|
+
};
|
|
61
|
+
DeletePlatformIdRequest.prototype.getAccessToken = function () {
|
|
62
|
+
return this.accessToken;
|
|
63
|
+
};
|
|
64
|
+
DeletePlatformIdRequest.prototype.setAccessToken = function (accessToken) {
|
|
65
|
+
this.accessToken = accessToken;
|
|
66
|
+
return this;
|
|
67
|
+
};
|
|
68
|
+
DeletePlatformIdRequest.prototype.withAccessToken = function (accessToken) {
|
|
69
|
+
this.accessToken = accessToken;
|
|
70
|
+
return this;
|
|
71
|
+
};
|
|
72
|
+
DeletePlatformIdRequest.prototype.getType = function () {
|
|
73
|
+
return this.type;
|
|
74
|
+
};
|
|
75
|
+
DeletePlatformIdRequest.prototype.setType = function (type) {
|
|
76
|
+
this.type = type;
|
|
77
|
+
return this;
|
|
78
|
+
};
|
|
79
|
+
DeletePlatformIdRequest.prototype.withType = function (type) {
|
|
80
|
+
this.type = type;
|
|
81
|
+
return this;
|
|
82
|
+
};
|
|
83
|
+
DeletePlatformIdRequest.prototype.getUserIdentifier = function () {
|
|
84
|
+
return this.userIdentifier;
|
|
85
|
+
};
|
|
86
|
+
DeletePlatformIdRequest.prototype.setUserIdentifier = function (userIdentifier) {
|
|
87
|
+
this.userIdentifier = userIdentifier;
|
|
88
|
+
return this;
|
|
89
|
+
};
|
|
90
|
+
DeletePlatformIdRequest.prototype.withUserIdentifier = function (userIdentifier) {
|
|
91
|
+
this.userIdentifier = userIdentifier;
|
|
92
|
+
return this;
|
|
93
|
+
};
|
|
94
|
+
DeletePlatformIdRequest.prototype.getDuplicationAvoider = function () {
|
|
95
|
+
return this.duplicationAvoider;
|
|
96
|
+
};
|
|
97
|
+
DeletePlatformIdRequest.prototype.setDuplicationAvoider = function (duplicationAvoider) {
|
|
98
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
99
|
+
return this;
|
|
100
|
+
};
|
|
101
|
+
DeletePlatformIdRequest.prototype.withDuplicationAvoider = function (duplicationAvoider) {
|
|
102
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
103
|
+
return this;
|
|
104
|
+
};
|
|
105
|
+
DeletePlatformIdRequest.fromDict = function (data) {
|
|
106
|
+
return new DeletePlatformIdRequest()
|
|
107
|
+
.withNamespaceName(data["namespaceName"])
|
|
108
|
+
.withAccessToken(data["accessToken"])
|
|
109
|
+
.withType(data["type"])
|
|
110
|
+
.withUserIdentifier(data["userIdentifier"]);
|
|
111
|
+
};
|
|
112
|
+
DeletePlatformIdRequest.prototype.toDict = function () {
|
|
113
|
+
return {
|
|
114
|
+
"namespaceName": this.getNamespaceName(),
|
|
115
|
+
"accessToken": this.getAccessToken(),
|
|
116
|
+
"type": this.getType(),
|
|
117
|
+
"userIdentifier": this.getUserIdentifier(),
|
|
118
|
+
};
|
|
119
|
+
};
|
|
120
|
+
return DeletePlatformIdRequest;
|
|
121
|
+
}());
|
|
122
|
+
exports.default = DeletePlatformIdRequest;
|
|
123
|
+
//# sourceMappingURL=DeletePlatformIdRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DeletePlatformIdRequest.js","sourceRoot":"","sources":["DeletePlatformIdRequest.ts"],"names":[],"mappings":"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"}
|
|
@@ -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 Gs2Account from '../model'
|
|
20
|
+
|
|
21
|
+
export default class DeletePlatformIdRequest 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 type: number|null = null;
|
|
28
|
+
private userIdentifier: 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 getAccessToken(): string|null {
|
|
70
|
+
return this.accessToken;
|
|
71
|
+
}
|
|
72
|
+
public setAccessToken(accessToken: string|null) {
|
|
73
|
+
this.accessToken = accessToken;
|
|
74
|
+
return this;
|
|
75
|
+
}
|
|
76
|
+
public withAccessToken(accessToken: string|null): this {
|
|
77
|
+
this.accessToken = accessToken;
|
|
78
|
+
return this;
|
|
79
|
+
}
|
|
80
|
+
public getType(): number|null {
|
|
81
|
+
return this.type;
|
|
82
|
+
}
|
|
83
|
+
public setType(type: number|null) {
|
|
84
|
+
this.type = type;
|
|
85
|
+
return this;
|
|
86
|
+
}
|
|
87
|
+
public withType(type: number|null): this {
|
|
88
|
+
this.type = type;
|
|
89
|
+
return this;
|
|
90
|
+
}
|
|
91
|
+
public getUserIdentifier(): string|null {
|
|
92
|
+
return this.userIdentifier;
|
|
93
|
+
}
|
|
94
|
+
public setUserIdentifier(userIdentifier: string|null) {
|
|
95
|
+
this.userIdentifier = userIdentifier;
|
|
96
|
+
return this;
|
|
97
|
+
}
|
|
98
|
+
public withUserIdentifier(userIdentifier: string|null): this {
|
|
99
|
+
this.userIdentifier = userIdentifier;
|
|
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}): DeletePlatformIdRequest {
|
|
118
|
+
return new DeletePlatformIdRequest()
|
|
119
|
+
.withNamespaceName(data["namespaceName"])
|
|
120
|
+
.withAccessToken(data["accessToken"])
|
|
121
|
+
.withType(data["type"])
|
|
122
|
+
.withUserIdentifier(data["userIdentifier"]);
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
public toDict(): {[key: string]: any} {
|
|
126
|
+
return {
|
|
127
|
+
"namespaceName": this.getNamespaceName(),
|
|
128
|
+
"accessToken": this.getAccessToken(),
|
|
129
|
+
"type": this.getType(),
|
|
130
|
+
"userIdentifier": this.getUserIdentifier(),
|
|
131
|
+
};
|
|
132
|
+
}
|
|
133
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import IRequest from '../../core/interface/IRequest';
|
|
2
|
+
export default class DescribePlatformIdsByUserIdRequest implements IRequest {
|
|
3
|
+
private requestId;
|
|
4
|
+
private contextStack;
|
|
5
|
+
private namespaceName;
|
|
6
|
+
private userId;
|
|
7
|
+
private pageToken;
|
|
8
|
+
private limit;
|
|
9
|
+
private timeOffsetToken;
|
|
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
|
+
getUserId(): string | null;
|
|
20
|
+
setUserId(userId: string | null): this;
|
|
21
|
+
withUserId(userId: string | null): this;
|
|
22
|
+
getPageToken(): string | null;
|
|
23
|
+
setPageToken(pageToken: string | null): this;
|
|
24
|
+
withPageToken(pageToken: string | null): this;
|
|
25
|
+
getLimit(): number | null;
|
|
26
|
+
setLimit(limit: number | null): this;
|
|
27
|
+
withLimit(limit: number | null): this;
|
|
28
|
+
getTimeOffsetToken(): string | null;
|
|
29
|
+
setTimeOffsetToken(timeOffsetToken: string | null): this;
|
|
30
|
+
withTimeOffsetToken(timeOffsetToken: string | null): this;
|
|
31
|
+
static fromDict(data: {
|
|
32
|
+
[key: string]: any;
|
|
33
|
+
}): DescribePlatformIdsByUserIdRequest;
|
|
34
|
+
toDict(): {
|
|
35
|
+
[key: string]: any;
|
|
36
|
+
};
|
|
37
|
+
}
|
|
@@ -0,0 +1,125 @@
|
|
|
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 DescribePlatformIdsByUserIdRequest = /** @class */ (function () {
|
|
19
|
+
function DescribePlatformIdsByUserIdRequest() {
|
|
20
|
+
this.requestId = null;
|
|
21
|
+
this.contextStack = null;
|
|
22
|
+
this.namespaceName = null;
|
|
23
|
+
this.userId = null;
|
|
24
|
+
this.pageToken = null;
|
|
25
|
+
this.limit = null;
|
|
26
|
+
this.timeOffsetToken = null;
|
|
27
|
+
}
|
|
28
|
+
DescribePlatformIdsByUserIdRequest.prototype.getRequestId = function () {
|
|
29
|
+
return this.requestId;
|
|
30
|
+
};
|
|
31
|
+
DescribePlatformIdsByUserIdRequest.prototype.setRequestId = function (requestId) {
|
|
32
|
+
this.requestId = requestId;
|
|
33
|
+
return this;
|
|
34
|
+
};
|
|
35
|
+
DescribePlatformIdsByUserIdRequest.prototype.withRequestId = function (requestId) {
|
|
36
|
+
this.requestId = requestId;
|
|
37
|
+
return this;
|
|
38
|
+
};
|
|
39
|
+
DescribePlatformIdsByUserIdRequest.prototype.getContextStack = function () {
|
|
40
|
+
return this.contextStack;
|
|
41
|
+
};
|
|
42
|
+
DescribePlatformIdsByUserIdRequest.prototype.setContextStack = function (contextStack) {
|
|
43
|
+
this.contextStack = contextStack;
|
|
44
|
+
return this;
|
|
45
|
+
};
|
|
46
|
+
DescribePlatformIdsByUserIdRequest.prototype.withContextStack = function (contextStack) {
|
|
47
|
+
this.contextStack = contextStack;
|
|
48
|
+
return this;
|
|
49
|
+
};
|
|
50
|
+
DescribePlatformIdsByUserIdRequest.prototype.getNamespaceName = function () {
|
|
51
|
+
return this.namespaceName;
|
|
52
|
+
};
|
|
53
|
+
DescribePlatformIdsByUserIdRequest.prototype.setNamespaceName = function (namespaceName) {
|
|
54
|
+
this.namespaceName = namespaceName;
|
|
55
|
+
return this;
|
|
56
|
+
};
|
|
57
|
+
DescribePlatformIdsByUserIdRequest.prototype.withNamespaceName = function (namespaceName) {
|
|
58
|
+
this.namespaceName = namespaceName;
|
|
59
|
+
return this;
|
|
60
|
+
};
|
|
61
|
+
DescribePlatformIdsByUserIdRequest.prototype.getUserId = function () {
|
|
62
|
+
return this.userId;
|
|
63
|
+
};
|
|
64
|
+
DescribePlatformIdsByUserIdRequest.prototype.setUserId = function (userId) {
|
|
65
|
+
this.userId = userId;
|
|
66
|
+
return this;
|
|
67
|
+
};
|
|
68
|
+
DescribePlatformIdsByUserIdRequest.prototype.withUserId = function (userId) {
|
|
69
|
+
this.userId = userId;
|
|
70
|
+
return this;
|
|
71
|
+
};
|
|
72
|
+
DescribePlatformIdsByUserIdRequest.prototype.getPageToken = function () {
|
|
73
|
+
return this.pageToken;
|
|
74
|
+
};
|
|
75
|
+
DescribePlatformIdsByUserIdRequest.prototype.setPageToken = function (pageToken) {
|
|
76
|
+
this.pageToken = pageToken;
|
|
77
|
+
return this;
|
|
78
|
+
};
|
|
79
|
+
DescribePlatformIdsByUserIdRequest.prototype.withPageToken = function (pageToken) {
|
|
80
|
+
this.pageToken = pageToken;
|
|
81
|
+
return this;
|
|
82
|
+
};
|
|
83
|
+
DescribePlatformIdsByUserIdRequest.prototype.getLimit = function () {
|
|
84
|
+
return this.limit;
|
|
85
|
+
};
|
|
86
|
+
DescribePlatformIdsByUserIdRequest.prototype.setLimit = function (limit) {
|
|
87
|
+
this.limit = limit;
|
|
88
|
+
return this;
|
|
89
|
+
};
|
|
90
|
+
DescribePlatformIdsByUserIdRequest.prototype.withLimit = function (limit) {
|
|
91
|
+
this.limit = limit;
|
|
92
|
+
return this;
|
|
93
|
+
};
|
|
94
|
+
DescribePlatformIdsByUserIdRequest.prototype.getTimeOffsetToken = function () {
|
|
95
|
+
return this.timeOffsetToken;
|
|
96
|
+
};
|
|
97
|
+
DescribePlatformIdsByUserIdRequest.prototype.setTimeOffsetToken = function (timeOffsetToken) {
|
|
98
|
+
this.timeOffsetToken = timeOffsetToken;
|
|
99
|
+
return this;
|
|
100
|
+
};
|
|
101
|
+
DescribePlatformIdsByUserIdRequest.prototype.withTimeOffsetToken = function (timeOffsetToken) {
|
|
102
|
+
this.timeOffsetToken = timeOffsetToken;
|
|
103
|
+
return this;
|
|
104
|
+
};
|
|
105
|
+
DescribePlatformIdsByUserIdRequest.fromDict = function (data) {
|
|
106
|
+
return new DescribePlatformIdsByUserIdRequest()
|
|
107
|
+
.withNamespaceName(data["namespaceName"])
|
|
108
|
+
.withUserId(data["userId"])
|
|
109
|
+
.withPageToken(data["pageToken"])
|
|
110
|
+
.withLimit(data["limit"])
|
|
111
|
+
.withTimeOffsetToken(data["timeOffsetToken"]);
|
|
112
|
+
};
|
|
113
|
+
DescribePlatformIdsByUserIdRequest.prototype.toDict = function () {
|
|
114
|
+
return {
|
|
115
|
+
"namespaceName": this.getNamespaceName(),
|
|
116
|
+
"userId": this.getUserId(),
|
|
117
|
+
"pageToken": this.getPageToken(),
|
|
118
|
+
"limit": this.getLimit(),
|
|
119
|
+
"timeOffsetToken": this.getTimeOffsetToken(),
|
|
120
|
+
};
|
|
121
|
+
};
|
|
122
|
+
return DescribePlatformIdsByUserIdRequest;
|
|
123
|
+
}());
|
|
124
|
+
exports.default = DescribePlatformIdsByUserIdRequest;
|
|
125
|
+
//# sourceMappingURL=DescribePlatformIdsByUserIdRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DescribePlatformIdsByUserIdRequest.js","sourceRoot":"","sources":["DescribePlatformIdsByUserIdRequest.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,132 @@
|
|
|
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 Gs2Account from '../model'
|
|
20
|
+
|
|
21
|
+
export default class DescribePlatformIdsByUserIdRequest 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 pageToken: string|null = null;
|
|
28
|
+
private limit: number|null = null;
|
|
29
|
+
private timeOffsetToken: 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 getPageToken(): string|null {
|
|
81
|
+
return this.pageToken;
|
|
82
|
+
}
|
|
83
|
+
public setPageToken(pageToken: string|null) {
|
|
84
|
+
this.pageToken = pageToken;
|
|
85
|
+
return this;
|
|
86
|
+
}
|
|
87
|
+
public withPageToken(pageToken: string|null): this {
|
|
88
|
+
this.pageToken = pageToken;
|
|
89
|
+
return this;
|
|
90
|
+
}
|
|
91
|
+
public getLimit(): number|null {
|
|
92
|
+
return this.limit;
|
|
93
|
+
}
|
|
94
|
+
public setLimit(limit: number|null) {
|
|
95
|
+
this.limit = limit;
|
|
96
|
+
return this;
|
|
97
|
+
}
|
|
98
|
+
public withLimit(limit: number|null): this {
|
|
99
|
+
this.limit = limit;
|
|
100
|
+
return this;
|
|
101
|
+
}
|
|
102
|
+
public getTimeOffsetToken(): string|null {
|
|
103
|
+
return this.timeOffsetToken;
|
|
104
|
+
}
|
|
105
|
+
public setTimeOffsetToken(timeOffsetToken: string|null) {
|
|
106
|
+
this.timeOffsetToken = timeOffsetToken;
|
|
107
|
+
return this;
|
|
108
|
+
}
|
|
109
|
+
public withTimeOffsetToken(timeOffsetToken: string|null): this {
|
|
110
|
+
this.timeOffsetToken = timeOffsetToken;
|
|
111
|
+
return this;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
public static fromDict(data: {[key: string]: any}): DescribePlatformIdsByUserIdRequest {
|
|
115
|
+
return new DescribePlatformIdsByUserIdRequest()
|
|
116
|
+
.withNamespaceName(data["namespaceName"])
|
|
117
|
+
.withUserId(data["userId"])
|
|
118
|
+
.withPageToken(data["pageToken"])
|
|
119
|
+
.withLimit(data["limit"])
|
|
120
|
+
.withTimeOffsetToken(data["timeOffsetToken"]);
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
public toDict(): {[key: string]: any} {
|
|
124
|
+
return {
|
|
125
|
+
"namespaceName": this.getNamespaceName(),
|
|
126
|
+
"userId": this.getUserId(),
|
|
127
|
+
"pageToken": this.getPageToken(),
|
|
128
|
+
"limit": this.getLimit(),
|
|
129
|
+
"timeOffsetToken": this.getTimeOffsetToken(),
|
|
130
|
+
};
|
|
131
|
+
}
|
|
132
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import IRequest from '../../core/interface/IRequest';
|
|
2
|
+
export default class DescribePlatformIdsRequest implements IRequest {
|
|
3
|
+
private requestId;
|
|
4
|
+
private contextStack;
|
|
5
|
+
private namespaceName;
|
|
6
|
+
private accessToken;
|
|
7
|
+
private pageToken;
|
|
8
|
+
private limit;
|
|
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
|
+
getAccessToken(): string | null;
|
|
19
|
+
setAccessToken(accessToken: string | null): this;
|
|
20
|
+
withAccessToken(accessToken: string | null): this;
|
|
21
|
+
getPageToken(): string | null;
|
|
22
|
+
setPageToken(pageToken: string | null): this;
|
|
23
|
+
withPageToken(pageToken: string | null): this;
|
|
24
|
+
getLimit(): number | null;
|
|
25
|
+
setLimit(limit: number | null): this;
|
|
26
|
+
withLimit(limit: number | null): this;
|
|
27
|
+
static fromDict(data: {
|
|
28
|
+
[key: string]: any;
|
|
29
|
+
}): DescribePlatformIdsRequest;
|
|
30
|
+
toDict(): {
|
|
31
|
+
[key: string]: any;
|
|
32
|
+
};
|
|
33
|
+
}
|