/* Options: Date: 2024-06-17 05:30:04 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://testapi.bokamera.se //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: CheckCompanyTrial.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; abstract class ICompany { String? CompanyId; } // @Route("/trials/company/check", "GET") // @ValidateRequest(Validator="IsAuthenticated") class CheckCompanyTrial implements ICompany, IConvertible, IGet { /** * 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 ", ParameterType="query") String? CompanyId; /** * The TrialType you want to check */ // @ApiMember(Description="The TrialType you want to check", IsRequired=true, ParameterType="query") int? TrialTypeId; CheckCompanyTrial({this.CompanyId,this.TrialTypeId}); CheckCompanyTrial.fromJson(Map json) { fromMap(json); } fromMap(Map json) { CompanyId = json['CompanyId']; TrialTypeId = json['TrialTypeId']; return this; } Map toJson() => { 'CompanyId': CompanyId, 'TrialTypeId': TrialTypeId }; getTypeName() => "CheckCompanyTrial"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'testapi.bokamera.se', types: { 'ICompany': TypeInfo(TypeOf.Interface), 'CheckCompanyTrial': TypeInfo(TypeOf.Class, create:() => CheckCompanyTrial()), });