/* Options: Date: 2026-05-29 19:17:40 Version: 10.05 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bookmore.com //GlobalNamespace: //MakePartial: True //MakeVirtual: True //MakeInternal: False //MakeDataContractsExtensible: False //AddNullableAnnotations: True //AddReturnMarker: True //AddDescriptionAsComments: True //AddDataContractAttributes: False //AddIndexesToDataMembers: False //AddGeneratedCodeAttributes: False //AddResponseStatus: False //AddImplicitVersion: //InitializeCollections: False //ExportValueTypes: False IncludeTypes: SetCompanyFeatureFlag.* //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 System.Globalization; using ServiceStack.Data; using System.Net; using System.Net.Http.Headers; using BokaMera.API.ServiceModel.Interfaces; using BokaMera.API.ServiceModel.Dtos; namespace BokaMera.API.ServiceModel.Dtos { public partial class CompanyFeatureFlagResponse { public virtual int Id { get; set; } public virtual string Name { get; set; } public virtual bool IsEnabled { get; set; } public virtual bool IsPublic { get; set; } public virtual bool CompanyAdminCanToggle { get; set; } public virtual ResponseStatus ResponseStatus { get; set; } } [Route("/feature/{CompanyId}/{Id}", "PUT")] [ApiResponse(Description="Returned if the flag is not toggleable for this caller", StatusCode=400)] [ApiResponse(Description="Returned if the feature flag or company was not found", StatusCode=404)] [ApiResponse(Description="Returned if the current user is not allowed to perform the action", StatusCode=401)] [ValidateRequest("IsAuthenticated")] public partial class SetCompanyFeatureFlag : IReturn, ICompany { /// ///The company id. /// [ApiMember(Description="The company id.", IsRequired=true, ParameterType="path")] public virtual Guid CompanyId { get; set; } /// ///The feature flag id. /// [ApiMember(Description="The feature flag id.", IsRequired=true, ParameterType="path")] public virtual int Id { get; set; } /// ///Whether the feature is enabled for this company. /// [ApiMember(Description="Whether the feature is enabled for this company.", IsRequired=true)] public virtual bool IsEnabled { get; set; } } } namespace BokaMera.API.ServiceModel.Interfaces { public partial interface ICompany { Guid? CompanyId { get; set; } } }