/* Options: Date: 2026-04-05 18:24:47 Version: 6.110 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://internal.thebunkerbridge.com //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: VesselSearch.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class VesselViewModel implements IConvertible { int? Id; int? IMONumber; String? MMSI; String? Name; VesselViewModel({this.Id,this.IMONumber,this.MMSI,this.Name}); VesselViewModel.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Id = json['Id']; IMONumber = json['IMONumber']; MMSI = json['MMSI']; Name = json['Name']; return this; } Map toJson() => { 'Id': Id, 'IMONumber': IMONumber, 'MMSI': MMSI, 'Name': Name }; getTypeName() => "VesselViewModel"; TypeContext? context = _ctx; } // @Route("/Vessels/Search", "GET") class VesselSearch implements IReturn, IConvertible, IGet { String? Search; VesselSearch({this.Search}); VesselSearch.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Search = json['Search']; return this; } Map toJson() => { 'Search': Search }; createResponse() => VesselViewModel(); getResponseTypeName() => "VesselViewModel"; getTypeName() => "VesselSearch"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'internal.thebunkerbridge.com', types: { 'VesselViewModel': TypeInfo(TypeOf.Class, create:() => VesselViewModel()), 'VesselSearch': TypeInfo(TypeOf.Class, create:() => VesselSearch()), });