/* Options: Date: 2025-05-04 22:12:21 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: AppGetFormCompletions.* //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="/portal/form-completions", Verbs="GET") public static class AppGetFormCompletions extends ListRequest implements IReturn> { public String accountId = null; public String customerId = null; public String emailSubjectFilter = null; public String getAccountId() { return accountId; } public AppGetFormCompletions setAccountId(String value) { this.accountId = value; return this; } public String getCustomerId() { return customerId; } public AppGetFormCompletions setCustomerId(String value) { this.customerId = value; return this; } public String getEmailSubjectFilter() { return emailSubjectFilter; } public AppGetFormCompletions setEmailSubjectFilter(String value) { this.emailSubjectFilter = 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 HostedSuiteCompletedForm { public String id = null; public String name = null; public String dateCreated = null; public String dateCompleted = null; public String formId = null; public String formName = null; public String clientId = null; public String clientName = null; public String contactId = null; public String contactName = null; public ArrayList contactsIds = null; public ArrayList contactsNames = null; public String emailSubject = null; public String callerNumber = null; public ArrayList fields = null; public String getId() { return id; } public HostedSuiteCompletedForm setId(String value) { this.id = value; return this; } public String getName() { return name; } public HostedSuiteCompletedForm setName(String value) { this.name = value; return this; } public String getDateCreated() { return dateCreated; } public HostedSuiteCompletedForm setDateCreated(String value) { this.dateCreated = value; return this; } public String getDateCompleted() { return dateCompleted; } public HostedSuiteCompletedForm setDateCompleted(String value) { this.dateCompleted = value; return this; } public String getFormId() { return formId; } public HostedSuiteCompletedForm setFormId(String value) { this.formId = value; return this; } public String getFormName() { return formName; } public HostedSuiteCompletedForm setFormName(String value) { this.formName = value; return this; } public String getClientId() { return clientId; } public HostedSuiteCompletedForm setClientId(String value) { this.clientId = value; return this; } public String getClientName() { return clientName; } public HostedSuiteCompletedForm setClientName(String value) { this.clientName = value; return this; } public String getContactId() { return contactId; } public HostedSuiteCompletedForm setContactId(String value) { this.contactId = value; return this; } public String getContactName() { return contactName; } public HostedSuiteCompletedForm setContactName(String value) { this.contactName = value; return this; } public ArrayList getContactsIds() { return contactsIds; } public HostedSuiteCompletedForm setContactsIds(ArrayList value) { this.contactsIds = value; return this; } public ArrayList getContactsNames() { return contactsNames; } public HostedSuiteCompletedForm setContactsNames(ArrayList value) { this.contactsNames = value; return this; } public String getEmailSubject() { return emailSubject; } public HostedSuiteCompletedForm setEmailSubject(String value) { this.emailSubject = value; return this; } public String getCallerNumber() { return callerNumber; } public HostedSuiteCompletedForm setCallerNumber(String value) { this.callerNumber = value; return this; } public ArrayList getFields() { return fields; } public HostedSuiteCompletedForm setFields(ArrayList value) { this.fields = value; return this; } } public static class HostedSuiteCompletedFormField { public String name = null; public ArrayList values = null; public String getName() { return name; } public HostedSuiteCompletedFormField setName(String value) { this.name = value; return this; } public ArrayList getValues() { return values; } public HostedSuiteCompletedFormField setValues(ArrayList value) { this.values = value; return this; } } }