/* Options: Date: 2024-07-03 12:25:44 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bokamera.se //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: MessageSendMethodQuery.* //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 System.Globalization; using System.IO; using BokaMera.API.ServiceModel.Db; using BokaMera.API.ServiceModel.Dtos; namespace BokaMera.API.ServiceModel.Db { public partial class BaseModel { } public partial class SendMethod : BaseModel { [Required] public virtual string Name { get; set; } [Required] public virtual string Description { get; set; } public virtual DateTimeOffset? ModifiedDate { get; set; } public virtual int Id { get; set; } } } namespace BokaMera.API.ServiceModel.Dtos { [Route("/messages/templates/sendmethods", "GET")] [ApiResponse(Description="You were unauthorized to call this service", StatusCode=401)] [ValidateRequest("IsAuthenticated")] public partial class MessageSendMethodQuery : QueryDb, IReturn> { /// ///The send method id. /// [ApiMember(Description="The send method id.")] public virtual int? Id { get; set; } } public partial class MessageSendMethodQueryResponse { /// ///The send method id /// [ApiMember(Description="The send method id")] public virtual int Id { get; set; } /// ///The send method name. /// [ApiMember(Description="The send method name.")] public virtual string Name { get; set; } /// ///The send method description. /// [ApiMember(Description="The send method description.")] public virtual string Description { get; set; } } }