/* Options: Date: 2024-06-26 09:50:53 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: ServiceGroupsQuery.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class ServiceGroupsQueryResponse implements IConvertible { String? Name; ServiceGroupsQueryResponse({this.Name}); ServiceGroupsQueryResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Name = json['Name']; return this; } Map toJson() => { 'Name': Name }; getTypeName() => "ServiceGroupsQueryResponse"; TypeContext? context = _ctx; } // @Route("/services/groups", "GET") // @ValidateRequest(Validator="IsAuthenticated") class ServiceGroupsQuery implements IReturn, IConvertible, IGet { /** * Company to show service groups for */ // @ApiMember(Description="Company to show service groups for", ParameterType="query") String? CompanyId; ServiceGroupsQuery({this.CompanyId}); ServiceGroupsQuery.fromJson(Map json) { fromMap(json); } fromMap(Map json) { CompanyId = json['CompanyId']; return this; } Map toJson() => { 'CompanyId': CompanyId }; createResponse() => ServiceGroupsQueryResponse(); getResponseTypeName() => "ServiceGroupsQueryResponse"; getTypeName() => "ServiceGroupsQuery"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'testapi.bokamera.se', types: { 'ServiceGroupsQueryResponse': TypeInfo(TypeOf.Class, create:() => ServiceGroupsQueryResponse()), 'ServiceGroupsQuery': TypeInfo(TypeOf.Class, create:() => ServiceGroupsQuery()), });