/* Options: Date: 2024-05-05 06:59:00 Version: 8.13 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://techstacks.io //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: UpdateOrganizationCategory.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class UpdateOrganizationCategoryResponse implements IConvertible { ResponseStatus? responseStatus; UpdateOrganizationCategoryResponse({this.responseStatus}); UpdateOrganizationCategoryResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { responseStatus = JsonConverters.fromJson(json['responseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'responseStatus': JsonConverters.toJson(responseStatus,'ResponseStatus',context!) }; getTypeName() => "UpdateOrganizationCategoryResponse"; TypeContext? context = _ctx; } // @Route("/orgs/{OrganizationId}/categories/{Id}", "PUT") class UpdateOrganizationCategory implements IReturn, IPut, IConvertible { int? organizationId; int? id; String? name; String? slug; String? description; List? technologyIds; UpdateOrganizationCategory({this.organizationId,this.id,this.name,this.slug,this.description,this.technologyIds}); UpdateOrganizationCategory.fromJson(Map json) { fromMap(json); } fromMap(Map json) { organizationId = json['organizationId']; id = json['id']; name = json['name']; slug = json['slug']; description = json['description']; technologyIds = JsonConverters.fromJson(json['technologyIds'],'List',context!); return this; } Map toJson() => { 'organizationId': organizationId, 'id': id, 'name': name, 'slug': slug, 'description': description, 'technologyIds': JsonConverters.toJson(technologyIds,'List',context!) }; createResponse() => UpdateOrganizationCategoryResponse(); getResponseTypeName() => "UpdateOrganizationCategoryResponse"; getTypeName() => "UpdateOrganizationCategory"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'techstacks.io', types: { 'UpdateOrganizationCategoryResponse': TypeInfo(TypeOf.Class, create:() => UpdateOrganizationCategoryResponse()), 'UpdateOrganizationCategory': TypeInfo(TypeOf.Class, create:() => UpdateOrganizationCategory()), });