/* Options: Date: 2025-08-04 04:16:02 Version: 6.110 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://szallitoiportal-be.veolia.hu //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: EditSupplierMainActivity.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; abstract class IConcurrencyStamp { String? ConcurrencyStamp; } abstract class ModifyRequestBase implements IConcurrencyStamp { String? ConcurrencyStamp; ModifyRequestBase({this.ConcurrencyStamp}); ModifyRequestBase.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ConcurrencyStamp = json['ConcurrencyStamp']; return this; } Map toJson() => { 'ConcurrencyStamp': ConcurrencyStamp }; getTypeName() => "ModifyRequestBase"; TypeContext? context = _ctx; } abstract class MainActivityBase extends ModifyRequestBase { String? Teaor; String? Description; MainActivityBase({this.Teaor,this.Description}); MainActivityBase.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Teaor = json['Teaor']; Description = json['Description']; return this; } Map toJson() => super.toJson()..addAll({ 'Teaor': Teaor, 'Description': Description }); getTypeName() => "MainActivityBase"; TypeContext? context = _ctx; } abstract class ResponseBase { ResponseStatus? ResponseStatus; ResponseBase({this.ResponseStatus}); ResponseBase.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!) }; getTypeName() => "ResponseBase"; TypeContext? context = _ctx; } class ModifyEntityResponse extends ResponseBase implements IConvertible { int? Id; ModifyEntityResponse({this.Id}); ModifyEntityResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Id = json['Id']; return this; } Map toJson() => super.toJson()..addAll({ 'Id': Id }); getTypeName() => "ModifyEntityResponse"; TypeContext? context = _ctx; } // @Route("/supplier/{supplierid}/mainactivity/{mainactivityid}", "PUT") class EditSupplierMainActivity extends MainActivityBase implements IReturn, IPut, IConvertible { int? SupplierId; int? MainActivityId; EditSupplierMainActivity({this.SupplierId,this.MainActivityId}); EditSupplierMainActivity.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); SupplierId = json['SupplierId']; MainActivityId = json['MainActivityId']; return this; } Map toJson() => super.toJson()..addAll({ 'SupplierId': SupplierId, 'MainActivityId': MainActivityId }); createResponse() => ModifyEntityResponse(); getResponseTypeName() => "ModifyEntityResponse"; getTypeName() => "EditSupplierMainActivity"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'szallitoiportal_be.veolia.hu', types: { 'IConcurrencyStamp': TypeInfo(TypeOf.Interface), 'ModifyRequestBase': TypeInfo(TypeOf.AbstractClass), 'MainActivityBase': TypeInfo(TypeOf.AbstractClass), 'ResponseBase': TypeInfo(TypeOf.AbstractClass), 'ModifyEntityResponse': TypeInfo(TypeOf.Class, create:() => ModifyEntityResponse()), 'EditSupplierMainActivity': TypeInfo(TypeOf.Class, create:() => EditSupplierMainActivity()), });