/* Options: Date: 2025-12-05 23:56:36 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://staging-api.my1stchoicefs.net //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: AuctionFloorVehicle.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class GenericResponse implements IConvertible { String? Message; bool? Success; GenericResponse({this.Message,this.Success}); GenericResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Message = json['Message']; Success = json['Success']; return this; } Map toJson() => { 'Message': Message, 'Success': Success }; getTypeName() => "GenericResponse"; TypeContext? context = _ctx; } class AuctionFloorVehicle implements IReturn, IConvertible, IPost { // @ApiMember(IsRequired=true) DateTime? BOSDate; // @ApiMember(IsRequired=true) String? DealerId; /** * Must be 17 characters */ // @ApiMember(Description="Must be 17 characters", IsRequired=true) String? Vin; // @ApiMember(IsRequired=true) int? Year; // @ApiMember(IsRequired=true) String? Make; // @ApiMember(IsRequired=true) String? Model; // @ApiMember(IsRequired=true) int? Miles; // @ApiMember(IsRequired=true) String? Color; // @ApiMember(IsRequired=true) double? BOSAmount; // @ApiMember() String? TitleNumber; // @ApiMember() String? TitleState; AuctionFloorVehicle({this.BOSDate,this.DealerId,this.Vin,this.Year,this.Make,this.Model,this.Miles,this.Color,this.BOSAmount,this.TitleNumber,this.TitleState}); AuctionFloorVehicle.fromJson(Map json) { fromMap(json); } fromMap(Map json) { BOSDate = JsonConverters.fromJson(json['BOSDate'],'DateTime',context!); DealerId = json['DealerId']; Vin = json['Vin']; Year = json['Year']; Make = json['Make']; Model = json['Model']; Miles = json['Miles']; Color = json['Color']; BOSAmount = JsonConverters.toDouble(json['BOSAmount']); TitleNumber = json['TitleNumber']; TitleState = json['TitleState']; return this; } Map toJson() => { 'BOSDate': JsonConverters.toJson(BOSDate,'DateTime',context!), 'DealerId': DealerId, 'Vin': Vin, 'Year': Year, 'Make': Make, 'Model': Model, 'Miles': Miles, 'Color': Color, 'BOSAmount': BOSAmount, 'TitleNumber': TitleNumber, 'TitleState': TitleState }; createResponse() => GenericResponse(); getResponseTypeName() => "GenericResponse"; getTypeName() => "AuctionFloorVehicle"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'staging_api.my1stchoicefs.net', types: { 'GenericResponse': TypeInfo(TypeOf.Class, create:() => GenericResponse()), 'AuctionFloorVehicle': TypeInfo(TypeOf.Class, create:() => AuctionFloorVehicle()), });