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