/* Options: Date: 2025-05-04 22:38:21 Version: 8.71 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://team.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: NewDeviceToken.* //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.App; namespace Voice.Api.App { public partial class DeviceTokenInfo { public virtual DeviceTypes DeviceType { get; set; } public virtual string Token { get; set; } } public enum DeviceTypes { Web, iOS, Android, } /// ///Create a new device token if it doesn't exist already /// [Route("/app/tokens", "POST")] [Api(Description="Create a new device token if it doesn't exist already")] public partial class NewDeviceToken : IReturn, IPost { /// ///The type of device /// [ApiMember(Description="The type of device")] public virtual DeviceTypes DeviceType { get; set; } /// ///The device token to save /// [ApiMember(Description="The device token to save")] public virtual string Token { get; set; } } }