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