/* Options: Date: 2025-10-27 21:31:03 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://duengageapi.uat.scadsoftware.com //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: SendGrandcomSmsRequest.* //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="/communication/message/grandcom/sms", Verbs="POST") public static class SendGrandcomSmsRequest implements IReturn { /** * Messages to be Sent */ @ApiMember(Description="Messages to be Sent", IsRequired=true) public ArrayList Messages = new ArrayList(); public ArrayList getMessages() { return Messages; } public SendGrandcomSmsRequest setMessages(ArrayList value) { this.Messages = value; return this; } private static Object responseType = GrandcomMsgResponse.class; public Object getResponseType() { return responseType; } } public static class GrandcomMsgResponse { public ArrayList messages = null; public String error = null; public ResponseStatus ResponseStatus = null; public ArrayList getMessages() { return messages; } public GrandcomMsgResponse setMessages(ArrayList value) { this.messages = value; return this; } public String getError() { return error; } public GrandcomMsgResponse setError(String value) { this.error = value; return this; } public ResponseStatus getResponseStatus() { return ResponseStatus; } public GrandcomMsgResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; } } public static class GrandcomMessage { public String channel = null; public String to = null; public String content = null; public String clientMessageId = null; public String getChannel() { return channel; } public GrandcomMessage setChannel(String value) { this.channel = value; return this; } public String getTo() { return to; } public GrandcomMessage setTo(String value) { this.to = value; return this; } public String getContent() { return content; } public GrandcomMessage setContent(String value) { this.content = value; return this; } public String getClientMessageId() { return clientMessageId; } public GrandcomMessage setClientMessageId(String value) { this.clientMessageId = value; return this; } } public static class GrandcomResponseMsg { public String apiMessageId = null; public Boolean accepted = null; public String to = null; public String error = null; public Boolean hasError = null; public GrandcomMessage msg = null; public String getApiMessageId() { return apiMessageId; } public GrandcomResponseMsg setApiMessageId(String value) { this.apiMessageId = value; return this; } public Boolean isAccepted() { return accepted; } public GrandcomResponseMsg setAccepted(Boolean value) { this.accepted = value; return this; } public String getTo() { return to; } public GrandcomResponseMsg setTo(String value) { this.to = value; return this; } public String getError() { return error; } public GrandcomResponseMsg setError(String value) { this.error = value; return this; } public Boolean isHasError() { return hasError; } public GrandcomResponseMsg setHasError(Boolean value) { this.hasError = value; return this; } public GrandcomMessage getMsg() { return msg; } public GrandcomResponseMsg setMsg(GrandcomMessage value) { this.msg = value; return this; } } }