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