/* Options: Date: 2026-10-01 10:21:35 Version: 6.10 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://stubbur-app.azurewebsites.net //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: EventSendGuardRequest.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.*; import java.util.*; import net.servicestack.client.*; public class dtos { @Route(Path="/EventSendGuard/{EventId}", Verbs="GET") public static class EventSendGuardRequest implements IReturn { public Integer eventId = null; public Date assumedTimeUtc = null; public Integer changeLookbackHours = null; public Integer getEventId() { return eventId; } public EventSendGuardRequest setEventId(Integer value) { this.eventId = value; return this; } public Date getAssumedTimeUtc() { return assumedTimeUtc; } public EventSendGuardRequest setAssumedTimeUtc(Date value) { this.assumedTimeUtc = value; return this; } public Integer getChangeLookbackHours() { return changeLookbackHours; } public EventSendGuardRequest setChangeLookbackHours(Integer value) { this.changeLookbackHours = value; return this; } private static Object responseType = EventSendGuardResult.class; public Object getResponseType() { return responseType; } } public static class EventSendGuardResult { public Integer eventId = null; public String eventName = null; public Boolean sendable = null; public ArrayList reasons = null; public Date currentTimeOfEventUtc = null; public Date assumedTimeUtc = null; public Boolean timeChangedSincePlanned = null; public Boolean postponedNoDate = null; public Boolean eventActive = null; public Boolean hideEvent = null; public Boolean alreadyStarted = null; public Date lastChangeAt = null; public ArrayList recentChanges = null; public Integer statusCode = null; public String message = null; public Integer getEventId() { return eventId; } public EventSendGuardResult setEventId(Integer value) { this.eventId = value; return this; } public String getEventName() { return eventName; } public EventSendGuardResult setEventName(String value) { this.eventName = value; return this; } public Boolean isSendable() { return sendable; } public EventSendGuardResult setSendable(Boolean value) { this.sendable = value; return this; } public ArrayList getReasons() { return reasons; } public EventSendGuardResult setReasons(ArrayList value) { this.reasons = value; return this; } public Date getCurrentTimeOfEventUtc() { return currentTimeOfEventUtc; } public EventSendGuardResult setCurrentTimeOfEventUtc(Date value) { this.currentTimeOfEventUtc = value; return this; } public Date getAssumedTimeUtc() { return assumedTimeUtc; } public EventSendGuardResult setAssumedTimeUtc(Date value) { this.assumedTimeUtc = value; return this; } public Boolean isTimeChangedSincePlanned() { return timeChangedSincePlanned; } public EventSendGuardResult setTimeChangedSincePlanned(Boolean value) { this.timeChangedSincePlanned = value; return this; } public Boolean isPostponedNoDate() { return postponedNoDate; } public EventSendGuardResult setPostponedNoDate(Boolean value) { this.postponedNoDate = value; return this; } public Boolean isEventActive() { return eventActive; } public EventSendGuardResult setEventActive(Boolean value) { this.eventActive = value; return this; } public Boolean isHideEvent() { return hideEvent; } public EventSendGuardResult setHideEvent(Boolean value) { this.hideEvent = value; return this; } public Boolean isAlreadyStarted() { return alreadyStarted; } public EventSendGuardResult setAlreadyStarted(Boolean value) { this.alreadyStarted = value; return this; } public Date getLastChangeAt() { return lastChangeAt; } public EventSendGuardResult setLastChangeAt(Date value) { this.lastChangeAt = value; return this; } public ArrayList getRecentChanges() { return recentChanges; } public EventSendGuardResult setRecentChanges(ArrayList value) { this.recentChanges = value; return this; } public Integer getStatusCode() { return statusCode; } public EventSendGuardResult setStatusCode(Integer value) { this.statusCode = value; return this; } public String getMessage() { return message; } public EventSendGuardResult setMessage(String value) { this.message = value; return this; } } public static class EventSendGuardChange { public Date changedAt = null; public Boolean timeHasChanged = null; public Boolean locationHasChanged = null; public Date oldTimeOfEvent = null; public Date newTimeOfEvent = null; public Boolean alertHandled = null; public Date getChangedAt() { return changedAt; } public EventSendGuardChange setChangedAt(Date value) { this.changedAt = value; return this; } public Boolean isTimeHasChanged() { return timeHasChanged; } public EventSendGuardChange setTimeHasChanged(Boolean value) { this.timeHasChanged = value; return this; } public Boolean isLocationHasChanged() { return locationHasChanged; } public EventSendGuardChange setLocationHasChanged(Boolean value) { this.locationHasChanged = value; return this; } public Date getOldTimeOfEvent() { return oldTimeOfEvent; } public EventSendGuardChange setOldTimeOfEvent(Date value) { this.oldTimeOfEvent = value; return this; } public Date getNewTimeOfEvent() { return newTimeOfEvent; } public EventSendGuardChange setNewTimeOfEvent(Date value) { this.newTimeOfEvent = value; return this; } public Boolean isAlertHandled() { return alertHandled; } public EventSendGuardChange setAlertHandled(Boolean value) { this.alertHandled = value; return this; } } }