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
package/ranking2/rest.ts
CHANGED
|
@@ -1599,7 +1599,6 @@ export default class Gs2Ranking2RestClient extends AbstractGs2RestClient {
|
|
|
1599
1599
|
'minimumValue': request.getMinimumValue() ?? null,
|
|
1600
1600
|
'maximumValue': request.getMaximumValue() ?? null,
|
|
1601
1601
|
'sum': request.getSum() ?? null,
|
|
1602
|
-
'scoreTtlDays': request.getScoreTtlDays() ?? null,
|
|
1603
1602
|
'orderDirection': request.getOrderDirection() ?? null,
|
|
1604
1603
|
'rankingRewards': request.getRankingRewards()?.map((item) => item.toDict()) ?? null,
|
|
1605
1604
|
'rewardCalculationIndex': request.getRewardCalculationIndex() ?? null,
|
|
@@ -1669,7 +1668,6 @@ export default class Gs2Ranking2RestClient extends AbstractGs2RestClient {
|
|
|
1669
1668
|
'minimumValue': request.getMinimumValue() ?? null,
|
|
1670
1669
|
'maximumValue': request.getMaximumValue() ?? null,
|
|
1671
1670
|
'sum': request.getSum() ?? null,
|
|
1672
|
-
'scoreTtlDays': request.getScoreTtlDays() ?? null,
|
|
1673
1671
|
'orderDirection': request.getOrderDirection() ?? null,
|
|
1674
1672
|
'rankingRewards': request.getRankingRewards()?.map((item) => item.toDict()) ?? null,
|
|
1675
1673
|
'rewardCalculationIndex': request.getRewardCalculationIndex() ?? null,
|
|
@@ -2681,7 +2679,6 @@ export default class Gs2Ranking2RestClient extends AbstractGs2RestClient {
|
|
|
2681
2679
|
'minimumValue': request.getMinimumValue() ?? null,
|
|
2682
2680
|
'maximumValue': request.getMaximumValue() ?? null,
|
|
2683
2681
|
'sum': request.getSum() ?? null,
|
|
2684
|
-
'scoreTtlDays': request.getScoreTtlDays() ?? null,
|
|
2685
2682
|
'orderDirection': request.getOrderDirection() ?? null,
|
|
2686
2683
|
'entryPeriodEventId': request.getEntryPeriodEventId() ?? null,
|
|
2687
2684
|
'accessPeriodEventId': request.getAccessPeriodEventId() ?? null,
|
|
@@ -2748,7 +2745,6 @@ export default class Gs2Ranking2RestClient extends AbstractGs2RestClient {
|
|
|
2748
2745
|
'minimumValue': request.getMinimumValue() ?? null,
|
|
2749
2746
|
'maximumValue': request.getMaximumValue() ?? null,
|
|
2750
2747
|
'sum': request.getSum() ?? null,
|
|
2751
|
-
'scoreTtlDays': request.getScoreTtlDays() ?? null,
|
|
2752
2748
|
'orderDirection': request.getOrderDirection() ?? null,
|
|
2753
2749
|
'entryPeriodEventId': request.getEntryPeriodEventId() ?? null,
|
|
2754
2750
|
'accessPeriodEventId': request.getAccessPeriodEventId() ?? null,
|
|
@@ -6,6 +6,7 @@ export default class GetEventByUserIdResult implements IResult {
|
|
|
6
6
|
private scheduleStartAt;
|
|
7
7
|
private scheduleEndAt;
|
|
8
8
|
private repeatSchedule;
|
|
9
|
+
private isGlobalSchedule;
|
|
9
10
|
getItem(): Gs2Schedule.Event | null;
|
|
10
11
|
setItem(item: Gs2Schedule.Event | null): this;
|
|
11
12
|
withItem(item: Gs2Schedule.Event | null): this;
|
|
@@ -21,6 +22,9 @@ export default class GetEventByUserIdResult implements IResult {
|
|
|
21
22
|
getRepeatSchedule(): Gs2Schedule.RepeatSchedule | null;
|
|
22
23
|
setRepeatSchedule(repeatSchedule: Gs2Schedule.RepeatSchedule | null): this;
|
|
23
24
|
withRepeatSchedule(repeatSchedule: Gs2Schedule.RepeatSchedule | null): this;
|
|
25
|
+
getIsGlobalSchedule(): boolean | null;
|
|
26
|
+
setIsGlobalSchedule(isGlobalSchedule: boolean | null): this;
|
|
27
|
+
withIsGlobalSchedule(isGlobalSchedule: boolean | null): this;
|
|
24
28
|
static fromDict(data: {
|
|
25
29
|
[key: string]: any;
|
|
26
30
|
}): GetEventByUserIdResult;
|
|
@@ -24,6 +24,7 @@ var GetEventByUserIdResult = /** @class */ (function () {
|
|
|
24
24
|
this.scheduleStartAt = null;
|
|
25
25
|
this.scheduleEndAt = null;
|
|
26
26
|
this.repeatSchedule = null;
|
|
27
|
+
this.isGlobalSchedule = null;
|
|
27
28
|
}
|
|
28
29
|
GetEventByUserIdResult.prototype.getItem = function () {
|
|
29
30
|
return this.item;
|
|
@@ -80,13 +81,25 @@ var GetEventByUserIdResult = /** @class */ (function () {
|
|
|
80
81
|
this.repeatSchedule = repeatSchedule;
|
|
81
82
|
return this;
|
|
82
83
|
};
|
|
84
|
+
GetEventByUserIdResult.prototype.getIsGlobalSchedule = function () {
|
|
85
|
+
return this.isGlobalSchedule;
|
|
86
|
+
};
|
|
87
|
+
GetEventByUserIdResult.prototype.setIsGlobalSchedule = function (isGlobalSchedule) {
|
|
88
|
+
this.isGlobalSchedule = isGlobalSchedule;
|
|
89
|
+
return this;
|
|
90
|
+
};
|
|
91
|
+
GetEventByUserIdResult.prototype.withIsGlobalSchedule = function (isGlobalSchedule) {
|
|
92
|
+
this.isGlobalSchedule = isGlobalSchedule;
|
|
93
|
+
return this;
|
|
94
|
+
};
|
|
83
95
|
GetEventByUserIdResult.fromDict = function (data) {
|
|
84
96
|
return new GetEventByUserIdResult()
|
|
85
97
|
.withItem(Gs2Schedule.Event.fromDict(data["item"]))
|
|
86
98
|
.withInSchedule(data["inSchedule"])
|
|
87
99
|
.withScheduleStartAt(data["scheduleStartAt"])
|
|
88
100
|
.withScheduleEndAt(data["scheduleEndAt"])
|
|
89
|
-
.withRepeatSchedule(Gs2Schedule.RepeatSchedule.fromDict(data["repeatSchedule"]))
|
|
101
|
+
.withRepeatSchedule(Gs2Schedule.RepeatSchedule.fromDict(data["repeatSchedule"]))
|
|
102
|
+
.withIsGlobalSchedule(data["isGlobalSchedule"]);
|
|
90
103
|
};
|
|
91
104
|
GetEventByUserIdResult.prototype.toDict = function () {
|
|
92
105
|
var _a, _b;
|
|
@@ -96,6 +109,7 @@ var GetEventByUserIdResult = /** @class */ (function () {
|
|
|
96
109
|
"scheduleStartAt": this.getScheduleStartAt(),
|
|
97
110
|
"scheduleEndAt": this.getScheduleEndAt(),
|
|
98
111
|
"repeatSchedule": (_b = this.getRepeatSchedule()) === null || _b === void 0 ? void 0 : _b.toDict(),
|
|
112
|
+
"isGlobalSchedule": this.getIsGlobalSchedule(),
|
|
99
113
|
};
|
|
100
114
|
};
|
|
101
115
|
return GetEventByUserIdResult;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GetEventByUserIdResult.js","sourceRoot":"","sources":["GetEventByUserIdResult.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;
|
|
1
|
+
{"version":3,"file":"GetEventByUserIdResult.js","sourceRoot":"","sources":["GetEventByUserIdResult.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,wCAAO,GAAd;QACI,OAAO,IAAI,CAAC,IAAI,CAAC;IACrB,CAAC;IAEM,wCAAO,GAAd,UAAe,IAA4B;QACvC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,yCAAQ,GA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BAAC;AAAD,CAAC,AAhHD,IAgHC"}
|
|
@@ -23,6 +23,7 @@ export default class GetEventByUserIdResult implements IResult {
|
|
|
23
23
|
private scheduleStartAt: number|null = null;
|
|
24
24
|
private scheduleEndAt: number|null = null;
|
|
25
25
|
private repeatSchedule: Gs2Schedule.RepeatSchedule|null = null;
|
|
26
|
+
private isGlobalSchedule: boolean|null = null;
|
|
26
27
|
|
|
27
28
|
public getItem(): Gs2Schedule.Event|null {
|
|
28
29
|
return this.item;
|
|
@@ -94,13 +95,28 @@ export default class GetEventByUserIdResult implements IResult {
|
|
|
94
95
|
return this;
|
|
95
96
|
}
|
|
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
|
+
}
|
|
111
|
+
|
|
97
112
|
public static fromDict(data: {[key: string]: any}): GetEventByUserIdResult {
|
|
98
113
|
return new GetEventByUserIdResult()
|
|
99
114
|
.withItem(Gs2Schedule.Event.fromDict(data["item"]))
|
|
100
115
|
.withInSchedule(data["inSchedule"])
|
|
101
116
|
.withScheduleStartAt(data["scheduleStartAt"])
|
|
102
117
|
.withScheduleEndAt(data["scheduleEndAt"])
|
|
103
|
-
.withRepeatSchedule(Gs2Schedule.RepeatSchedule.fromDict(data["repeatSchedule"]))
|
|
118
|
+
.withRepeatSchedule(Gs2Schedule.RepeatSchedule.fromDict(data["repeatSchedule"]))
|
|
119
|
+
.withIsGlobalSchedule(data["isGlobalSchedule"]);
|
|
104
120
|
}
|
|
105
121
|
|
|
106
122
|
public toDict(): {[key: string]: any} {
|
|
@@ -110,6 +126,7 @@ export default class GetEventByUserIdResult implements IResult {
|
|
|
110
126
|
"scheduleStartAt": this.getScheduleStartAt(),
|
|
111
127
|
"scheduleEndAt": this.getScheduleEndAt(),
|
|
112
128
|
"repeatSchedule": this.getRepeatSchedule()?.toDict(),
|
|
129
|
+
"isGlobalSchedule": this.getIsGlobalSchedule(),
|
|
113
130
|
};
|
|
114
131
|
}
|
|
115
132
|
}
|
|
@@ -6,6 +6,7 @@ export default class GetEventResult implements IResult {
|
|
|
6
6
|
private scheduleStartAt;
|
|
7
7
|
private scheduleEndAt;
|
|
8
8
|
private repeatSchedule;
|
|
9
|
+
private isGlobalSchedule;
|
|
9
10
|
getItem(): Gs2Schedule.Event | null;
|
|
10
11
|
setItem(item: Gs2Schedule.Event | null): this;
|
|
11
12
|
withItem(item: Gs2Schedule.Event | null): this;
|
|
@@ -21,6 +22,9 @@ export default class GetEventResult implements IResult {
|
|
|
21
22
|
getRepeatSchedule(): Gs2Schedule.RepeatSchedule | null;
|
|
22
23
|
setRepeatSchedule(repeatSchedule: Gs2Schedule.RepeatSchedule | null): this;
|
|
23
24
|
withRepeatSchedule(repeatSchedule: Gs2Schedule.RepeatSchedule | null): this;
|
|
25
|
+
getIsGlobalSchedule(): boolean | null;
|
|
26
|
+
setIsGlobalSchedule(isGlobalSchedule: boolean | null): this;
|
|
27
|
+
withIsGlobalSchedule(isGlobalSchedule: boolean | null): this;
|
|
24
28
|
static fromDict(data: {
|
|
25
29
|
[key: string]: any;
|
|
26
30
|
}): GetEventResult;
|
|
@@ -24,6 +24,7 @@ var GetEventResult = /** @class */ (function () {
|
|
|
24
24
|
this.scheduleStartAt = null;
|
|
25
25
|
this.scheduleEndAt = null;
|
|
26
26
|
this.repeatSchedule = null;
|
|
27
|
+
this.isGlobalSchedule = null;
|
|
27
28
|
}
|
|
28
29
|
GetEventResult.prototype.getItem = function () {
|
|
29
30
|
return this.item;
|
|
@@ -80,13 +81,25 @@ var GetEventResult = /** @class */ (function () {
|
|
|
80
81
|
this.repeatSchedule = repeatSchedule;
|
|
81
82
|
return this;
|
|
82
83
|
};
|
|
84
|
+
GetEventResult.prototype.getIsGlobalSchedule = function () {
|
|
85
|
+
return this.isGlobalSchedule;
|
|
86
|
+
};
|
|
87
|
+
GetEventResult.prototype.setIsGlobalSchedule = function (isGlobalSchedule) {
|
|
88
|
+
this.isGlobalSchedule = isGlobalSchedule;
|
|
89
|
+
return this;
|
|
90
|
+
};
|
|
91
|
+
GetEventResult.prototype.withIsGlobalSchedule = function (isGlobalSchedule) {
|
|
92
|
+
this.isGlobalSchedule = isGlobalSchedule;
|
|
93
|
+
return this;
|
|
94
|
+
};
|
|
83
95
|
GetEventResult.fromDict = function (data) {
|
|
84
96
|
return new GetEventResult()
|
|
85
97
|
.withItem(Gs2Schedule.Event.fromDict(data["item"]))
|
|
86
98
|
.withInSchedule(data["inSchedule"])
|
|
87
99
|
.withScheduleStartAt(data["scheduleStartAt"])
|
|
88
100
|
.withScheduleEndAt(data["scheduleEndAt"])
|
|
89
|
-
.withRepeatSchedule(Gs2Schedule.RepeatSchedule.fromDict(data["repeatSchedule"]))
|
|
101
|
+
.withRepeatSchedule(Gs2Schedule.RepeatSchedule.fromDict(data["repeatSchedule"]))
|
|
102
|
+
.withIsGlobalSchedule(data["isGlobalSchedule"]);
|
|
90
103
|
};
|
|
91
104
|
GetEventResult.prototype.toDict = function () {
|
|
92
105
|
var _a, _b;
|
|
@@ -96,6 +109,7 @@ var GetEventResult = /** @class */ (function () {
|
|
|
96
109
|
"scheduleStartAt": this.getScheduleStartAt(),
|
|
97
110
|
"scheduleEndAt": this.getScheduleEndAt(),
|
|
98
111
|
"repeatSchedule": (_b = this.getRepeatSchedule()) === null || _b === void 0 ? void 0 : _b.toDict(),
|
|
112
|
+
"isGlobalSchedule": this.getIsGlobalSchedule(),
|
|
99
113
|
};
|
|
100
114
|
};
|
|
101
115
|
return GetEventResult;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GetEventResult.js","sourceRoot":"","sources":["GetEventResult.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;
|
|
1
|
+
{"version":3,"file":"GetEventResult.js","sourceRoot":"","sources":["GetEventResult.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,gCAAO,GAAd;QACI,OAAO,IAAI,CAAC,IAAI,CAAC;IACrB,CAAC;IAEM,gCAAO,GAAd,UAAe,IAA4B;QACvC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,iCAAQ,GAAf,UAAgB,IAA4B;QACxC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,sCAAa,GAApB;QACI,OAAO,IAAI,CAAC,UAAU,CAAC;IAC3B,CAAC;IAEM,sCAAa,GAApB,UAAqB,UAAwB;QACzC,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,uCAAc,GAArB,UAAsB,UAAwB;QAC1C,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC;QAC7B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,2CAAkB,G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7C,OAAO,IAAI,cAAc,EAAE;aACtB,QAAQ,CAAC,WAAW,CAAC,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;aAClD,cAAc,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;aAClC,mBAAmB,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC;aAC5C,iBAAiB,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,+BAAM,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,qBAAC;AAAD,CAAC,AAhHD,IAgHC"}
|
|
@@ -23,6 +23,7 @@ export default class GetEventResult implements IResult {
|
|
|
23
23
|
private scheduleStartAt: number|null = null;
|
|
24
24
|
private scheduleEndAt: number|null = null;
|
|
25
25
|
private repeatSchedule: Gs2Schedule.RepeatSchedule|null = null;
|
|
26
|
+
private isGlobalSchedule: boolean|null = null;
|
|
26
27
|
|
|
27
28
|
public getItem(): Gs2Schedule.Event|null {
|
|
28
29
|
return this.item;
|
|
@@ -94,13 +95,28 @@ export default class GetEventResult implements IResult {
|
|
|
94
95
|
return this;
|
|
95
96
|
}
|
|
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
|
+
}
|
|
111
|
+
|
|
97
112
|
public static fromDict(data: {[key: string]: any}): GetEventResult {
|
|
98
113
|
return new GetEventResult()
|
|
99
114
|
.withItem(Gs2Schedule.Event.fromDict(data["item"]))
|
|
100
115
|
.withInSchedule(data["inSchedule"])
|
|
101
116
|
.withScheduleStartAt(data["scheduleStartAt"])
|
|
102
117
|
.withScheduleEndAt(data["scheduleEndAt"])
|
|
103
|
-
.withRepeatSchedule(Gs2Schedule.RepeatSchedule.fromDict(data["repeatSchedule"]))
|
|
118
|
+
.withRepeatSchedule(Gs2Schedule.RepeatSchedule.fromDict(data["repeatSchedule"]))
|
|
119
|
+
.withIsGlobalSchedule(data["isGlobalSchedule"]);
|
|
104
120
|
}
|
|
105
121
|
|
|
106
122
|
public toDict(): {[key: string]: any} {
|
|
@@ -110,6 +126,7 @@ export default class GetEventResult implements IResult {
|
|
|
110
126
|
"scheduleStartAt": this.getScheduleStartAt(),
|
|
111
127
|
"scheduleEndAt": this.getScheduleEndAt(),
|
|
112
128
|
"repeatSchedule": this.getRepeatSchedule()?.toDict(),
|
|
129
|
+
"isGlobalSchedule": this.getIsGlobalSchedule(),
|
|
113
130
|
};
|
|
114
131
|
}
|
|
115
132
|
}
|
|
@@ -1,6 +1,31 @@
|
|
|
1
1
|
import IResult from '../../core/interface/IResult';
|
|
2
|
+
import * as Gs2Schedule from '../model';
|
|
2
3
|
export default class VerifyEventByStampTaskResult implements IResult {
|
|
4
|
+
private item;
|
|
5
|
+
private inSchedule;
|
|
6
|
+
private scheduleStartAt;
|
|
7
|
+
private scheduleEndAt;
|
|
8
|
+
private repeatSchedule;
|
|
9
|
+
private isGlobalSchedule;
|
|
3
10
|
private newContextStack;
|
|
11
|
+
getItem(): Gs2Schedule.Event | null;
|
|
12
|
+
setItem(item: Gs2Schedule.Event | null): this;
|
|
13
|
+
withItem(item: Gs2Schedule.Event | null): this;
|
|
14
|
+
getInSchedule(): boolean | null;
|
|
15
|
+
setInSchedule(inSchedule: boolean | null): this;
|
|
16
|
+
withInSchedule(inSchedule: boolean | null): this;
|
|
17
|
+
getScheduleStartAt(): number | null;
|
|
18
|
+
setScheduleStartAt(scheduleStartAt: number | null): this;
|
|
19
|
+
withScheduleStartAt(scheduleStartAt: number | null): this;
|
|
20
|
+
getScheduleEndAt(): number | null;
|
|
21
|
+
setScheduleEndAt(scheduleEndAt: number | null): this;
|
|
22
|
+
withScheduleEndAt(scheduleEndAt: number | null): this;
|
|
23
|
+
getRepeatSchedule(): Gs2Schedule.RepeatSchedule | null;
|
|
24
|
+
setRepeatSchedule(repeatSchedule: Gs2Schedule.RepeatSchedule | null): this;
|
|
25
|
+
withRepeatSchedule(repeatSchedule: Gs2Schedule.RepeatSchedule | null): this;
|
|
26
|
+
getIsGlobalSchedule(): boolean | null;
|
|
27
|
+
setIsGlobalSchedule(isGlobalSchedule: boolean | null): this;
|
|
28
|
+
withIsGlobalSchedule(isGlobalSchedule: boolean | null): this;
|
|
4
29
|
getNewContextStack(): string | null;
|
|
5
30
|
setNewContextStack(newContextStack: string | null): this;
|
|
6
31
|
withNewContextStack(newContextStack: string | null): this;
|
|
@@ -15,10 +15,84 @@ 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 VerifyEventByStampTaskResult = /** @class */ (function () {
|
|
19
21
|
function VerifyEventByStampTaskResult() {
|
|
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
|
this.newContextStack = null;
|
|
21
29
|
}
|
|
30
|
+
VerifyEventByStampTaskResult.prototype.getItem = function () {
|
|
31
|
+
return this.item;
|
|
32
|
+
};
|
|
33
|
+
VerifyEventByStampTaskResult.prototype.setItem = function (item) {
|
|
34
|
+
this.item = item;
|
|
35
|
+
return this;
|
|
36
|
+
};
|
|
37
|
+
VerifyEventByStampTaskResult.prototype.withItem = function (item) {
|
|
38
|
+
this.item = item;
|
|
39
|
+
return this;
|
|
40
|
+
};
|
|
41
|
+
VerifyEventByStampTaskResult.prototype.getInSchedule = function () {
|
|
42
|
+
return this.inSchedule;
|
|
43
|
+
};
|
|
44
|
+
VerifyEventByStampTaskResult.prototype.setInSchedule = function (inSchedule) {
|
|
45
|
+
this.inSchedule = inSchedule;
|
|
46
|
+
return this;
|
|
47
|
+
};
|
|
48
|
+
VerifyEventByStampTaskResult.prototype.withInSchedule = function (inSchedule) {
|
|
49
|
+
this.inSchedule = inSchedule;
|
|
50
|
+
return this;
|
|
51
|
+
};
|
|
52
|
+
VerifyEventByStampTaskResult.prototype.getScheduleStartAt = function () {
|
|
53
|
+
return this.scheduleStartAt;
|
|
54
|
+
};
|
|
55
|
+
VerifyEventByStampTaskResult.prototype.setScheduleStartAt = function (scheduleStartAt) {
|
|
56
|
+
this.scheduleStartAt = scheduleStartAt;
|
|
57
|
+
return this;
|
|
58
|
+
};
|
|
59
|
+
VerifyEventByStampTaskResult.prototype.withScheduleStartAt = function (scheduleStartAt) {
|
|
60
|
+
this.scheduleStartAt = scheduleStartAt;
|
|
61
|
+
return this;
|
|
62
|
+
};
|
|
63
|
+
VerifyEventByStampTaskResult.prototype.getScheduleEndAt = function () {
|
|
64
|
+
return this.scheduleEndAt;
|
|
65
|
+
};
|
|
66
|
+
VerifyEventByStampTaskResult.prototype.setScheduleEndAt = function (scheduleEndAt) {
|
|
67
|
+
this.scheduleEndAt = scheduleEndAt;
|
|
68
|
+
return this;
|
|
69
|
+
};
|
|
70
|
+
VerifyEventByStampTaskResult.prototype.withScheduleEndAt = function (scheduleEndAt) {
|
|
71
|
+
this.scheduleEndAt = scheduleEndAt;
|
|
72
|
+
return this;
|
|
73
|
+
};
|
|
74
|
+
VerifyEventByStampTaskResult.prototype.getRepeatSchedule = function () {
|
|
75
|
+
return this.repeatSchedule;
|
|
76
|
+
};
|
|
77
|
+
VerifyEventByStampTaskResult.prototype.setRepeatSchedule = function (repeatSchedule) {
|
|
78
|
+
this.repeatSchedule = repeatSchedule;
|
|
79
|
+
return this;
|
|
80
|
+
};
|
|
81
|
+
VerifyEventByStampTaskResult.prototype.withRepeatSchedule = function (repeatSchedule) {
|
|
82
|
+
this.repeatSchedule = repeatSchedule;
|
|
83
|
+
return this;
|
|
84
|
+
};
|
|
85
|
+
VerifyEventByStampTaskResult.prototype.getIsGlobalSchedule = function () {
|
|
86
|
+
return this.isGlobalSchedule;
|
|
87
|
+
};
|
|
88
|
+
VerifyEventByStampTaskResult.prototype.setIsGlobalSchedule = function (isGlobalSchedule) {
|
|
89
|
+
this.isGlobalSchedule = isGlobalSchedule;
|
|
90
|
+
return this;
|
|
91
|
+
};
|
|
92
|
+
VerifyEventByStampTaskResult.prototype.withIsGlobalSchedule = function (isGlobalSchedule) {
|
|
93
|
+
this.isGlobalSchedule = isGlobalSchedule;
|
|
94
|
+
return this;
|
|
95
|
+
};
|
|
22
96
|
VerifyEventByStampTaskResult.prototype.getNewContextStack = function () {
|
|
23
97
|
return this.newContextStack;
|
|
24
98
|
};
|
|
@@ -32,10 +106,23 @@ var VerifyEventByStampTaskResult = /** @class */ (function () {
|
|
|
32
106
|
};
|
|
33
107
|
VerifyEventByStampTaskResult.fromDict = function (data) {
|
|
34
108
|
return new VerifyEventByStampTaskResult()
|
|
109
|
+
.withItem(Gs2Schedule.Event.fromDict(data["item"]))
|
|
110
|
+
.withInSchedule(data["inSchedule"])
|
|
111
|
+
.withScheduleStartAt(data["scheduleStartAt"])
|
|
112
|
+
.withScheduleEndAt(data["scheduleEndAt"])
|
|
113
|
+
.withRepeatSchedule(Gs2Schedule.RepeatSchedule.fromDict(data["repeatSchedule"]))
|
|
114
|
+
.withIsGlobalSchedule(data["isGlobalSchedule"])
|
|
35
115
|
.withNewContextStack(data["newContextStack"]);
|
|
36
116
|
};
|
|
37
117
|
VerifyEventByStampTaskResult.prototype.toDict = function () {
|
|
118
|
+
var _a, _b;
|
|
38
119
|
return {
|
|
120
|
+
"item": (_a = this.getItem()) === null || _a === void 0 ? void 0 : _a.toDict(),
|
|
121
|
+
"inSchedule": this.getInSchedule(),
|
|
122
|
+
"scheduleStartAt": this.getScheduleStartAt(),
|
|
123
|
+
"scheduleEndAt": this.getScheduleEndAt(),
|
|
124
|
+
"repeatSchedule": (_b = this.getRepeatSchedule()) === null || _b === void 0 ? void 0 : _b.toDict(),
|
|
125
|
+
"isGlobalSchedule": this.getIsGlobalSchedule(),
|
|
39
126
|
"newContextStack": this.getNewContextStack(),
|
|
40
127
|
};
|
|
41
128
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VerifyEventByStampTaskResult.js","sourceRoot":"","sources":["VerifyEventByStampTaskResult.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG
|
|
1
|
+
{"version":3,"file":"VerifyEventByStampTaskResult.js","sourceRoot":"","sources":["VerifyEventByStampTaskResult.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,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C,iBAAiB,CAAC,CAAC;aAC5C,iBAAiB,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;aAC9C,mBAAmB,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC,CAAC;IACtD,CAAC;IAEM,6CAAM,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;YAC9C,iBAAiB,EAAE,IAAI,CAAC,kBAAkB,EAAE;SAC/C,CAAC;IACN,CAAC;IACL,mCAAC;AAAD,CAAC,AAjID,IAiIC"}
|
|
@@ -15,10 +15,101 @@ 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 VerifyEventByStampTaskResult 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;
|
|
20
27
|
private newContextStack: string|null = null;
|
|
21
28
|
|
|
29
|
+
public getItem(): Gs2Schedule.Event|null {
|
|
30
|
+
return this.item;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
public setItem(item: Gs2Schedule.Event|null) {
|
|
34
|
+
this.item = item;
|
|
35
|
+
return this;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
public withItem(item: Gs2Schedule.Event|null): this {
|
|
39
|
+
this.item = item;
|
|
40
|
+
return this;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
public getInSchedule(): boolean|null {
|
|
44
|
+
return this.inSchedule;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
public setInSchedule(inSchedule: boolean|null) {
|
|
48
|
+
this.inSchedule = inSchedule;
|
|
49
|
+
return this;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
public withInSchedule(inSchedule: boolean|null): this {
|
|
53
|
+
this.inSchedule = inSchedule;
|
|
54
|
+
return this;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
public getScheduleStartAt(): number|null {
|
|
58
|
+
return this.scheduleStartAt;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
public setScheduleStartAt(scheduleStartAt: number|null) {
|
|
62
|
+
this.scheduleStartAt = scheduleStartAt;
|
|
63
|
+
return this;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
public withScheduleStartAt(scheduleStartAt: number|null): this {
|
|
67
|
+
this.scheduleStartAt = scheduleStartAt;
|
|
68
|
+
return this;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
public getScheduleEndAt(): number|null {
|
|
72
|
+
return this.scheduleEndAt;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
public setScheduleEndAt(scheduleEndAt: number|null) {
|
|
76
|
+
this.scheduleEndAt = scheduleEndAt;
|
|
77
|
+
return this;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
public withScheduleEndAt(scheduleEndAt: number|null): this {
|
|
81
|
+
this.scheduleEndAt = scheduleEndAt;
|
|
82
|
+
return this;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
public getRepeatSchedule(): Gs2Schedule.RepeatSchedule|null {
|
|
86
|
+
return this.repeatSchedule;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
public setRepeatSchedule(repeatSchedule: Gs2Schedule.RepeatSchedule|null) {
|
|
90
|
+
this.repeatSchedule = repeatSchedule;
|
|
91
|
+
return this;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
public withRepeatSchedule(repeatSchedule: Gs2Schedule.RepeatSchedule|null): this {
|
|
95
|
+
this.repeatSchedule = repeatSchedule;
|
|
96
|
+
return this;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
public getIsGlobalSchedule(): boolean|null {
|
|
100
|
+
return this.isGlobalSchedule;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
public setIsGlobalSchedule(isGlobalSchedule: boolean|null) {
|
|
104
|
+
this.isGlobalSchedule = isGlobalSchedule;
|
|
105
|
+
return this;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
public withIsGlobalSchedule(isGlobalSchedule: boolean|null): this {
|
|
109
|
+
this.isGlobalSchedule = isGlobalSchedule;
|
|
110
|
+
return this;
|
|
111
|
+
}
|
|
112
|
+
|
|
22
113
|
public getNewContextStack(): string|null {
|
|
23
114
|
return this.newContextStack;
|
|
24
115
|
}
|
|
@@ -35,11 +126,23 @@ export default class VerifyEventByStampTaskResult implements IResult {
|
|
|
35
126
|
|
|
36
127
|
public static fromDict(data: {[key: string]: any}): VerifyEventByStampTaskResult {
|
|
37
128
|
return new VerifyEventByStampTaskResult()
|
|
129
|
+
.withItem(Gs2Schedule.Event.fromDict(data["item"]))
|
|
130
|
+
.withInSchedule(data["inSchedule"])
|
|
131
|
+
.withScheduleStartAt(data["scheduleStartAt"])
|
|
132
|
+
.withScheduleEndAt(data["scheduleEndAt"])
|
|
133
|
+
.withRepeatSchedule(Gs2Schedule.RepeatSchedule.fromDict(data["repeatSchedule"]))
|
|
134
|
+
.withIsGlobalSchedule(data["isGlobalSchedule"])
|
|
38
135
|
.withNewContextStack(data["newContextStack"]);
|
|
39
136
|
}
|
|
40
137
|
|
|
41
138
|
public toDict(): {[key: string]: any} {
|
|
42
139
|
return {
|
|
140
|
+
"item": this.getItem()?.toDict(),
|
|
141
|
+
"inSchedule": this.getInSchedule(),
|
|
142
|
+
"scheduleStartAt": this.getScheduleStartAt(),
|
|
143
|
+
"scheduleEndAt": this.getScheduleEndAt(),
|
|
144
|
+
"repeatSchedule": this.getRepeatSchedule()?.toDict(),
|
|
145
|
+
"isGlobalSchedule": this.getIsGlobalSchedule(),
|
|
43
146
|
"newContextStack": this.getNewContextStack(),
|
|
44
147
|
};
|
|
45
148
|
}
|
|
@@ -1,5 +1,30 @@
|
|
|
1
1
|
import IResult from '../../core/interface/IResult';
|
|
2
|
+
import * as Gs2Schedule from '../model';
|
|
2
3
|
export default class VerifyEventByUserIdResult 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
|
}): VerifyEventByUserIdResult;
|