/* Options: Date: 2025-12-06 05:59:17 Version: 8.70 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.sbbet.ath.cx //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: GetUserNotifications.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.* */ import java.math.*; import java.util.*; import java.io.InputStream; import net.servicestack.client.*; public class dtos { @Route(Path="/qry/users/notifications") public static class GetUserNotifications implements IReturn { public String id = null; public String getId() { return id; } public GetUserNotifications setId(String value) { this.id = value; return this; } private static Object responseType = UserNotifications.class; public Object getResponseType() { return responseType; } } public static class UserNotifications { public String id = null; public Integer n = null; public Integer s = null; public Integer i = null; public Integer w = null; public Integer e = null; public HashMap notifications = null; public String getId() { return id; } public UserNotifications setId(String value) { this.id = value; return this; } public Integer getN() { return n; } public UserNotifications setN(Integer value) { this.n = value; return this; } public Integer getS() { return s; } public UserNotifications setS(Integer value) { this.s = value; return this; } public Integer getI() { return i; } public UserNotifications setI(Integer value) { this.i = value; return this; } public Integer getW() { return w; } public UserNotifications setW(Integer value) { this.w = value; return this; } public Integer getE() { return e; } public UserNotifications setE(Integer value) { this.e = value; return this; } public HashMap getNotifications() { return notifications; } public UserNotifications setNotifications(HashMap value) { this.notifications = value; return this; } } public static class RecordDictionary extends HashMap { } public static class UserNotification { public String id = null; public Notification notification = null; public Date dispatchedAt = null; public String getId() { return id; } public UserNotification setId(String value) { this.id = value; return this; } public Notification getNotification() { return notification; } public UserNotification setNotification(Notification value) { this.notification = value; return this; } public Date getDispatchedAt() { return dispatchedAt; } public UserNotification setDispatchedAt(Date value) { this.dispatchedAt = value; return this; } } public static enum Severity { @SerializedName("0") Success(0), @SerializedName("1") Info(1), @SerializedName("2") Warning(2), @SerializedName("3") Error(3); private final int value; Severity(final int intValue) { value = intValue; } public int getValue() { return value; } } public static class Notification { public Severity severity = null; public NotificationType type = null; public RecordDictionary data = null; public Severity getSeverity() { return severity; } public Notification setSeverity(Severity value) { this.severity = value; return this; } public NotificationType getType() { return type; } public Notification setType(NotificationType value) { this.type = value; return this; } public RecordDictionary getData() { return data; } public Notification setData(RecordDictionary value) { this.data = value; return this; } } public static enum NotificationType { @SerializedName("0") Default(0), @SerializedName("1") SlipDeliveryConfirmationRequest(1), @SerializedName("2") SlipDeliveryIssueResolved(2); private final int value; NotificationType(final int intValue) { value = intValue; } public int getValue() { return value; } } }