gs2 1.4.88 → 1.4.92
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/friend/model/FriendRequest.d.ts +4 -0
- package/friend/model/FriendRequest.js +15 -1
- package/friend/model/FriendRequest.js.map +1 -1
- package/friend/model/FriendRequest.ts +15 -1
- package/friend/model/ReceiveFriendRequest.d.ts +4 -0
- package/friend/model/ReceiveFriendRequest.js +15 -1
- package/friend/model/ReceiveFriendRequest.js.map +1 -1
- package/friend/model/ReceiveFriendRequest.ts +15 -1
- package/friend/model/SendFriendRequest.d.ts +4 -0
- package/friend/model/SendFriendRequest.js +15 -1
- package/friend/model/SendFriendRequest.js.map +1 -1
- package/friend/model/SendFriendRequest.ts +15 -1
- package/friend/request/DescribeReceiveRequestsByUserIdRequest.d.ts +4 -0
- package/friend/request/DescribeReceiveRequestsByUserIdRequest.js +14 -0
- package/friend/request/DescribeReceiveRequestsByUserIdRequest.js.map +1 -1
- package/friend/request/DescribeReceiveRequestsByUserIdRequest.ts +14 -0
- package/friend/request/DescribeReceiveRequestsRequest.d.ts +4 -0
- package/friend/request/DescribeReceiveRequestsRequest.js +14 -0
- package/friend/request/DescribeReceiveRequestsRequest.js.map +1 -1
- package/friend/request/DescribeReceiveRequestsRequest.ts +14 -0
- package/friend/request/DescribeSendRequestsByUserIdRequest.d.ts +4 -0
- package/friend/request/DescribeSendRequestsByUserIdRequest.js +14 -0
- package/friend/request/DescribeSendRequestsByUserIdRequest.js.map +1 -1
- package/friend/request/DescribeSendRequestsByUserIdRequest.ts +14 -0
- package/friend/request/DescribeSendRequestsRequest.d.ts +4 -0
- package/friend/request/DescribeSendRequestsRequest.js +14 -0
- package/friend/request/DescribeSendRequestsRequest.js.map +1 -1
- package/friend/request/DescribeSendRequestsRequest.ts +14 -0
- package/friend/request/GetReceiveRequestByUserIdRequest.d.ts +4 -0
- package/friend/request/GetReceiveRequestByUserIdRequest.js +14 -0
- package/friend/request/GetReceiveRequestByUserIdRequest.js.map +1 -1
- package/friend/request/GetReceiveRequestByUserIdRequest.ts +14 -0
- package/friend/request/GetReceiveRequestRequest.d.ts +4 -0
- package/friend/request/GetReceiveRequestRequest.js +15 -1
- package/friend/request/GetReceiveRequestRequest.js.map +1 -1
- package/friend/request/GetReceiveRequestRequest.ts +15 -1
- package/friend/request/GetSendRequestByUserIdRequest.d.ts +4 -0
- package/friend/request/GetSendRequestByUserIdRequest.js +14 -0
- package/friend/request/GetSendRequestByUserIdRequest.js.map +1 -1
- package/friend/request/GetSendRequestByUserIdRequest.ts +14 -0
- package/friend/request/GetSendRequestRequest.d.ts +4 -0
- package/friend/request/GetSendRequestRequest.js +15 -1
- package/friend/request/GetSendRequestRequest.js.map +1 -1
- package/friend/request/GetSendRequestRequest.ts +15 -1
- package/friend/rest.js +24 -16
- package/friend/rest.js.map +1 -1
- package/friend/rest.ts +8 -0
- package/gateway/request/SetUserIdByUserIdRequest.d.ts +4 -0
- package/gateway/request/SetUserIdByUserIdRequest.js +14 -0
- package/gateway/request/SetUserIdByUserIdRequest.js.map +1 -1
- package/gateway/request/SetUserIdByUserIdRequest.ts +14 -0
- package/gateway/request/SetUserIdRequest.d.ts +4 -0
- package/gateway/request/SetUserIdRequest.js +15 -1
- package/gateway/request/SetUserIdRequest.js.map +1 -1
- package/gateway/request/SetUserIdRequest.ts +15 -1
- package/gateway/rest.js +4 -2
- package/gateway/rest.js.map +1 -1
- package/gateway/rest.ts +2 -0
- package/package.json +2 -1
- package/ranking2/model/ClusterRankingModelMaster.d.ts +0 -4
- package/ranking2/model/ClusterRankingModelMaster.js +0 -14
- package/ranking2/model/ClusterRankingModelMaster.js.map +1 -1
- package/ranking2/model/ClusterRankingModelMaster.ts +0 -14
- package/ranking2/model/SubscribeRankingModelMaster.d.ts +0 -4
- package/ranking2/model/SubscribeRankingModelMaster.js +0 -14
- package/ranking2/model/SubscribeRankingModelMaster.js.map +1 -1
- package/ranking2/model/SubscribeRankingModelMaster.ts +0 -14
- package/ranking2/request/CreateClusterRankingModelMasterRequest.d.ts +0 -4
- package/ranking2/request/CreateClusterRankingModelMasterRequest.js +0 -14
- package/ranking2/request/CreateClusterRankingModelMasterRequest.js.map +1 -1
- package/ranking2/request/CreateClusterRankingModelMasterRequest.ts +0 -14
- package/ranking2/request/CreateSubscribeRankingModelMasterRequest.d.ts +0 -4
- package/ranking2/request/CreateSubscribeRankingModelMasterRequest.js +0 -14
- package/ranking2/request/CreateSubscribeRankingModelMasterRequest.js.map +1 -1
- package/ranking2/request/CreateSubscribeRankingModelMasterRequest.ts +0 -14
- package/ranking2/request/UpdateClusterRankingModelMasterRequest.d.ts +0 -4
- package/ranking2/request/UpdateClusterRankingModelMasterRequest.js +0 -14
- package/ranking2/request/UpdateClusterRankingModelMasterRequest.js.map +1 -1
- package/ranking2/request/UpdateClusterRankingModelMasterRequest.ts +0 -14
- package/ranking2/request/UpdateSubscribeRankingModelMasterRequest.d.ts +0 -4
- package/ranking2/request/UpdateSubscribeRankingModelMasterRequest.js +0 -14
- package/ranking2/request/UpdateSubscribeRankingModelMasterRequest.js.map +1 -1
- package/ranking2/request/UpdateSubscribeRankingModelMasterRequest.ts +0 -14
- package/ranking2/rest.js +20 -24
- package/ranking2/rest.js.map +1 -1
- package/ranking2/rest.ts +0 -4
- package/schedule/result/GetEventByUserIdResult.d.ts +4 -0
- package/schedule/result/GetEventByUserIdResult.js +15 -1
- package/schedule/result/GetEventByUserIdResult.js.map +1 -1
- package/schedule/result/GetEventByUserIdResult.ts +18 -1
- package/schedule/result/GetEventResult.d.ts +4 -0
- package/schedule/result/GetEventResult.js +15 -1
- package/schedule/result/GetEventResult.js.map +1 -1
- package/schedule/result/GetEventResult.ts +18 -1
- package/schedule/result/VerifyEventByStampTaskResult.d.ts +25 -0
- package/schedule/result/VerifyEventByStampTaskResult.js +87 -0
- package/schedule/result/VerifyEventByStampTaskResult.js.map +1 -1
- package/schedule/result/VerifyEventByStampTaskResult.ts +103 -0
- package/schedule/result/VerifyEventByUserIdResult.d.ts +25 -0
- package/schedule/result/VerifyEventByUserIdResult.js +90 -2
- package/schedule/result/VerifyEventByUserIdResult.js.map +1 -1
- package/schedule/result/VerifyEventByUserIdResult.ts +104 -1
- package/schedule/result/VerifyEventResult.d.ts +25 -0
- package/schedule/result/VerifyEventResult.js +90 -2
- package/schedule/result/VerifyEventResult.js.map +1 -1
- package/schedule/result/VerifyEventResult.ts +104 -1
|
@@ -15,14 +15,102 @@ express or implied. See the License for the specific language governing
|
|
|
15
15
|
permissions and limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
var tslib_1 = require("tslib");
|
|
19
|
+
var Gs2Schedule = tslib_1.__importStar(require("../model"));
|
|
18
20
|
var VerifyEventByUserIdResult = /** @class */ (function () {
|
|
19
21
|
function VerifyEventByUserIdResult() {
|
|
22
|
+
this.item = null;
|
|
23
|
+
this.inSchedule = null;
|
|
24
|
+
this.scheduleStartAt = null;
|
|
25
|
+
this.scheduleEndAt = null;
|
|
26
|
+
this.repeatSchedule = null;
|
|
27
|
+
this.isGlobalSchedule = null;
|
|
20
28
|
}
|
|
29
|
+
VerifyEventByUserIdResult.prototype.getItem = function () {
|
|
30
|
+
return this.item;
|
|
31
|
+
};
|
|
32
|
+
VerifyEventByUserIdResult.prototype.setItem = function (item) {
|
|
33
|
+
this.item = item;
|
|
34
|
+
return this;
|
|
35
|
+
};
|
|
36
|
+
VerifyEventByUserIdResult.prototype.withItem = function (item) {
|
|
37
|
+
this.item = item;
|
|
38
|
+
return this;
|
|
39
|
+
};
|
|
40
|
+
VerifyEventByUserIdResult.prototype.getInSchedule = function () {
|
|
41
|
+
return this.inSchedule;
|
|
42
|
+
};
|
|
43
|
+
VerifyEventByUserIdResult.prototype.setInSchedule = function (inSchedule) {
|
|
44
|
+
this.inSchedule = inSchedule;
|
|
45
|
+
return this;
|
|
46
|
+
};
|
|
47
|
+
VerifyEventByUserIdResult.prototype.withInSchedule = function (inSchedule) {
|
|
48
|
+
this.inSchedule = inSchedule;
|
|
49
|
+
return this;
|
|
50
|
+
};
|
|
51
|
+
VerifyEventByUserIdResult.prototype.getScheduleStartAt = function () {
|
|
52
|
+
return this.scheduleStartAt;
|
|
53
|
+
};
|
|
54
|
+
VerifyEventByUserIdResult.prototype.setScheduleStartAt = function (scheduleStartAt) {
|
|
55
|
+
this.scheduleStartAt = scheduleStartAt;
|
|
56
|
+
return this;
|
|
57
|
+
};
|
|
58
|
+
VerifyEventByUserIdResult.prototype.withScheduleStartAt = function (scheduleStartAt) {
|
|
59
|
+
this.scheduleStartAt = scheduleStartAt;
|
|
60
|
+
return this;
|
|
61
|
+
};
|
|
62
|
+
VerifyEventByUserIdResult.prototype.getScheduleEndAt = function () {
|
|
63
|
+
return this.scheduleEndAt;
|
|
64
|
+
};
|
|
65
|
+
VerifyEventByUserIdResult.prototype.setScheduleEndAt = function (scheduleEndAt) {
|
|
66
|
+
this.scheduleEndAt = scheduleEndAt;
|
|
67
|
+
return this;
|
|
68
|
+
};
|
|
69
|
+
VerifyEventByUserIdResult.prototype.withScheduleEndAt = function (scheduleEndAt) {
|
|
70
|
+
this.scheduleEndAt = scheduleEndAt;
|
|
71
|
+
return this;
|
|
72
|
+
};
|
|
73
|
+
VerifyEventByUserIdResult.prototype.getRepeatSchedule = function () {
|
|
74
|
+
return this.repeatSchedule;
|
|
75
|
+
};
|
|
76
|
+
VerifyEventByUserIdResult.prototype.setRepeatSchedule = function (repeatSchedule) {
|
|
77
|
+
this.repeatSchedule = repeatSchedule;
|
|
78
|
+
return this;
|
|
79
|
+
};
|
|
80
|
+
VerifyEventByUserIdResult.prototype.withRepeatSchedule = function (repeatSchedule) {
|
|
81
|
+
this.repeatSchedule = repeatSchedule;
|
|
82
|
+
return this;
|
|
83
|
+
};
|
|
84
|
+
VerifyEventByUserIdResult.prototype.getIsGlobalSchedule = function () {
|
|
85
|
+
return this.isGlobalSchedule;
|
|
86
|
+
};
|
|
87
|
+
VerifyEventByUserIdResult.prototype.setIsGlobalSchedule = function (isGlobalSchedule) {
|
|
88
|
+
this.isGlobalSchedule = isGlobalSchedule;
|
|
89
|
+
return this;
|
|
90
|
+
};
|
|
91
|
+
VerifyEventByUserIdResult.prototype.withIsGlobalSchedule = function (isGlobalSchedule) {
|
|
92
|
+
this.isGlobalSchedule = isGlobalSchedule;
|
|
93
|
+
return this;
|
|
94
|
+
};
|
|
21
95
|
VerifyEventByUserIdResult.fromDict = function (data) {
|
|
22
|
-
return new VerifyEventByUserIdResult()
|
|
96
|
+
return new VerifyEventByUserIdResult()
|
|
97
|
+
.withItem(Gs2Schedule.Event.fromDict(data["item"]))
|
|
98
|
+
.withInSchedule(data["inSchedule"])
|
|
99
|
+
.withScheduleStartAt(data["scheduleStartAt"])
|
|
100
|
+
.withScheduleEndAt(data["scheduleEndAt"])
|
|
101
|
+
.withRepeatSchedule(Gs2Schedule.RepeatSchedule.fromDict(data["repeatSchedule"]))
|
|
102
|
+
.withIsGlobalSchedule(data["isGlobalSchedule"]);
|
|
23
103
|
};
|
|
24
104
|
VerifyEventByUserIdResult.prototype.toDict = function () {
|
|
25
|
-
|
|
105
|
+
var _a, _b;
|
|
106
|
+
return {
|
|
107
|
+
"item": (_a = this.getItem()) === null || _a === void 0 ? void 0 : _a.toDict(),
|
|
108
|
+
"inSchedule": this.getInSchedule(),
|
|
109
|
+
"scheduleStartAt": this.getScheduleStartAt(),
|
|
110
|
+
"scheduleEndAt": this.getScheduleEndAt(),
|
|
111
|
+
"repeatSchedule": (_b = this.getRepeatSchedule()) === null || _b === void 0 ? void 0 : _b.toDict(),
|
|
112
|
+
"isGlobalSchedule": this.getIsGlobalSchedule(),
|
|
113
|
+
};
|
|
26
114
|
};
|
|
27
115
|
return VerifyEventByUserIdResult;
|
|
28
116
|
}());
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VerifyEventByUserIdResult.js","sourceRoot":"","sources":["VerifyEventByUserIdResult.ts"],"names":[],"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,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;aACxC,kBAAkB,CAAC,WAAW,CAAC,cAAc,CAAC,QAAQ,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAC;aAC/E,oBAAoB,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC,CAAC;IACxD,CAAC;IAEM,0CAAM,GAAb;;QACI,OAAO;YACH,MAAM,EAAE,MAAA,IAAI,CAAC,OAAO,EAAE,0CAAE,MAAM,EAAE;YAChC,YAAY,EAAE,IAAI,CAAC,aAAa,EAAE;YAClC,iBAAiB,EAAE,IAAI,CAAC,kBAAkB,EAAE;YAC5C,eAAe,EAAE,IAAI,CAAC,gBAAgB,EAAE;YACxC,gBAAgB,EAAE,MAAA,IAAI,CAAC,iBAAiB,EAAE,0CAAE,MAAM,EAAE;YACpD,kBAAkB,EAAE,IAAI,CAAC,mBAAmB,EAAE;SACjD,CAAC;IACN,CAAC;IACL,gCAAC;AAAD,CAAC,AAhHD,IAgHC"}
|
|
@@ -15,15 +15,118 @@ permissions and limitations under the License.
|
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
17
|
import IResult from '../../core/interface/IResult';
|
|
18
|
+
import * as Gs2Schedule from '../model'
|
|
18
19
|
|
|
19
20
|
export default class VerifyEventByUserIdResult implements IResult {
|
|
21
|
+
private item: Gs2Schedule.Event|null = null;
|
|
22
|
+
private inSchedule: boolean|null = null;
|
|
23
|
+
private scheduleStartAt: number|null = null;
|
|
24
|
+
private scheduleEndAt: number|null = null;
|
|
25
|
+
private repeatSchedule: Gs2Schedule.RepeatSchedule|null = null;
|
|
26
|
+
private isGlobalSchedule: boolean|null = null;
|
|
27
|
+
|
|
28
|
+
public getItem(): Gs2Schedule.Event|null {
|
|
29
|
+
return this.item;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
public setItem(item: Gs2Schedule.Event|null) {
|
|
33
|
+
this.item = item;
|
|
34
|
+
return this;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
public withItem(item: Gs2Schedule.Event|null): this {
|
|
38
|
+
this.item = item;
|
|
39
|
+
return this;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
public getInSchedule(): boolean|null {
|
|
43
|
+
return this.inSchedule;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
public setInSchedule(inSchedule: boolean|null) {
|
|
47
|
+
this.inSchedule = inSchedule;
|
|
48
|
+
return this;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
public withInSchedule(inSchedule: boolean|null): this {
|
|
52
|
+
this.inSchedule = inSchedule;
|
|
53
|
+
return this;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
public getScheduleStartAt(): number|null {
|
|
57
|
+
return this.scheduleStartAt;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
public setScheduleStartAt(scheduleStartAt: number|null) {
|
|
61
|
+
this.scheduleStartAt = scheduleStartAt;
|
|
62
|
+
return this;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
public withScheduleStartAt(scheduleStartAt: number|null): this {
|
|
66
|
+
this.scheduleStartAt = scheduleStartAt;
|
|
67
|
+
return this;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
public getScheduleEndAt(): number|null {
|
|
71
|
+
return this.scheduleEndAt;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
public setScheduleEndAt(scheduleEndAt: number|null) {
|
|
75
|
+
this.scheduleEndAt = scheduleEndAt;
|
|
76
|
+
return this;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
public withScheduleEndAt(scheduleEndAt: number|null): this {
|
|
80
|
+
this.scheduleEndAt = scheduleEndAt;
|
|
81
|
+
return this;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
public getRepeatSchedule(): Gs2Schedule.RepeatSchedule|null {
|
|
85
|
+
return this.repeatSchedule;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
public setRepeatSchedule(repeatSchedule: Gs2Schedule.RepeatSchedule|null) {
|
|
89
|
+
this.repeatSchedule = repeatSchedule;
|
|
90
|
+
return this;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
public withRepeatSchedule(repeatSchedule: Gs2Schedule.RepeatSchedule|null): this {
|
|
94
|
+
this.repeatSchedule = repeatSchedule;
|
|
95
|
+
return this;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
public getIsGlobalSchedule(): boolean|null {
|
|
99
|
+
return this.isGlobalSchedule;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
public setIsGlobalSchedule(isGlobalSchedule: boolean|null) {
|
|
103
|
+
this.isGlobalSchedule = isGlobalSchedule;
|
|
104
|
+
return this;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
public withIsGlobalSchedule(isGlobalSchedule: boolean|null): this {
|
|
108
|
+
this.isGlobalSchedule = isGlobalSchedule;
|
|
109
|
+
return this;
|
|
110
|
+
}
|
|
20
111
|
|
|
21
112
|
public static fromDict(data: {[key: string]: any}): VerifyEventByUserIdResult {
|
|
22
|
-
return new VerifyEventByUserIdResult()
|
|
113
|
+
return new VerifyEventByUserIdResult()
|
|
114
|
+
.withItem(Gs2Schedule.Event.fromDict(data["item"]))
|
|
115
|
+
.withInSchedule(data["inSchedule"])
|
|
116
|
+
.withScheduleStartAt(data["scheduleStartAt"])
|
|
117
|
+
.withScheduleEndAt(data["scheduleEndAt"])
|
|
118
|
+
.withRepeatSchedule(Gs2Schedule.RepeatSchedule.fromDict(data["repeatSchedule"]))
|
|
119
|
+
.withIsGlobalSchedule(data["isGlobalSchedule"]);
|
|
23
120
|
}
|
|
24
121
|
|
|
25
122
|
public toDict(): {[key: string]: any} {
|
|
26
123
|
return {
|
|
124
|
+
"item": this.getItem()?.toDict(),
|
|
125
|
+
"inSchedule": this.getInSchedule(),
|
|
126
|
+
"scheduleStartAt": this.getScheduleStartAt(),
|
|
127
|
+
"scheduleEndAt": this.getScheduleEndAt(),
|
|
128
|
+
"repeatSchedule": this.getRepeatSchedule()?.toDict(),
|
|
129
|
+
"isGlobalSchedule": this.getIsGlobalSchedule(),
|
|
27
130
|
};
|
|
28
131
|
}
|
|
29
132
|
}
|
|
@@ -1,5 +1,30 @@
|
|
|
1
1
|
import IResult from '../../core/interface/IResult';
|
|
2
|
+
import * as Gs2Schedule from '../model';
|
|
2
3
|
export default class VerifyEventResult implements IResult {
|
|
4
|
+
private item;
|
|
5
|
+
private inSchedule;
|
|
6
|
+
private scheduleStartAt;
|
|
7
|
+
private scheduleEndAt;
|
|
8
|
+
private repeatSchedule;
|
|
9
|
+
private isGlobalSchedule;
|
|
10
|
+
getItem(): Gs2Schedule.Event | null;
|
|
11
|
+
setItem(item: Gs2Schedule.Event | null): this;
|
|
12
|
+
withItem(item: Gs2Schedule.Event | null): this;
|
|
13
|
+
getInSchedule(): boolean | null;
|
|
14
|
+
setInSchedule(inSchedule: boolean | null): this;
|
|
15
|
+
withInSchedule(inSchedule: boolean | null): this;
|
|
16
|
+
getScheduleStartAt(): number | null;
|
|
17
|
+
setScheduleStartAt(scheduleStartAt: number | null): this;
|
|
18
|
+
withScheduleStartAt(scheduleStartAt: number | null): this;
|
|
19
|
+
getScheduleEndAt(): number | null;
|
|
20
|
+
setScheduleEndAt(scheduleEndAt: number | null): this;
|
|
21
|
+
withScheduleEndAt(scheduleEndAt: number | null): this;
|
|
22
|
+
getRepeatSchedule(): Gs2Schedule.RepeatSchedule | null;
|
|
23
|
+
setRepeatSchedule(repeatSchedule: Gs2Schedule.RepeatSchedule | null): this;
|
|
24
|
+
withRepeatSchedule(repeatSchedule: Gs2Schedule.RepeatSchedule | null): this;
|
|
25
|
+
getIsGlobalSchedule(): boolean | null;
|
|
26
|
+
setIsGlobalSchedule(isGlobalSchedule: boolean | null): this;
|
|
27
|
+
withIsGlobalSchedule(isGlobalSchedule: boolean | null): this;
|
|
3
28
|
static fromDict(data: {
|
|
4
29
|
[key: string]: any;
|
|
5
30
|
}): VerifyEventResult;
|
|
@@ -15,14 +15,102 @@ express or implied. See the License for the specific language governing
|
|
|
15
15
|
permissions and limitations under the License.
|
|
16
16
|
*/
|
|
17
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
var tslib_1 = require("tslib");
|
|
19
|
+
var Gs2Schedule = tslib_1.__importStar(require("../model"));
|
|
18
20
|
var VerifyEventResult = /** @class */ (function () {
|
|
19
21
|
function VerifyEventResult() {
|
|
22
|
+
this.item = null;
|
|
23
|
+
this.inSchedule = null;
|
|
24
|
+
this.scheduleStartAt = null;
|
|
25
|
+
this.scheduleEndAt = null;
|
|
26
|
+
this.repeatSchedule = null;
|
|
27
|
+
this.isGlobalSchedule = null;
|
|
20
28
|
}
|
|
29
|
+
VerifyEventResult.prototype.getItem = function () {
|
|
30
|
+
return this.item;
|
|
31
|
+
};
|
|
32
|
+
VerifyEventResult.prototype.setItem = function (item) {
|
|
33
|
+
this.item = item;
|
|
34
|
+
return this;
|
|
35
|
+
};
|
|
36
|
+
VerifyEventResult.prototype.withItem = function (item) {
|
|
37
|
+
this.item = item;
|
|
38
|
+
return this;
|
|
39
|
+
};
|
|
40
|
+
VerifyEventResult.prototype.getInSchedule = function () {
|
|
41
|
+
return this.inSchedule;
|
|
42
|
+
};
|
|
43
|
+
VerifyEventResult.prototype.setInSchedule = function (inSchedule) {
|
|
44
|
+
this.inSchedule = inSchedule;
|
|
45
|
+
return this;
|
|
46
|
+
};
|
|
47
|
+
VerifyEventResult.prototype.withInSchedule = function (inSchedule) {
|
|
48
|
+
this.inSchedule = inSchedule;
|
|
49
|
+
return this;
|
|
50
|
+
};
|
|
51
|
+
VerifyEventResult.prototype.getScheduleStartAt = function () {
|
|
52
|
+
return this.scheduleStartAt;
|
|
53
|
+
};
|
|
54
|
+
VerifyEventResult.prototype.setScheduleStartAt = function (scheduleStartAt) {
|
|
55
|
+
this.scheduleStartAt = scheduleStartAt;
|
|
56
|
+
return this;
|
|
57
|
+
};
|
|
58
|
+
VerifyEventResult.prototype.withScheduleStartAt = function (scheduleStartAt) {
|
|
59
|
+
this.scheduleStartAt = scheduleStartAt;
|
|
60
|
+
return this;
|
|
61
|
+
};
|
|
62
|
+
VerifyEventResult.prototype.getScheduleEndAt = function () {
|
|
63
|
+
return this.scheduleEndAt;
|
|
64
|
+
};
|
|
65
|
+
VerifyEventResult.prototype.setScheduleEndAt = function (scheduleEndAt) {
|
|
66
|
+
this.scheduleEndAt = scheduleEndAt;
|
|
67
|
+
return this;
|
|
68
|
+
};
|
|
69
|
+
VerifyEventResult.prototype.withScheduleEndAt = function (scheduleEndAt) {
|
|
70
|
+
this.scheduleEndAt = scheduleEndAt;
|
|
71
|
+
return this;
|
|
72
|
+
};
|
|
73
|
+
VerifyEventResult.prototype.getRepeatSchedule = function () {
|
|
74
|
+
return this.repeatSchedule;
|
|
75
|
+
};
|
|
76
|
+
VerifyEventResult.prototype.setRepeatSchedule = function (repeatSchedule) {
|
|
77
|
+
this.repeatSchedule = repeatSchedule;
|
|
78
|
+
return this;
|
|
79
|
+
};
|
|
80
|
+
VerifyEventResult.prototype.withRepeatSchedule = function (repeatSchedule) {
|
|
81
|
+
this.repeatSchedule = repeatSchedule;
|
|
82
|
+
return this;
|
|
83
|
+
};
|
|
84
|
+
VerifyEventResult.prototype.getIsGlobalSchedule = function () {
|
|
85
|
+
return this.isGlobalSchedule;
|
|
86
|
+
};
|
|
87
|
+
VerifyEventResult.prototype.setIsGlobalSchedule = function (isGlobalSchedule) {
|
|
88
|
+
this.isGlobalSchedule = isGlobalSchedule;
|
|
89
|
+
return this;
|
|
90
|
+
};
|
|
91
|
+
VerifyEventResult.prototype.withIsGlobalSchedule = function (isGlobalSchedule) {
|
|
92
|
+
this.isGlobalSchedule = isGlobalSchedule;
|
|
93
|
+
return this;
|
|
94
|
+
};
|
|
21
95
|
VerifyEventResult.fromDict = function (data) {
|
|
22
|
-
return new VerifyEventResult()
|
|
96
|
+
return new VerifyEventResult()
|
|
97
|
+
.withItem(Gs2Schedule.Event.fromDict(data["item"]))
|
|
98
|
+
.withInSchedule(data["inSchedule"])
|
|
99
|
+
.withScheduleStartAt(data["scheduleStartAt"])
|
|
100
|
+
.withScheduleEndAt(data["scheduleEndAt"])
|
|
101
|
+
.withRepeatSchedule(Gs2Schedule.RepeatSchedule.fromDict(data["repeatSchedule"]))
|
|
102
|
+
.withIsGlobalSchedule(data["isGlobalSchedule"]);
|
|
23
103
|
};
|
|
24
104
|
VerifyEventResult.prototype.toDict = function () {
|
|
25
|
-
|
|
105
|
+
var _a, _b;
|
|
106
|
+
return {
|
|
107
|
+
"item": (_a = this.getItem()) === null || _a === void 0 ? void 0 : _a.toDict(),
|
|
108
|
+
"inSchedule": this.getInSchedule(),
|
|
109
|
+
"scheduleStartAt": this.getScheduleStartAt(),
|
|
110
|
+
"scheduleEndAt": this.getScheduleEndAt(),
|
|
111
|
+
"repeatSchedule": (_b = this.getRepeatSchedule()) === null || _b === void 0 ? void 0 : _b.toDict(),
|
|
112
|
+
"isGlobalSchedule": this.getIsGlobalSchedule(),
|
|
113
|
+
};
|
|
26
114
|
};
|
|
27
115
|
return VerifyEventResult;
|
|
28
116
|
}());
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VerifyEventResult.js","sourceRoot":"","sources":["VerifyEventResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG
|
|
1
|
+
{"version":3,"file":"VerifyEventResult.js","sourceRoot":"","sources":["VerifyEventResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAGH,4DAAuC;AAEvC;IAAA;QACY,SAAI,GAA2B,IAAI,CAAC;QACpC,eAAU,GAAiB,IAAI,CAAC;QAChC,oBAAe,GAAgB,IAAI,CAAC;QACpC,kBAAa,GAAgB,IAAI,CAAC;QAClC,mBAAc,GAAoC,IAAI,CAAC;QACvD,qBAAgB,GAAiB,IAAI,CAAC;IA0GlD,CAAC;IAxGU,mCAAO,GAAd;QACI,OAAO,IAAI,CAAC,IAAI,CAAC;IACrB,CAA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,MAAA,IAAI,CAAC,iBAAiB,EAAE,0CAAE,MAAM,EAAE;YACpD,kBAAkB,EAAE,IAAI,CAAC,mBAAmB,EAAE;SACjD,CAAC;IACN,CAAC;IACL,wBAAC;AAAD,CAAC,AAhHD,IAgHC"}
|
|
@@ -15,15 +15,118 @@ permissions and limitations under the License.
|
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
17
|
import IResult from '../../core/interface/IResult';
|
|
18
|
+
import * as Gs2Schedule from '../model'
|
|
18
19
|
|
|
19
20
|
export default class VerifyEventResult implements IResult {
|
|
21
|
+
private item: Gs2Schedule.Event|null = null;
|
|
22
|
+
private inSchedule: boolean|null = null;
|
|
23
|
+
private scheduleStartAt: number|null = null;
|
|
24
|
+
private scheduleEndAt: number|null = null;
|
|
25
|
+
private repeatSchedule: Gs2Schedule.RepeatSchedule|null = null;
|
|
26
|
+
private isGlobalSchedule: boolean|null = null;
|
|
27
|
+
|
|
28
|
+
public getItem(): Gs2Schedule.Event|null {
|
|
29
|
+
return this.item;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
public setItem(item: Gs2Schedule.Event|null) {
|
|
33
|
+
this.item = item;
|
|
34
|
+
return this;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
public withItem(item: Gs2Schedule.Event|null): this {
|
|
38
|
+
this.item = item;
|
|
39
|
+
return this;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
public getInSchedule(): boolean|null {
|
|
43
|
+
return this.inSchedule;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
public setInSchedule(inSchedule: boolean|null) {
|
|
47
|
+
this.inSchedule = inSchedule;
|
|
48
|
+
return this;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
public withInSchedule(inSchedule: boolean|null): this {
|
|
52
|
+
this.inSchedule = inSchedule;
|
|
53
|
+
return this;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
public getScheduleStartAt(): number|null {
|
|
57
|
+
return this.scheduleStartAt;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
public setScheduleStartAt(scheduleStartAt: number|null) {
|
|
61
|
+
this.scheduleStartAt = scheduleStartAt;
|
|
62
|
+
return this;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
public withScheduleStartAt(scheduleStartAt: number|null): this {
|
|
66
|
+
this.scheduleStartAt = scheduleStartAt;
|
|
67
|
+
return this;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
public getScheduleEndAt(): number|null {
|
|
71
|
+
return this.scheduleEndAt;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
public setScheduleEndAt(scheduleEndAt: number|null) {
|
|
75
|
+
this.scheduleEndAt = scheduleEndAt;
|
|
76
|
+
return this;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
public withScheduleEndAt(scheduleEndAt: number|null): this {
|
|
80
|
+
this.scheduleEndAt = scheduleEndAt;
|
|
81
|
+
return this;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
public getRepeatSchedule(): Gs2Schedule.RepeatSchedule|null {
|
|
85
|
+
return this.repeatSchedule;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
public setRepeatSchedule(repeatSchedule: Gs2Schedule.RepeatSchedule|null) {
|
|
89
|
+
this.repeatSchedule = repeatSchedule;
|
|
90
|
+
return this;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
public withRepeatSchedule(repeatSchedule: Gs2Schedule.RepeatSchedule|null): this {
|
|
94
|
+
this.repeatSchedule = repeatSchedule;
|
|
95
|
+
return this;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
public getIsGlobalSchedule(): boolean|null {
|
|
99
|
+
return this.isGlobalSchedule;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
public setIsGlobalSchedule(isGlobalSchedule: boolean|null) {
|
|
103
|
+
this.isGlobalSchedule = isGlobalSchedule;
|
|
104
|
+
return this;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
public withIsGlobalSchedule(isGlobalSchedule: boolean|null): this {
|
|
108
|
+
this.isGlobalSchedule = isGlobalSchedule;
|
|
109
|
+
return this;
|
|
110
|
+
}
|
|
20
111
|
|
|
21
112
|
public static fromDict(data: {[key: string]: any}): VerifyEventResult {
|
|
22
|
-
return new VerifyEventResult()
|
|
113
|
+
return new VerifyEventResult()
|
|
114
|
+
.withItem(Gs2Schedule.Event.fromDict(data["item"]))
|
|
115
|
+
.withInSchedule(data["inSchedule"])
|
|
116
|
+
.withScheduleStartAt(data["scheduleStartAt"])
|
|
117
|
+
.withScheduleEndAt(data["scheduleEndAt"])
|
|
118
|
+
.withRepeatSchedule(Gs2Schedule.RepeatSchedule.fromDict(data["repeatSchedule"]))
|
|
119
|
+
.withIsGlobalSchedule(data["isGlobalSchedule"]);
|
|
23
120
|
}
|
|
24
121
|
|
|
25
122
|
public toDict(): {[key: string]: any} {
|
|
26
123
|
return {
|
|
124
|
+
"item": this.getItem()?.toDict(),
|
|
125
|
+
"inSchedule": this.getInSchedule(),
|
|
126
|
+
"scheduleStartAt": this.getScheduleStartAt(),
|
|
127
|
+
"scheduleEndAt": this.getScheduleEndAt(),
|
|
128
|
+
"repeatSchedule": this.getRepeatSchedule()?.toDict(),
|
|
129
|
+
"isGlobalSchedule": this.getIsGlobalSchedule(),
|
|
27
130
|
};
|
|
28
131
|
}
|
|
29
132
|
}
|