/* Options: Date: 2025-12-06 10:34:30 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: IntroductionsEdit.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class IntroductionsEditResponse implements IConvertible { // @DataMember(Order=1) int? id; // @DataMember(Order=2) int? tenantsId; // @DataMember(Order=3) String? sections; // @DataMember(Order=5) ResponseStatus? responseStatus; IntroductionsEditResponse({this.id,this.tenantsId,this.sections,this.responseStatus}); IntroductionsEditResponse.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() => "IntroductionsEditResponse"; TypeContext? context = _ctx; } // @Route("/introductions/{Id}", "PUT") // @DataContract class IntroductionsEdit 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; IntroductionsEdit({this.id,this.tenantsId,this.sections}); IntroductionsEdit.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() => IntroductionsEditResponse(); getResponseTypeName() => "IntroductionsEditResponse"; getTypeName() => "IntroductionsEdit"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'sfgboxapi.dev.scadsoftware.com', types: { 'IntroductionsEditResponse': TypeInfo(TypeOf.Class, create:() => IntroductionsEditResponse()), 'IntroductionsEdit': TypeInfo(TypeOf.Class, create:() => IntroductionsEdit()), });