/* Options: Date: 2025-05-04 22:34:40 Version: 8.71 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://team.evovoice.io //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: ListLogEntries.* //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 { public static class ListLogEntries extends ListRequest implements IReturn> { /** * The IDs of the account whose log entries you want to retrieve */ @ApiMember(Description="The IDs of the account whose log entries you want to retrieve") public ArrayList accountIds = null; /** * The IDs of the customers whose log entries you want to retrieve */ @ApiMember(Description="The IDs of the customers whose log entries you want to retrieve") public ArrayList customerIds = null; /** * The start date to retrieve usage records for (YYYY-MM-DD) */ @ApiMember(Description="The start date to retrieve usage records for (YYYY-MM-DD)") public String startDate = null; /** * The end date to retrieve logs for (YYYY-MM-DD) */ @ApiMember(Description="The end date to retrieve logs for (YYYY-MM-DD)") public String endDate = null; /** * Search by description */ @ApiMember(Description="Search by description") public String description = null; public ArrayList getAccountIds() { return accountIds; } public ListLogEntries setAccountIds(ArrayList value) { this.accountIds = value; return this; } public ArrayList getCustomerIds() { return customerIds; } public ListLogEntries setCustomerIds(ArrayList value) { this.customerIds = value; return this; } public String getStartDate() { return startDate; } public ListLogEntries setStartDate(String value) { this.startDate = value; return this; } public String getEndDate() { return endDate; } public ListLogEntries setEndDate(String value) { this.endDate = value; return this; } public String getDescription() { return description; } public ListLogEntries setDescription(String value) { this.description = value; return this; } private static Object responseType = new TypeToken>(){}.getType(); public Object getResponseType() { return responseType; } } public static class ListResponse { /** * The items */ @ApiMember(Description="The items") public ArrayList items = null; /** * The total number of items */ @ApiMember(Description="The total number of items") public Integer totalCount = null; /** * The total number of pages */ @ApiMember(Description="The total number of pages") public Integer totalPages = null; /** * Are there more pages of items? Used with simplified paging */ @ApiMember(Description="Are there more pages of items? Used with simplified paging") public Boolean hasMorePages = null; public ArrayList getItems() { return items; } public ListResponse setItems(ArrayList value) { this.items = value; return this; } public Integer getTotalCount() { return totalCount; } public ListResponse setTotalCount(Integer value) { this.totalCount = value; return this; } public Integer getTotalPages() { return totalPages; } public ListResponse setTotalPages(Integer value) { this.totalPages = value; return this; } public Boolean isHasMorePages() { return hasMorePages; } public ListResponse setHasMorePages(Boolean value) { this.hasMorePages = value; return this; } } public static enum SortOrders { Ascend, Descend; } public static class ListRequest implements IGet { /** * The page of data to retrieve */ @ApiMember(Description="The page of data to retrieve") public Integer page = null; /** * If you want all objects to be returned. This should be used with care */ @ApiMember(Description="If you want all objects to be returned. This should be used with care") public Boolean all = null; /** * The number per page to retrieve */ @ApiMember(Description="The number per page to retrieve") public Integer countPerPage = null; /** * Specific IDs */ @ApiMember(Description="Specific IDs") public ArrayList specificIds = null; /** * Specify a sort field */ @ApiMember(Description="Specify a sort field") public String sortField = null; /** * Specify a sort order */ @ApiMember(Description="Specify a sort order") public SortOrders sortOrder = null; /** * Disables total / page counts - improves performance. Returns only data. If there is no more data, Items will be empty array */ @ApiMember(Description="Disables total / page counts - improves performance. Returns only data. If there is no more data, Items will be empty array") public Boolean simplifiedPaging = null; public Integer getPage() { return page; } public ListRequest setPage(Integer value) { this.page = value; return this; } public Boolean isAll() { return all; } public ListRequest setAll(Boolean value) { this.all = value; return this; } public Integer getCountPerPage() { return countPerPage; } public ListRequest setCountPerPage(Integer value) { this.countPerPage = value; return this; } public ArrayList getSpecificIds() { return specificIds; } public ListRequest setSpecificIds(ArrayList value) { this.specificIds = value; return this; } public String getSortField() { return sortField; } public ListRequest setSortField(String value) { this.sortField = value; return this; } public SortOrders getSortOrder() { return sortOrder; } public ListRequest setSortOrder(SortOrders value) { this.sortOrder = value; return this; } public Boolean isSimplifiedPaging() { return simplifiedPaging; } public ListRequest setSimplifiedPaging(Boolean value) { this.simplifiedPaging = value; return this; } } public static class LogEntryInfo extends EntityInfo { /** * The account ID this endpoint is associated with */ @ApiMember(Description="The account ID this endpoint is associated with") public String accountId = null; /** * The name of the account this endpoint is associated with */ @ApiMember(Description="The name of the account this endpoint is associated with") public String accountName = null; /** * The ID of the customer this endpoint is associated with */ @ApiMember(Description="The ID of the customer this endpoint is associated with") public String customerId = null; /** * The name of the customer this endpoint is associated with */ @ApiMember(Description="The name of the customer this endpoint is associated with") public String customerName = null; /** * The breadcrumb to the customer for this endpoint */ @ApiMember(Description="The breadcrumb to the customer for this endpoint") public ArrayList customerBreadcrumb = null; public String userName = null; public String description = null; public String getAccountId() { return accountId; } public LogEntryInfo setAccountId(String value) { this.accountId = value; return this; } public String getAccountName() { return accountName; } public LogEntryInfo setAccountName(String value) { this.accountName = value; return this; } public String getCustomerId() { return customerId; } public LogEntryInfo setCustomerId(String value) { this.customerId = value; return this; } public String getCustomerName() { return customerName; } public LogEntryInfo setCustomerName(String value) { this.customerName = value; return this; } public ArrayList getCustomerBreadcrumb() { return customerBreadcrumb; } public LogEntryInfo setCustomerBreadcrumb(ArrayList value) { this.customerBreadcrumb = value; return this; } public String getUserName() { return userName; } public LogEntryInfo setUserName(String value) { this.userName = value; return this; } public String getDescription() { return description; } public LogEntryInfo setDescription(String value) { this.description = value; return this; } } public static class EntityInfo { /** * The ID of the object */ @ApiMember(Description="The ID of the object") public String id = null; /** * The date the object was created */ @ApiMember(Description="The date the object was created") public String dateCreated = null; /** * The date the object was last modified */ @ApiMember(Description="The date the object was last modified") public String dateLastModified = null; /** * The user that created this object */ @ApiMember(Description="The user that created this object") public String createdBy = null; /** * The user that last modified this object */ @ApiMember(Description="The user that last modified this object") public String lastModifiedBy = null; public String getId() { return id; } public EntityInfo setId(String value) { this.id = value; return this; } public String getDateCreated() { return dateCreated; } public EntityInfo setDateCreated(String value) { this.dateCreated = value; return this; } public String getDateLastModified() { return dateLastModified; } public EntityInfo setDateLastModified(String value) { this.dateLastModified = value; return this; } public String getCreatedBy() { return createdBy; } public EntityInfo setCreatedBy(String value) { this.createdBy = value; return this; } public String getLastModifiedBy() { return lastModifiedBy; } public EntityInfo setLastModifiedBy(String value) { this.lastModifiedBy = value; return this; } } public static class CustomerBreadcrumb { public String id = null; public String name = null; public String getId() { return id; } public CustomerBreadcrumb setId(String value) { this.id = value; return this; } public String getName() { return name; } public CustomerBreadcrumb setName(String value) { this.name = value; return this; } } }