/* Options:
Date: 2025-11-04 01:45:50
Version: 8.71
Tip: To override a DTO option, remove "//" prefix before updating
BaseUrl: https://evovoice.io
//GlobalNamespace: 
//MakePartial: True
//MakeVirtual: True
//MakeInternal: False
//MakeDataContractsExtensible: False
//AddNullableAnnotations: False
//AddReturnMarker: True
//AddDescriptionAsComments: True
//AddDataContractAttributes: False
//AddIndexesToDataMembers: False
//AddGeneratedCodeAttributes: False
//AddResponseStatus: False
//AddImplicitVersion: 
//InitializeCollections: False
//ExportValueTypes: False
IncludeTypes: NewFlowMessage.*
//ExcludeTypes: 
//AddNamespaces: 
//AddDefaultXmlNamespace: http://schemas.servicestack.net/types
*/
using System;
using System.IO;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using Voice.Api.Flows.Data;
using Voice.Api.Flows;
namespace Voice.Api.Flows
{
    [Route("/flows/message")]
    public partial class NewFlowMessage
        : IReturnVoid
    {
        ///
        ///The ID of the endpoint that received the message
        ///
        [ApiMember(Description="The ID of the endpoint that received the message")]
        public virtual string EndpointId { get; set; }
        ///
        ///The session values
        ///
        [ApiMember(Description="The session values")]
        public virtual Struct SessionParameters { get; set; }
        ///
        ///The from address
        ///
        [ApiMember(Description="The from address")]
        public virtual string FromAddress { get; set; }
        ///
        ///The to address
        ///
        [ApiMember(Description="The to address")]
        public virtual string ToAddress { get; set; }
        ///
        ///The identity of the sender
        ///
        [ApiMember(Description="The identity of the sender")]
        public virtual string Identity { get; set; }
        ///
        ///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 virtual string DisplayName { get; set; }
        ///
        ///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 virtual string MessageUrl { get; set; }
    }
}
namespace Voice.Api.Flows.Data
{
    public partial class Struct
        : Dictionary
    {
    }
    public partial class Value
    {
        public virtual bool? BoolValue { get; set; }
        public virtual string StringValue { get; set; }
        public virtual double? NumberValue { get; set; }
        public virtual List ListValue { get; set; }
        public virtual Struct StructValue { get; set; }
    }
}