gs2 1.4.10 → 1.4.11
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/CurrentModelMaster.d.ts +22 -0
- package/account/model/CurrentModelMaster.js +111 -0
- package/account/model/CurrentModelMaster.js.map +1 -0
- package/account/model/CurrentModelMaster.ts +121 -0
- package/account/model/GitHubCheckoutSetting.d.ts +37 -0
- package/account/model/GitHubCheckoutSetting.js +132 -0
- package/account/model/GitHubCheckoutSetting.js.map +1 -0
- package/account/model/GitHubCheckoutSetting.ts +130 -0
- package/account/model/OpenIdConnectSetting.d.ts +17 -0
- package/account/model/OpenIdConnectSetting.js +62 -0
- package/account/model/OpenIdConnectSetting.js.map +1 -0
- package/account/model/OpenIdConnectSetting.ts +60 -0
- package/account/model/TakeOverTypeModel.d.ts +32 -0
- package/account/model/TakeOverTypeModel.js +160 -0
- package/account/model/TakeOverTypeModel.js.map +1 -0
- package/account/model/TakeOverTypeModel.ts +171 -0
- package/account/model/TakeOverTypeModelMaster.d.ts +48 -0
- package/account/model/TakeOverTypeModelMaster.js +216 -0
- package/account/model/TakeOverTypeModelMaster.js.map +1 -0
- package/account/model/TakeOverTypeModelMaster.ts +227 -0
- package/account/model/index.d.ts +6 -1
- package/account/model/index.js +11 -1
- package/account/model/index.js.map +1 -1
- package/account/model/index.ts +10 -0
- package/account/request/CreateTakeOverOpenIdConnectAndByUserIdRequest.d.ts +41 -0
- package/account/request/CreateTakeOverOpenIdConnectAndByUserIdRequest.js +137 -0
- package/account/request/CreateTakeOverOpenIdConnectAndByUserIdRequest.js.map +1 -0
- package/account/request/CreateTakeOverOpenIdConnectAndByUserIdRequest.ts +147 -0
- package/account/request/CreateTakeOverOpenIdConnectRequest.d.ts +37 -0
- package/account/request/CreateTakeOverOpenIdConnectRequest.js +123 -0
- package/account/request/CreateTakeOverOpenIdConnectRequest.js.map +1 -0
- package/account/request/CreateTakeOverOpenIdConnectRequest.ts +133 -0
- package/account/request/CreateTakeOverTypeModelMasterRequest.d.ts +38 -0
- package/account/request/CreateTakeOverTypeModelMasterRequest.js +128 -0
- package/account/request/CreateTakeOverTypeModelMasterRequest.js.map +1 -0
- package/account/request/CreateTakeOverTypeModelMasterRequest.ts +132 -0
- package/account/request/DeleteTakeOverTypeModelMasterRequest.d.ts +25 -0
- package/account/request/DeleteTakeOverTypeModelMasterRequest.js +83 -0
- package/account/request/DeleteTakeOverTypeModelMasterRequest.js.map +1 -0
- package/account/request/DeleteTakeOverTypeModelMasterRequest.ts +90 -0
- package/account/request/DescribeTakeOverTypeModelMastersRequest.d.ts +29 -0
- package/account/request/DescribeTakeOverTypeModelMastersRequest.js +97 -0
- package/account/request/DescribeTakeOverTypeModelMastersRequest.js.map +1 -0
- package/account/request/DescribeTakeOverTypeModelMastersRequest.ts +104 -0
- package/account/request/DescribeTakeOverTypeModelsRequest.d.ts +21 -0
- package/account/request/DescribeTakeOverTypeModelsRequest.js +69 -0
- package/account/request/DescribeTakeOverTypeModelsRequest.js.map +1 -0
- package/account/request/DescribeTakeOverTypeModelsRequest.ts +76 -0
- package/account/request/DoTakeOverOpenIdConnectRequest.d.ts +29 -0
- package/account/request/DoTakeOverOpenIdConnectRequest.js +97 -0
- package/account/request/DoTakeOverOpenIdConnectRequest.js.map +1 -0
- package/account/request/DoTakeOverOpenIdConnectRequest.ts +104 -0
- package/account/request/ExportMasterRequest.d.ts +21 -0
- package/account/request/ExportMasterRequest.js +69 -0
- package/account/request/ExportMasterRequest.js.map +1 -0
- package/account/request/ExportMasterRequest.ts +76 -0
- package/account/request/GetCurrentModelMasterRequest.d.ts +21 -0
- package/account/request/GetCurrentModelMasterRequest.js +69 -0
- package/account/request/GetCurrentModelMasterRequest.js.map +1 -0
- package/account/request/GetCurrentModelMasterRequest.ts +76 -0
- package/account/request/GetTakeOverTypeModelMasterRequest.d.ts +25 -0
- package/account/request/GetTakeOverTypeModelMasterRequest.js +83 -0
- package/account/request/GetTakeOverTypeModelMasterRequest.js.map +1 -0
- package/account/request/GetTakeOverTypeModelMasterRequest.ts +90 -0
- package/account/request/GetTakeOverTypeModelRequest.d.ts +25 -0
- package/account/request/GetTakeOverTypeModelRequest.js +83 -0
- package/account/request/GetTakeOverTypeModelRequest.js.map +1 -0
- package/account/request/GetTakeOverTypeModelRequest.ts +90 -0
- package/account/request/UpdateCurrentModelMasterFromGitHubRequest.d.ts +26 -0
- package/account/request/UpdateCurrentModelMasterFromGitHubRequest.js +86 -0
- package/account/request/UpdateCurrentModelMasterFromGitHubRequest.js.map +1 -0
- package/account/request/UpdateCurrentModelMasterFromGitHubRequest.ts +90 -0
- package/account/request/UpdateCurrentModelMasterRequest.d.ts +25 -0
- package/account/request/UpdateCurrentModelMasterRequest.js +83 -0
- package/account/request/UpdateCurrentModelMasterRequest.js.map +1 -0
- package/account/request/UpdateCurrentModelMasterRequest.ts +90 -0
- package/account/request/UpdateTakeOverTypeModelMasterRequest.d.ts +38 -0
- package/account/request/UpdateTakeOverTypeModelMasterRequest.js +128 -0
- package/account/request/UpdateTakeOverTypeModelMasterRequest.js.map +1 -0
- package/account/request/UpdateTakeOverTypeModelMasterRequest.ts +132 -0
- package/account/request/index.d.ts +15 -1
- package/account/request/index.js +30 -1
- package/account/request/index.js.map +1 -1
- package/account/request/index.ts +28 -0
- package/account/rest.d.ts +14 -0
- package/account/rest.js +370 -0
- package/account/rest.js.map +1 -1
- package/account/rest.ts +426 -0
- package/account/result/CreateTakeOverOpenIdConnectAndByUserIdResult.d.ts +14 -0
- package/account/result/CreateTakeOverOpenIdConnectAndByUserIdResult.js +48 -0
- package/account/result/CreateTakeOverOpenIdConnectAndByUserIdResult.js.map +1 -0
- package/account/result/CreateTakeOverOpenIdConnectAndByUserIdResult.ts +47 -0
- package/account/result/CreateTakeOverOpenIdConnectResult.d.ts +14 -0
- package/account/result/CreateTakeOverOpenIdConnectResult.js +48 -0
- package/account/result/CreateTakeOverOpenIdConnectResult.js.map +1 -0
- package/account/result/CreateTakeOverOpenIdConnectResult.ts +47 -0
- package/account/result/CreateTakeOverTypeModelMasterResult.d.ts +14 -0
- package/account/result/CreateTakeOverTypeModelMasterResult.js +48 -0
- package/account/result/CreateTakeOverTypeModelMasterResult.js.map +1 -0
- package/account/result/CreateTakeOverTypeModelMasterResult.ts +47 -0
- package/account/result/DeleteTakeOverTypeModelMasterResult.d.ts +14 -0
- package/account/result/DeleteTakeOverTypeModelMasterResult.js +48 -0
- package/account/result/DeleteTakeOverTypeModelMasterResult.js.map +1 -0
- package/account/result/DeleteTakeOverTypeModelMasterResult.ts +47 -0
- package/account/result/DescribeTakeOverTypeModelMastersResult.d.ts +18 -0
- package/account/result/DescribeTakeOverTypeModelMastersResult.js +67 -0
- package/account/result/DescribeTakeOverTypeModelMastersResult.js.map +1 -0
- package/account/result/DescribeTakeOverTypeModelMastersResult.ts +72 -0
- package/account/result/DescribeTakeOverTypeModelsResult.d.ts +14 -0
- package/account/result/DescribeTakeOverTypeModelsResult.js +53 -0
- package/account/result/DescribeTakeOverTypeModelsResult.js.map +1 -0
- package/account/result/DescribeTakeOverTypeModelsResult.ts +55 -0
- package/account/result/DoTakeOverOpenIdConnectResult.d.ts +14 -0
- package/account/result/DoTakeOverOpenIdConnectResult.js +48 -0
- package/account/result/DoTakeOverOpenIdConnectResult.js.map +1 -0
- package/account/result/DoTakeOverOpenIdConnectResult.ts +47 -0
- package/account/result/ExportMasterResult.d.ts +14 -0
- package/account/result/ExportMasterResult.js +48 -0
- package/account/result/ExportMasterResult.js.map +1 -0
- package/account/result/ExportMasterResult.ts +47 -0
- package/account/result/GetCurrentModelMasterResult.d.ts +14 -0
- package/account/result/GetCurrentModelMasterResult.js +48 -0
- package/account/result/GetCurrentModelMasterResult.js.map +1 -0
- package/account/result/GetCurrentModelMasterResult.ts +47 -0
- package/account/result/GetTakeOverTypeModelMasterResult.d.ts +14 -0
- package/account/result/GetTakeOverTypeModelMasterResult.js +48 -0
- package/account/result/GetTakeOverTypeModelMasterResult.js.map +1 -0
- package/account/result/GetTakeOverTypeModelMasterResult.ts +47 -0
- package/account/result/GetTakeOverTypeModelResult.d.ts +14 -0
- package/account/result/GetTakeOverTypeModelResult.js +48 -0
- package/account/result/GetTakeOverTypeModelResult.js.map +1 -0
- package/account/result/GetTakeOverTypeModelResult.ts +47 -0
- package/account/result/UpdateCurrentModelMasterFromGitHubResult.d.ts +14 -0
- package/account/result/UpdateCurrentModelMasterFromGitHubResult.js +48 -0
- package/account/result/UpdateCurrentModelMasterFromGitHubResult.js.map +1 -0
- package/account/result/UpdateCurrentModelMasterFromGitHubResult.ts +47 -0
- package/account/result/UpdateCurrentModelMasterResult.d.ts +14 -0
- package/account/result/UpdateCurrentModelMasterResult.js +48 -0
- package/account/result/UpdateCurrentModelMasterResult.js.map +1 -0
- package/account/result/UpdateCurrentModelMasterResult.ts +47 -0
- package/account/result/UpdateTakeOverTypeModelMasterResult.d.ts +14 -0
- package/account/result/UpdateTakeOverTypeModelMasterResult.js +48 -0
- package/account/result/UpdateTakeOverTypeModelMasterResult.js.map +1 -0
- package/account/result/UpdateTakeOverTypeModelMasterResult.ts +47 -0
- package/account/result/index.d.ts +15 -1
- package/account/result/index.js +30 -1
- package/account/result/index.js.map +1 -1
- package/account/result/index.ts +28 -0
- package/package.json +1 -1
|
@@ -0,0 +1,137 @@
|
|
|
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 CreateTakeOverOpenIdConnectAndByUserIdRequest = /** @class */ (function () {
|
|
19
|
+
function CreateTakeOverOpenIdConnectAndByUserIdRequest() {
|
|
20
|
+
this.requestId = null;
|
|
21
|
+
this.contextStack = null;
|
|
22
|
+
this.namespaceName = null;
|
|
23
|
+
this.userId = null;
|
|
24
|
+
this.type = null;
|
|
25
|
+
this.idToken = null;
|
|
26
|
+
this.timeOffsetToken = null;
|
|
27
|
+
this.duplicationAvoider = null;
|
|
28
|
+
}
|
|
29
|
+
CreateTakeOverOpenIdConnectAndByUserIdRequest.prototype.getRequestId = function () {
|
|
30
|
+
return this.requestId;
|
|
31
|
+
};
|
|
32
|
+
CreateTakeOverOpenIdConnectAndByUserIdRequest.prototype.setRequestId = function (requestId) {
|
|
33
|
+
this.requestId = requestId;
|
|
34
|
+
return this;
|
|
35
|
+
};
|
|
36
|
+
CreateTakeOverOpenIdConnectAndByUserIdRequest.prototype.withRequestId = function (requestId) {
|
|
37
|
+
this.requestId = requestId;
|
|
38
|
+
return this;
|
|
39
|
+
};
|
|
40
|
+
CreateTakeOverOpenIdConnectAndByUserIdRequest.prototype.getContextStack = function () {
|
|
41
|
+
return this.contextStack;
|
|
42
|
+
};
|
|
43
|
+
CreateTakeOverOpenIdConnectAndByUserIdRequest.prototype.setContextStack = function (contextStack) {
|
|
44
|
+
this.contextStack = contextStack;
|
|
45
|
+
return this;
|
|
46
|
+
};
|
|
47
|
+
CreateTakeOverOpenIdConnectAndByUserIdRequest.prototype.withContextStack = function (contextStack) {
|
|
48
|
+
this.contextStack = contextStack;
|
|
49
|
+
return this;
|
|
50
|
+
};
|
|
51
|
+
CreateTakeOverOpenIdConnectAndByUserIdRequest.prototype.getNamespaceName = function () {
|
|
52
|
+
return this.namespaceName;
|
|
53
|
+
};
|
|
54
|
+
CreateTakeOverOpenIdConnectAndByUserIdRequest.prototype.setNamespaceName = function (namespaceName) {
|
|
55
|
+
this.namespaceName = namespaceName;
|
|
56
|
+
return this;
|
|
57
|
+
};
|
|
58
|
+
CreateTakeOverOpenIdConnectAndByUserIdRequest.prototype.withNamespaceName = function (namespaceName) {
|
|
59
|
+
this.namespaceName = namespaceName;
|
|
60
|
+
return this;
|
|
61
|
+
};
|
|
62
|
+
CreateTakeOverOpenIdConnectAndByUserIdRequest.prototype.getUserId = function () {
|
|
63
|
+
return this.userId;
|
|
64
|
+
};
|
|
65
|
+
CreateTakeOverOpenIdConnectAndByUserIdRequest.prototype.setUserId = function (userId) {
|
|
66
|
+
this.userId = userId;
|
|
67
|
+
return this;
|
|
68
|
+
};
|
|
69
|
+
CreateTakeOverOpenIdConnectAndByUserIdRequest.prototype.withUserId = function (userId) {
|
|
70
|
+
this.userId = userId;
|
|
71
|
+
return this;
|
|
72
|
+
};
|
|
73
|
+
CreateTakeOverOpenIdConnectAndByUserIdRequest.prototype.getType = function () {
|
|
74
|
+
return this.type;
|
|
75
|
+
};
|
|
76
|
+
CreateTakeOverOpenIdConnectAndByUserIdRequest.prototype.setType = function (type) {
|
|
77
|
+
this.type = type;
|
|
78
|
+
return this;
|
|
79
|
+
};
|
|
80
|
+
CreateTakeOverOpenIdConnectAndByUserIdRequest.prototype.withType = function (type) {
|
|
81
|
+
this.type = type;
|
|
82
|
+
return this;
|
|
83
|
+
};
|
|
84
|
+
CreateTakeOverOpenIdConnectAndByUserIdRequest.prototype.getIdToken = function () {
|
|
85
|
+
return this.idToken;
|
|
86
|
+
};
|
|
87
|
+
CreateTakeOverOpenIdConnectAndByUserIdRequest.prototype.setIdToken = function (idToken) {
|
|
88
|
+
this.idToken = idToken;
|
|
89
|
+
return this;
|
|
90
|
+
};
|
|
91
|
+
CreateTakeOverOpenIdConnectAndByUserIdRequest.prototype.withIdToken = function (idToken) {
|
|
92
|
+
this.idToken = idToken;
|
|
93
|
+
return this;
|
|
94
|
+
};
|
|
95
|
+
CreateTakeOverOpenIdConnectAndByUserIdRequest.prototype.getTimeOffsetToken = function () {
|
|
96
|
+
return this.timeOffsetToken;
|
|
97
|
+
};
|
|
98
|
+
CreateTakeOverOpenIdConnectAndByUserIdRequest.prototype.setTimeOffsetToken = function (timeOffsetToken) {
|
|
99
|
+
this.timeOffsetToken = timeOffsetToken;
|
|
100
|
+
return this;
|
|
101
|
+
};
|
|
102
|
+
CreateTakeOverOpenIdConnectAndByUserIdRequest.prototype.withTimeOffsetToken = function (timeOffsetToken) {
|
|
103
|
+
this.timeOffsetToken = timeOffsetToken;
|
|
104
|
+
return this;
|
|
105
|
+
};
|
|
106
|
+
CreateTakeOverOpenIdConnectAndByUserIdRequest.prototype.getDuplicationAvoider = function () {
|
|
107
|
+
return this.duplicationAvoider;
|
|
108
|
+
};
|
|
109
|
+
CreateTakeOverOpenIdConnectAndByUserIdRequest.prototype.setDuplicationAvoider = function (duplicationAvoider) {
|
|
110
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
111
|
+
return this;
|
|
112
|
+
};
|
|
113
|
+
CreateTakeOverOpenIdConnectAndByUserIdRequest.prototype.withDuplicationAvoider = function (duplicationAvoider) {
|
|
114
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
115
|
+
return this;
|
|
116
|
+
};
|
|
117
|
+
CreateTakeOverOpenIdConnectAndByUserIdRequest.fromDict = function (data) {
|
|
118
|
+
return new CreateTakeOverOpenIdConnectAndByUserIdRequest()
|
|
119
|
+
.withNamespaceName(data["namespaceName"])
|
|
120
|
+
.withUserId(data["userId"])
|
|
121
|
+
.withType(data["type"])
|
|
122
|
+
.withIdToken(data["idToken"])
|
|
123
|
+
.withTimeOffsetToken(data["timeOffsetToken"]);
|
|
124
|
+
};
|
|
125
|
+
CreateTakeOverOpenIdConnectAndByUserIdRequest.prototype.toDict = function () {
|
|
126
|
+
return {
|
|
127
|
+
"namespaceName": this.getNamespaceName(),
|
|
128
|
+
"userId": this.getUserId(),
|
|
129
|
+
"type": this.getType(),
|
|
130
|
+
"idToken": this.getIdToken(),
|
|
131
|
+
"timeOffsetToken": this.getTimeOffsetToken(),
|
|
132
|
+
};
|
|
133
|
+
};
|
|
134
|
+
return CreateTakeOverOpenIdConnectAndByUserIdRequest;
|
|
135
|
+
}());
|
|
136
|
+
exports.default = CreateTakeOverOpenIdConnectAndByUserIdRequest;
|
|
137
|
+
//# sourceMappingURL=CreateTakeOverOpenIdConnectAndByUserIdRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateTakeOverOpenIdConnectAndByUserIdRequest.js","sourceRoot":"","sources":["CreateTakeOverOpenIdConnectAndByUserIdRequest.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,SAAI,GAAgB,IAAI,CAAC;QACzB,YAAO,GAAgB,IAAI,CAAC;QAC5B,oBAAe,GAAgB,IAAI,CAAC;QACpC,uBAAkB,GAAgB,IAAI,CAAC;IAqHnD,CAAC;IAnHU,oEAAY,GAAnB;QACI,OAAO,IAAI,CAAC,SAAS,CAAC;IAC1B,CAAC;IAEM,oEAAY,GAAnB,UAAoB,SAAsB;QACtC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,qEAAa,GAApB,UAAqB,SAAsB;QACvC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,uEAAe,GAAtB;QACI,OAAO,IAAI,CAAC,YAAY,CAAC;IAC7B,CAAC;IAEM,uEAAe,GAAtB,UAAuB,YAAyB;QAC5C,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,wEAAgB,GAAv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/C,CAAC;IACN,CAAC;IACL,oDAAC;AAAD,CAAC,AA9HD,IA8HC"}
|
|
@@ -0,0 +1,147 @@
|
|
|
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 CreateTakeOverOpenIdConnectAndByUserIdRequest 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 type: number|null = null;
|
|
28
|
+
private idToken: string|null = null;
|
|
29
|
+
private timeOffsetToken: string|null = null;
|
|
30
|
+
private duplicationAvoider: string|null = null;
|
|
31
|
+
|
|
32
|
+
public getRequestId(): string|null {
|
|
33
|
+
return this.requestId;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
public setRequestId(requestId: string|null) {
|
|
37
|
+
this.requestId = requestId;
|
|
38
|
+
return this;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
public withRequestId(requestId: string|null): this {
|
|
42
|
+
this.requestId = requestId;
|
|
43
|
+
return this;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
public getContextStack(): string|null {
|
|
47
|
+
return this.contextStack;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
public setContextStack(contextStack: string|null) {
|
|
51
|
+
this.contextStack = contextStack;
|
|
52
|
+
return this;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
public withContextStack(contextStack: string|null): this {
|
|
56
|
+
this.contextStack = contextStack;
|
|
57
|
+
return this;
|
|
58
|
+
}
|
|
59
|
+
public getNamespaceName(): string|null {
|
|
60
|
+
return this.namespaceName;
|
|
61
|
+
}
|
|
62
|
+
public setNamespaceName(namespaceName: string|null) {
|
|
63
|
+
this.namespaceName = namespaceName;
|
|
64
|
+
return this;
|
|
65
|
+
}
|
|
66
|
+
public withNamespaceName(namespaceName: string|null): this {
|
|
67
|
+
this.namespaceName = namespaceName;
|
|
68
|
+
return this;
|
|
69
|
+
}
|
|
70
|
+
public getUserId(): string|null {
|
|
71
|
+
return this.userId;
|
|
72
|
+
}
|
|
73
|
+
public setUserId(userId: string|null) {
|
|
74
|
+
this.userId = userId;
|
|
75
|
+
return this;
|
|
76
|
+
}
|
|
77
|
+
public withUserId(userId: string|null): this {
|
|
78
|
+
this.userId = userId;
|
|
79
|
+
return this;
|
|
80
|
+
}
|
|
81
|
+
public getType(): number|null {
|
|
82
|
+
return this.type;
|
|
83
|
+
}
|
|
84
|
+
public setType(type: number|null) {
|
|
85
|
+
this.type = type;
|
|
86
|
+
return this;
|
|
87
|
+
}
|
|
88
|
+
public withType(type: number|null): this {
|
|
89
|
+
this.type = type;
|
|
90
|
+
return this;
|
|
91
|
+
}
|
|
92
|
+
public getIdToken(): string|null {
|
|
93
|
+
return this.idToken;
|
|
94
|
+
}
|
|
95
|
+
public setIdToken(idToken: string|null) {
|
|
96
|
+
this.idToken = idToken;
|
|
97
|
+
return this;
|
|
98
|
+
}
|
|
99
|
+
public withIdToken(idToken: string|null): this {
|
|
100
|
+
this.idToken = idToken;
|
|
101
|
+
return this;
|
|
102
|
+
}
|
|
103
|
+
public getTimeOffsetToken(): string|null {
|
|
104
|
+
return this.timeOffsetToken;
|
|
105
|
+
}
|
|
106
|
+
public setTimeOffsetToken(timeOffsetToken: string|null) {
|
|
107
|
+
this.timeOffsetToken = timeOffsetToken;
|
|
108
|
+
return this;
|
|
109
|
+
}
|
|
110
|
+
public withTimeOffsetToken(timeOffsetToken: string|null): this {
|
|
111
|
+
this.timeOffsetToken = timeOffsetToken;
|
|
112
|
+
return this;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
public getDuplicationAvoider(): string|null {
|
|
116
|
+
return this.duplicationAvoider;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
public setDuplicationAvoider(duplicationAvoider: string|null) {
|
|
120
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
121
|
+
return this;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
public withDuplicationAvoider(duplicationAvoider: string|null): this {
|
|
125
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
126
|
+
return this;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
public static fromDict(data: {[key: string]: any}): CreateTakeOverOpenIdConnectAndByUserIdRequest {
|
|
130
|
+
return new CreateTakeOverOpenIdConnectAndByUserIdRequest()
|
|
131
|
+
.withNamespaceName(data["namespaceName"])
|
|
132
|
+
.withUserId(data["userId"])
|
|
133
|
+
.withType(data["type"])
|
|
134
|
+
.withIdToken(data["idToken"])
|
|
135
|
+
.withTimeOffsetToken(data["timeOffsetToken"]);
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
public toDict(): {[key: string]: any} {
|
|
139
|
+
return {
|
|
140
|
+
"namespaceName": this.getNamespaceName(),
|
|
141
|
+
"userId": this.getUserId(),
|
|
142
|
+
"type": this.getType(),
|
|
143
|
+
"idToken": this.getIdToken(),
|
|
144
|
+
"timeOffsetToken": this.getTimeOffsetToken(),
|
|
145
|
+
};
|
|
146
|
+
}
|
|
147
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import IRequest from '../../core/interface/IRequest';
|
|
2
|
+
export default class CreateTakeOverOpenIdConnectRequest implements IRequest {
|
|
3
|
+
private requestId;
|
|
4
|
+
private contextStack;
|
|
5
|
+
private namespaceName;
|
|
6
|
+
private accessToken;
|
|
7
|
+
private type;
|
|
8
|
+
private idToken;
|
|
9
|
+
private duplicationAvoider;
|
|
10
|
+
getRequestId(): string | null;
|
|
11
|
+
setRequestId(requestId: string | null): this;
|
|
12
|
+
withRequestId(requestId: string | null): this;
|
|
13
|
+
getContextStack(): string | null;
|
|
14
|
+
setContextStack(contextStack: string | null): this;
|
|
15
|
+
withContextStack(contextStack: string | null): this;
|
|
16
|
+
getNamespaceName(): string | null;
|
|
17
|
+
setNamespaceName(namespaceName: string | null): this;
|
|
18
|
+
withNamespaceName(namespaceName: string | null): this;
|
|
19
|
+
getAccessToken(): string | null;
|
|
20
|
+
setAccessToken(accessToken: string | null): this;
|
|
21
|
+
withAccessToken(accessToken: string | null): this;
|
|
22
|
+
getType(): number | null;
|
|
23
|
+
setType(type: number | null): this;
|
|
24
|
+
withType(type: number | null): this;
|
|
25
|
+
getIdToken(): string | null;
|
|
26
|
+
setIdToken(idToken: string | null): this;
|
|
27
|
+
withIdToken(idToken: string | null): this;
|
|
28
|
+
getDuplicationAvoider(): string | null;
|
|
29
|
+
setDuplicationAvoider(duplicationAvoider: string | null): this;
|
|
30
|
+
withDuplicationAvoider(duplicationAvoider: string | null): this;
|
|
31
|
+
static fromDict(data: {
|
|
32
|
+
[key: string]: any;
|
|
33
|
+
}): CreateTakeOverOpenIdConnectRequest;
|
|
34
|
+
toDict(): {
|
|
35
|
+
[key: string]: any;
|
|
36
|
+
};
|
|
37
|
+
}
|
|
@@ -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 CreateTakeOverOpenIdConnectRequest = /** @class */ (function () {
|
|
19
|
+
function CreateTakeOverOpenIdConnectRequest() {
|
|
20
|
+
this.requestId = null;
|
|
21
|
+
this.contextStack = null;
|
|
22
|
+
this.namespaceName = null;
|
|
23
|
+
this.accessToken = null;
|
|
24
|
+
this.type = null;
|
|
25
|
+
this.idToken = null;
|
|
26
|
+
this.duplicationAvoider = null;
|
|
27
|
+
}
|
|
28
|
+
CreateTakeOverOpenIdConnectRequest.prototype.getRequestId = function () {
|
|
29
|
+
return this.requestId;
|
|
30
|
+
};
|
|
31
|
+
CreateTakeOverOpenIdConnectRequest.prototype.setRequestId = function (requestId) {
|
|
32
|
+
this.requestId = requestId;
|
|
33
|
+
return this;
|
|
34
|
+
};
|
|
35
|
+
CreateTakeOverOpenIdConnectRequest.prototype.withRequestId = function (requestId) {
|
|
36
|
+
this.requestId = requestId;
|
|
37
|
+
return this;
|
|
38
|
+
};
|
|
39
|
+
CreateTakeOverOpenIdConnectRequest.prototype.getContextStack = function () {
|
|
40
|
+
return this.contextStack;
|
|
41
|
+
};
|
|
42
|
+
CreateTakeOverOpenIdConnectRequest.prototype.setContextStack = function (contextStack) {
|
|
43
|
+
this.contextStack = contextStack;
|
|
44
|
+
return this;
|
|
45
|
+
};
|
|
46
|
+
CreateTakeOverOpenIdConnectRequest.prototype.withContextStack = function (contextStack) {
|
|
47
|
+
this.contextStack = contextStack;
|
|
48
|
+
return this;
|
|
49
|
+
};
|
|
50
|
+
CreateTakeOverOpenIdConnectRequest.prototype.getNamespaceName = function () {
|
|
51
|
+
return this.namespaceName;
|
|
52
|
+
};
|
|
53
|
+
CreateTakeOverOpenIdConnectRequest.prototype.setNamespaceName = function (namespaceName) {
|
|
54
|
+
this.namespaceName = namespaceName;
|
|
55
|
+
return this;
|
|
56
|
+
};
|
|
57
|
+
CreateTakeOverOpenIdConnectRequest.prototype.withNamespaceName = function (namespaceName) {
|
|
58
|
+
this.namespaceName = namespaceName;
|
|
59
|
+
return this;
|
|
60
|
+
};
|
|
61
|
+
CreateTakeOverOpenIdConnectRequest.prototype.getAccessToken = function () {
|
|
62
|
+
return this.accessToken;
|
|
63
|
+
};
|
|
64
|
+
CreateTakeOverOpenIdConnectRequest.prototype.setAccessToken = function (accessToken) {
|
|
65
|
+
this.accessToken = accessToken;
|
|
66
|
+
return this;
|
|
67
|
+
};
|
|
68
|
+
CreateTakeOverOpenIdConnectRequest.prototype.withAccessToken = function (accessToken) {
|
|
69
|
+
this.accessToken = accessToken;
|
|
70
|
+
return this;
|
|
71
|
+
};
|
|
72
|
+
CreateTakeOverOpenIdConnectRequest.prototype.getType = function () {
|
|
73
|
+
return this.type;
|
|
74
|
+
};
|
|
75
|
+
CreateTakeOverOpenIdConnectRequest.prototype.setType = function (type) {
|
|
76
|
+
this.type = type;
|
|
77
|
+
return this;
|
|
78
|
+
};
|
|
79
|
+
CreateTakeOverOpenIdConnectRequest.prototype.withType = function (type) {
|
|
80
|
+
this.type = type;
|
|
81
|
+
return this;
|
|
82
|
+
};
|
|
83
|
+
CreateTakeOverOpenIdConnectRequest.prototype.getIdToken = function () {
|
|
84
|
+
return this.idToken;
|
|
85
|
+
};
|
|
86
|
+
CreateTakeOverOpenIdConnectRequest.prototype.setIdToken = function (idToken) {
|
|
87
|
+
this.idToken = idToken;
|
|
88
|
+
return this;
|
|
89
|
+
};
|
|
90
|
+
CreateTakeOverOpenIdConnectRequest.prototype.withIdToken = function (idToken) {
|
|
91
|
+
this.idToken = idToken;
|
|
92
|
+
return this;
|
|
93
|
+
};
|
|
94
|
+
CreateTakeOverOpenIdConnectRequest.prototype.getDuplicationAvoider = function () {
|
|
95
|
+
return this.duplicationAvoider;
|
|
96
|
+
};
|
|
97
|
+
CreateTakeOverOpenIdConnectRequest.prototype.setDuplicationAvoider = function (duplicationAvoider) {
|
|
98
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
99
|
+
return this;
|
|
100
|
+
};
|
|
101
|
+
CreateTakeOverOpenIdConnectRequest.prototype.withDuplicationAvoider = function (duplicationAvoider) {
|
|
102
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
103
|
+
return this;
|
|
104
|
+
};
|
|
105
|
+
CreateTakeOverOpenIdConnectRequest.fromDict = function (data) {
|
|
106
|
+
return new CreateTakeOverOpenIdConnectRequest()
|
|
107
|
+
.withNamespaceName(data["namespaceName"])
|
|
108
|
+
.withAccessToken(data["accessToken"])
|
|
109
|
+
.withType(data["type"])
|
|
110
|
+
.withIdToken(data["idToken"]);
|
|
111
|
+
};
|
|
112
|
+
CreateTakeOverOpenIdConnectRequest.prototype.toDict = function () {
|
|
113
|
+
return {
|
|
114
|
+
"namespaceName": this.getNamespaceName(),
|
|
115
|
+
"accessToken": this.getAccessToken(),
|
|
116
|
+
"type": this.getType(),
|
|
117
|
+
"idToken": this.getIdToken(),
|
|
118
|
+
};
|
|
119
|
+
};
|
|
120
|
+
return CreateTakeOverOpenIdConnectRequest;
|
|
121
|
+
}());
|
|
122
|
+
exports.default = CreateTakeOverOpenIdConnectRequest;
|
|
123
|
+
//# sourceMappingURL=CreateTakeOverOpenIdConnectRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CreateTakeOverOpenIdConnectRequest.js","sourceRoot":"","sources":["CreateTakeOverOpenIdConnectRequest.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAMH;IAAA;QAEY,cAAS,GAAgB,IAAI,C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aACpC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;aACtB,WAAW,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC;IACtC,CAAC;IAEM,mDAAM,GAAb;QACI,OAAO;YACH,eAAe,EAAE,IAAI,CAAC,gBAAgB,EAAE;YACxC,aAAa,EAAE,IAAI,CAAC,cAAc,EAAE;YACpC,MAAM,EAAE,IAAI,CAAC,OAAO,EAAE;YACtB,SAAS,EAAE,IAAI,CAAC,UAAU,EAAE;SAC/B,CAAC;IACN,CAAC;IACL,yCAAC;AAAD,CAAC,AAhHD,IAgHC"}
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
|
|
3
|
+
Reserved.
|
|
4
|
+
|
|
5
|
+
Licensed under the Apache License, Version 2.0 (the "License").
|
|
6
|
+
You may not use this file except in compliance with the License.
|
|
7
|
+
A copy of the License is located at
|
|
8
|
+
|
|
9
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
|
|
11
|
+
or in the "license" file accompanying this file. This file is distributed
|
|
12
|
+
on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
13
|
+
express or implied. See the License for the specific language governing
|
|
14
|
+
permissions and limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
import IRequest from '../../core/interface/IRequest';
|
|
18
|
+
|
|
19
|
+
import * as Gs2Account from '../model'
|
|
20
|
+
|
|
21
|
+
export default class CreateTakeOverOpenIdConnectRequest 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 idToken: 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 getIdToken(): string|null {
|
|
92
|
+
return this.idToken;
|
|
93
|
+
}
|
|
94
|
+
public setIdToken(idToken: string|null) {
|
|
95
|
+
this.idToken = idToken;
|
|
96
|
+
return this;
|
|
97
|
+
}
|
|
98
|
+
public withIdToken(idToken: string|null): this {
|
|
99
|
+
this.idToken = idToken;
|
|
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}): CreateTakeOverOpenIdConnectRequest {
|
|
118
|
+
return new CreateTakeOverOpenIdConnectRequest()
|
|
119
|
+
.withNamespaceName(data["namespaceName"])
|
|
120
|
+
.withAccessToken(data["accessToken"])
|
|
121
|
+
.withType(data["type"])
|
|
122
|
+
.withIdToken(data["idToken"]);
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
public toDict(): {[key: string]: any} {
|
|
126
|
+
return {
|
|
127
|
+
"namespaceName": this.getNamespaceName(),
|
|
128
|
+
"accessToken": this.getAccessToken(),
|
|
129
|
+
"type": this.getType(),
|
|
130
|
+
"idToken": this.getIdToken(),
|
|
131
|
+
};
|
|
132
|
+
}
|
|
133
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import IRequest from '../../core/interface/IRequest';
|
|
2
|
+
import * as Gs2Account from '../model';
|
|
3
|
+
export default class CreateTakeOverTypeModelMasterRequest implements IRequest {
|
|
4
|
+
private requestId;
|
|
5
|
+
private contextStack;
|
|
6
|
+
private namespaceName;
|
|
7
|
+
private type;
|
|
8
|
+
private description;
|
|
9
|
+
private metadata;
|
|
10
|
+
private openIdConnectSetting;
|
|
11
|
+
getRequestId(): string | null;
|
|
12
|
+
setRequestId(requestId: string | null): this;
|
|
13
|
+
withRequestId(requestId: string | null): this;
|
|
14
|
+
getContextStack(): string | null;
|
|
15
|
+
setContextStack(contextStack: string | null): this;
|
|
16
|
+
withContextStack(contextStack: string | null): this;
|
|
17
|
+
getNamespaceName(): string | null;
|
|
18
|
+
setNamespaceName(namespaceName: string | null): this;
|
|
19
|
+
withNamespaceName(namespaceName: string | null): this;
|
|
20
|
+
getType(): number | null;
|
|
21
|
+
setType(type: number | null): this;
|
|
22
|
+
withType(type: number | null): this;
|
|
23
|
+
getDescription(): string | null;
|
|
24
|
+
setDescription(description: string | null): this;
|
|
25
|
+
withDescription(description: string | null): this;
|
|
26
|
+
getMetadata(): string | null;
|
|
27
|
+
setMetadata(metadata: string | null): this;
|
|
28
|
+
withMetadata(metadata: string | null): this;
|
|
29
|
+
getOpenIdConnectSetting(): Gs2Account.OpenIdConnectSetting | null;
|
|
30
|
+
setOpenIdConnectSetting(openIdConnectSetting: Gs2Account.OpenIdConnectSetting | null): this;
|
|
31
|
+
withOpenIdConnectSetting(openIdConnectSetting: Gs2Account.OpenIdConnectSetting | null): this;
|
|
32
|
+
static fromDict(data: {
|
|
33
|
+
[key: string]: any;
|
|
34
|
+
}): CreateTakeOverTypeModelMasterRequest;
|
|
35
|
+
toDict(): {
|
|
36
|
+
[key: string]: any;
|
|
37
|
+
};
|
|
38
|
+
}
|