/* Options: Date: 2025-12-06 12:17:54 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: RolesSystemFunctionsEdit.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class RolesSystemFunctionsEditResponse implements IConvertible { // @DataMember(Order=1) int? id; // @DataMember(Order=2) int? rolesId; // @DataMember(Order=3) int? systemFunctionsId; // @DataMember(Order=5) ResponseStatus? responseStatus; RolesSystemFunctionsEditResponse({this.id,this.rolesId,this.systemFunctionsId,this.responseStatus}); RolesSystemFunctionsEditResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; rolesId = json['rolesId']; systemFunctionsId = json['systemFunctionsId']; responseStatus = JsonConverters.fromJson(json['responseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'id': id, 'rolesId': rolesId, 'systemFunctionsId': systemFunctionsId, 'responseStatus': JsonConverters.toJson(responseStatus,'ResponseStatus',context!) }; getTypeName() => "RolesSystemFunctionsEditResponse"; TypeContext? context = _ctx; } // @Route("/roles_system_functions/{Id}", "PUT") // @DataContract class RolesSystemFunctionsEdit implements IReturn, IConvertible, IPut { // @DataMember(Order=1) // @Validate(Validator="NotNull") int? id; // @DataMember(Order=2) // @Validate(Validator="NotNull") int? rolesId; // @DataMember(Order=3) // @Validate(Validator="NotNull") int? systemFunctionsId; RolesSystemFunctionsEdit({this.id,this.rolesId,this.systemFunctionsId}); RolesSystemFunctionsEdit.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; rolesId = json['rolesId']; systemFunctionsId = json['systemFunctionsId']; return this; } Map toJson() => { 'id': id, 'rolesId': rolesId, 'systemFunctionsId': systemFunctionsId }; createResponse() => RolesSystemFunctionsEditResponse(); getResponseTypeName() => "RolesSystemFunctionsEditResponse"; getTypeName() => "RolesSystemFunctionsEdit"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'sfgboxapi.dev.scadsoftware.com', types: { 'RolesSystemFunctionsEditResponse': TypeInfo(TypeOf.Class, create:() => RolesSystemFunctionsEditResponse()), 'RolesSystemFunctionsEdit': TypeInfo(TypeOf.Class, create:() => RolesSystemFunctionsEdit()), });