/* Options: Date: 2024-06-26 09:03:35 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://testapi.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: AddCompanyTrial.* //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 { [Route("/trials/company/", "POST")] [ApiResponse(Description="You were unauthorized to call this service", StatusCode=401)] [ValidateRequest("IsAuthenticated")] public partial class AddCompanyTrial : IReturn, ICompany { /// ///The company id, if empty will use the company id for the user you are logged in with. /// [ApiMember(Description="The company id, if empty will use the company id for the user you are logged in with.")] public virtual Guid? CompanyId { get; set; } /// ///Id of the trial type /// [ApiMember(Description="Id of the trial type", IsRequired=true)] public virtual int TrialTypeId { get; set; } } 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; } } 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; } } }