/* Options: Date: 2026-01-27 18:44:02 Version: 8.40 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://buildmax.org //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: JsonServerInformationRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class JsonDto implements IConvertible { JsonDto(); JsonDto.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; getTypeName() => "JsonDto"; TypeContext? context = _ctx; } class JsonRequestDto extends JsonDto implements IConvertible { String? ClientCode; String? ClientRegistrationCode; String? Token; JsonRequestDto({this.ClientCode,this.ClientRegistrationCode,this.Token}); JsonRequestDto.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); ClientCode = json['ClientCode']; ClientRegistrationCode = json['ClientRegistrationCode']; Token = json['Token']; return this; } Map toJson() => super.toJson()..addAll({ 'ClientCode': ClientCode, 'ClientRegistrationCode': ClientRegistrationCode, 'Token': Token }); getTypeName() => "JsonRequestDto"; TypeContext? context = _ctx; } class JsonServerInformationResponse extends JsonDto implements IConvertible { String? ClientIpAddress; String? ClientGuid; String? ClientName; String? ClientId; String? UserHomeFolder; String? UserEmail; String? ServerVersion; bool? AllowUpdate; String? FtpUsername; String? FtpPassword; String? AdminUsername; String? AdminPassword; int? FtpPort; List? SupportedDocumentFormats; String? HpnVersion; JsonServerInformationResponse({this.ClientIpAddress,this.ClientGuid,this.ClientName,this.ClientId,this.UserHomeFolder,this.UserEmail,this.ServerVersion,this.AllowUpdate,this.FtpUsername,this.FtpPassword,this.AdminUsername,this.AdminPassword,this.FtpPort,this.SupportedDocumentFormats,this.HpnVersion}); JsonServerInformationResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); ClientIpAddress = json['ClientIpAddress']; ClientGuid = json['ClientGuid']; ClientName = json['ClientName']; ClientId = json['ClientId']; UserHomeFolder = json['UserHomeFolder']; UserEmail = json['UserEmail']; ServerVersion = json['ServerVersion']; AllowUpdate = json['AllowUpdate']; FtpUsername = json['FtpUsername']; FtpPassword = json['FtpPassword']; AdminUsername = json['AdminUsername']; AdminPassword = json['AdminPassword']; FtpPort = json['FtpPort']; SupportedDocumentFormats = JsonConverters.fromJson(json['SupportedDocumentFormats'],'List',context!); HpnVersion = json['HpnVersion']; return this; } Map toJson() => super.toJson()..addAll({ 'ClientIpAddress': ClientIpAddress, 'ClientGuid': ClientGuid, 'ClientName': ClientName, 'ClientId': ClientId, 'UserHomeFolder': UserHomeFolder, 'UserEmail': UserEmail, 'ServerVersion': ServerVersion, 'AllowUpdate': AllowUpdate, 'FtpUsername': FtpUsername, 'FtpPassword': FtpPassword, 'AdminUsername': AdminUsername, 'AdminPassword': AdminPassword, 'FtpPort': FtpPort, 'SupportedDocumentFormats': JsonConverters.toJson(SupportedDocumentFormats,'List',context!), 'HpnVersion': HpnVersion }); getTypeName() => "JsonServerInformationResponse"; TypeContext? context = _ctx; } class JsonServerInformationRequest extends JsonRequestDto implements IReturn, IConvertible, IGet { String? ClientHostName; String? UserName; bool? IsPro; String? ClientId; JsonServerInformationRequest({this.ClientHostName,this.UserName,this.IsPro,this.ClientId}); JsonServerInformationRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); ClientHostName = json['ClientHostName']; UserName = json['UserName']; IsPro = json['IsPro']; ClientId = json['ClientId']; return this; } Map toJson() => super.toJson()..addAll({ 'ClientHostName': ClientHostName, 'UserName': UserName, 'IsPro': IsPro, 'ClientId': ClientId }); createResponse() => JsonServerInformationResponse(); getResponseTypeName() => "JsonServerInformationResponse"; getTypeName() => "JsonServerInformationRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'buildmax.org', types: { 'JsonDto': TypeInfo(TypeOf.Class, create:() => JsonDto()), 'JsonRequestDto': TypeInfo(TypeOf.Class, create:() => JsonRequestDto()), 'JsonServerInformationResponse': TypeInfo(TypeOf.Class, create:() => JsonServerInformationResponse()), 'JsonServerInformationRequest': TypeInfo(TypeOf.Class, create:() => JsonServerInformationRequest()), });