/* Options: Date: 2025-01-05 21:30:40 Version: 6.10 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://staging-api.billiecart.com.au //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: UnassignRolesRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; abstract class DeleteOperationUnTenanted implements IDelete { DeleteOperationUnTenanted(); DeleteOperationUnTenanted.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; getTypeName() => "DeleteOperationUnTenanted<$TResponse>"; TypeContext? context = _ctx; } // @Route("/users/{Id}/roles/unassign", "DELETE") class UnassignRolesRequest extends DeleteOperationUnTenanted implements IReturn, IConvertible { String? id; List? roles; UnassignRolesRequest({this.id,this.roles}); UnassignRolesRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); id = json['id']; roles = JsonConverters.fromJson(json['roles'],'List',context!); return this; } Map toJson() => super.toJson()..addAll({ 'id': id, 'roles': JsonConverters.toJson(roles,'List',context!) }); createResponse() => AssignRolesResponse(); getResponseTypeName() => "AssignRolesResponse"; getTypeName() => "UnassignRolesRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'staging_api.billiecart.com.au', types: { 'DeleteOperationUnTenanted': TypeInfo(TypeOf.AbstractClass), 'UnassignRolesRequest': TypeInfo(TypeOf.Class, create:() => UnassignRolesRequest()), });