/* Options: Date: 2025-12-06 07:02:21 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.dev.dynamics.trendsic.com //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: ChatRequest.* //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="/v1/Chat", Verbs="GET,POST,OPTIONS") // @Route(Path="/v1/Chat/{ChatId}", Verbs="PUT,OPTIONS") public static class ChatRequest implements IReturn { public UUID ChatId = null; public Chat Chat = null; public UUID getChatId() { return ChatId; } public ChatRequest setChatId(UUID value) { this.ChatId = value; return this; } public Chat getChat() { return Chat; } public ChatRequest setChat(Chat value) { this.Chat = value; return this; } private static Object responseType = ChatResponse.class; public Object getResponseType() { return responseType; } } public static class ChatResponse { public ResponseStatus ResponseStatus = null; public ArrayList Chat = new ArrayList(); public ResponseStatus getResponseStatus() { return ResponseStatus; } public ChatResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; } public ArrayList getChat() { return Chat; } public ChatResponse setChat(ArrayList value) { this.Chat = value; return this; } } public static class Chat { public UUID ChatId = null; public String ChatName = null; public UUID CreatedBy = null; public Date DateCreated = null; public ArrayList ChatMembers = new ArrayList(); public Boolean IsArchived = null; public Integer MemberCount = null; public Integer MessageCount = null; public Integer UnreadCount = null; public String CreatedByName = null; public UUID getChatId() { return ChatId; } public Chat setChatId(UUID value) { this.ChatId = value; return this; } public String getChatName() { return ChatName; } public Chat setChatName(String value) { this.ChatName = value; return this; } public UUID getCreatedBy() { return CreatedBy; } public Chat setCreatedBy(UUID value) { this.CreatedBy = value; return this; } public Date getDateCreated() { return DateCreated; } public Chat setDateCreated(Date value) { this.DateCreated = value; return this; } public ArrayList getChatMembers() { return ChatMembers; } public Chat setChatMembers(ArrayList value) { this.ChatMembers = value; return this; } public Boolean getIsArchived() { return IsArchived; } public Chat setIsArchived(Boolean value) { this.IsArchived = value; return this; } public Integer getMemberCount() { return MemberCount; } public Chat setMemberCount(Integer value) { this.MemberCount = value; return this; } public Integer getMessageCount() { return MessageCount; } public Chat setMessageCount(Integer value) { this.MessageCount = value; return this; } public Integer getUnreadCount() { return UnreadCount; } public Chat setUnreadCount(Integer value) { this.UnreadCount = value; return this; } public String getCreatedByName() { return CreatedByName; } public Chat setCreatedByName(String value) { this.CreatedByName = value; return this; } } public static class ChatMember { public UUID ChatMemberId = null; public UUID ChatId = null; public UUID UserId = null; public Boolean IsActive = null; public Boolean IsArchived = null; public UUID LastChatMessageId = null; public String ChatMemberName = null; public UUID getChatMemberId() { return ChatMemberId; } public ChatMember setChatMemberId(UUID value) { this.ChatMemberId = value; return this; } public UUID getChatId() { return ChatId; } public ChatMember setChatId(UUID value) { this.ChatId = value; return this; } public UUID getUserId() { return UserId; } public ChatMember setUserId(UUID value) { this.UserId = value; return this; } public Boolean getIsActive() { return IsActive; } public ChatMember setIsActive(Boolean value) { this.IsActive = value; return this; } public Boolean getIsArchived() { return IsArchived; } public ChatMember setIsArchived(Boolean value) { this.IsArchived = value; return this; } public UUID getLastChatMessageId() { return LastChatMessageId; } public ChatMember setLastChatMessageId(UUID value) { this.LastChatMessageId = value; return this; } public String getChatMemberName() { return ChatMemberName; } public ChatMember setChatMemberName(String value) { this.ChatMemberName = value; return this; } } }