/* Options: Date: 2025-12-06 12:10:44 Version: 8.0 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://sfgboxapi.dev.scadsoftware.com //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: RolesSystemFunctionsAdd.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class RolesSystemFunctionsAddResponse implements IConvertible { // @DataMember(Order=2) int? rolesId; // @DataMember(Order=3) int? systemFunctionsId; // @DataMember(Order=5) ResponseStatus? responseStatus; RolesSystemFunctionsAddResponse({this.rolesId,this.systemFunctionsId,this.responseStatus}); RolesSystemFunctionsAddResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { rolesId = json['rolesId']; systemFunctionsId = json['systemFunctionsId']; responseStatus = JsonConverters.fromJson(json['responseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'rolesId': rolesId, 'systemFunctionsId': systemFunctionsId, 'responseStatus': JsonConverters.toJson(responseStatus,'ResponseStatus',context!) }; getTypeName() => "RolesSystemFunctionsAddResponse"; TypeContext? context = _ctx; } // @Route("/roles_system_functions", "POST") // @DataContract class RolesSystemFunctionsAdd implements IReturn, IConvertible, IPost { // @DataMember(Order=2) // @Validate(Validator="NotNull") int? rolesId; // @DataMember(Order=3) // @Validate(Validator="NotNull") int? systemFunctionsId; RolesSystemFunctionsAdd({this.rolesId,this.systemFunctionsId}); RolesSystemFunctionsAdd.fromJson(Map json) { fromMap(json); } fromMap(Map json) { rolesId = json['rolesId']; systemFunctionsId = json['systemFunctionsId']; return this; } Map toJson() => { 'rolesId': rolesId, 'systemFunctionsId': systemFunctionsId }; createResponse() => RolesSystemFunctionsAddResponse(); getResponseTypeName() => "RolesSystemFunctionsAddResponse"; getTypeName() => "RolesSystemFunctionsAdd"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'sfgboxapi.dev.scadsoftware.com', types: { 'RolesSystemFunctionsAddResponse': TypeInfo(TypeOf.Class, create:() => RolesSystemFunctionsAddResponse()), 'RolesSystemFunctionsAdd': TypeInfo(TypeOf.Class, create:() => RolesSystemFunctionsAdd()), });