/* Options: Date: 2024-11-21 12:17:31 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: ApiVersionCompabilityQuery.* //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 ServiceStack.Data; using System.IO; using BokaMera.API.ServiceModel.Enums; using BokaMera.API.ServiceModel.Dtos; namespace BokaMera.API.ServiceModel.Dtos { [Route("/version/compability", "GET")] public partial class ApiVersionCompabilityQuery : IReturn { /// ///The identifier for your application. /// [ApiMember(Description="The identifier for your application.", IsRequired=true, ParameterType="query")] public virtual VersionIdentifier Identifier { get; set; } /// ///The version you are running and you want to check /// [ApiMember(Description="The version you are running and you want to check", IsRequired=true, ParameterType="query")] public virtual string Version { get; set; } } public partial class ApiVersionCompabilityQueryResponse { /// ///The latest version number /// public virtual string CurrentVersion { get; set; } /// ///Your version number /// public virtual string YourVersion { get; set; } /// ///Any compatible error message /// public virtual string Message { get; set; } /// ///If your version is compatible with the current version /// public virtual bool Compatible { get; set; } /// ///If the changes are blocking for use and you need to upgrade to later version /// public virtual bool BlockingChanges { get; set; } public virtual ResponseStatus ResponseStatus { get; set; } } } namespace BokaMera.API.ServiceModel.Enums { public enum VersionIdentifier { BokaMeraiOS = 1, BokaMeraAdminiOS = 2, BokaMeraAndroid = 3, BokaMeraAdminAndroid = 4, } }