/* Options: Date: 2025-07-18 00:30:51 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://smsgw.intele.no/pushsms/rest //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: RestSmsRequest.* //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 InteleServiceStack.ServiceModel; namespace InteleServiceStack.ServiceModel { [DataContract(Namespace="http://schemas.datacontract.org/2004/07/PushSmsLib.Dto")] public partial class RestSmsRequest : IReturn { /// ///API Username. Usually your customer id /// [DataMember(Name="Username")] [ApiMember(DataType="string", Description="API Username. Usually your customer id", IsRequired=true, Name="Username", ParameterType="form")] [StringLength(128)] public virtual Object Username { get; set; } /// ///API Password /// [DataMember(Name="Password")] [ApiMember(DataType="string", Description="API Password", IsRequired=true, Name="Password", ParameterType="form")] [StringLength(128)] public virtual string Password { get; set; } /// ///Collection of messages to send /// [DataMember(Name="Messages")] [ApiMember(Description="Collection of messages to send", IsRequired=true, Name="Messages", ParameterType="form")] public virtual RestSmsMessageReq[] Messages { get; set; } = []; } [DataContract(Namespace="http://schemas.datacontract.org/2004/07/PushSmsLib.Dto")] public partial class RestSmsResponse { /// ///Overall status of processing the request. Each message will have it's own status. This value indicates if any other error occured or not /// [DataMember(Name="ProcessResult")] [ApiMember(DataType="boolean", Description="Overall status of processing the request. Each message will have it's own status. This value indicates if any other error occured or not", IsRequired=true, Name="ProcessResult", ParameterType="form")] public virtual bool ProcessResult { get; set; } /// ///Description of any error occured, if ProcessResult equals false /// [DataMember(Name="ProcessResultDescription")] [ApiMember(DataType="string", Description="Description of any error occured, if ProcessResult equals false", Name="ProcessResultDescription", ParameterType="form")] [StringLength(2048)] public virtual string ProcessResultDescription { get; set; } /// ///Collection of messages sent or failed /// [DataMember(Name="Messages")] [ApiMember(Description="Collection of messages sent or failed", Name="Description", ParameterType="form")] public virtual RestSmsMessageResp[] Messages { get; set; } = []; } }