/* Options: Date: 2024-12-03 18:17:52 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bokamera.se //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: CreateCompanySuperAdminUser.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; abstract class ICompany { String? CompanyId; } // @Route("/superadmin/administrator/", "POST") // @ApiResponse(Description="Returned if there is a validation error on the input parameters", StatusCode=400) // @ApiResponse(Description="Returned if the current user is not allowed to perform the action", StatusCode=401) class CreateCompanySuperAdminUser implements ICompany, IConvertible, IPost { /** * Enter the companyId for the customer */ // @ApiMember(Description="Enter the companyId for the customer", ParameterType="query") String? CompanyId; // @ApiMember(IsRequired=true) String? Firstname; // @ApiMember(IsRequired=true) String? Lastname; CreateCompanySuperAdminUser({this.CompanyId,this.Firstname,this.Lastname}); CreateCompanySuperAdminUser.fromJson(Map json) { fromMap(json); } fromMap(Map json) { CompanyId = json['CompanyId']; Firstname = json['Firstname']; Lastname = json['Lastname']; return this; } Map toJson() => { 'CompanyId': CompanyId, 'Firstname': Firstname, 'Lastname': Lastname }; getTypeName() => "CreateCompanySuperAdminUser"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'api.bokamera.se', types: { 'ICompany': TypeInfo(TypeOf.Interface), 'CreateCompanySuperAdminUser': TypeInfo(TypeOf.Class, create:() => CreateCompanySuperAdminUser()), });