gs2 1.4.1 → 1.4.3
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/guild/model/IgnoreUser.d.ts +24 -0
- package/guild/model/IgnoreUser.js +149 -0
- package/guild/model/IgnoreUser.js.map +1 -0
- package/guild/model/IgnoreUser.ts +165 -0
- package/guild/model/IgnoreUsers.d.ts +41 -0
- package/guild/model/IgnoreUsers.js +213 -0
- package/guild/model/IgnoreUsers.js.map +1 -0
- package/guild/model/IgnoreUsers.ts +230 -0
- package/guild/model/index.d.ts +2 -1
- package/guild/model/index.js +3 -1
- package/guild/model/index.js.map +1 -1
- package/guild/model/index.ts +2 -0
- package/guild/request/AddIgnoreUserByGuildNameRequest.d.ts +41 -0
- package/guild/request/AddIgnoreUserByGuildNameRequest.js +137 -0
- package/guild/request/AddIgnoreUserByGuildNameRequest.js.map +1 -0
- package/guild/request/AddIgnoreUserByGuildNameRequest.ts +147 -0
- package/guild/request/AddIgnoreUserRequest.d.ts +37 -0
- package/guild/request/AddIgnoreUserRequest.js +123 -0
- package/guild/request/AddIgnoreUserRequest.js.map +1 -0
- package/guild/request/AddIgnoreUserRequest.ts +133 -0
- package/guild/request/DeleteIgnoreUserByGuildNameRequest.d.ts +41 -0
- package/guild/request/DeleteIgnoreUserByGuildNameRequest.js +137 -0
- package/guild/request/DeleteIgnoreUserByGuildNameRequest.js.map +1 -0
- package/guild/request/DeleteIgnoreUserByGuildNameRequest.ts +147 -0
- package/guild/request/DeleteIgnoreUserRequest.d.ts +37 -0
- package/guild/request/DeleteIgnoreUserRequest.js +123 -0
- package/guild/request/DeleteIgnoreUserRequest.js.map +1 -0
- package/guild/request/DeleteIgnoreUserRequest.ts +133 -0
- package/guild/request/DescribeIgnoreUsersByGuildNameRequest.d.ts +37 -0
- package/guild/request/DescribeIgnoreUsersByGuildNameRequest.js +125 -0
- package/guild/request/DescribeIgnoreUsersByGuildNameRequest.js.map +1 -0
- package/guild/request/DescribeIgnoreUsersByGuildNameRequest.ts +132 -0
- package/guild/request/DescribeIgnoreUsersRequest.d.ts +37 -0
- package/guild/request/DescribeIgnoreUsersRequest.js +125 -0
- package/guild/request/DescribeIgnoreUsersRequest.js.map +1 -0
- package/guild/request/DescribeIgnoreUsersRequest.ts +132 -0
- package/guild/request/GetIgnoreUserByGuildNameRequest.d.ts +37 -0
- package/guild/request/GetIgnoreUserByGuildNameRequest.js +125 -0
- package/guild/request/GetIgnoreUserByGuildNameRequest.js.map +1 -0
- package/guild/request/GetIgnoreUserByGuildNameRequest.ts +132 -0
- package/guild/request/GetIgnoreUserRequest.d.ts +33 -0
- package/guild/request/GetIgnoreUserRequest.js +111 -0
- package/guild/request/GetIgnoreUserRequest.js.map +1 -0
- package/guild/request/GetIgnoreUserRequest.ts +118 -0
- package/guild/request/index.d.ts +9 -1
- package/guild/request/index.js +17 -1
- package/guild/request/index.js.map +1 -1
- package/guild/request/index.ts +16 -0
- package/guild/rest.d.ts +8 -0
- package/guild/rest.js +239 -0
- package/guild/rest.js.map +1 -1
- package/guild/rest.ts +271 -0
- package/guild/result/AddIgnoreUserByGuildNameResult.d.ts +18 -0
- package/guild/result/AddIgnoreUserByGuildNameResult.js +62 -0
- package/guild/result/AddIgnoreUserByGuildNameResult.js.map +1 -0
- package/guild/result/AddIgnoreUserByGuildNameResult.ts +64 -0
- package/guild/result/AddIgnoreUserResult.d.ts +18 -0
- package/guild/result/AddIgnoreUserResult.js +62 -0
- package/guild/result/AddIgnoreUserResult.js.map +1 -0
- package/guild/result/AddIgnoreUserResult.ts +64 -0
- package/guild/result/DeleteIgnoreUserByGuildNameResult.d.ts +14 -0
- package/guild/result/DeleteIgnoreUserByGuildNameResult.js +48 -0
- package/guild/result/DeleteIgnoreUserByGuildNameResult.js.map +1 -0
- package/guild/result/DeleteIgnoreUserByGuildNameResult.ts +47 -0
- package/guild/result/DeleteIgnoreUserResult.d.ts +14 -0
- package/guild/result/DeleteIgnoreUserResult.js +48 -0
- package/guild/result/DeleteIgnoreUserResult.js.map +1 -0
- package/guild/result/DeleteIgnoreUserResult.ts +47 -0
- package/guild/result/DescribeIgnoreUsersByGuildNameResult.d.ts +18 -0
- package/guild/result/DescribeIgnoreUsersByGuildNameResult.js +67 -0
- package/guild/result/DescribeIgnoreUsersByGuildNameResult.js.map +1 -0
- package/guild/result/DescribeIgnoreUsersByGuildNameResult.ts +72 -0
- package/guild/result/DescribeIgnoreUsersResult.d.ts +18 -0
- package/guild/result/DescribeIgnoreUsersResult.js +67 -0
- package/guild/result/DescribeIgnoreUsersResult.js.map +1 -0
- package/guild/result/DescribeIgnoreUsersResult.ts +72 -0
- package/guild/result/GetIgnoreUserByGuildNameResult.d.ts +14 -0
- package/guild/result/GetIgnoreUserByGuildNameResult.js +48 -0
- package/guild/result/GetIgnoreUserByGuildNameResult.js.map +1 -0
- package/guild/result/GetIgnoreUserByGuildNameResult.ts +47 -0
- package/guild/result/GetIgnoreUserResult.d.ts +14 -0
- package/guild/result/GetIgnoreUserResult.js +48 -0
- package/guild/result/GetIgnoreUserResult.js.map +1 -0
- package/guild/result/GetIgnoreUserResult.ts +47 -0
- package/guild/result/index.d.ts +9 -1
- package/guild/result/index.js +17 -1
- package/guild/result/index.js.map +1 -1
- package/guild/result/index.ts +16 -0
- package/package.json +1 -1
- package/project/request/GetProjectTokenByIdentifierRequest.d.ts +4 -0
- package/project/request/GetProjectTokenByIdentifierRequest.js +15 -1
- package/project/request/GetProjectTokenByIdentifierRequest.js.map +1 -1
- package/project/request/GetProjectTokenByIdentifierRequest.ts +15 -1
- package/project/rest.js +2 -1
- package/project/rest.js.map +1 -1
- package/project/rest.ts +1 -0
- package/ranking/request/PutScoreByUserIdRequest.d.ts +0 -4
- package/ranking/request/PutScoreByUserIdRequest.js +0 -12
- package/ranking/request/PutScoreByUserIdRequest.js.map +1 -1
- package/ranking/request/PutScoreByUserIdRequest.ts +0 -15
- package/ranking/rest.js +5 -8
- package/ranking/rest.js.map +1 -1
- package/ranking/rest.ts +0 -3
|
@@ -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 AddIgnoreUserRequest = /** @class */ (function () {
|
|
19
|
+
function AddIgnoreUserRequest() {
|
|
20
|
+
this.requestId = null;
|
|
21
|
+
this.contextStack = null;
|
|
22
|
+
this.namespaceName = null;
|
|
23
|
+
this.guildModelName = null;
|
|
24
|
+
this.accessToken = null;
|
|
25
|
+
this.userId = null;
|
|
26
|
+
this.duplicationAvoider = null;
|
|
27
|
+
}
|
|
28
|
+
AddIgnoreUserRequest.prototype.getRequestId = function () {
|
|
29
|
+
return this.requestId;
|
|
30
|
+
};
|
|
31
|
+
AddIgnoreUserRequest.prototype.setRequestId = function (requestId) {
|
|
32
|
+
this.requestId = requestId;
|
|
33
|
+
return this;
|
|
34
|
+
};
|
|
35
|
+
AddIgnoreUserRequest.prototype.withRequestId = function (requestId) {
|
|
36
|
+
this.requestId = requestId;
|
|
37
|
+
return this;
|
|
38
|
+
};
|
|
39
|
+
AddIgnoreUserRequest.prototype.getContextStack = function () {
|
|
40
|
+
return this.contextStack;
|
|
41
|
+
};
|
|
42
|
+
AddIgnoreUserRequest.prototype.setContextStack = function (contextStack) {
|
|
43
|
+
this.contextStack = contextStack;
|
|
44
|
+
return this;
|
|
45
|
+
};
|
|
46
|
+
AddIgnoreUserRequest.prototype.withContextStack = function (contextStack) {
|
|
47
|
+
this.contextStack = contextStack;
|
|
48
|
+
return this;
|
|
49
|
+
};
|
|
50
|
+
AddIgnoreUserRequest.prototype.getNamespaceName = function () {
|
|
51
|
+
return this.namespaceName;
|
|
52
|
+
};
|
|
53
|
+
AddIgnoreUserRequest.prototype.setNamespaceName = function (namespaceName) {
|
|
54
|
+
this.namespaceName = namespaceName;
|
|
55
|
+
return this;
|
|
56
|
+
};
|
|
57
|
+
AddIgnoreUserRequest.prototype.withNamespaceName = function (namespaceName) {
|
|
58
|
+
this.namespaceName = namespaceName;
|
|
59
|
+
return this;
|
|
60
|
+
};
|
|
61
|
+
AddIgnoreUserRequest.prototype.getGuildModelName = function () {
|
|
62
|
+
return this.guildModelName;
|
|
63
|
+
};
|
|
64
|
+
AddIgnoreUserRequest.prototype.setGuildModelName = function (guildModelName) {
|
|
65
|
+
this.guildModelName = guildModelName;
|
|
66
|
+
return this;
|
|
67
|
+
};
|
|
68
|
+
AddIgnoreUserRequest.prototype.withGuildModelName = function (guildModelName) {
|
|
69
|
+
this.guildModelName = guildModelName;
|
|
70
|
+
return this;
|
|
71
|
+
};
|
|
72
|
+
AddIgnoreUserRequest.prototype.getAccessToken = function () {
|
|
73
|
+
return this.accessToken;
|
|
74
|
+
};
|
|
75
|
+
AddIgnoreUserRequest.prototype.setAccessToken = function (accessToken) {
|
|
76
|
+
this.accessToken = accessToken;
|
|
77
|
+
return this;
|
|
78
|
+
};
|
|
79
|
+
AddIgnoreUserRequest.prototype.withAccessToken = function (accessToken) {
|
|
80
|
+
this.accessToken = accessToken;
|
|
81
|
+
return this;
|
|
82
|
+
};
|
|
83
|
+
AddIgnoreUserRequest.prototype.getUserId = function () {
|
|
84
|
+
return this.userId;
|
|
85
|
+
};
|
|
86
|
+
AddIgnoreUserRequest.prototype.setUserId = function (userId) {
|
|
87
|
+
this.userId = userId;
|
|
88
|
+
return this;
|
|
89
|
+
};
|
|
90
|
+
AddIgnoreUserRequest.prototype.withUserId = function (userId) {
|
|
91
|
+
this.userId = userId;
|
|
92
|
+
return this;
|
|
93
|
+
};
|
|
94
|
+
AddIgnoreUserRequest.prototype.getDuplicationAvoider = function () {
|
|
95
|
+
return this.duplicationAvoider;
|
|
96
|
+
};
|
|
97
|
+
AddIgnoreUserRequest.prototype.setDuplicationAvoider = function (duplicationAvoider) {
|
|
98
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
99
|
+
return this;
|
|
100
|
+
};
|
|
101
|
+
AddIgnoreUserRequest.prototype.withDuplicationAvoider = function (duplicationAvoider) {
|
|
102
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
103
|
+
return this;
|
|
104
|
+
};
|
|
105
|
+
AddIgnoreUserRequest.fromDict = function (data) {
|
|
106
|
+
return new AddIgnoreUserRequest()
|
|
107
|
+
.withNamespaceName(data["namespaceName"])
|
|
108
|
+
.withGuildModelName(data["guildModelName"])
|
|
109
|
+
.withAccessToken(data["accessToken"])
|
|
110
|
+
.withUserId(data["userId"]);
|
|
111
|
+
};
|
|
112
|
+
AddIgnoreUserRequest.prototype.toDict = function () {
|
|
113
|
+
return {
|
|
114
|
+
"namespaceName": this.getNamespaceName(),
|
|
115
|
+
"guildModelName": this.getGuildModelName(),
|
|
116
|
+
"accessToken": this.getAccessToken(),
|
|
117
|
+
"userId": this.getUserId(),
|
|
118
|
+
};
|
|
119
|
+
};
|
|
120
|
+
return AddIgnoreUserRequest;
|
|
121
|
+
}());
|
|
122
|
+
exports.default = AddIgnoreUserRequest;
|
|
123
|
+
//# sourceMappingURL=AddIgnoreUserRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AddIgnoreUserRequest.js","sourceRoot":"","sources":["AddIgnoreUserRequest.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAMH;IAAA;QAEY,cAAS,GAAgB,IAAI,C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CAAC,CAAC;aAC1C,eAAe,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;aACpC,UAAU,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;IACpC,CAAC;IAEM,qCAAM,GAAb;QACI,OAAO;YACH,eAAe,EAAE,IAAI,CAAC,gBAAgB,EAAE;YACxC,gBAAgB,EAAE,IAAI,CAAC,iBAAiB,EAAE;YAC1C,aAAa,EAAE,IAAI,CAAC,cAAc,EAAE;YACpC,QAAQ,EAAE,IAAI,CAAC,SAAS,EAAE;SAC7B,CAAC;IACN,CAAC;IACL,2BAAC;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 Gs2Guild from '../model'
|
|
20
|
+
|
|
21
|
+
export default class AddIgnoreUserRequest implements IRequest {
|
|
22
|
+
|
|
23
|
+
private requestId: string|null = null;
|
|
24
|
+
private contextStack: string|null = null;
|
|
25
|
+
private namespaceName: string|null = null;
|
|
26
|
+
private guildModelName: string|null = null;
|
|
27
|
+
private accessToken: string|null = null;
|
|
28
|
+
private userId: 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 getGuildModelName(): string|null {
|
|
70
|
+
return this.guildModelName;
|
|
71
|
+
}
|
|
72
|
+
public setGuildModelName(guildModelName: string|null) {
|
|
73
|
+
this.guildModelName = guildModelName;
|
|
74
|
+
return this;
|
|
75
|
+
}
|
|
76
|
+
public withGuildModelName(guildModelName: string|null): this {
|
|
77
|
+
this.guildModelName = guildModelName;
|
|
78
|
+
return this;
|
|
79
|
+
}
|
|
80
|
+
public getAccessToken(): string|null {
|
|
81
|
+
return this.accessToken;
|
|
82
|
+
}
|
|
83
|
+
public setAccessToken(accessToken: string|null) {
|
|
84
|
+
this.accessToken = accessToken;
|
|
85
|
+
return this;
|
|
86
|
+
}
|
|
87
|
+
public withAccessToken(accessToken: string|null): this {
|
|
88
|
+
this.accessToken = accessToken;
|
|
89
|
+
return this;
|
|
90
|
+
}
|
|
91
|
+
public getUserId(): string|null {
|
|
92
|
+
return this.userId;
|
|
93
|
+
}
|
|
94
|
+
public setUserId(userId: string|null) {
|
|
95
|
+
this.userId = userId;
|
|
96
|
+
return this;
|
|
97
|
+
}
|
|
98
|
+
public withUserId(userId: string|null): this {
|
|
99
|
+
this.userId = userId;
|
|
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}): AddIgnoreUserRequest {
|
|
118
|
+
return new AddIgnoreUserRequest()
|
|
119
|
+
.withNamespaceName(data["namespaceName"])
|
|
120
|
+
.withGuildModelName(data["guildModelName"])
|
|
121
|
+
.withAccessToken(data["accessToken"])
|
|
122
|
+
.withUserId(data["userId"]);
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
public toDict(): {[key: string]: any} {
|
|
126
|
+
return {
|
|
127
|
+
"namespaceName": this.getNamespaceName(),
|
|
128
|
+
"guildModelName": this.getGuildModelName(),
|
|
129
|
+
"accessToken": this.getAccessToken(),
|
|
130
|
+
"userId": this.getUserId(),
|
|
131
|
+
};
|
|
132
|
+
}
|
|
133
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import IRequest from '../../core/interface/IRequest';
|
|
2
|
+
export default class DeleteIgnoreUserByGuildNameRequest implements IRequest {
|
|
3
|
+
private requestId;
|
|
4
|
+
private contextStack;
|
|
5
|
+
private namespaceName;
|
|
6
|
+
private guildModelName;
|
|
7
|
+
private guildName;
|
|
8
|
+
private userId;
|
|
9
|
+
private timeOffsetToken;
|
|
10
|
+
private duplicationAvoider;
|
|
11
|
+
getRequestId(): string | null;
|
|
12
|
+
setRequestId(requestId: string | null): this;
|
|
13
|
+
withRequestId(requestId: string | null): this;
|
|
14
|
+
getContextStack(): string | null;
|
|
15
|
+
setContextStack(contextStack: string | null): this;
|
|
16
|
+
withContextStack(contextStack: string | null): this;
|
|
17
|
+
getNamespaceName(): string | null;
|
|
18
|
+
setNamespaceName(namespaceName: string | null): this;
|
|
19
|
+
withNamespaceName(namespaceName: string | null): this;
|
|
20
|
+
getGuildModelName(): string | null;
|
|
21
|
+
setGuildModelName(guildModelName: string | null): this;
|
|
22
|
+
withGuildModelName(guildModelName: string | null): this;
|
|
23
|
+
getGuildName(): string | null;
|
|
24
|
+
setGuildName(guildName: string | null): this;
|
|
25
|
+
withGuildName(guildName: string | null): this;
|
|
26
|
+
getUserId(): string | null;
|
|
27
|
+
setUserId(userId: string | null): this;
|
|
28
|
+
withUserId(userId: string | null): this;
|
|
29
|
+
getTimeOffsetToken(): string | null;
|
|
30
|
+
setTimeOffsetToken(timeOffsetToken: string | null): this;
|
|
31
|
+
withTimeOffsetToken(timeOffsetToken: string | null): this;
|
|
32
|
+
getDuplicationAvoider(): string | null;
|
|
33
|
+
setDuplicationAvoider(duplicationAvoider: string | null): this;
|
|
34
|
+
withDuplicationAvoider(duplicationAvoider: string | null): this;
|
|
35
|
+
static fromDict(data: {
|
|
36
|
+
[key: string]: any;
|
|
37
|
+
}): DeleteIgnoreUserByGuildNameRequest;
|
|
38
|
+
toDict(): {
|
|
39
|
+
[key: string]: any;
|
|
40
|
+
};
|
|
41
|
+
}
|
|
@@ -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 DeleteIgnoreUserByGuildNameRequest = /** @class */ (function () {
|
|
19
|
+
function DeleteIgnoreUserByGuildNameRequest() {
|
|
20
|
+
this.requestId = null;
|
|
21
|
+
this.contextStack = null;
|
|
22
|
+
this.namespaceName = null;
|
|
23
|
+
this.guildModelName = null;
|
|
24
|
+
this.guildName = null;
|
|
25
|
+
this.userId = null;
|
|
26
|
+
this.timeOffsetToken = null;
|
|
27
|
+
this.duplicationAvoider = null;
|
|
28
|
+
}
|
|
29
|
+
DeleteIgnoreUserByGuildNameRequest.prototype.getRequestId = function () {
|
|
30
|
+
return this.requestId;
|
|
31
|
+
};
|
|
32
|
+
DeleteIgnoreUserByGuildNameRequest.prototype.setRequestId = function (requestId) {
|
|
33
|
+
this.requestId = requestId;
|
|
34
|
+
return this;
|
|
35
|
+
};
|
|
36
|
+
DeleteIgnoreUserByGuildNameRequest.prototype.withRequestId = function (requestId) {
|
|
37
|
+
this.requestId = requestId;
|
|
38
|
+
return this;
|
|
39
|
+
};
|
|
40
|
+
DeleteIgnoreUserByGuildNameRequest.prototype.getContextStack = function () {
|
|
41
|
+
return this.contextStack;
|
|
42
|
+
};
|
|
43
|
+
DeleteIgnoreUserByGuildNameRequest.prototype.setContextStack = function (contextStack) {
|
|
44
|
+
this.contextStack = contextStack;
|
|
45
|
+
return this;
|
|
46
|
+
};
|
|
47
|
+
DeleteIgnoreUserByGuildNameRequest.prototype.withContextStack = function (contextStack) {
|
|
48
|
+
this.contextStack = contextStack;
|
|
49
|
+
return this;
|
|
50
|
+
};
|
|
51
|
+
DeleteIgnoreUserByGuildNameRequest.prototype.getNamespaceName = function () {
|
|
52
|
+
return this.namespaceName;
|
|
53
|
+
};
|
|
54
|
+
DeleteIgnoreUserByGuildNameRequest.prototype.setNamespaceName = function (namespaceName) {
|
|
55
|
+
this.namespaceName = namespaceName;
|
|
56
|
+
return this;
|
|
57
|
+
};
|
|
58
|
+
DeleteIgnoreUserByGuildNameRequest.prototype.withNamespaceName = function (namespaceName) {
|
|
59
|
+
this.namespaceName = namespaceName;
|
|
60
|
+
return this;
|
|
61
|
+
};
|
|
62
|
+
DeleteIgnoreUserByGuildNameRequest.prototype.getGuildModelName = function () {
|
|
63
|
+
return this.guildModelName;
|
|
64
|
+
};
|
|
65
|
+
DeleteIgnoreUserByGuildNameRequest.prototype.setGuildModelName = function (guildModelName) {
|
|
66
|
+
this.guildModelName = guildModelName;
|
|
67
|
+
return this;
|
|
68
|
+
};
|
|
69
|
+
DeleteIgnoreUserByGuildNameRequest.prototype.withGuildModelName = function (guildModelName) {
|
|
70
|
+
this.guildModelName = guildModelName;
|
|
71
|
+
return this;
|
|
72
|
+
};
|
|
73
|
+
DeleteIgnoreUserByGuildNameRequest.prototype.getGuildName = function () {
|
|
74
|
+
return this.guildName;
|
|
75
|
+
};
|
|
76
|
+
DeleteIgnoreUserByGuildNameRequest.prototype.setGuildName = function (guildName) {
|
|
77
|
+
this.guildName = guildName;
|
|
78
|
+
return this;
|
|
79
|
+
};
|
|
80
|
+
DeleteIgnoreUserByGuildNameRequest.prototype.withGuildName = function (guildName) {
|
|
81
|
+
this.guildName = guildName;
|
|
82
|
+
return this;
|
|
83
|
+
};
|
|
84
|
+
DeleteIgnoreUserByGuildNameRequest.prototype.getUserId = function () {
|
|
85
|
+
return this.userId;
|
|
86
|
+
};
|
|
87
|
+
DeleteIgnoreUserByGuildNameRequest.prototype.setUserId = function (userId) {
|
|
88
|
+
this.userId = userId;
|
|
89
|
+
return this;
|
|
90
|
+
};
|
|
91
|
+
DeleteIgnoreUserByGuildNameRequest.prototype.withUserId = function (userId) {
|
|
92
|
+
this.userId = userId;
|
|
93
|
+
return this;
|
|
94
|
+
};
|
|
95
|
+
DeleteIgnoreUserByGuildNameRequest.prototype.getTimeOffsetToken = function () {
|
|
96
|
+
return this.timeOffsetToken;
|
|
97
|
+
};
|
|
98
|
+
DeleteIgnoreUserByGuildNameRequest.prototype.setTimeOffsetToken = function (timeOffsetToken) {
|
|
99
|
+
this.timeOffsetToken = timeOffsetToken;
|
|
100
|
+
return this;
|
|
101
|
+
};
|
|
102
|
+
DeleteIgnoreUserByGuildNameRequest.prototype.withTimeOffsetToken = function (timeOffsetToken) {
|
|
103
|
+
this.timeOffsetToken = timeOffsetToken;
|
|
104
|
+
return this;
|
|
105
|
+
};
|
|
106
|
+
DeleteIgnoreUserByGuildNameRequest.prototype.getDuplicationAvoider = function () {
|
|
107
|
+
return this.duplicationAvoider;
|
|
108
|
+
};
|
|
109
|
+
DeleteIgnoreUserByGuildNameRequest.prototype.setDuplicationAvoider = function (duplicationAvoider) {
|
|
110
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
111
|
+
return this;
|
|
112
|
+
};
|
|
113
|
+
DeleteIgnoreUserByGuildNameRequest.prototype.withDuplicationAvoider = function (duplicationAvoider) {
|
|
114
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
115
|
+
return this;
|
|
116
|
+
};
|
|
117
|
+
DeleteIgnoreUserByGuildNameRequest.fromDict = function (data) {
|
|
118
|
+
return new DeleteIgnoreUserByGuildNameRequest()
|
|
119
|
+
.withNamespaceName(data["namespaceName"])
|
|
120
|
+
.withGuildModelName(data["guildModelName"])
|
|
121
|
+
.withGuildName(data["guildName"])
|
|
122
|
+
.withUserId(data["userId"])
|
|
123
|
+
.withTimeOffsetToken(data["timeOffsetToken"]);
|
|
124
|
+
};
|
|
125
|
+
DeleteIgnoreUserByGuildNameRequest.prototype.toDict = function () {
|
|
126
|
+
return {
|
|
127
|
+
"namespaceName": this.getNamespaceName(),
|
|
128
|
+
"guildModelName": this.getGuildModelName(),
|
|
129
|
+
"guildName": this.getGuildName(),
|
|
130
|
+
"userId": this.getUserId(),
|
|
131
|
+
"timeOffsetToken": this.getTimeOffsetToken(),
|
|
132
|
+
};
|
|
133
|
+
};
|
|
134
|
+
return DeleteIgnoreUserByGuildNameRequest;
|
|
135
|
+
}());
|
|
136
|
+
exports.default = DeleteIgnoreUserByGuildNameRequest;
|
|
137
|
+
//# sourceMappingURL=DeleteIgnoreUserByGuildNameRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DeleteIgnoreUserByGuildNameRequest.js","sourceRoot":"","sources":["DeleteIgnoreUserByGuildNameRequest.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAMH;IAAA;QAEY,cAAS,GAAgB,IAAI,CAAC;QAC9B,iBAAY,GAAgB,IAAI,CAAC;QACjC,kBAAa,GAAgB,IAAI,CAAC;QAClC,mBAAc,GAAgB,IAAI,CAAC;QACnC,cAAS,GAAgB,IAAI,CAAC;QAC9B,WAAM,GAAgB,IAAI,CAAC;QAC3B,oBAAe,GAAgB,IAAI,CAAC;QACpC,uBAAkB,GAAgB,IAAI,CAAC;IAqHnD,CAAC;IAnHU,yDAAY,GAAnB;QACI,OAAO,IAAI,CAAC,SAAS,CAAC;IAC1B,CAAC;IAEM,yDAAY,GAAnB,UAAoB,SAAsB;QACtC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,0DAAa,GAApB,UAAqB,SAAsB;QACvC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IA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b;QACI,OAAO;YACH,eAAe,EAAE,IAAI,CAAC,gBAAgB,EAAE;YACxC,gBAAgB,EAAE,IAAI,CAAC,iBAAiB,EAAE;YAC1C,WAAW,EAAE,IAAI,CAAC,YAAY,EAAE;YAChC,QAAQ,EAAE,IAAI,CAAC,SAAS,EAAE;YAC1B,iBAAiB,EAAE,IAAI,CAAC,kBAAkB,EAAE;SAC/C,CAAC;IACN,CAAC;IACL,yCAAC;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 Gs2Guild from '../model'
|
|
20
|
+
|
|
21
|
+
export default class DeleteIgnoreUserByGuildNameRequest implements IRequest {
|
|
22
|
+
|
|
23
|
+
private requestId: string|null = null;
|
|
24
|
+
private contextStack: string|null = null;
|
|
25
|
+
private namespaceName: string|null = null;
|
|
26
|
+
private guildModelName: string|null = null;
|
|
27
|
+
private guildName: string|null = null;
|
|
28
|
+
private userId: 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 getGuildModelName(): string|null {
|
|
71
|
+
return this.guildModelName;
|
|
72
|
+
}
|
|
73
|
+
public setGuildModelName(guildModelName: string|null) {
|
|
74
|
+
this.guildModelName = guildModelName;
|
|
75
|
+
return this;
|
|
76
|
+
}
|
|
77
|
+
public withGuildModelName(guildModelName: string|null): this {
|
|
78
|
+
this.guildModelName = guildModelName;
|
|
79
|
+
return this;
|
|
80
|
+
}
|
|
81
|
+
public getGuildName(): string|null {
|
|
82
|
+
return this.guildName;
|
|
83
|
+
}
|
|
84
|
+
public setGuildName(guildName: string|null) {
|
|
85
|
+
this.guildName = guildName;
|
|
86
|
+
return this;
|
|
87
|
+
}
|
|
88
|
+
public withGuildName(guildName: string|null): this {
|
|
89
|
+
this.guildName = guildName;
|
|
90
|
+
return this;
|
|
91
|
+
}
|
|
92
|
+
public getUserId(): string|null {
|
|
93
|
+
return this.userId;
|
|
94
|
+
}
|
|
95
|
+
public setUserId(userId: string|null) {
|
|
96
|
+
this.userId = userId;
|
|
97
|
+
return this;
|
|
98
|
+
}
|
|
99
|
+
public withUserId(userId: string|null): this {
|
|
100
|
+
this.userId = userId;
|
|
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}): DeleteIgnoreUserByGuildNameRequest {
|
|
130
|
+
return new DeleteIgnoreUserByGuildNameRequest()
|
|
131
|
+
.withNamespaceName(data["namespaceName"])
|
|
132
|
+
.withGuildModelName(data["guildModelName"])
|
|
133
|
+
.withGuildName(data["guildName"])
|
|
134
|
+
.withUserId(data["userId"])
|
|
135
|
+
.withTimeOffsetToken(data["timeOffsetToken"]);
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
public toDict(): {[key: string]: any} {
|
|
139
|
+
return {
|
|
140
|
+
"namespaceName": this.getNamespaceName(),
|
|
141
|
+
"guildModelName": this.getGuildModelName(),
|
|
142
|
+
"guildName": this.getGuildName(),
|
|
143
|
+
"userId": this.getUserId(),
|
|
144
|
+
"timeOffsetToken": this.getTimeOffsetToken(),
|
|
145
|
+
};
|
|
146
|
+
}
|
|
147
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import IRequest from '../../core/interface/IRequest';
|
|
2
|
+
export default class DeleteIgnoreUserRequest implements IRequest {
|
|
3
|
+
private requestId;
|
|
4
|
+
private contextStack;
|
|
5
|
+
private namespaceName;
|
|
6
|
+
private guildModelName;
|
|
7
|
+
private accessToken;
|
|
8
|
+
private userId;
|
|
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
|
+
getGuildModelName(): string | null;
|
|
20
|
+
setGuildModelName(guildModelName: string | null): this;
|
|
21
|
+
withGuildModelName(guildModelName: string | null): this;
|
|
22
|
+
getAccessToken(): string | null;
|
|
23
|
+
setAccessToken(accessToken: string | null): this;
|
|
24
|
+
withAccessToken(accessToken: string | null): this;
|
|
25
|
+
getUserId(): string | null;
|
|
26
|
+
setUserId(userId: string | null): this;
|
|
27
|
+
withUserId(userId: 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
|
+
}): DeleteIgnoreUserRequest;
|
|
34
|
+
toDict(): {
|
|
35
|
+
[key: string]: any;
|
|
36
|
+
};
|
|
37
|
+
}
|