/* Options: Date: 2026-06-22 22:48:16 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: WorkerMessagesRequest.* //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/worker/messages", Verbs="GET,POST,OPTIONS") public static class WorkerMessagesRequest implements IReturn { public Integer CrewID = null; public String Body = null; public Boolean IsAlert = null; public Integer getCrewID() { return CrewID; } public WorkerMessagesRequest setCrewID(Integer value) { this.CrewID = value; return this; } public String getBody() { return Body; } public WorkerMessagesRequest setBody(String value) { this.Body = value; return this; } public Boolean getIsAlert() { return IsAlert; } public WorkerMessagesRequest setIsAlert(Boolean value) { this.IsAlert = value; return this; } private static Object responseType = WorkerMessagesResponse.class; public Object getResponseType() { return responseType; } } public static class WorkerMessagesResponse { public ResponseStatus ResponseStatus = null; public ArrayList Crews = new ArrayList(); public ArrayList Messages = new ArrayList(); public Boolean Sent = null; public ResponseStatus getResponseStatus() { return ResponseStatus; } public WorkerMessagesResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; } public ArrayList getCrews() { return Crews; } public WorkerMessagesResponse setCrews(ArrayList value) { this.Crews = value; return this; } public ArrayList getMessages() { return Messages; } public WorkerMessagesResponse setMessages(ArrayList value) { this.Messages = value; return this; } public Boolean isSent() { return Sent; } public WorkerMessagesResponse setSent(Boolean value) { this.Sent = value; return this; } } public static class WorkerCrew { public Integer CrewID = null; public String CrewName = null; public Boolean IsManager = null; public Integer getCrewID() { return CrewID; } public WorkerCrew setCrewID(Integer value) { this.CrewID = value; return this; } public String getCrewName() { return CrewName; } public WorkerCrew setCrewName(String value) { this.CrewName = value; return this; } public Boolean getIsManager() { return IsManager; } public WorkerCrew setIsManager(Boolean value) { this.IsManager = value; return this; } } public static class WorkerCrewMessage { public Integer CrewMessageID = null; public Integer CrewID = null; public String CrewName = null; public Integer SenderContactID = null; public String SenderName = null; public String Body = null; public Boolean IsAlert = null; public String CreatedAtLabel = null; public Boolean Mine = null; public Integer getCrewMessageID() { return CrewMessageID; } public WorkerCrewMessage setCrewMessageID(Integer value) { this.CrewMessageID = value; return this; } public Integer getCrewID() { return CrewID; } public WorkerCrewMessage setCrewID(Integer value) { this.CrewID = value; return this; } public String getCrewName() { return CrewName; } public WorkerCrewMessage setCrewName(String value) { this.CrewName = value; return this; } public Integer getSenderContactID() { return SenderContactID; } public WorkerCrewMessage setSenderContactID(Integer value) { this.SenderContactID = value; return this; } public String getSenderName() { return SenderName; } public WorkerCrewMessage setSenderName(String value) { this.SenderName = value; return this; } public String getBody() { return Body; } public WorkerCrewMessage setBody(String value) { this.Body = value; return this; } public Boolean getIsAlert() { return IsAlert; } public WorkerCrewMessage setIsAlert(Boolean value) { this.IsAlert = value; return this; } public String getCreatedAtLabel() { return CreatedAtLabel; } public WorkerCrewMessage setCreatedAtLabel(String value) { this.CreatedAtLabel = value; return this; } public Boolean isMine() { return Mine; } public WorkerCrewMessage setMine(Boolean value) { this.Mine = value; return this; } } }