/* Options: Date: 2026-11-08 12:02:20 Version: 5.140 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://devapi.billhighway.com //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: ServerInfoRq.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class ServerInfo implements IConvertible { int? NumOfProcessors; String? MachineName; String? Os; bool? Is64BitProcess; bool? Is64BitOperatingSystem; int? SystemPageSize; int? UptimeTicks; String? ClrVersion; int? MappedProcessMemory; ServerInfo({this.NumOfProcessors,this.MachineName,this.Os,this.Is64BitProcess,this.Is64BitOperatingSystem,this.SystemPageSize,this.UptimeTicks,this.ClrVersion,this.MappedProcessMemory}); ServerInfo.fromJson(Map json) { fromMap(json); } fromMap(Map json) { NumOfProcessors = json['NumOfProcessors']; MachineName = json['MachineName']; Os = json['Os']; Is64BitProcess = json['Is64BitProcess']; Is64BitOperatingSystem = json['Is64BitOperatingSystem']; SystemPageSize = json['SystemPageSize']; UptimeTicks = json['UptimeTicks']; ClrVersion = json['ClrVersion']; MappedProcessMemory = json['MappedProcessMemory']; return this; } Map toJson() => { 'NumOfProcessors': NumOfProcessors, 'MachineName': MachineName, 'Os': Os, 'Is64BitProcess': Is64BitProcess, 'Is64BitOperatingSystem': Is64BitOperatingSystem, 'SystemPageSize': SystemPageSize, 'UptimeTicks': UptimeTicks, 'ClrVersion': ClrVersion, 'MappedProcessMemory': MappedProcessMemory }; getTypeName() => "ServerInfo"; TypeContext? context = _ctx; } class ServerInfoRs implements IConvertible { ServerInfo? Server; ServerInfoRs({this.Server}); ServerInfoRs.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Server = JsonConverters.fromJson(json['Server'],'ServerInfo',context!); return this; } Map toJson() => { 'Server': JsonConverters.toJson(Server,'ServerInfo',context!) }; getTypeName() => "ServerInfoRs"; TypeContext? context = _ctx; } // @Route("/devops/api/diagnostics/server", "GET") class ServerInfoRq implements IReturn, IConvertible { ServerInfoRq(); ServerInfoRq.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; createResponse() => ServerInfoRs(); getResponseTypeName() => "ServerInfoRs"; getTypeName() => "ServerInfoRq"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'devapi.billhighway.com', types: { 'ServerInfo': TypeInfo(TypeOf.Class, create:() => ServerInfo()), 'ServerInfoRs': TypeInfo(TypeOf.Class, create:() => ServerInfoRs()), 'ServerInfoRq': TypeInfo(TypeOf.Class, create:() => ServerInfoRq()), });