/* Options: Date: 2025-12-06 09:56:30 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: SystemFunctionsAdd.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class SystemFunctionsAddResponse implements IConvertible { // @DataMember(Order=2) String? systemFunction; // @DataMember(Order=3) String? longDescription; // @DataMember(Order=5) ResponseStatus? responseStatus; SystemFunctionsAddResponse({this.systemFunction,this.longDescription,this.responseStatus}); SystemFunctionsAddResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { systemFunction = json['systemFunction']; longDescription = json['longDescription']; responseStatus = JsonConverters.fromJson(json['responseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'systemFunction': systemFunction, 'longDescription': longDescription, 'responseStatus': JsonConverters.toJson(responseStatus,'ResponseStatus',context!) }; getTypeName() => "SystemFunctionsAddResponse"; TypeContext? context = _ctx; } // @Route("/system_functions", "POST") // @DataContract class SystemFunctionsAdd implements IReturn, IConvertible, IPost { // @DataMember(Order=2) // @Validate(Validator="NotNull") String? systemFunction; // @DataMember(Order=3) // @Validate(Validator="NotNull") String? longDescription; SystemFunctionsAdd({this.systemFunction,this.longDescription}); SystemFunctionsAdd.fromJson(Map json) { fromMap(json); } fromMap(Map json) { systemFunction = json['systemFunction']; longDescription = json['longDescription']; return this; } Map toJson() => { 'systemFunction': systemFunction, 'longDescription': longDescription }; createResponse() => SystemFunctionsAddResponse(); getResponseTypeName() => "SystemFunctionsAddResponse"; getTypeName() => "SystemFunctionsAdd"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'sfgboxapi.dev.scadsoftware.com', types: { 'SystemFunctionsAddResponse': TypeInfo(TypeOf.Class, create:() => SystemFunctionsAddResponse()), 'SystemFunctionsAdd': TypeInfo(TypeOf.Class, create:() => SystemFunctionsAdd()), });