/* Options: Date: 2025-08-04 04:37:23 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: BrowseAllSupplierMainActivity.* //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 MainActivityDetails extends MainActivityBase implements IConvertible { int? Id; int? SupplierId; MainActivityDetails({this.Id,this.SupplierId}); MainActivityDetails.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Id = json['Id']; SupplierId = json['SupplierId']; return this; } Map toJson() => super.toJson()..addAll({ 'Id': Id, 'SupplierId': SupplierId }); getTypeName() => "MainActivityDetails"; TypeContext? context = _ctx; } class BrowseAllSupplierMainActivityResponse extends ResponseBase implements IConvertible { List? MainActivities; BrowseAllSupplierMainActivityResponse({this.MainActivities}); BrowseAllSupplierMainActivityResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); MainActivities = JsonConverters.fromJson(json['MainActivities'],'List',context!); return this; } Map toJson() => super.toJson()..addAll({ 'MainActivities': JsonConverters.toJson(MainActivities,'List',context!) }); getTypeName() => "BrowseAllSupplierMainActivityResponse"; TypeContext? context = _ctx; } // @Route("/supplier/{supplierid}/mainactivity", "GET") class BrowseAllSupplierMainActivity implements IReturn, IGet, IConvertible { int? SupplierId; BrowseAllSupplierMainActivity({this.SupplierId}); BrowseAllSupplierMainActivity.fromJson(Map json) { fromMap(json); } fromMap(Map json) { SupplierId = json['SupplierId']; return this; } Map toJson() => { 'SupplierId': SupplierId }; createResponse() => BrowseAllSupplierMainActivityResponse(); getResponseTypeName() => "BrowseAllSupplierMainActivityResponse"; getTypeName() => "BrowseAllSupplierMainActivity"; 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), 'MainActivityDetails': TypeInfo(TypeOf.Class, create:() => MainActivityDetails()), 'BrowseAllSupplierMainActivityResponse': TypeInfo(TypeOf.Class, create:() => BrowseAllSupplierMainActivityResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'BrowseAllSupplierMainActivity': TypeInfo(TypeOf.Class, create:() => BrowseAllSupplierMainActivity()), });