/* Options: Date: 2025-05-04 21:58:46 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: NewFlowMessage.* //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="/flows/message") public static class NewFlowMessage implements IReturnVoid { /** * The ID of the endpoint that received the message */ @ApiMember(Description="The ID of the endpoint that received the message") public String endpointId = null; /** * The session values */ @ApiMember(Description="The session values") public Struct sessionParameters = null; /** * The from address */ @ApiMember(Description="The from address") public String fromAddress = null; /** * The to address */ @ApiMember(Description="The to address") public String toAddress = null; /** * The identity of the sender */ @ApiMember(Description="The identity of the sender") public String identity = null; /** * The display name of the sender (will default to identity if not specified */ @ApiMember(Description="The display name of the sender (will default to identity if not specified") public String displayName = null; /** * The URL to call when replies need to be sent back */ @ApiMember(Description="The URL to call when replies need to be sent back") public String messageUrl = null; public String getEndpointId() { return endpointId; } public NewFlowMessage setEndpointId(String value) { this.endpointId = value; return this; } public Struct getSessionParameters() { return sessionParameters; } public NewFlowMessage setSessionParameters(Struct value) { this.sessionParameters = value; return this; } public String getFromAddress() { return fromAddress; } public NewFlowMessage setFromAddress(String value) { this.fromAddress = value; return this; } public String getToAddress() { return toAddress; } public NewFlowMessage setToAddress(String value) { this.toAddress = value; return this; } public String getIdentity() { return identity; } public NewFlowMessage setIdentity(String value) { this.identity = value; return this; } public String getDisplayName() { return displayName; } public NewFlowMessage setDisplayName(String value) { this.displayName = value; return this; } public String getMessageUrl() { return messageUrl; } public NewFlowMessage setMessageUrl(String value) { this.messageUrl = value; return this; } } public static class Struct extends HashMap { } public static class Value { public Boolean boolValue = null; public String stringValue = null; public Double numberValue = null; public ArrayList listValue = null; public Struct structValue = null; public Boolean isBoolValue() { return boolValue; } public Value setBoolValue(Boolean value) { this.boolValue = value; return this; } public String getStringValue() { return stringValue; } public Value setStringValue(String value) { this.stringValue = value; return this; } public Double getNumberValue() { return numberValue; } public Value setNumberValue(Double value) { this.numberValue = value; return this; } public ArrayList getListValue() { return listValue; } public Value setListValue(ArrayList value) { this.listValue = value; return this; } public Struct getStructValue() { return structValue; } public Value setStructValue(Struct value) { this.structValue = value; return this; } } }