/* Options: Date: 2025-12-06 05:21:38 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: FindResponseMetrics.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.*,com.google.gson.annotations.*,com.google.gson.reflect.* */ import java.math.*; import java.util.*; import java.io.InputStream; import net.servicestack.client.*; import com.google.gson.annotations.*; import com.google.gson.reflect.*; public class dtos { @Route(Path="/qry//metrics/e2e/slips/responses") public static class FindResponseMetrics extends PaginatedQuery implements IReturn> { public TimeResolution resolution = null; public Long timepointFrom = null; public Long timepointTo = null; public TimeResolution getResolution() { return resolution; } public FindResponseMetrics setResolution(TimeResolution value) { this.resolution = value; return this; } public Long getTimepointFrom() { return timepointFrom; } public FindResponseMetrics setTimepointFrom(Long value) { this.timepointFrom = value; return this; } public Long getTimepointTo() { return timepointTo; } public FindResponseMetrics setTimepointTo(Long value) { this.timepointTo = value; return this; } private static Object responseType = new TypeToken>(){}.getType(); public Object getResponseType() { return responseType; } } public static class PaginatedResult implements IPaginatedResult { public ArrayList data = new ArrayList(); public Long currentPage = null; public Long pageSize = null; public Long totalItems = null; public Long totalPages = null; public ArrayList getData() { return data; } public PaginatedResult setData(ArrayList value) { this.data = value; return this; } public Long getCurrentPage() { return currentPage; } public PaginatedResult setCurrentPage(Long value) { this.currentPage = value; return this; } public Long getPageSize() { return pageSize; } public PaginatedResult setPageSize(Long value) { this.pageSize = value; return this; } public Long getTotalItems() { return totalItems; } public PaginatedResult setTotalItems(Long value) { this.totalItems = value; return this; } public Long getTotalPages() { return totalPages; } public PaginatedResult setTotalPages(Long value) { this.totalPages = value; return this; } } public static enum TimeResolution { @SerializedName("1") Second(1), @SerializedName("2") Minute(2), @SerializedName("5") Hour(5), @SerializedName("10") Day(10); private final int value; TimeResolution(final int intValue) { value = intValue; } public int getValue() { return value; } } public static class PaginatedQuery { public Integer currentPage = null; public Integer pageSize = null; public Integer getCurrentPage() { return currentPage; } public PaginatedQuery setCurrentPage(Integer value) { this.currentPage = value; return this; } public Integer getPageSize() { return pageSize; } public PaginatedQuery setPageSize(Integer value) { this.pageSize = value; return this; } } public static interface IPaginatedResult { public Long currentPage = null; public Long pageSize = null; public Long totalItems = null; public Long totalPages = null; } }