/* Options: Date: 2025-05-04 22:32:54 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: NewOutgoingSession.* //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 { /** * Create a new outgoing call and process it with the specified flow. This can only be used for voice sessions. If no caller ID is specified, we will use a random one. */ @Route(Path="/sessions/outgoing", Verbs="POST") @Api(Description="Create a new outgoing call and process it with the specified flow. This can only be used for voice sessions. If no caller ID is specified, we will use a random one.") public static class NewOutgoingSession implements IReturnVoid, IPost { /** * The ID of the flow to use. This flow will be executed as soon as the call is answered. */ @ApiMember(Description="The ID of the flow to use. This flow will be executed as soon as the call is answered.") public String flowId = null; /** * The E164 number to dial, e.g. +18144043093 */ @ApiMember(Description="The E164 number to dial, e.g. +18144043093") public String numberToDial = null; /** * The Caller ID to use. This must be the E164 number of an owned phone number */ @ApiMember(Description="The Caller ID to use. This must be the E164 number of an owned phone number") public String callerId = null; public String getFlowId() { return flowId; } public NewOutgoingSession setFlowId(String value) { this.flowId = value; return this; } public String getNumberToDial() { return numberToDial; } public NewOutgoingSession setNumberToDial(String value) { this.numberToDial = value; return this; } public String getCallerId() { return callerId; } public NewOutgoingSession setCallerId(String value) { this.callerId = value; return this; } } }