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