/* Options: Date: 2025-05-04 22:58:07 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: ListConversations.* //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="/conversations", Verbs="GET") public static class ListConversations implements IReturn { /** * The IDs of the account whose conversations you want to retrieve */ @ApiMember(Description="The IDs of the account whose conversations you want to retrieve") public ArrayList accountIds = null; /** * The list of endpoint IDs whose conversations you want to retrieve */ @ApiMember(Description="The list of endpoint IDs whose conversations you want to retrieve") public ArrayList endpointIds = null; /** * The list of customer IDs whose conversations you want to retrieve */ @ApiMember(Description="The list of customer IDs whose conversations you want to retrieve") public ArrayList customerIds = null; /** * The start date for the conversations you want to retrieve */ @ApiMember(Description="The start date for the conversations you want to retrieve") public String afterDate = null; public ArrayList getAccountIds() { return accountIds; } public ListConversations setAccountIds(ArrayList value) { this.accountIds = value; return this; } public ArrayList getEndpointIds() { return endpointIds; } public ListConversations setEndpointIds(ArrayList value) { this.endpointIds = value; return this; } public ArrayList getCustomerIds() { return customerIds; } public ListConversations setCustomerIds(ArrayList value) { this.customerIds = value; return this; } public String getAfterDate() { return afterDate; } public ListConversations setAfterDate(String value) { this.afterDate = value; return this; } private static Object responseType = ListConversationsResponse.class; public Object getResponseType() { return responseType; } } public static class ListConversationsResponse { public ArrayList conversations = null; public ArrayList getConversations() { return conversations; } public ListConversationsResponse setConversations(ArrayList value) { this.conversations = value; return this; } } public static class ConversationInfo { public String id = null; public String endpointId = null; public String otherAddress = null; public MessageInfo mostRecentMessage = null; public String getId() { return id; } public ConversationInfo setId(String value) { this.id = value; return this; } public String getEndpointId() { return endpointId; } public ConversationInfo setEndpointId(String value) { this.endpointId = value; return this; } public String getOtherAddress() { return otherAddress; } public ConversationInfo setOtherAddress(String value) { this.otherAddress = value; return this; } public MessageInfo getMostRecentMessage() { return mostRecentMessage; } public ConversationInfo setMostRecentMessage(MessageInfo value) { this.mostRecentMessage = value; return this; } } public static class MessageInfo { public String id = null; public String accountId = null; public String customerId = null; public String endpointId = null; public String endpointDisplayName = null; public String date = null; public MessageDirections direction = null; public String otherAddress = null; public String sender = null; public String text = null; public Boolean isUnread = null; public String getId() { return id; } public MessageInfo setId(String value) { this.id = value; return this; } public String getAccountId() { return accountId; } public MessageInfo setAccountId(String value) { this.accountId = value; return this; } public String getCustomerId() { return customerId; } public MessageInfo setCustomerId(String value) { this.customerId = value; return this; } public String getEndpointId() { return endpointId; } public MessageInfo setEndpointId(String value) { this.endpointId = value; return this; } public String getEndpointDisplayName() { return endpointDisplayName; } public MessageInfo setEndpointDisplayName(String value) { this.endpointDisplayName = value; return this; } public String getDate() { return date; } public MessageInfo setDate(String value) { this.date = value; return this; } public MessageDirections getDirection() { return direction; } public MessageInfo setDirection(MessageDirections value) { this.direction = value; return this; } public String getOtherAddress() { return otherAddress; } public MessageInfo setOtherAddress(String value) { this.otherAddress = value; return this; } public String getSender() { return sender; } public MessageInfo setSender(String value) { this.sender = value; return this; } public String getText() { return text; } public MessageInfo setText(String value) { this.text = value; return this; } public Boolean getIsUnread() { return isUnread; } public MessageInfo setIsUnread(Boolean value) { this.isUnread = value; return this; } } }