/* Options: Date: 2024-07-03 13:54:25 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: CompanyTrialsQuery.* //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.Interfaces; using BokaMera.API.ServiceModel.Dtos; namespace BokaMera.API.ServiceModel.Dtos { public partial class CompanyTrialQueryResponse { public virtual int TrialTypeId { get; set; } public virtual TrialQueryResponse TrialType { get; set; } public virtual DateTime? Started { get; set; } public virtual DateTime Created { get; set; } public virtual DateTime? ValidTo { get; set; } public virtual bool Active { get; set; } } [Route("/trials/company/", "GET")] [ValidateRequest("IsAuthenticated")] public partial class CompanyTrialsQuery : IReturn, ICompany { /// ///Enter the company and id you want to see the information for a resource, if blank company id and you are an admin, your company id will be used. If blank id, all resources will be shown /// [ApiMember(Description="Enter the company and id you want to see the information for a resource, if blank company id and you are an admin, your company id will be used. If blank id, all resources will be shown ", IsRequired=true, ParameterType="query")] public virtual Guid? CompanyId { get; set; } /// ///Trial Id /// [ApiMember(Description="Trial Id", IsRequired=true, ParameterType="query")] public virtual int Id { get; set; } } public partial class TrialQueryResponse { public virtual int Id { get; set; } public virtual string Name { get; set; } public virtual int TrialDays { get; set; } } } namespace BokaMera.API.ServiceModel.Interfaces { public partial interface ICompany { Guid? CompanyId { get; set; } } }