/* Options: Date: 2025-12-10 20:17:06 Version: 6.50 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://galaxymobile.api.dev.86degrees.com //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: True //ExportValueTypes: False IncludeTypes: PostMessage.* //ExcludeTypes: //AddNamespaces: //AddDefaultXmlNamespace: http://schemas.servicestack.net/types */ using System; using System.Collections; using System.Collections.Generic; using System.Runtime.Serialization; using ServiceStack; using ServiceStack.DataAnnotations; using CommonService.Api.Operations; using BusinessLogic.Entities; using CommonService.Api.Models.Base; using WebService.ServiceModel; namespace BusinessLogic.Entities { [Flags] public enum MessageType { Info = 1, Marketing = 2, Policy = 3, Announcement = 4, General = 5, Claim = 6, } public partial class UserDetails { public virtual string IdNumber { get; set; } public virtual int GalaxyCompanyId { get; set; } } } namespace CommonService.Api.Models.Base { public partial class ApiServiceResponse : IServiceResponse { public virtual string Description { get; set; } public virtual string Heading { get; set; } public virtual bool WasSuccessful { get; set; } public virtual Object ModelState { get; set; } } } namespace CommonService.Api.Operations { public partial interface IHasApiKey { string ApiKey { get; set; } } public partial interface ILogRequest { } } namespace WebService.ServiceModel { [Route("/galaxy/sendmessage", "POST")] public partial class PostMessage : IReturn, ILogRequest, IHasApiKey { public PostMessage() { Recipients = new List{}; } /// ///The type of message being sent. /// [ApiMember(DataType="MessageType", Description="The type of message being sent.", IsRequired=true)] public virtual MessageType Type { get; set; } /// ///The subject of the message /// [ApiMember(DataType="string", Description="The subject of the message", IsRequired=true)] public virtual string Subject { get; set; } /// ///The content of the message /// [ApiMember(DataType="string", Description="The content of the message", IsRequired=true)] public virtual string Content { get; set; } /// ///The recipients who will be receiving the message /// [ApiMember(Description="The recipients who will be receiving the message", IsRequired=true)] public virtual List Recipients { get; set; } /// ///The API Key required for authentication /// [ApiMember(Description="The API Key required for authentication", IsRequired=true)] public virtual string ApiKey { get; set; } /// ///If set, the message will be displayed in the user's inbox in the app. Otherwise will just be a push notification. /// [ApiMember(Description="If set, the message will be displayed in the user's inbox in the app. Otherwise will just be a push notification.", IsRequired=true)] public virtual bool ShowInInbox { get; set; } } public partial class PostMessageResponse : ApiServiceResponse { } }