/* Options: Date: 2026-04-05 18:25:09 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: ETSSearchVessel.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class GetETSVesselListViewModel implements IConvertible { int? Id; String? Text; bool? Selected; bool? Disabled; GetETSVesselListViewModel({this.Id,this.Text,this.Selected,this.Disabled}); GetETSVesselListViewModel.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Id = json['Id']; Text = json['Text']; Selected = json['Selected']; Disabled = json['Disabled']; return this; } Map toJson() => { 'Id': Id, 'Text': Text, 'Selected': Selected, 'Disabled': Disabled }; getTypeName() => "GetETSVesselListViewModel"; TypeContext? context = _ctx; } class GetETSVesselListResultsViewModel implements IConvertible { List? Results; GetETSVesselListResultsViewModel({this.Results}); GetETSVesselListResultsViewModel.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Results = JsonConverters.fromJson(json['Results'],'List',context!); return this; } Map toJson() => { 'Results': JsonConverters.toJson(Results,'List',context!) }; getTypeName() => "GetETSVesselListResultsViewModel"; TypeContext? context = _ctx; } // @Route("/Vessels/ETS/Search-Vessel", "GET") class ETSSearchVessel implements IReturn, IConvertible, IGet { String? Search; ETSSearchVessel({this.Search}); ETSSearchVessel.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Search = json['Search']; return this; } Map toJson() => { 'Search': Search }; createResponse() => GetETSVesselListResultsViewModel(); getResponseTypeName() => "GetETSVesselListResultsViewModel"; getTypeName() => "ETSSearchVessel"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'internal.thebunkerbridge.com', types: { 'GetETSVesselListViewModel': TypeInfo(TypeOf.Class, create:() => GetETSVesselListViewModel()), 'GetETSVesselListResultsViewModel': TypeInfo(TypeOf.Class, create:() => GetETSVesselListResultsViewModel()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'ETSSearchVessel': TypeInfo(TypeOf.Class, create:() => ETSSearchVessel()), });